[U-Boot] MPC834x U-Boot problem

davewellz-wurk at yahoo.co.uk davewellz-wurk at yahoo.co.uk
Tue May 21 22:11:24 CEST 2013


Hi,

I am trying to get U-Boot to work on hardware very similar to the SBC8347 dev board. The main differences are:

            SBC8347:    My HW:
/CS0        8M Flash    64M Flash
/CS1        8K EEPROM   128M SDRAM
/CS[2:3]    128M SDRAM  
MCS[0:1]    256M DDR    1G DDR

And the significant changes in start.S (for reference):
#define CONFIG_SYS_TEXT_BASE      0xF8000000
#define CONFIG_SYS_FLASH_BASE     0xF8000000
#define CONFIG_SYS_FLASH_SIZE     64
#define CONFIG_SYS_INIT_RAM_ADDR  0xF6000000


I am not setting up any registers using the HW probe, just relying on the HRCW's and debugging in ROM.

So far the code executes ok through start.S up to the call to cpu_init_f() in cpu_init.c where it crashes in the call to memset(), gd=0xF6000F50. CONFIG_SYS_INIT_RAM_ADDR = 0xF6000000. Perhaps the stack-in-cache trick isn't working, or should some RAM be initialised by this point? I don't see where this would have been done though.

Has anyone got any experience with the SBC8347/9 board or anything similar, or is able to provide any suggestions please?

I realise this is old-ish hardware but it's what I'm working with. Any help would be much appreciated.

Regards,
David Wells.


More information about the U-Boot mailing list