summaryrefslogtreecommitdiff
path: root/doc/README.rockchip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-30 16:55:52 -0600
committerSimon Glass <sjg@chromium.org>2015-09-02 21:28:25 -0600
commitf2acc55e3d28e96a6fcc060a7081eb4e2ad96350 (patch)
tree0777999c9067eb8251cc0315df06f6c8c16f39fb /doc/README.rockchip
parentd26bf0f7bd5a7d22bc3a891cedce438f8af49605 (diff)
downloadu-boot-f2acc55e3d28e96a6fcc060a7081eb4e2ad96350.tar.gz
u-boot-f2acc55e3d28e96a6fcc060a7081eb4e2ad96350.tar.bz2
u-boot-f2acc55e3d28e96a6fcc060a7081eb4e2ad96350.zip
rockchip: Put README image creation commands on one line
It is easier to paste these into the command line if they are a single common. Use line continuation instead of separate lines. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.rockchip')
-rw-r--r--doc/README.rockchip8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/README.rockchip b/doc/README.rockchip
index feb11ff53a..87ce9d2e9f 100644
--- a/doc/README.rockchip
+++ b/doc/README.rockchip
@@ -67,7 +67,8 @@ Connect your board's OTG port to your computer.
To create a suitable image and write it to the board:
- ./firefly-rk3288/tools/mkimage -T rkimage -d ./firefly-rk3288/spl/u-boot-spl-dtb.bin out
+ ./firefly-rk3288/tools/mkimage -T rkimage -d \
+ ./firefly-rk3288/spl/u-boot-spl-dtb.bin out && \
cat out | openssl rc4 -K 7c4e0304550509072d2c7b38170d1711 | rkflashtool l
If all goes well you should something like:
@@ -89,8 +90,9 @@ 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 seek=64
+ ./firefly-rk3288/tools/mkimage -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
This puts the Rockchip header and SPL image first and then places the U-Boot