aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-04-13 22:57:50 +0200
committerStefan Roese <sr@denx.de>2023-05-03 08:39:23 +0200
commit9ac8107419b0fe86520e4896b9bcadaa68bfb97a (patch)
tree901a2c34e252abe5a0bb31aa8058b4aa501f3609
parent2e9009e874640feec9e01ffa59c305bba085058c (diff)
downloadu-boot-9ac8107419b0fe86520e4896b9bcadaa68bfb97a.zip
u-boot-9ac8107419b0fe86520e4896b9bcadaa68bfb97a.tar.gz
u-boot-9ac8107419b0fe86520e4896b9bcadaa68bfb97a.tar.bz2
arm: mvebu: clearfog: Update eMMC/SD/SATA instructions
BootROM and neither SPL does not use eMMC boot acknowledgement or boot enable bits in EXT_CSD_PART_CONF eMMC register. And also fixed SATA disk sector 0x141 is not used at all. Signed-off-by: Pali Rohár <pali@kernel.org> Tested-by: Martin Rowe <martin.p.rowe@gmail.com>
-rw-r--r--board/solidrun/clearfog/README20
1 files changed, 10 insertions, 10 deletions
diff --git a/board/solidrun/clearfog/README b/board/solidrun/clearfog/README
index ed4a712..c86b370 100644
--- a/board/solidrun/clearfog/README
+++ b/board/solidrun/clearfog/README
@@ -1,7 +1,7 @@
Update from original Marvell U-Boot to mainline U-Boot:
-------------------------------------------------------
-Generate the U-Boot image with these commands:
+Generate the U-Boot image for eMMC/SD with these commands:
$ make clearfog_defconfig
$ make
@@ -9,7 +9,7 @@ $ make
The resulting image including the SPL binary with the
full DDR setup is "u-boot-with-spl.kwb".
-Now all you need to do is copy this image on a SD card.
+Now all you need to do is copy this image on a SD card's sector 1.
For example with this command:
$ sudo dd if=u-boot-with-spl.kwb of=/dev/sdX bs=512 seek=1
@@ -20,12 +20,6 @@ of "/dev/sdX" here!
Install U-Boot on eMMC:
-----------------------
-To make SPL load the main U-Boot image from the eMMC boot partition enable
-eMMC boot acknowledgement and boot partition with the following U-Boot
-command:
-
- mmc partconf 0 1 1 0
-
Install U-Boot on eMMC boot partition from Linux running on Clearfog:
echo 0 > /sys/block/mmcblk0boot0/force_ro
@@ -37,8 +31,14 @@ Consider initial boot from UART (see below).
Install U-Boot on SATA:
-----------------------
-When loading the main U-Boot image from raw SATA sector, set
-CONFIG_SPL_SATA_RAW_U_BOOT_SECTOR to 0x141.
+Generate the U-Boot image for SATA with these commands:
+
+$ make clearfog_sata_defconfig
+$ make
+
+Copy image on a SATA disk's sector 1:
+
+$ sudo dd if=u-boot-with-spl.kwb of=/dev/sdX bs=512 seek=1
Boot selection:
---------------