Re: [U-Boot] Relocating to my code.

2009-06-25 Thread Detlev Zundel
Hi Prathika, > --Thanks for your reply Detley. I think I was just trying to complicate > things.I have got a better picture now. > Before calling relcoate_code() in board.c, ifI using the command Uhm, well, actually you should not touch U-Boot code at all. It should simply work. > "cp.b fc2e000

Re: [U-Boot] Relocating to my code.

2009-06-24 Thread prathika
Detlev Zundel wrote: Hi Prathika, I did not mean it should run from flash itself..My application will just reside in flash, I will read back from flash to a RAM location. To be honest, I have trouble understanding this. As I understand, in board_init_f(), after calling the ini

Re: [U-Boot] Relocating to my code.

2009-06-24 Thread Detlev Zundel
Hi Prathika, > I did not mean it should run from flash itself..My application will > just reside in flash, I will read back from flash to a RAM location. To be honest, I have trouble understanding this. > As I understand, in board_init_f(), after calling the init_sequence, > relocate_code() is c

Re: [U-Boot] Relocating to my code.

2009-06-24 Thread Detlev Zundel
Hi Prathika, > hi everyone, > I am working on a card based on PPC440EP, I am porting u-boot on this card. > As I understand, the PPC initially boots from the flash and then > relocates itself to RAM address where there is board_init_r() and > main_loop() is called. Correct. Running from flash

[U-Boot] Relocating to my code.

2009-06-22 Thread prathika
hi everyone, I am working on a card based on PPC440EP, I am porting u-boot on this card. As I understand, the PPC initially boots from the flash and then relocates itself to RAM address where there is board_init_r() and main_loop() is called. I have an application code that simply does a loop ba