[U-Boot] Odroid U3 - Upgrade to latest u-boot kernel load fails.

Anand Moon linux.amoon at gmail.com
Mon Mar 18 19:17:27 UTC 2019


Hi Krzysztof,

On Mon, 18 Mar 2019 at 23:33, Krzysztof Kozlowski <krzk at kernel.org> wrote:
>
> On Mon, 18 Mar 2019 at 18:49, Anand Moon <linux.amoon at gmail.com> wrote:
> >
> > Hi Krzysztof,
> >
> > On Mon, 18 Mar 2019 at 18:20, Krzysztof Kozlowski <krzk at kernel.org> wrote:
> > >
> > > On Mon, 18 Mar 2019 at 13:32, Anand Moon <linux.amoon at gmail.com> wrote:
> > > >
> > > > Hi Krzysztof / Marek,
> > > >
> > > > After I update the latest u-boot on my Odroud U3+ it fails to load the
> > > > kernel it hangs.
> > > > I am using Archlinux on Odroid U3.
> > > >
> > > > U-Boot 2019.04-rc3-00131-g8303467e80d-dirty (Mar 18 2019 - 12:12:23 +0000)
> > > >
> > > > CPU:   Exynos4412 @ 1 GHz
> > > > Model: Odroid based on Exynos4412
> > > > Type:  u3
> > > > DRAM:  2 GiB
> > > > LDO20 at VDDQ_EMMC_1.8V: set 1800000 uV; enabling
> > > > LDO22 at VDDQ_EMMC_2.8V: set 2800000 uV; enabling
> > > > LDO21 at TFLASH_2.8V: set 2800000 uV; enabling
> > > > MMC:   SAMSUNG SDHCI: 1, EXYNOS DWMMC: 0
> > > > Loading Environment from MMC... Card did not respond to voltage select!
> > > > *** Warning - No block device, using default environment
> > > >
> > > > Net:   No ethernet found.
> > > > Hit any key to stop autoboot:  0
> > > > switch to partitions #0, OK
> > > > mmc1 is current device
> > > > Scanning mmc 1:1...
> > > > Found U-Boot script /boot/boot.scr
> > > > 769 bytes read in 6 ms (125 KiB/s)
> > > > ## Executing script at 42000000
> > > > 6901856 bytes read in 253 ms (26 MiB/s)
> > > > 53078 bytes read in 19 ms (2.7 MiB/s)
> > > > 6590950 bytes read in 240 ms (26.2 MiB/s)
> > > > Kernel image @ 0x41000000 [ 0x000000 - 0x695060 ]
> > > > ## Flattened Device Tree blob at 40800000
> > > >    Booting using the fdt blob at 0x40800000
> > > >    Loading Ramdisk to 4f9b6000, end 4ffff1e6 ... OK
> > > >    Loading Device Tree to 4f9a6000, end 4f9b5f55 ... OK
> > > >
> > > > Starting kernel ...
> > >
> > > Can you attach your boot.init file (the source of boot.scr)?
> > >
> > > By the size of DTB you can see that different DTB is loaded. I assume
> > > you tried to boot the same kernel, then it could mean that boardname
> > > was used instead of board_name to choose DTB. Suspicious is that
> > > kernel size also differs... so maybe you booted something else? As
> > > usual debugging practice, reduce number of unknown factors. Do not
> > > change kernel and U-Boot at the same time.
> > >
> > > Also, you can try reverting commit e6b1467081d3 ("arm: exynos: Remove
> > > duplicated "boardname" env setting") and see if it helps. Or just try
> > > to bisect around changes coming from u-boot samsung tree. Try booting
> > > v2019.01 and paste the results as well.
> > >
> > > Best regards,
> > > Krzysztof
> > >
> >
> > I have tested with pre-compiled image and the cross compiled kernel image
> > both failed to load the kernel.
> >
> > No revert of the commit e6b1467081d3 did not help.
> >
> > Yes it seem strange that that load address is changes some how in the u-boot env
> >
> > printenv setting of the latest u-boot     U-Boot
> > 2019.04-rc3-00131-g8303467e80d-dirty
> > [0] https://pastebin.com/1Hgc5xxC      (newu-boot.txt)
> >
> > printenv setting for the old u-boot.      U-Boot 2018.01-1
> > [1] https://pastebin.com/wD6zK6eG    (oldu-boot.txt)
> >
> > Attach is the boot.txt (boot.scr), also the u-boot env old and u-boot-env new
>
> And does 2019.01 work?

I have not tied this version.

>
> Krzysztof

I have flashed the latest Archlinux Image for Odroid U3 on the sdcard.
did full update on the kernel image and then tried to update the latest u-boot
it failed to boot. It looks like the some u-boot environment settings
are incorrect.

Best Regards
-Anand


More information about the U-Boot mailing list