diff options
| author | Johan Jonker <[email protected]> | 2023-03-19 16:06:11 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2023-04-21 15:16:01 +0800 |
| commit | f1088af5747894c99fb60a84cedac99b7151abaa (patch) | |
| tree | b7522a003cabd02b8325f0f93d0ea7448fada666 /doc | |
| parent | 98125086d676f00f5fa4b56e27de98534025f91c (diff) | |
rockchip: configs: mk808: change CONFIG_TPL_TEXT_BASE
Currently the Rockchip rk3066a u-boot-tpl.bin file needs
to add the characters "RK30", while the other SoCs replace
the first 4 bytes. Bring this in line with the rest by
lowering CONFIG_TPL_TEXT_BASE and update rockchip.rst
instructions.
Signed-off-by: Johan Jonker <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/board/rockchip/rockchip.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst index af6e466de1e..1dccb17d725 100644 --- a/doc/board/rockchip/rockchip.rst +++ b/doc/board/rockchip/rockchip.rst @@ -390,9 +390,8 @@ Program with commands in a bash script ./flash.sh: #!/bin/sh - printf "RK30" > tplspl.bin - dd if=u-boot-tpl.bin >> tplspl.bin - truncate -s %2048 tplspl.bin + printf "RK30" | dd conv=notrunc bs=4 count=1 of=u-boot-tpl.bin + truncate -s %2048 u-boot-tpl.bin truncate -s %2048 u-boot-spl.bin ../tools/boot_merger --verbose config-flash.ini ../tools/upgrade_tool ul ./RK30xxLoader_uboot.bin @@ -416,7 +415,7 @@ config-flash.ini: NUM=2 LOADER1=FlashData LOADER2=FlashBoot - FlashData=tplspl.bin + FlashData=u-boot-tpl.bin FlashBoot=u-boot-spl.bin [OUTPUT] PATH=RK30xxLoader_uboot.bin |
