[U-Boot] rk3288 (Tinkerboard) not booting

Alexander von Gluck IV kallisti5 at unixzen.com
Sun Sep 22 21:22:38 UTC 2019


Using master from git://git.denx.de/u-boot.git

commit 390183b58179ddaf986422f4d9446c596660f7e0 (HEAD -> master, origin/master, origin/HEAD)
Merge: d6c7309f56 79907a4f84
Author: Tom Rini <trini at konsulko.com>
Date:   Sat Sep 21 07:31:23 2019 -0400

    Merge tag 'efi-2019-10-rc4-5' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
    
    Pull request for UEFI sub-system for v2019.10-rc4 (5)
    
    This patch set fixes errors in the UEFI sub-system and adds a function to
    compare u16 strings which is prerequisite for further patches.


Same error:


$ ./tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin out
Warning: SPL image is too large (size 0xb000) and will not boot
Error: image verification failed


$ ls -lah spl/u-boot-spl-dtb.bin
-rw-rw-r-- 1 kallisti5 kallisti5 43K Sep 22 16:17 spl/u-boot-spl-dtb.bin



September 22, 2019 4:03 PM, "Michael Nazzareno Trimarchi" <michael at amarulasolutions.com> wrote:

> Hi
> 
> Please use the latest uboot. The fixes should be already merged
> 
> Mcihael
> 
> On Sun, Sep 22, 2019 at 10:53 PM Alexander von Gluck IV
> <kallisti5 at unixzen.com> wrote:
> 
>> Anyone know a way to get a functional u-boot on the rk3288? (Tinkerboard, SD)
>> 
>> The docs seem to recommend:
>> $ /tmp/arm-build/tools/mkimage -n rk3288 -T rksd -d arm/tinkerboard/u-boot-spl-dtb.bin out
>> 
>> However, that produces:
>> Warning: SPL image is too large (size 0xb000) and will not boot
>> 
>> I saw this patch to disable I2C in the SPL to reduce its size:
>> https://github.com/xypron/u-boot-patches/blob/df2ceb65fb4cc433aa17304ed9d3d591c14ef5ac/0001-configs-
>> inker-rk3288-disable-CONFIG_SPL_I2C_SUPPORT.patch
>> 
>> However, that breaks the build :-|
>> 
>> LD spl/u-boot-spl
>> arm-unknown-haiku-ld.bfd: drivers/built-in.o: in function `rk8xx_write':
>> /tmp/arm-build/drivers/power/pmic/rk8xx.c:30: undefined reference to `dm_i2c_write'
>> arm-unknown-haiku-ld.bfd: drivers/built-in.o: in function `rk8xx_read':
>> /tmp/arm-build/drivers/power/pmic/rk8xx.c:43: undefined reference to `dm_i2c_read'
>> make[1]: *** [scripts/Makefile.spl:404: spl/u-boot-spl] Error 1
>> make: *** [Makefile:1762: spl/u-boot-spl] Error 2
>> make: Leaving directory '/tmp/arm-build'
>> Disabling SPL Power then results in an error compiling MMC support
>> Any alternative methods to getting u-boot running from SD?
>> Rockchip devices seem to be kind of complex to get going :-|
>> -- Alex
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> https://lists.denx.de/listinfo/u-boot
> 
> --
> | Michael Nazzareno Trimarchi Amarula Solutions BV |
> | COO - Founder Cruquiuskade 47 |
> | +31(0)851119172 Amsterdam 1018 AM NL |
> | [`as] http://www.amarulasolutions.com |


More information about the U-Boot mailing list