mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-18 21:01:26 +00:00
rk3328 uboot no need for 4-byte skip
This commit is contained in:
parent
26e95a2ac7
commit
8bf87312c3
1 changed files with 7 additions and 15 deletions
|
@ -68,27 +68,19 @@ setup_write_uboot_platform()
|
|||
uboot_custom_postprocess()
|
||||
{
|
||||
# bootloader image
|
||||
|
||||
# Below is what works with BOOTBRANCH='branch:rockchip-master' Previous workaround
|
||||
#
|
||||
case $BRANCH in
|
||||
default)
|
||||
#Below is what works with BOOTBRANCH='branch:rockchip-master'
|
||||
#
|
||||
local tempfile=$(mktemp)
|
||||
dd if=$SRC/cache/sources/rkbin-tools/rk33/rk3328_ddr_786MHz_v1.06.bin of=$tempfile bs=4 skip=1
|
||||
tools/mkimage -n rk3328 -T rksd -d $tempfile idbloader.bin
|
||||
;;
|
||||
# local tempfile=$(mktemp)
|
||||
# dd if=$SRC/cache/sources/rkbin-tools/rk33/rk3328_ddr_786MHz_v1.06.bin of=$tempfile bs=4 skip=1
|
||||
# tools/mkimage -n rk3328 -T rksd -d $tempfile idbloader.bin
|
||||
|
||||
dev)
|
||||
# Below is the way it is supposed to work according to Rockchip documentation,
|
||||
# and how it does work with the mainline-master branch. No 4-byte skip.
|
||||
#
|
||||
tools/mkimage -n rk3328 -T rksd -d $SRC/cache/sources/rkbin-tools/rk33/rk3328_ddr_786MHz_v1.06.bin idbloader.bin
|
||||
;;
|
||||
esac
|
||||
|
||||
tools/mkimage -n rk3328 -T rksd -d $SRC/cache/sources/rkbin-tools/rk33/rk3328_ddr_786MHz_v1.06.bin idbloader.bin
|
||||
|
||||
cat $SRC/cache/sources/rkbin-tools/rk33/rk3328_miniloader_v2.43.bin >> idbloader.bin
|
||||
|
||||
|
||||
# u-boot
|
||||
#
|
||||
# Total hours wasted before finding that the new "load address" parameter is not optional: 3
|
||||
|
|
Loading…
Add table
Reference in a new issue