diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-12 20:20:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-12 20:20:47 +0200 |
commit | 18b38b0eb68cbcb8793efe989dcd8796a60288af (patch) | |
tree | 4bee5aea0f6749536caa657409f638d36c46bce6 /target | |
parent | 872be713be0ade5670e009195d8a08c1ea05a00b (diff) |
kernel patch cleanup
- move patches to kernel version specific directory
- enable execute bit on md5sum wrapper
- remove wrong include in BSDmakefile
- enable ROOTFS for rb532 device
- add mips specific patch for lib/delay.c typo
Diffstat (limited to 'target')
-rw-r--r-- | target/Config.in | 71 | ||||
-rw-r--r-- | target/alix1c/Makefile | 4 | ||||
-rw-r--r-- | target/linux/patches/2.6.30/cygwin-compat.patch (renamed from target/linux/patches/cygwin-compat.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/2.6.30/freebsd-compat.patch (renamed from target/linux/patches/freebsd-compat.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/2.6.30/mips-delay-fix.patch | 11 | ||||
-rw-r--r-- | target/linux/patches/2.6.30/ocf.patch (renamed from target/linux/patches/ocf.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/2.6.30/swconfig.patch (renamed from target/linux/patches/swconfig.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/2.6.30/yaffs2.patch (renamed from target/linux/patches/yaffs2.patch) | 0 |
8 files changed, 55 insertions, 31 deletions
diff --git a/target/Config.in b/target/Config.in index b005bae1f..318b70121 100644 --- a/target/Config.in +++ b/target/Config.in @@ -128,6 +128,11 @@ config ADK_LINUX_MIPS64_LEMOTE help Lemote Subnotebook +config ADK_LINUX_MIKROTIK + bool "Mikrotik Routerboards" + help + Support for Mikrotik Routerboards + config ADK_LINUX_MIPS_WAG54G bool "Linksys WAG54G" select ADK_KERNEL_NETDEVICES @@ -139,38 +144,10 @@ config ADK_LINUX_MIPS_WAG54G Linksys WAG54G DSL router with Wireless TI AR7 platform -config ADK_LINUX_MIPS_RB411 - bool "Mikrotik Routerboard 411" - select ADK_rb411 - select ADK_KERNEL_NETDEVICES - select ADK_KERNEL_NET_PCI - select ADK_KERNEL_NETDEV_1000 - select ADK_KERNEL_NET_ETHERNET - help - Support for Mikrotik RB411. - -config ADK_LINUX_MIPS_RB433 - bool "Mikrotik Routerboard 433" - select ADK_rb433 - select ADK_KERNEL_NETDEVICES - select ADK_KERNEL_NET_PCI - select ADK_KERNEL_NETDEV_1000 - select ADK_KERNEL_NET_ETHERNET - help - Support for Mikrotik RB433. - -config ADK_LINUX_MIPS_RB532 - bool "Mikrotik Routerboard 532" - select ADK_rb532 - select ADK_KERNEL_NETDEVICES - select ADK_KERNEL_NET_PCI - select ADK_KERNEL_NET_ETHERNET - select ADK_KERNEL_MII - help - Support for Mikrotik RB532. config ADK_LINUX_XSCALE_ZAURUS bool "Zaurus SL-C3200" + depends on ADK_BROKEN select ADK_zaurus select ADK_DEVICE_NO_FPU help @@ -264,6 +241,42 @@ config ADK_LINUX_CRIS_QEMU endchoice choice +prompt "Routerboard model" +default ADK_LINUX_MIPS_RB433 +depends on ADK_LINUX_MIKROTIK + +config ADK_LINUX_MIPS_RB411 + bool "Mikrotik Routerboard 411" + select ADK_rb411 + select ADK_KERNEL_NETDEVICES + select ADK_KERNEL_NET_PCI + select ADK_KERNEL_NETDEV_1000 + select ADK_KERNEL_NET_ETHERNET + help + Support for Mikrotik RB411. + +config ADK_LINUX_MIPS_RB433 + bool "Mikrotik Routerboard 433" + select ADK_rb433 + select ADK_KERNEL_NETDEVICES + select ADK_KERNEL_NET_PCI + select ADK_KERNEL_NETDEV_1000 + select ADK_KERNEL_NET_ETHERNET + help + Support for Mikrotik RB433. + +config ADK_LINUX_MIPS_RB532 + bool "Mikrotik Routerboard 532" + select ADK_rb532 + select ADK_KERNEL_NETDEVICES + select ADK_KERNEL_NET_PCI + select ADK_KERNEL_NET_ETHERNET + select ADK_KERNEL_MII + help + Support for Mikrotik RB532. +endchoice + +choice prompt "Device model" default ADK_LINUX_CRIS_FOXBOARD_CLASSIC depends on ADK_LINUX_CRIS_FOXBOARD diff --git a/target/alix1c/Makefile b/target/alix1c/Makefile index f71ab293d..4df5b14a6 100644 --- a/target/alix1c/Makefile +++ b/target/alix1c/Makefile @@ -14,11 +14,11 @@ ifeq ($(FS),ext2-cf) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) @echo @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," - @echo "To install everything to CompactFlash use scripts/install.sh." + @echo "To install everything to CompactFlash use scripts/install.sh" endif ifeq ($(FS),nfsroot) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) @echo @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," - @echo "To install everything to CompactFlash use scripts/install.sh." + @echo 'The nfs root tarball is: ${BIN_DIR}/${ROOTFSTARBALL}' endif diff --git a/target/linux/patches/cygwin-compat.patch b/target/linux/patches/2.6.30/cygwin-compat.patch index 8d087dddf..8d087dddf 100644 --- a/target/linux/patches/cygwin-compat.patch +++ b/target/linux/patches/2.6.30/cygwin-compat.patch diff --git a/target/linux/patches/freebsd-compat.patch b/target/linux/patches/2.6.30/freebsd-compat.patch index 051fdc63e..051fdc63e 100644 --- a/target/linux/patches/freebsd-compat.patch +++ b/target/linux/patches/2.6.30/freebsd-compat.patch diff --git a/target/linux/patches/2.6.30/mips-delay-fix.patch b/target/linux/patches/2.6.30/mips-delay-fix.patch new file mode 100644 index 000000000..bb99f1df6 --- /dev/null +++ b/target/linux/patches/2.6.30/mips-delay-fix.patch @@ -0,0 +1,11 @@ +diff -Nur linux-2.6.30.orig/arch/mips/lib/delay.c linux-2.6.30/arch/mips/lib/delay.c +--- linux-2.6.30.orig/arch/mips/lib/delay.c 2009-06-10 05:05:27.000000000 +0200 ++++ linux-2.6.30/arch/mips/lib/delay.c 2009-06-12 19:11:07.000000000 +0200 +@@ -51,6 +51,6 @@ + { + unsigned int lpj = current_cpu_data.udelay_val; + +- __delay((us * 0x00000005 * HZ * lpj) >> 32); ++ __delay((ns * 0x00000005 * HZ * lpj) >> 32); + } + EXPORT_SYMBOL(__ndelay); diff --git a/target/linux/patches/ocf.patch b/target/linux/patches/2.6.30/ocf.patch index 64c5eeb0f..64c5eeb0f 100644 --- a/target/linux/patches/ocf.patch +++ b/target/linux/patches/2.6.30/ocf.patch diff --git a/target/linux/patches/swconfig.patch b/target/linux/patches/2.6.30/swconfig.patch index 3297bb116..3297bb116 100644 --- a/target/linux/patches/swconfig.patch +++ b/target/linux/patches/2.6.30/swconfig.patch diff --git a/target/linux/patches/yaffs2.patch b/target/linux/patches/2.6.30/yaffs2.patch index a19ab9c84..a19ab9c84 100644 --- a/target/linux/patches/yaffs2.patch +++ b/target/linux/patches/2.6.30/yaffs2.patch |