On Thu, 2 Mar 2006 09:43, dagriego wrote:
I'm finishing my first pass on getting kexec to work on PPC booke
processor, and needed some insight into how to pass information from the
first kernel to the kexec'ed kernel. This information is the board
information that the first kernel is given in r3 from the board firmware.
Is there a standard convention for passing this information?
Yep, it's called the flat device tree.
cheers
--
Michael Ellerman
IBM OzLabs
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
On Thu, 2 Mar 2006 09:43, dagriego wrote:
quoted
I'm finishing my first pass on getting kexec to work on PPC booke
processor, and needed some insight into how to pass information from the
first kernel to the kexec'ed kernel. This information is the board
information that the first kernel is given in r3 from the board firmware.
Is there a standard convention for passing this information?
Yep, it's called the flat device tree.
Which PPC booke are you trying to get this to work on?
- kumar
I'm working on the E500 core, particularly the mpc8540/8560ADS boards
- David
On 3/1/06, Kumar Gala [off-list ref] wrote:
quoted
On Thu, 2 Mar 2006 09:43, dagriego wrote:
quoted
I'm finishing my first pass on getting kexec to work on PPC booke
processor, and needed some insight into how to pass information from
the
quoted
quoted
first kernel to the kexec'ed kernel. This information is the board
information that the first kernel is given in r3 from the board
firmware.
quoted
quoted
Is there a standard convention for passing this information?
Yep, it's called the flat device tree.
Which PPC booke are you trying to get this to work on?
- kumar
On Mar 2, 2006, at 8:32 AM, dagriego wrote:
I'm working on the E500 core, particularly the mpc8540/8560ADS boards
- David
There are patches to u-boot that have been posted to allow mpc8540
ADS to boot with a flat device tree (needed by kexec). In addition
the powerpc.git tree has support in arch/powerpc for building a
kernel that uses that flat device tree for mpc8540 ads.
I'd recommend you start with getting that going on your system.
- kumar