[U-Boot-Users] loady fails

Vladimir "Farcaller" Pouzanov farcaller at gmail.com
Mon Oct 16 15:44:15 CEST 2006


Hi all,

I've been investigating my crash:
$ loady a1000000
## Ready for binary (ymodem) download to 0xA1000000 at 115200 bps...
CxyzModem - CRC mode, 2(SOH)/256(STX)/0(CAN) packets, 3 retries
## Total Size      = 0x00040000 = 262144 Bytes
data abort
pc : [<a17071e4>]    lr : [<a17071d0>]
sp : a16bf998  ip : 00000000  fp : a16c000c
r10: 00040000  r9 : f9c80000  r8 : a16bffdc
r7 : a16bf9f0  r6 : 00040000  r5 : a1040000  r4 : a16bfdf0
r3 : a16c000c  r2 : f9c80000  r1 : f9c80004  r0 : a16c000c
Flags: NzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

a17071e4 lead me to
_do_setenv() in common/cmd_nvedit.c:
        name = argv[1];

backtrace seems to be:
common/cmd_load.c:556 setenv("filesize", buf);
common/cmd_nvedit.c:389 _do_setenv (0, 3, argv);
common/cmd_nvedit.c:168 name = argv[1];

setenv command executed from command line works as expected.

Can anyone give me a hint?

-- 
Sincerely,
Vladimir "Farcaller" Pouzanov
http://hackndev.com





More information about the U-Boot mailing list