summaryrefslogtreecommitdiff
path: root/doc/README.rockchip
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2017-11-02 15:16:35 +0800
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-07 09:16:57 +0100
commit73e6dbe855f357a8330cfd53ff3033303611c1ad (patch)
tree3ec103fc0db9ede9bd0bfc3d64b279cebfe5e9a7 /doc/README.rockchip
parent8f4d62b403db45dfa8b1cadb9da9096c79b7df47 (diff)
rockchip: doc: update U-Boot location info
Update rockchip U-Boot location to 0x4000/16384. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'doc/README.rockchip')
-rw-r--r--doc/README.rockchip6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip
index 4b7be0b715..9d5af3d53d 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -99,13 +99,13 @@ To write an image that boots from an SD card (assumed to be /dev/sdc):
./firefly-rk3288/tools/mkimage -n rk3288 -T rksd -d \
firefly-rk3288/spl/u-boot-spl-dtb.bin out && \
sudo dd if=out of=/dev/sdc seek=64 && \
- sudo dd if=firefly-rk3288/u-boot-dtb.img of=/dev/sdc seek=256
+ sudo dd if=firefly-rk3288/u-boot-dtb.img of=/dev/sdc seek=16384
This puts the Rockchip header and SPL image first and then places the U-Boot
-image at block 256 (i.e. 128KB from the start of the SD card). This
+image at block 16384 (i.e. 4MB from the start of the SD card). This
corresponds with this setting in U-Boot:
- #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 256
+ #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x4000
Put this SD (or micro-SD) card into your board and reset it. You should see
something like: