A question of tftpboot
Hello,
I am using tftpboot to download the uImage. But I found if I use tftpboot 10000 uImage
The image can be downloaded with no problem. But if I use tftpboot 1000 uImage
Then it shows me execeptions as below:
********************************************************************
=> tftp 1000 uImage-uncomp
ENET Speed is 100 Mbps - HALF duplex connection
TFTP from server 138.31.3.162; our IP address is 138.31.3.77 Filename 'uImage-uncomp'.
Load address: 0x1000
Loading: #NIP: 00000000 XER: 20000000 LR: 00000000 REGS: 00fbb9d0 TRAP: 0700
DAR: 00FE0F60
MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
GPR00: 00000003 00FBBAC0 40000000 00FBBAD0 0000001E 00000002 00FFADBC 00FFC1BC
GPR08: 00000004 00FFB6BC FFFFFFFF 00FFC1BC 00FF968C 00000000 01002100 0175D000
GPR16: 00000000 00000000 00000000 00000000 00001000 00FBBAC0 00000000 00000000
GPR24: 00000000 00000000 00FBBF90 00000003 00000000 00FBBF60 01002B2C 00FFBF3C
** Illegal Instruction **
Call backtrace:
Program Check Exception
*****************************************************************
I checked the document but nothing mentioned about the load address of tftpboot. My question is, why I can download the image to 10000 while downloading to 1000 doesn't work?
Thanks,
Frank
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Quoted 6 lines · In message <[email protected]> you wrote:
I am using tftpboot to download the uImage. But I found if I use tftpboot 10000 uImage
The image can be downloaded with no problem. But if I use tftpboot 1000 uImage
Then it shows me execeptions as below:
This is only to be expected. U-Boot follows UNIX design rules:
"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn
Quoted 3 lines
I checked the document but nothing mentioned about the load address of tftpboot. My question is, why I can download the image to 10000 while downloading to 1000 doesn't work?
Read the documentation again. See for example section "Memory Manage- ment" in the README which explains pretty clear why overwriting the memory between 0x0000...0x2000 is NOT a good idea while U-Boot is running.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Earth -- mother of the most beautiful women in the universe. -- Apollo, "Who Mourns for Adonais?" stardate 3468.1
Quoted 4 lines · Frank Young
I checked the document but nothing mentioned about the load address of tftpboot. My question is, why I can download the image to 10000 while downloading to 1000 doesn't work?
What CPU do you have? If it is a PPC you probably still have the standard interrupt vectors down there. Check your start.S for where the handlers are setup.STD_EXCEPTION(0x1000, PIT, PITException);