From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir "Farcaller" Pouzanov Date: Mon, 16 Oct 2006 16:44:15 +0300 Subject: [U-Boot-Users] loady fails Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 : [] lr : [] 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