[U-Boot-Users] About Boot from EEPROM.

Hi,all
I'm new to U-boot.I am working on a MPC8247 board which has EEPROM(512KB) as the Boot chip and a flash(16MB) as the data flash.The physical address of the EEPROM is 0xfff80000-0xffffffff,and the physical address of the flash is 0xC2000000-0xC3000000.I have several questions as listed below:
1) If we could burn the u-boot.bin to the EEPROM throuth programer off the board and only read data from the EEPROM on board,should i need the driver for the EEPROM?
2) If it is correct to set the values of CFG_FLASH_BASE, CFG_MONITOR_BASE and TEXT_BASE like this: CFG_FLASH_BASE=0xC2000000 CFG_MONITOR_BASE=0xfff80000 TEXT_BASE=0xfff80000
3) I saw CFG_RAMBOOT in Start.S and CFG_LOWBOOT in MPC8260ads.h.What is the meaning of them,sorry I am blunt to software.
Any suggestion is appreciated!
Best Regards, levy

In message BAY113-F14E878F958FBE0A21EAFCE8FC30@phx.gbl you wrote:
- If we could burn the u-boot.bin to the EEPROM throuth programer off the
board and only read data from the EEPROM on board,should i need the driver for the EEPROM?
No, unless you want to access it somehow in U-Boot.
In general, you *want* to have a driver to be able to use U-Boot to update itself.
- If it is correct to set the values of CFG_FLASH_BASE, CFG_MONITOR_BASE
and TEXT_BASE like this: CFG_FLASH_BASE=0xC2000000 CFG_MONITOR_BASE=0xfff80000 TEXT_BASE=0xfff80000
This may or may not be ok. We don't know your hardware.
- I saw CFG_RAMBOOT in Start.S and CFG_LOWBOOT in MPC8260ads.h.What is the
You better forget these. See the FAQ.
meaning of them,sorry I am blunt to software.
Ummm... porting U-Boot requires a certain level of qualification...
Best regards,
Wolfgang Denk

In message BAY113-F3177119D4F87109F46FC838FC30@phx.gbl you wrote:
You better forget these. See the FAQ.
Thank you for your reply,where can I find the FAQ?
What??? You mean googling for "u-boot faq" did not show up the correct URL as the very first link???
Best regards,
Wolfgang Denk
participants (2)
-
Lu Weijiang
-
Wolfgang Denk