[U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

Andre Schwarz
2010-11-04T13:32:15Z

Jocke,

[snip]

> still -E_TOO_LITTLE_INFO:
>

sorry - thought it was clear already.

> "include weather booted from NAND or NOR, CPU type(e300cX) and
> what reset vector is used."
>
CPU: e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz

- Boot from NOR Flash
- HRCW from I2C EEPROM
- Reset Vector 0x100, i.e. low boot.

Initial RAM ...

#define CONFIG_SYS_INIT_RAM_LOCK 1
#define CONFIG_SYS_INIT_RAM_ADDR 0xE6000000
#define CONFIG_SYS_INIT_RAM_SIZE 0x1000
#define CONFIG_SYS_GBL_DATA_SIZE 0x100
#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_SIZE -
CONFIG_SYS_GBL_DATA_SIZE)

... mapped by BAT5

#define CONFIG_SYS_IBAT5L (CONFIG_SYS_INIT_RAM_ADDR | BATL_PP_10)
#define CONFIG_SYS_IBAT5U (CONFIG_SYS_INIT_RAM_ADDR | BATU_BL_128K
| BATU_VS | BATU_VP)
#define CONFIG_SYS_DBAT5L CONFIG_SYS_IBAT5L
#define CONFIG_SYS_DBAT5U CONFIG_SYS_IBAT5U

Of course ELDK-4.2 toolchain.

>> My latest MPC8377 board does not even start without your suggested 4 nops.
>> It does not start (i.e. serial line completely dead) with any USB
>> functionality defined.
>>
> Something else is broken here, no idea what.
>
>
If it's an alignment or linking problem it could have the same root cause.
Just want to give as much information as I can.

Cheers,
Andr?

MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner