summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-23 01:40:05 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-24 01:45:41 +0900
commitd085ecd61b9956cda0d37b89b5c538f54440fe58 (patch)
tree22e43a5f98992e66b1c7caafc4af9bcc6507494d /doc
parentcbbc2d80fc58531c59cadc803717c9d53c9543f1 (diff)
downloadu-boot-imx-d085ecd61b9956cda0d37b89b5c538f54440fe58.zip
u-boot-imx-d085ecd61b9956cda0d37b89b5c538f54440fe58.tar.gz
u-boot-imx-d085ecd61b9956cda0d37b89b5c538f54440fe58.tar.bz2
ARM: uniphier: switch to raw U-Boot image
Now everything is done to load a raw U-Boot proper image instead of an mkimage-processed one (as far as I tested on NAND, eMMC, NOR). The SPL already knows the load address of the U-Boot proper without parsing its uImage header because the load address is defined by CONFIG_SYS_TEXT_BASE, assuming that the two images are generated from the same build. My main motivation of this switch is to use u-boot-with-spl.bin, a concatenation of u-boot-spl.bin and u-boot.bin. (I wish there were a concatenation of u-boot-spl.bin and u-boot.img...) Anyway, this commit would be useful for one-shot image burn. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.uniphier22
1 files changed, 16 insertions, 6 deletions
diff --git a/doc/README.uniphier b/doc/README.uniphier
index 47863a4..49045a0 100644
--- a/doc/README.uniphier
+++ b/doc/README.uniphier
@@ -75,12 +75,17 @@ to use your favorite compiler.
Burn U-Boot images to NAND
--------------------------
-Write two files to the NAND device as follows:
+Write the following to the NAND device:
+
- spl/u-boot-spl.bin at the offset address 0x00000000
- - u-boot.img at the offset address 0x00010000
+ - u-boot.bin at the offset address 0x00010000
+
+or
+
+ - u-boot-with-spl.bin at the offset address 0x00000000
If a TFTP server is available, the images can be easily updated.
-Just copy the u-boot-spl.bin and u-boot.img to the TFTP public directory,
+Just copy the u-boot-spl.bin and u-boot.bin to the TFTP public directory,
and then run the following command at the U-Boot command line:
=> run nandupdate
@@ -89,12 +94,17 @@ and then run the following command at the U-Boot command line:
Burn U-Boot images to eMMC
--------------------------
-Write two files to the Boot partition 1 of the eMMC device as follows:
+Write the following to the Boot partition 1 of the eMMC device:
+
- spl/u-boot-spl.bin at the offset address 0x00000000
- - u-boot.img at the offset address 0x00010000
+ - u-boot.bin at the offset address 0x00010000
+
+or
+
+ - u-boot-with-spl.bin at the offset address 0x00000000
If a TFTP server is available, the images can be easily updated.
-Just copy the u-boot-spl.bin and u-boot.img to the TFTP public directory,
+Just copy the u-boot-spl.bin and u-boot.bin to the TFTP public directory,
and then run the following command at the U-Boot command line:
=> run emmcupdate