2.6.25-rc3 on mpc8548amc doesn't boot

2008-02-27 Thread maxime louvel
Hi,

I am still trying to make a 2.6.25-rc3 vanilla kernel boot (an work fine in
a second time) on a mpc8548amc board.
I have add the platform specific stuff from the sources of the current
kernel running on the cards.
What I have basically add is:
- arch/powerpc/platforms/85xx/mpc85xx_amc.c
- arch/powerpc/boot/dts/mpc8548amc.dts
I have also changed the Kconfig and Makefile in the
arch/powerpc/platforms/85xx to make the kernel try to support my board

I have encountered some problem when compiling a uImage that I have
basically solve like this (in arch/powerpc/boot/Makefile)
#$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405
#$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
#$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405
#$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405
#$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405

I have a gcc-3.4.3 embedded compiler with some stuff specific to the
platform.

After the previous hack, I have been able to compile a uImage.

I have tried to boot it and this is what I got:
AMC= bootm 0x100
## Booting image at 0100 ...
  Image Name:   Linux-2.6.24
  Image Type:   PowerPC Linux Kernel Image (gzip compressed)
  Data Size:1802038 Bytes =  1.7 MB
  Load Address: 
  Entry Point:  
  Verifying Checksum ... OK
  Uncompressing Kernel Image ... OK

No further messages...

I have recently updated the uboot of the cards (to support the new image
version) and I am capable of booting a 2.6.23.6 image.
This last image has been compiled from a vanilla kernel where I have add the
platform specific stuff (cf beginning of this mail).

Since my 2.6.23.6 image works fine, I have tried to adapt the file I have
added to the 2.6.25-rc3 kernel.

I have made some changes in the arch/powerpc/platforms/85xx/mpc85xx_amc.c
file and in the mpc8548amc.dts file.
I have attached the changes I have done on both files.

Do you have an idea ?

cheers,
Maxime

-- 
Maxime Louvel
0044 7964  80
43 Allen road
Whitemore reans
WV60AW Wolverhampton
United Kingdom


2.6.23.6.mpc8548_amc_2.6.25-rc3.mpc85xx_amc
Description: Binary data


2.6.23.6.mpc8548dts_2.6.25-rc3.mpc8548dts
Description: Binary data
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

[PATCH] m8xx_pcmcia: remove unused CONFIG_ variables

2008-02-27 Thread Marcelo Tosatti


Remove obsolete CONFIG_ usage in m8xx_pcmcia.c. 

Please apply.

Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED]


diff --git a/drivers/pcmcia/m8xx_pcmcia.c b/drivers/pcmcia/m8xx_pcmcia.c
index 9721ed7..37e0b56 100644
--- a/drivers/pcmcia/m8xx_pcmcia.c
+++ b/drivers/pcmcia/m8xx_pcmcia.c
@@ -84,12 +84,6 @@ #define CONFIG_PCMCIA_SLOT_B
 #define CONFIG_BD_IS_MHZ
 #endif
 
-/* The ADS board use SLOT_A */
-#ifdef CONFIG_ADS
-#define CONFIG_PCMCIA_SLOT_A
-#define CONFIG_BD_IS_MHZ
-#endif
-
 /* The FADS series are a mess */
 #ifdef CONFIG_FADS
 #if defined(CONFIG_MPC860T) || defined(CONFIG_MPC860) || defined(CONFIG_MPC821)
@@ -104,12 +98,6 @@ #define CONFIG_PCMCIA_SLOT_A
 #define PCMCIA_GLITCHY_CD
 #endif
 
-/* Cyclades ACS uses both slots */
-#ifdef CONFIG_PRxK
-#define CONFIG_PCMCIA_SLOT_A
-#define CONFIG_PCMCIA_SLOT_B
-#endif
-
 #endif /* !defined(CONFIG_PCMCIA_SLOT_A)  !defined(CONFIG_PCMCIA_SLOT_B) */
 
 #if defined(CONFIG_PCMCIA_SLOT_A)  defined(CONFIG_PCMCIA_SLOT_B)
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: 2.6.25-rc3 on mpc8548amc doesn't boot

