[U-Boot-Users] Load/run application

Hi,
I have the u-boot running normally on my board. I downloaded the default hello_world.bin onto the board at memory location 40004. I can see the data there is correct as it is the same as my .bin file. However, when I type "=> go 40004 Hello World! This is a test." as instructed in the readme file, a Program Check Exception occurs. Can anyone tell me why?
I'm attaching the program dump below:
================================== => printenv bootcmd=run t bootdelay=5 baudrate=115200 ethaddr=0x00:c0:12:34:56:78 ipaddr=10.196.31.123 serverip=10.196.4.49 stdin=serial stdout=serial stderr=serial loadaddr=40004 bootfile=hello_world.bin
Environment size: 193/16380 bytes => tftpboot TFTP from server 10.196.4.49; our IP address is 10.196.31.123 Filename 'hello_world.bin'. Load address: 0x40004 Loading: ############# done Bytes transferred = 65976 (101b8 hex)
=> go 40004 Hello World! This is a test. ## Starting application at 0x00040004 ... NIP: 00040004 XER: 00000000 LR: 01FE9108 REGS: 01fb6b78 TRAP: 0700 DAR: 01FB6C50 MSR: 0008b002 EE: 1 PR: 0 FP: 1 ME: 1 IR/DR: 00
GPR00: 01FE90F8 01FB6C68 FFFF3FFF 00000007 01FB6E94 00000010 FFFFFFFE 00000004 GPR08: 00000041 04700088 00000000 04700091 00000000 E7FBFBFF 01FFC000 03FDB000 GPR16: FFFFFFFF 7FFF7FFD FFFFFFFF FF77BFFF EFFFFFFF 00000001 FFFFFFFF 00000000 GPR24: 00000001 00000000 01FB6E90 00000008 00040004 01FB6F70 01FFC8D4 01FB6E94 Call backtrace: 01FE90F8 01FE4508 01FE3CD0 01FDFF28 01FDE48C Program Check Exception =============================================
Thank you very much!
Best Regards, Queenie Chan NCSD Application Engineer

In message 239A78AC110CD711A1A500D0B7828CD806AD8392@zhk08exm01.sps.mot.com you wrote:
I have the u-boot running normally on my board. I downloaded the default hello_world.bin onto the board at memory location 40004. I can see the data there is correct as it is the same as my .bin file. However, when I type "=> go 40004 Hello World! This is a test." as instructed in the readme file, a Program Check Exception occurs. Can anyone tell me why?
The README uses the S-record file as example, which will automagi- cally be loaded to the correct address; if you use TFTP you must load the image at 0x40000, but the entry point is still at 0x40004.
Best regards,
Wolfgang Denk

Hello, David I know you are the maintainer of SMDK2410 made by samsung electronics and smdk2410 reference board supports NAND BOOT.
I have questions about u-boot features, How can I boot from NAND Flash (Smart Media Card) not nor flash.. Is it possible to boot up from NAND Flash using U-Boot. If it could How can I enable that feature.

Hello,
in message 000001c39dbc$3c897640$63c1dba8@swcenter.sec.samsung.co.kr you wrote:
How can I boot from NAND Flash (Smart Media Card) not nor flash..
Please define "boot".
What do you have in mind? Boot U-Boot from a Smart Media Card? [Can't be done.] Load a Linux kernel from a Smart Media Card and start it? [Enable JFFS2 support and put the Linux kernel image in a JFFS2 filesystem.]
Is it possible to boot up from NAND Flash using U-Boot. If it could How can I enable that feature.
It may be possible, depending on your definition of "boot".
Best regards,
Wolfgang Denk

Yes you are right. I mean that Load a U-Boot from NAND FLASH not NOR FLASH.
Currently SMDK2410 Reference Board boots up from nor flash as you know. But SMDK2410 support NAND Boot Up so I want to use that feature.
You could get information about SMDK2410 board at http://www.samsung.com/Products/Semiconductor/SystemLSI/MobileSolutions/ MobileASSP/MobileComputing/S3C2410X/S3C2410X.htm
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Wednesday, October 29, 2003 10:39 AM To: choigi@samsung.com Cc: u-boot-users@lists.sourceforge.net Subject: Re: [Question About NAND BOOT In SMDK2410
Hello, in message 000001c39dbc$3c897640$63c1dba8@swcenter.sec.samsung.co.kr you wrote:
How can I boot from NAND Flash (Smart Media Card) not nor flash..
Please define "boot". What do you have in mind? Boot U-Boot from a Smart Media Card? [Can't be done.] Load a Linux kernel from a Smart Media Card and start it? [Enable JFFS2 support and put the Linux kernel image in a JFFS2 filesystem.]
Is it possible to boot up from NAND Flash using U-Boot. If it could
How
can I enable that feature.
It may be possible, depending on your definition of "boot".
Best regards,
Wolfgang Denk
participants (3)
-
Chan Queenie-r54684
-
Wolfgang Denk
-
최광일