From 8bf87312c31c72bee04f3de45a405bfd674a07d2 Mon Sep 17 00:00:00 2001 From: tonymac32 Date: Tue, 27 Feb 2018 22:51:33 -0500 Subject: [PATCH] rk3328 uboot no need for 4-byte skip --- config/sources/rk3328.conf | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/config/sources/rk3328.conf b/config/sources/rk3328.conf index 5758fdc27..fa7aba042 100644 --- a/config/sources/rk3328.conf +++ b/config/sources/rk3328.conf @@ -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