blob: 1aee2a1fc0d6c16aedfef2a3eeb3401dc9ace6d9 [file] [log] [blame]
Bin Mengdec93f32019-07-18 00:34:09 -07001.. SPDX-License-Identifier: GPL-2.0+
2.. sectionauthor:: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
3
4Edison
5======
6
7Build Instructions for U-Boot as main bootloader
8------------------------------------------------
9
10Simple you can build U-Boot and obtain u-boot.bin::
11
12 $ make edison_defconfig
13 $ make all
14
15Updating U-Boot on Edison
16-------------------------
17
18By default Intel Edison boards are shipped with preinstalled heavily
19patched U-Boot v2014.04. Though it supports DFU which we may be able to
20use.
21
221. Prepare u-boot.bin as described in chapter above. You still need one
23 more step (if and only if you have original U-Boot), i.e. run the
24 following command::
25
26 $ truncate -s %4096 u-boot.bin
27
282. Run your board and interrupt booting to U-Boot console. In the console
29 call::
30
31 => run do_force_flash_os
32
333. Wait for few seconds, it will prepare environment variable and runs
34 DFU. Run DFU command from the host system::
35
36 $ dfu-util -v -d 8087:0a99 --alt u-boot0 -D u-boot.bin
37
384. Return to U-Boot console and following hint. i.e. push Ctrl+C, and
39 reset the board::
40
41 => reset