2008-02-27 Thread maxime louvel
Hi again,

I am answering my self sorry for the spam...
Just to say that my problem has been solve if someone has something
similar...
My changes were good, I just didn't compile the good file...

cheers,
Maxime

On Wed, Feb 27, 2008 at 12:37 PM, maxime louvel [EMAIL PROTECTED] wrote:

 Hi,

 I am still trying to make a 2.6.25-rc3 vanilla kernel boot (an work fine
 in a second time) on a mpc8548amc board.
 I have add the platform specific stuff from the sources of the current
 kernel running on the cards.
 What I have basically add is:
 - arch/powerpc/platforms/85xx/mpc85xx_amc.c
 - arch/powerpc/boot/dts/mpc8548amc.dts
 I have also changed the Kconfig and Makefile in the
 arch/powerpc/platforms/85xx to make the kernel try to support my board

 I have encountered some problem when compiling a uImage that I have
 basically solve like this (in arch/powerpc/boot/Makefile)
 #$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405
 #$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
 #$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405
 #$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405
 #$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405

 I have a gcc-3.4.3 embedded compiler with some stuff specific to the
 platform.

 After the previous hack, I have been able to compile a uImage.

 I have tried to boot it and this is what I got:
 AMC= bootm 0x100
 ## Booting image at 0100 ...
   Image Name:   Linux-2.6.24
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:1802038 Bytes =  1.7 MB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

 No further messages...

 I have recently updated the uboot of the cards (to support the new image
 version) and I am capable of booting a 2.6.23.6 image.
 This last image has been compiled from a vanilla kernel where I have add
 the platform specific stuff (cf beginning of this mail).

 Since my 2.6.23.6 image works fine, I have tried to adapt the file I have
 added to the 2.6.25-rc3 kernel.

 I have made some changes in the arch/powerpc/platforms/85xx/mpc85xx_amc.c
 file and in the mpc8548amc.dts file.
 I have attached the changes I have done on both files.

 Do you have an idea ?

 cheers,
 Maxime

 --
 Maxime Louvel
 0044 7964  80
 43 Allen road
 Whitemore reans
 WV60AW Wolverhampton
 United Kingdom




-- 
Maxime Louvel
0044 7964  80
43 Allen road
Whitemore reans
WV60AW Wolverhampton
United Kingdom
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

ospfd minimal daemon

2008-02-27 Thread DI BACCO ANTONIO - technolabs
Anyone knows of a minimal ospfd daemon ? I mean a small footprint ospfd.

Thank you,
Antonio.




___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: 2.6.25-rc3 on mpc8548amc doesn't boot

2008-02-27 Thread Kumar Gala

On Feb 27, 2008, at 10:25 AM, maxime louvel wrote:

 Hi again,

 I am answering my self sorry for the spam...
 Just to say that my problem has been solve if someone has something  
 similar...
 My changes were good, I just didn't compile the good file...

Any plans to submit patches to add support for this board to the kernel?

- k

___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: 2.6.25-rc3 on mpc8548amc doesn't boot

2008-02-27 Thread maxime louvel
Hi,

I wanted first to check how the kernel is behaving, with a few tests.
Then what is the best solution to do this ?
A patch from the 2.6.25-rc3 vanilla kernel ?

cheers,
Maxime

On Thu, Feb 28, 2008 at 7:03 AM, Kumar Gala [EMAIL PROTECTED]
wrote:


 On Feb 27, 2008, at 10:25 AM, maxime louvel wrote:

  Hi again,
 
  I am answering my self sorry for the spam...
  Just to say that my problem has been solve if someone has something
  similar...
  My changes were good, I just didn't compile the good file...

 Any plans to submit patches to add support for this board to the kernel?

 - k




-- 
Maxime Louvel
0044 7964  80
43 Allen road
Whitemore reans
WV60AW Wolverhampton
United Kingdom
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded