Skip to contentSkip to conversation

problem in booting MPC860T based board

U-Boot-Users prashant sangal 2 participants 2 messages May 19, 2006

lore
Share & tools
lore
#0 lore raw

hi,
i m new to MPC based processors and boards. currently i am working on a board , consisting of xpc860t processor, two (4M X 16) SDRAM chips, AMIC a29l040 (512K X 8) FLASH Memory, 40 MHz crystal.

while trying to boot it with u-boot , I used include/configs/MBX860T.h configuration file . I made following changes to this file..
1. #define CONFIG_8xx_CONS_SMC2 1
#undef CONFIG_8xx_CONS_SMC1
(initially SMC1 was defined and SMC2 was undefined)

2. #define CONFIG_BAUDRATE 115200
3. #define CONFIG_BOOTCOMMAND "bootm FE000100"

initially it was FE020000, but as IP value is 0x0100 by default, FE000100 must be first location of flash to be accessed...(please correct me if i m wrong)

4. #define CFG_FLASH_BASE 0xFE000000

initially it was defined as 0x00000000, i was confused here... how is it possible to assign same base address to FLASH and SDRAM, as we are booting the system with 0xFE000100 , I made it 0xFE000000

but the board is not booting. please help me to make the right configurartion , so that board can work.

thank you very much

with regards
Prashant Kumar Sangal

Send instant messages to your online friends http://in.messenger.yahoo.com

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

while trying to boot it with u-boot , I used include/configs/MBX860T.h configuration file . I made

The MBX board is not a good model to use, as it has all kinds of special hardare which are most probably not present on your board. You need a very detailed understanding of your own hartdware befoire you can pick a model configuration.

Quoted 1 line

3. #define CONFIG_BOOTCOMMAND "bootm FE000100"

Sounds pretty wrong to me...

Quoted 3 lines

initially it was FE020000, but as IP value is 0x0100 by default, FE000100 must be first location of flash to be accessed...(please correct me if i m wrong)

You are wrong. BOOTCOMMAND is a completely different story. Please read the README and the manual.

Quoted 4 lines

initially it was defined as 0x00000000, i was confused here... how is it possible to assign same base address to FLASH and SDRAM, as we are booting the system with 0xFE000100 , I made it 0xFE000000

Please read the README and the manual, and probably the MPC860 User's Manual.

Quoted 2 lines

but the board is not booting. please help me to make the right configurartion , so that board can work.

It's not that simple. You have to port U-Boot to your hardware. This is much more complicated than you seem to expect.

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
The use of COBOL cripples the mind; its teaching  should,  therefore,
be regarded as a criminal offense.                   - E. W. Dijkstra