Linux kernel and u-boot for mpc8540
Where I can download the Linux kernel and u-boot patch for mpc8540 ?
Thanks
Michele
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Michele,
Support for mpc8540 is already in linuxppc-2.4 tree. see ppc.bkbits.net
For uboot, go to sourceforge project. u-boot 1.0.0 supports 85xx processors. see http://sourceforge.net/projects/u-boot
Eric.
Quoted 7 lines · [email protected] wrote:
Where I can download the Linux kernel and u-boot patch for mpc8540 ?
Thanks
Michele
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · eric lescouet
Michele,
Support for mpc8540 is already in linuxppc-2.4 tree. see ppc.bkbits.net
Actually, the linuxppc-2.4 support is incomplete, there's no TSEC/FEC driver or other on-chip peripheral drivers in that tree to make it really useful. You could just use a PCI network card to nfsroot a filesystem and get started, though.
http://www.metrowerks.com/MW/Develop/Embedded/Linux/BSP.htm has an 8560ADS BSP for download...it probably has some drivers for on-chip peripherals included.
BTW, you'll need the following patch to linuxppc-2.4 to fix outbound PCI mem cycles:
===== arch/ppc/platforms/mpc85xx_ads_common.c 1.3 vs edited ===== --- 1.3/arch/ppc/platforms/mpc85xx_ads_common.c Thu Jan 22 12:58:25 2004
+++ edited/arch/ppc/platforms/mpc85xx_ads_common.c Thu Feb 5 09:10:34 2004@@ -316,8 +316,8 @@
pci->piwar2 = 0;
pci->piwar3 = 0;- /* Setup 128M outbound mem window @ 0xe0000000 */
- pci->potar1 = 0x00000000;
+ /* Setup 128M Phys:PCI 1:1 outbound mem window @ 0xe0000000 */
+ pci->potar1 = (MPC85XX_ADS_PCI_LOWER_MEM >> 12) & 0x000fffff;
pci->potear1 = 0x00000000;
pci->powbar1 = (MPC85XX_ADS_PCI_LOWER_MEM >> 12) & 0x000fffff;
pci->powar1 = 0x8004401a; /* Enable, Mem R/W, 128M */-Matt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
I try to download from ppc.bkbits.net, but I have a proxy problem. About the metrowerks I'll try to contact.
Thanks
Michele
Quoted 24 lines · Matt Porter
Quoted 5 lines · eric lescouet
Michele,
Support for mpc8540 is already in linuxppc-2.4 tree. see ppc.bkbits.net
Actually, the linuxppc-2.4 support is incomplete, there's no TSEC/FEC driver or other on-chip peripheral drivers in that tree to make it really useful. You could just use a PCI network card to nfsroot a filesystem and get started, though.
http://www.metrowerks.com/MW/Develop/Embedded/Linux/BSP.htm has an 8560ADS BSP for download...it probably has some drivers for on-chip peripherals included.
BTW, you'll need the following patch to linuxppc-2.4 to fix outbound PCI mem cycles:
=====
arch/ppc/platforms/mpc85xx_ads_common.c1.3 vs edited =====arch/ppc/platforms/mpc85xx_ads_common.c Thu Feb 5 09:10:34 2004@@ -316,8 +316,8 @@ renamed from arch/ppc/platforms/mpc85xx_ads_common.c Thu Jan 22 12:58:25 2004 +0
-0pci->piwar2 = 0; pci->piwar3 = 0;
arch/ppc/platforms/mpc85xx_ads_common.c Thu Feb 5 09:10:34 2004@@ -316,8 +316,8 @@
Quoted 10 lines
arch/ppc/platforms/mpc85xx_ads_common.c Thu Feb 5 09:10:34 2004@@ -316,8 +316,8 @@ renamed from arch/ppc/platforms/mpc85xx_ads_common.c Thu Jan 22 12:58:25 2004 +2
-3- /* Setup 128M outbound mem window @ 0xe0000000 */ - pci->potar1 = 0x00000000; + /* Setup 128M Phys:PCI 1:1 outbound mem window @ 0xe0000000 */ + pci->potar1 = (MPC85XX_ADS_PCI_LOWER_MEM >> 12) & 0x000fffff; pci->potear1 = 0x00000000; pci->powbar1 = (MPC85XX_ADS_PCI_LOWER_MEM >> 12) & 0x000fffff; pci->powar1 = 0x8004401a; /* Enable, Mem R/W, 128M */ -Matt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Matt Porter
Quoted 3 lines · eric lescouet
Michele,
Quoted 7 lines
Quoted 2 lines
Support for mpc8540 is already in linuxppc-2.4 tree. see ppc.bkbits.net
Actually, the linuxppc-2.4 support is incomplete, there's no TSEC/FEC driver or other on-chip peripheral drivers in that tree to make it really useful. You could just use a PCI network card to nfsroot a filesystem and get started, though.
Ooops...gotta correct this before I confuse somebody. The TSEC/FEC gianfar driver is in the tree...I missed that changeset. :)
-Matt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Matt's fix is now part of the linuxppc-2.4 tree. Thanks matt.
- kumar
Quoted 29 lines · Matt Porter
Quoted 5 lines · eric lescouet
Michele,
Support for mpc8540 is already in linuxppc-2.4 tree. see ppc.bkbits.net
Actually, the linuxppc-2.4 support is incomplete, there's no TSEC/FEC driver or other on-chip peripheral drivers in that tree to make it really useful. You could just use a PCI network card to nfsroot a filesystem and get started, though.
http://www.metrowerks.com/MW/Develop/Embedded/Linux/BSP.htm has an 8560ADS BSP for download...it probably has some drivers for on-chip peripherals included.
BTW, you'll need the following patch to linuxppc-2.4 to fix outbound PCI mem cycles:
=====
arch/ppc/platforms/mpc85xx_ads_common.c1.3 vs edited ===== ---1.3/arch/ppc/platforms/mpc85xx_ads_common.cThu Jan 22 12:58:25 2004
+++edited/arch/ppc/platforms/mpc85xx_ads_common.cThu Feb 5
09:10:34 2004@@ -316,8 +316,8 @@pci->piwar2 = 0; pci->piwar3 = 0;
Review
Quoted 9 lines
(quoted diff) +2
-3- /* Setup 128M outbound mem window @ 0xe0000000 */ - pci->potar1 = 0x00000000; + /* Setup 128M Phys:PCI 1:1 outbound mem window @ 0xe0000000 */ + pci->potar1 = (MPC85XX_ADS_PCI_LOWER_MEM >> 12) & 0x000fffff; pci->potear1 = 0x00000000; pci->powbar1 = (MPC85XX_ADS_PCI_LOWER_MEM >> 12) & 0x000fffff; pci->powar1 = 0x8004401a; /* Enable, Mem R/W, 128M */ -Matt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/