[U-Boot-Users] Running a application in U-Boot

Dear All ,
I am working on AT91SAM9263 Customised board having U-boot. I want to rn some application on the top of U-boot . I found some command like go to run a application in U-boot. I m trying to run the demo program Hello_world.c provided in the U-Boot source . But after loading that to 0x40000 addresss and executing from 0x40004 address (according to the U-Boot manual) it is not Giving proper Output . Plz any one help me How can I run a stand alone program in U-Boot ?
Regds,
Ansh

No HTML allowed on this list; Please use plain text messages.
Light King (Ansh) wrote:
I am working on AT91SAM9263 Customised board having U-boot. I want to run some application on the top of U-boot . I found some command like go to run a application in U-boot. I m trying to run the demo program Hello_world.c provided in the U-Boot source . But after loading that to 0x40000 address and executing from 0x40004 address (according to the U-Boot manual) it is not Giving proper Output . Plz any one help me How can I run a stand alone program in U-Boot ?
If you don't do a better job of describing your problem, no one is likely to be motivated to help you. One terse paragraph is not enough.
What output did you get?
What output were you expecting?
What version of U-Boot did you build?
How did build Hello_world?
What exact U-Boot commands did you use to load and run Hello_world? A log of the commands entered into U-Boot and output generated may be helpful.
Sincerely,
Ken Fuchs

Hello,
I am working on AT91SAM9263 Customised board having U-boot. I want to rn some application on the top of U-boot . I found some command like go to run a application in U-boot. I m trying to run the demo program Hello_world.c provided in the U-Boot source . But after loading that to 0x40000 addresss and executing from 0x40004 address (according to the U-Boot manual) it is not Giving proper Output . Plz any one help me How can I run a stand alone program in U-Boot ?
The examples are broken for AT91SAM9261 also, and I have a patch for it attached. Notice that this patch is only for at91sam9261ek, not for at91sam9263ek, but if you look at it you should know what to do for your board.
Notice that there is no memory on address 0x40000 so you can try to load a program there and start to run it, but obviously it will not work :-)) U-boot itself is stored at 0x20000000 (beginning of memory) and I start the examples from address 0x21400000.
NOTE: This patch is not meant for mainlining yet, just to help you on the short term. (I think I have to solve it more cleanly/generic for the AT91 series)
Kind Regards,
Remy
participants (3)
-
Ken.Fuchs@bench.com
-
Light King
-
Remy Bohmer