Hi,
I want to port a board ( WRS SBC8265 ) from the PPC branch to the POWERPC
branch in the Linux Kernel -- do you have any good starting points that
describes what I need to pay attention to?
I've already made a port of U-boot-1.3.1 and enabled CONFIG_OF_LIBFDT.
So I need to create a DTS file, compile it with the DTC compiler and port
the current PPC branch to the POWERPC branch to my understanding.
Cheers // Matias
From: Grant Likely <hidden> Date: 2008-01-11 14:52:17
On 1/11/08, samppa@sundmangroup.com [off-list ref] wrote:
Hi,
I want to port a board ( WRS SBC8265 ) from the PPC branch to the POWERPC
branch in the Linux Kernel -- do you have any good starting points that
describes what I need to pay attention to?
I've already made a port of U-boot-1.3.1 and enabled CONFIG_OF_LIBFDT.
So I need to create a DTS file, compile it with the DTC compiler and port
the current PPC branch to the POWERPC branch to my understanding.
Yes, you're exactly right. Use one of the dts files in
arch/powerpc/boot/dts as a starting point and read
Documentation/powerpc/booting-without-of.txt to find out what is
expected in the device tree.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
>>Documentation/powerpc/booting-without-of.txt to find out what is
>>expected in the device tree.
Is there any more information on how the "of_*" ( e.g. of_node_put ,
of_find_node_by_type ) functions should be implemented in the
"arch/powerpc/platforms/myplatform/myboard_setup.c" file
or is the documentation the existing "*.c" c files under
arch/powerpc/platforms ?
Since I have a 82xx board I assume that "myboard_setup.c" file shall be
put under arch/powerpc/platforms/82xx.
Cheers // Matias
Grant Likely skrev:
On 1/11/08, samppa@sundmangroup.com [off-list ref] wrote:
quoted
Hi,
I want to port a board ( WRS SBC8265 ) from the PPC branch to the POWERPC
branch in the Linux Kernel -- do you have any good starting points that
describes what I need to pay attention to?
I've already made a port of U-boot-1.3.1 and enabled CONFIG_OF_LIBFDT.
So I need to create a DTS file, compile it with the DTC compiler and port
the current PPC branch to the POWERPC branch to my understanding.
Yes, you're exactly right. Use one of the dts files in
arch/powerpc/boot/dts as a starting point and read
Documentation/powerpc/booting-without-of.txt to find out what is
expected in the device tree.
Cheers,
g.
From: Jon Loeliger <hidden> Date: 2008-01-15 17:02:15
On Tue, 2008-01-15 at 04:38, Matias Sundman wrote:
>>Documentation/powerpc/booting-without-of.txt to find out what is
>>expected in the device tree.
Is there any more information on how the "of_*" ( e.g. of_node_put ,
of_find_node_by_type ) functions should be implemented in the
"arch/powerpc/platforms/myplatform/myboard_setup.c" file
or is the documentation the existing "*.c" c files under
arch/powerpc/platforms ?
Since I have a 82xx board I assume that "myboard_setup.c" file shall be
put under arch/powerpc/platforms/82xx.
Maybe. Which 82xx is it? There is a notable difference
between, say, the 824x boards and the 827x boards. If it
is the latter, perhaps the existing 82xx/ pq2 or mpc8272
parts are already sufficient?
If it is the former group, 824x, perhaps some of the parts
in embedded6xx/ are usable? Also note that I am working on
publishing an 824x StorCenter port under embedded6xx/ at
this time as well. First patches were posted to linuxppc-dev
list at ozlabs.org.
HTH,
jdl
On Tue, 2008-01-15 at 04:38, Matias Sundman wrote:
quoted
>>Documentation/powerpc/booting-without-of.txt to find out what is
>>expected in the device tree.
Is there any more information on how the "of_*" ( e.g. of_node_put ,
of_find_node_by_type ) functions should be implemented in the
"arch/powerpc/platforms/myplatform/myboard_setup.c" file
or is the documentation the existing "*.c" c files under
arch/powerpc/platforms ?
Since I have a 82xx board I assume that "myboard_setup.c" file shall be
put under arch/powerpc/platforms/82xx.
Maybe. Which 82xx is it? There is a notable difference
between, say, the 824x boards and the 827x boards. If it
is the latter, perhaps the existing 82xx/ pq2 or mpc8272
parts are already sufficient?
If it is the former group, 824x, perhaps some of the parts
in embedded6xx/ are usable? Also note that I am working on
publishing an 824x StorCenter port under embedded6xx/ at
this time as well. First patches were posted to linuxppc-dev
list at ozlabs.org.
HTH,
jdl