[U-Boot-Users] Porting Problems :: PPC8270

uboot at sundmangroup.com uboot at sundmangroup.com
Tue Mar 16 17:17:02 CET 2004


Hello,
We have now managed to partly port U-boot1.0.2 to our custom board.
What we can see, with BDI2000 and printf:s, is that the code always
reaches board_init_r i.e. We are in RAM.

I am using the PQ2FADS code as base since we are using a Motorola
PPC8270.

Now the problems start. I have encountered some strange things:

1. Variable flash_info[], introduced in file flash.c is pointing
   to flash! Some other variables are also pointing to either flash or
   0xffffffff, they should point to some address in RAM.

2. If I run the code on the board without BDI2000, it always crashes
   sometime after flash_init...

3. If I run the code on the board with BDI2000 along with breakpoints in
   say board_init_r, cpu_init_r, console_init_r, main_loop I can get all
   the way to the main_loop and the "CLI"...

Can anybody give me a hint where to look for broken code...

Thanks // Matias






More information about the U-Boot mailing list