Flash adress, memory ??
Hi!
I am trying to port u-boot for a MEMEC xc2vp20 board, Xilinx virtex II Pro and PPC405. I have some difficulties. I have already read README file but i didn"t understand everything.
1) Is it true that we can't (or difficult) to put u-boot in SDRAM?
2) What represent CFG_ENV ?
3) If I want to put u-boot on a FLASH memory, i need to use CFG_ENV_FLASH, but what adress to put?
In fact, in my project, to declare the flash memory, I have this information:
Flash 1Mx32
C_BASEADDR: 0x82003000
C_HIGHADDR : 0x820031FF
C_MEM0_BASEADDR: 0x83600000
C_MEM0_HIGHADDR : 0x836FFFFF
C_MEM0_BASEADDR: 0x84000000
C_MEM0_HIGHADDR : 0x843FFFFF
FLASH_RESET
C_BASEADDR: 0x82004000
C_HIGHADDR : 0x820041FF
FLASH_READY
C_BASEADDR: 0x82005000
C_HIGHADDR : 0x820051FF
Thanks,
Jonathan LANO?
Quoted 2 lines · In message <[email protected]> you wrote:
1) Is it true that we can't (or difficult) to put u-boot in SDRAM?
Which part of the FAQ didn't you understand?
http://www.denx.de/twiki/bin/view/DULG/CanUBootBeConfiguredSuchThatItCanBeStartedInRAM
Quoted 1 line
2) What represent
CFG_ENV?
What exactly do you mean? Ther eis no such thing as CFG_ENV.
Quoted 2 lines
3) If I want to put u-boot on a FLASH memory, i need to use
CFG_ENV_FLASH, but what adress to put?
It's you who designs the memory map of your system. Make sure to take into account the reset vector address of your processor.
Quoted 10 lines
In fact, in my project, to declare the flash memory, I have this information:
Flash 1Mx32
C_BASEADDR:0x82003000
C_HIGHADDR:0x820031FF
C_MEM0_BASEADDR:0x83600000
C_MEM0_HIGHADDR:0x836FFFFF
C_MEM0_BASEADDR:0x84000000
C_MEM0_HIGHADDR:0x843FFFFF
Quoted 7 lines
FLASH_RESET
C_BASEADDR:0x82004000
C_HIGHADDR:0x820041FF
FLASH_READY
C_BASEADDR:0x82005000
C_HIGHADDR:0x820051FF
And you expect that we all know what FLASH_RESET, FLASH_READY and C_MEMO_* means in your project? I'm sorry, but at the moment my crystal ball is in dire need of an ectoplasmic upgrade.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A bore is someone who persists in holding his own views after we have enlightened him with ours.