[uClinux-dev] linux-2.6.26-uc0 M5329EVB patches

2008-12-20 Thread Matt Waddel
Hi Greg, The next 6 patches fix minimal support for the M5329EVB in the uClinux 2.6.26-uc0 kernel. These patches apply after the linux-2.6.26-uc0.patch.gz patch has been applied. Let me know if there are any questions. Best regards, Matt ---

[uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 1/6

2008-12-20 Thread Matt Waddel
This patch fixes a build error with the latest (4.3.2-45) toolchain. .text.unlikely is required in the linker script. --- linux-2.6.x.orig/arch/m68knommu/kernel/vmlinux.lds.S 2008-12-16 13:46:58.0 -0700 +++ linux-2.6.x/arch/m68knommu/kernel/vmlinux.lds.S 2008-12-16 16:34:47.0 -070

[uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 2/6

2008-12-20 Thread Matt Waddel
This patch removes a lot of the unused code in the 532x config.c file. The only real change is to disable all the interrupts on start up. --- linux-2.6.x.orig/arch/m68knommu/platform/532x/config.c 2008-12-16 13:46:58.0 -0700 +++ linux-2.6.x/arch/m68knommu/platform/532x/config.c 2008-12-19

[uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 3/6

2008-12-20 Thread Matt Waddel
This patch fixes the M5329 timer interrupt assignment. --- linux-2.6.x.orig/arch/m68knommu/platform/coldfire/timers.c 2008-07-13 15:51:29.0 -0600 +++ linux-2.6.x/arch/m68knommu/platform/coldfire/timers.c 2008-12-18 21:31:52.0 -0700 @@ -35,8 +35,13 @@ * CPU's and some boards may w

[uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 4/6

2008-12-20 Thread Matt Waddel
This patch adds enable_vector() and disable_vector() functionality for the M5329 platform. With this addition a call to request_irq() will return with an interrupt setup and ready to go. It removes the need for additional register setup in the interrupt start routine. unchanged: --- linux-2.6.x.

[uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 6/6

2008-12-20 Thread Matt Waddel
This patch adds the CONFIG_MTD_UCLINUX and CONFIG_MTD_UCLINUX_EBSS options to the mtd menu. --- linux-2.6.x.orig/drivers/mtd/maps/Kconfig 2008-07-13 15:51:29.0 -0600 +++ linux-2.6.x/drivers/mtd/maps/Kconfig 2008-12-16 15:03:18.0 -0700 @@ -523,6 +523,31 @@ help Map driver to s

[uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 5/6

2008-12-20 Thread Matt Waddel
This patch adds M532x to the FEC configuration options and corrects the mii calculations. unchanged: --- linux-2.6.x.orig/drivers/net/fec.c 2008-12-16 13:46:58.0 -0700 +++ linux-2.6.x/drivers/net/fec.c 2008-12-19 08:43:13.0 -0700 @@ -1698,7 +1698,7 @@ /* * Set MII speed to 2.5

[uClinux-dev] M5329EVB kernel configuration

2008-12-20 Thread Matt Waddel
This is the 2.6.26-uc0 kernel configuration from the vendors/Freescale/M5329EVB/ directory I used with the previous patches. Best regards, Matt Waddel # # Automatically generated make config: don't edit # Linux kernel version: 2.6.26-uc0 # Fri Dec 19 13:49:30 2008 # CONFIG_M68K=y # CONFIG_MMU is

Re: [uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 1/6

2008-12-20 Thread Sam Ravnborg
On Sat, Dec 20, 2008 at 07:16:31AM -0700, Matt Waddel wrote: > This patch fixes a build error with the latest (4.3.2-45) > toolchain. .text.unlikely is required in the linker script. Is this a general thing or specific to uclinux? If it is general it belongs to: include/asm-generic/vmlinux.lds.h

Re: [uClinux-dev] linux-2.6.26-uc0 M5329EVB patches

2008-12-20 Thread Sam Ravnborg
On Sat, Dec 20, 2008 at 07:16:12AM -0700, Matt Waddel wrote: > Hi Greg, > > The next 6 patches fix minimal support for the M5329EVB in > the uClinux 2.6.26-uc0 kernel. These patches apply after the > linux-2.6.26-uc0.patch.gz patch has been applied. > > Let me know if there are any questions. I

Re: [uClinux-dev] linux-2.6.26-uc0 M5329EVB patch 1/6

2008-12-20 Thread Matt Waddel
Hi Sam, Sam Ravnborg wrote: On Sat, Dec 20, 2008 at 07:16:31AM -0700, Matt Waddel wrote: This patch fixes a build error with the latest (4.3.2-45) toolchain. .text.unlikely is required in the linker script. Is this a general thing or specific to uclinux? For now I've only encountered it in