Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 14:04:40 +0300 (MSK)
From:      Aleksey V Fedorov <alexf@vsi.ru>
To:        Rafal Jaworowski <raj@semihalf.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: boot process
Message-ID:  <Pine.GSO.4.62.0902231359290.10803@serv1>
In-Reply-To: <49A2704F.4060703@semihalf.com>
References:  <Pine.GSO.4.62.0902212141241.25932@serv1> <49A2704F.4060703@semihalf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.62.0902231359290.10803>