Hi lists, As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code. But I can't find it. Can someone help me? Thanks.
On 04/02/2011 08:14 AM, Hamo wrote:
Hi lists, As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code. But I can't find it. Can someone help me? Thanks.
Doxygen gives a pretty good visual of the logical flow of coreboot in general.
http://qa.coreboot.org/docs/doxygen/
I believe PPC was purged from the tree a little while ago so if you go back some revisions you will be able to find it.
Hope that helps.
On Sun, Apr 3, 2011 at 1:08 AM, Joseph Smith joe@settoplinux.org wrote:
On 04/02/2011 08:14 AM, Hamo wrote:
Hi lists, As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code. But I can't find it. Can someone help me? Thanks.
Doxygen gives a pretty good visual of the logical flow of coreboot in general.
That's GREAT. But some information is missing.
I believe PPC was purged from the tree a little while ago so if you go back some revisions you will be able to find it.
Hope that helps.
-- Thanks, Joseph Smith Set-Top-Linux www.settoplinux.org
Hamo wrote:
As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code.
Is a good idea.
But I can't find it. Can someone help me? Thanks.
It will be in the current coreboot repository. I suggest you go backwards in steps of 1000 commits, and when it's there I think you should also try to build the code. Note that it will probably use the old v2 style of configuring and building. (Use buildtarget in the mainboards directory, it's a little odd.) The ppc stuff has not been tested for a long time so it's possible that you would have to go back another 1000 revs to get a working build, once you find a rev that has the code.
I think that we by now may be making a few PC-only assumptions in the coreboot code, but in principle we do not want to, so if there are any and they are identified then we want to not have them anymore. :)
//Peter
On Sat, Apr 2, 2011 at 8:13 PM, Peter Stuge peter@stuge.se wrote:
Hamo wrote:
As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code.
Is a good idea.
But I can't find it. Can someone help me? Thanks.
It will be in the current coreboot repository. I suggest you go backwards in steps of 1000 commits, and when it's there I think you should also try to build the code. Note that it will probably use the old v2 style of configuring and building. (Use buildtarget in the mainboards directory, it's a little odd.) The ppc stuff has not been tested for a long time so it's possible that you would have to go back another 1000 revs to get a working build, once you find a rev that has the code.
I think that we by now may be making a few PC-only assumptions in the coreboot code, but in principle we do not want to, so if there are any and they are identified then we want to not have them anymore. :)
Looks like you want to go prior to r4700 or so
http://www.coreboot.org/pipermail/coreboot/2009-October/052650.html
Note that coreboot has changed a LOT since then.
-Corey
Thanks Corey. I got the source code I need.
On Sun, Apr 3, 2011 at 9:14 AM, Corey Osgood corey.osgood@gmail.com wrote:
On Sat, Apr 2, 2011 at 8:13 PM, Peter Stuge peter@stuge.se wrote:
Hamo wrote:
As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code.
Is a good idea.
But I can't find it. Can someone help me? Thanks.
It will be in the current coreboot repository. I suggest you go backwards in steps of 1000 commits, and when it's there I think you should also try to build the code. Note that it will probably use the old v2 style of configuring and building. (Use buildtarget in the mainboards directory, it's a little odd.) The ppc stuff has not been tested for a long time so it's possible that you would have to go back another 1000 revs to get a working build, once you find a rev that has the code.
I think that we by now may be making a few PC-only assumptions in the coreboot code, but in principle we do not want to, so if there are any and they are identified then we want to not have them anymore. :)
Looks like you want to go prior to r4700 or so
http://www.coreboot.org/pipermail/coreboot/2009-October/052650.html
Note that coreboot has changed a LOT since then.
-Corey
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
On Sun, Apr 3, 2011 at 8:13 AM, Peter Stuge peter@stuge.se wrote:
Hamo wrote:
As I want to port Coreboot to ARM, I need to study the structure of Coreboot. Since Coreboot supported PPC once, I want to study the structure of the source code.
Is a good idea.
But I can't find it. Can someone help me? Thanks.
It will be in the current coreboot repository. I suggest you go backwards in steps of 1000 commits, and when it's there I think you should also try to build the code. Note that it will probably use the old v2 style of configuring and building. (Use buildtarget in the mainboards directory, it's a little odd.) The ppc stuff has not been tested for a long time so it's possible that you would have to go back another 1000 revs to get a working build, once you find a rev that has the code.
I think that we by now may be making a few PC-only assumptions in the coreboot code, but in principle we do not want to, so if there are any and they are identified then we want to not have them anymore. :)
Shall I first make the PPC support available in the current source tree to make sure that all of the IA32-only code has disappeared or just begin my porting to ARM. If the former, I have no experiences developing PPC software and I don't have a PPC device. Can someone give me a hand on this?
//Peter
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Hamo wrote:
I think that we by now may be making a few PC-only assumptions in the coreboot code, but in principle we do not want to, so if there are any and they are identified then we want to not have them anymore. :)
Shall I first make the PPC support available in the current source tree to make sure that all of the IA32-only code has disappeared or just begin my porting to ARM.
I say go straight for ARM.
//Peter
Hamo wrote:
Shall I first make the PPC support available in the current source tree to make sure that all of the IA32-only code has disappeared or just begin my porting to ARM.
No. Just work on ARM. There is not much interest in reviving PPC support for coreboot. PPC interest and applications are shrinking while ARM is exploding.
-Bari