[U-Boot] Help Falcon Mode on Wanboard
Stefano Babic
sbabic at denx.de
Fri Aug 12 20:04:03 CEST 2016
Hi Diego,
On 12/08/2016 19:19, Diego Dorta wrote:
>>
>> It was quite a while ago, but the patch sets Falcon mode, and it tries
>> to boot the kernel. Kernel is not in filesystem, but stored at a fixed
>> address on the SD card (0x1000). The error you reported seems when
>> U-Boot is starting - by pressing 'c' or if no kernel is stored.
>
> Hi Stefano,
>
> When I use your falcon mode pre-built image everything works fine, but when I try to replace to use the binaries I've compiled,
> the normal mode (pressing C) doesn't work and shows this error:
>
> U-Boot 2016.01-rc4-26067-g04df0e7-dirty (Aug 12 2016 - 10:31:08 -0300)
>
> CPU: Freescale i.MX6Q rev1.2 at 792 MHz
> Reset cause: POR
> initcall sequence 178290d4 failed at call 178038bd (err=394279101)
> ### ERROR ### Please RESET the board ###
>
>
> I use the following commands to copy the binaries:
>
> $ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 oflag=sync status=none && sync
>
> $ sudo dd if=u-boot.img of=/dev/sdb bs=1K seek=69 oflag=sync status=none && sync
This does not seem an issue when you write inot the SD card, else SPL is
not started. But SPL works as expected and load correctly u-boot.img,
that crashes.
I do not know if this makes a difference, but I check my logs and I have
seen that I built with gcc 4.9.2 (Yocto-fido). This should not be an
issue, but...
You should take a look at u-boot.map, and check the address where it
happens. 0x00000000178290d4 should be init_sequence_f, you have to see
in which function is 178038bd to make supposition.
For example, in my original u-boot.map (that I have still found on my
PC), I see:
.text.initr_malloc
0x00000000178038a8 0x16 common/built-in.o
.text.initr_caches
0x00000000178038be 0xa common/built-in.o
If binary was identical, it means a failure in initr_malloc. But your
build is surely different and you have to find it.
Best regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list