summaryrefslogtreecommitdiffstats
path: root/doc/README.rockchip
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-08-30 16:55:50 -0600
committerSimon Glass <sjg@chromium.org>2015-09-02 21:28:25 -0600
commitdd39bcaffbc886e5948d5b6dc0a4156a8b0ba053 (patch)
tree0d206f40ebcb0982b778829016b495d66d7b2e41 /doc/README.rockchip
parent81b0618ddf449aab669b42068ad8c90f63714c14 (diff)
downloadblackbird-obmc-uboot-dd39bcaffbc886e5948d5b6dc0a4156a8b0ba053.tar.gz
blackbird-obmc-uboot-dd39bcaffbc886e5948d5b6dc0a4156a8b0ba053.zip
rockchip: Drop first 32kb of zeros from the rkSD image type
Instead of creating a rockchip SPL SD card image with 32KB of zeros which can be written to the start of an SD card, create the images with only the useful data that should be written to an offset of 32KB on the SD card. The first 32 kilobytes aren't needed for bootup and only serve as convenient way of accidentally obliterating your partition table. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.rockchip')
-rw-r--r--doc/README.rockchip2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip
index ce8ce77505..347fc05c97 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -90,7 +90,7 @@ Booting from an SD card
To write an image that boots from an SD card (assumed to be /dev/sdc):
./firefly-rk3288/tools/mkimage -T rksd -d firefly-rk3288/spl/u-boot-spl-dtb.bin out
- sudo dd if=out of=/dev/sdc
+ sudo dd if=out of=/dev/sdc seek=64
sudo dd if=firefly-rk3288/u-boot-dtb.img of=/dev/sdc seek=256
This puts the Rockchip header and SPL image first and then places the U-Boot
OpenPOWER on IntegriCloud