[U-Boot-Users] new cpu directory

Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
Thanks,
Dna
--------------------------------- Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.

Dylandrea Young wrote:
Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
cpu/mpc83xx is for the 83xx SOCs, all of which have an e300 core.

On Wed, 2007-06-06 at 11:22, Timur Tabi wrote:
Dylandrea Young wrote:
Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
cpu/mpc83xx is for the 83xx SOCs, all of which have an e300 core.
And new board ports should be placed under
boards/freescale
now too!
Thanks, jdl

On Wed, 06 Jun 2007 11:36:03 -0500 Jon Loeliger jdl@freescale.com wrote:
On Wed, 2007-06-06 at 11:22, Timur Tabi wrote:
Dylandrea Young wrote:
Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
cpu/mpc83xx is for the 83xx SOCs, all of which have an e300 core.
And new board ports should be placed under
boards/freescale
now too!
Does this apply only to boards manufactured by Freescale, or all Freescale part based boards (the poster didn't specify which in this case). I thought it was the former.
Kim

The board I am working on is manufactured by Freescale.
Is the boards/freescale directory existing? I couldn't find it from U-boot-1_2_0 downloaded from denx.de.
Dna
Kim Phillips kim.phillips@freescale.com wrote: On Wed, 06 Jun 2007 11:36:03 -0500 Jon Loeliger wrote:
On Wed, 2007-06-06 at 11:22, Timur Tabi wrote:
Dylandrea Young wrote:
Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
cpu/mpc83xx is for the 83xx SOCs, all of which have an e300 core.
And new board ports should be placed under
boards/freescale
now too!
Does this apply only to boards manufactured by Freescale, or all Freescale part based boards (the poster didn't specify which in this case). I thought it was the former.
Kim
--------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.

Dylandrea Young wrote:
The board I am working on is manufactured by Freescale.
Maybe I should know this answer to this already, but what board is it?
Is the boards/freescale directory existing? I couldn't find it from U-boot-1_2_0 downloaded from denx.de.
1.2 is old. You need to look at the latest code in the git repository.

On Wed, 2007-06-06 at 12:18, Dylandrea Young wrote:
The board I am working on is manufactured by Freescale.
Is the boards/freescale directory existing? I couldn't find it from U-boot-1_2_0 downloaded from denx.de.
Dna
You should definitely start with a clean clone of the master repository off of denx.de then, and not a tar-ball release. The 1.2.0 release was quiet some time ago now. And yes, there is no boards/freescale directory in it like there is in the current top of repository on denx.de. And yes, if it is a Freescale board, it goes in boards/freescale now.
Thanks, jdl

In message 1181147763.12740.16.camel@ld0161-tx32 you wrote:
And new board ports should be placed under
boards/freescale
now too!
... assuming it's a Freescale board, that is.
Best regards,
Wolfgang Denk

On Wed, 06 Jun 2007 11:22:35 -0500 Timur Tabi timur@freescale.com wrote:
Dylandrea Young wrote:
Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
cpu/mpc83xx is for the 83xx SOCs, all of which have an e300 core.
while that's true, I believe cpu/mpc5xxx is better suited for the 5121 CPU.
Kim

I know Freescale MPC5200, MPC5100 are based on 603e core. But the new MPC5121e chip is based on e300 core. That is what confused me. Should I go with cpu/mpc83xx or cpu/mpc5xxx? Or it doesn't matter since I don't need to touch the files in those two directories?
Dna
Kim Phillips kim.phillips@freescale.com wrote: On Wed, 06 Jun 2007 11:22:35 -0500 Timur Tabi wrote:
Dylandrea Young wrote:
Hello, all,
I am going to port U-boot to a Freescale MPC5121e based board. The MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know that one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
cpu/mpc83xx is for the 83xx SOCs, all of which have an e300 core.
while that's true, I believe cpu/mpc5xxx is better suited for the 5121 CPU.
Kim
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
--------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.

Dylandrea Young wrote:
I know Freescale MPC5200, MPC5100 are based on 603e core. But the new MPC5121e chip is based on e300 core. That is what confused me. Should I go with cpu/mpc83xx or cpu/mpc5xxx? Or it doesn't matter since I don't need to touch the files in those two directories?
Kim, maybe we should rename cpu/mpc83xx to cpu/e300 and make it generic to all e300 cores? The alternative is to mix e300 and 603e code in cpu/mpc5xxx.
Are there other 51xx chips with an e300 core?

On 6/6/07, Dylandrea Young dylandrea2005@yahoo.com wrote:
I know Freescale MPC5200, MPC5100 are based on 603e core. But the new MPC5121e chip is based on e300 core. That is what confused me. Should I go with cpu/mpc83xx or cpu/mpc5xxx? Or it doesn't matter since I don't need to touch the files in those two directories?
"e300" is just the latest name for the 603 line of processors. I think Kim was correct to point you toward cpu/mpc5xxx. I'll let he and the 5xxx people work out whether there's redundancy between the two directories that could be eliminated.
Andy

In message 485406.32075.qm@web34414.mail.mud.yahoo.com you wrote:
I am going to port U-boot to a Freescale MPC5121e based board. The
May I ask which one? Who is the manufacturer?
MPC5121e uses the e300 CPU core based on the PowerPC instruction set. I checked u-boot cpu directory and found there are bunch of cpu specific subdirectories. Anyone happens to know t hat one of the subdirectory is suit for e300 CPU? If there is no any existing cpu directory for e300 CPU core, I guess I have to create a new cpu directory and write associate cpu specific files.
You probably can use a lot of stuff from the 5xxx directory, plus parts and pieces from here and there. At the moment I don;t see the need for a new CPU directory.
Best regards,
Wolfgang Denk
participants (6)
-
Andy Fleming
-
Dylandrea Young
-
Jon Loeliger
-
Kim Phillips
-
Timur Tabi
-
Wolfgang Denk