boot process
Aleksey V Fedorov
alexf at vsi.ru
Mon Feb 23 03:04:43 PST 2009
On Mon, 23 Feb 2009, Rafal Jaworowski wrote:
> 2. Hack e500_init() routine in the kernel to hard code some config data it
> normally gets from loader, like physical RAM size, memory regions number etc.,
> CCSR base address, CCB clock frequency, maybe something more, see e500_init()
> for details.
I see that CCSRBAR address is hardcoded in vmparam.h
/*
* Kernel CCSRBAR location. We make this the reset location.
*/
#define CCSRBAR_VA 0xfef00000
#define CCSRBAR_SIZE 0x00100000
Who change them: loader(8) or U-boot ?
In Linux dts it's on another address:
# grep CCSRBAR *.dts
mpc8540ads.dts: reg = <e0000000 00100000>; // CCSRBAR 1M
mpc8541cds.dts: reg = <e0000000 00100000>; // CCSRBAR 1M
mpc8544ds.dts: reg = <e0000000 00100000>; // CCSRBAR 1M
mpc8548cds.dts: reg = <e0000000 00100000>; // CCSRBAR 1M
mpc8555cds.dts: reg = <e0000000 00100000>; // CCSRBAR 1M
--
More information about the freebsd-ppc
mailing list