[U-Boot] u-boot-rockchip: firefly-rk3288 hangs on: Loading Environment from MMC

Simon Glass sjg at chromium.org
Wed Dec 19 03:05:59 UTC 2018


Hi,

On Tue, 14 Aug 2018 at 16:12, Vagrant Cascadian <vagrant at debian.org> wrote:
>
> On 2018-08-14, Vagrant Cascadian wrote:
> >> Also just tried with v2018.09-rc2, same problem.
>
> With some debugging in mmc enabled (#define DEBUG at the top of dw_mmc.c
> mmc-uclass.c mmc.c rockchip_dw_mmc.c) and CONFIG_MMC_TRACE=y, it gives a
> little more information:
>
> U-Boot SPL 2018.09-rc2+dfsg-1~20180814~6 (Aug 14 2018 - 21:58:09 +0000)
> Returning to boot ROM...
> mmc_bind: alias ret=0, devnum=1
>
>
> U-Boot 2018.09-rc2+dfsg-1~20180814~6 (Aug 14 2018 - 21:58:09 +0000)
>
> Model: Firefly-RK3288
> DRAM:  2 GiB
> mmc_bind: alias ret=0, devnum=1
> mmc_bind: alias ret=0, devnum=0
> MMC:   dwmmc at ff0c0000: 1, dwmmc at ff0f0000: 0
> Loading Environment from MMC... clock is disabled (0Hz)
>
> Buswidth = 0, clock: 0

At little late to the party, but the current 2019.01.rc2 works OK for me:


crosfw -b firefly-rk3288 -i && /tmp/b/firefly-rk3288/tools/mkimage -n
rk3288 -T rksd -d /tmp/b/firefly-rk3288/spl/u-boot-spl.bin out && cat
/tmp/b/firefly-rk3288/u-boot-dtb.bin >> out  && sudo dd if=out
of=/dev/sdb seek=64 && sync

U-Boot SPL 2019.01-rc2-00001-g90603d0093-dirty (Dec 18 2018 - 20:03:26 -0700)
Returning to boot ROM...


U-Boot 2019.01-rc2-00001-g90603d0093-dirty (Dec 18 2018 - 20:03:26 -0700)

Model: Firefly-RK3288
DRAM:  2 GiB
MMC:   dwmmc at ff0c0000: 1, dwmmc at ff0f0000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Firefly-RK3288
Net:
Warning: ethernet at ff290000 (eth0) using random MAC address - 56:3a:73:55:2e:82
eth0: ethernet at ff290000
Hit any key to stop autoboot:  0
=>


Regards,
Simon


More information about the U-Boot mailing list