Changeset 20185


Ignore:
Timestamp:
2010-03-14T02:41:52+01:00 (8 years ago)
Author:
thepeople
Message:

Switch Marvell Orion CPU to kernel 2.6.32 plus LED support for all LEDs
on LinkSys WRT350Nv2.

Signed-off by: Matthias Buecher <mail@…> and Dirk Teurlings
<info@…>

Location:
trunk/target/linux/orion
Files:
6 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/orion/Makefile

    r19388 r20185  
    11# 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1414CFLAGS=-Os -pipe -march=armv5t -mtune=xscale -funit-at-a-time 
    1515 
    16 LINUX_VERSION:=2.6.30.10 
     16LINUX_VERSION:=2.6.32.9 
    1717 
    1818include $(INCLUDE_DIR)/target.mk 
  • trunk/target/linux/orion/config-default

    r20136 r20185  
    4141CONFIG_CRC16=y 
    4242# CONFIG_CRC_CCITT is not set 
     43CONFIG_CRYPTO_DEV_MV_CESA=y 
     44CONFIG_CRYPTO_HW=y 
    4345# CONFIG_DEBUG_USER is not set 
    4446CONFIG_DEVPORT=y 
     
    6062# CONFIG_GENERIC_FIND_NEXT_BIT is not set 
    6163CONFIG_GENERIC_GPIO=y 
     64CONFIG_GPIOLIB=y 
     65CONFIG_GPIO_SYSFS=y 
    6266# CONFIG_HAMRADIO is not set 
    6367CONFIG_HARDIRQS_SW_RESEND=y 
     
    116120# CONFIG_LANMEDIA is not set 
    117121# CONFIG_LATENCYTOP is not set 
     122CONFIG_LEDS_GPIO=y 
    118123CONFIG_LEGACY_PTY_COUNT=256 
    119124CONFIG_LEGACY_PTYS=y 
     
    121126CONFIG_LZO_COMPRESS=m 
    122127CONFIG_LZO_DECOMPRESS=m 
     128# CONFIG_MACH_BIGDISK is not set 
     129# CONFIG_MACH_D2NET is not set 
    123130# CONFIG_MACH_DB88F5281 is not set 
    124131# CONFIG_MACH_DNS323 is not set 
     
    130137# CONFIG_MACH_MSS2 is not set 
    131138# CONFIG_MACH_MV2120 is not set 
     139# CONFIG_MACH_NET2BIG is not set 
    132140# CONFIG_MACH_RD88F5181L_FXO is not set 
    133141# CONFIG_MACH_RD88F5181L_GE is not set 
  • trunk/target/linux/orion/patches/010-ignore_atag_cmdline.patch

    r16950 r20185  
    11--- a/arch/arm/kernel/setup.c 
    22+++ b/arch/arm/kernel/setup.c 
    3 @@ -614,7 +614,7 @@ __tagtable(ATAG_REVISION, parse_tag_revi 
     3@@ -629,7 +629,7 @@ __tagtable(ATAG_REVISION, parse_tag_revi 
    44  
    55 static int __init parse_tag_cmdline(const struct tag *tag) 
  • trunk/target/linux/orion/patches/020-wnr854t_switch_support.patch

    r16950 r20185  
    1 --- a/arch/arm/mach-orion5x/wnr854t-setup.c 
    2 +++ b/arch/arm/mach-orion5x/wnr854t-setup.c 
    3 @@ -15,6 +15,7 @@ 
    4  #include <linux/mtd/physmap.h> 
    5  #include <linux/mv643xx_eth.h> 
    6  #include <linux/ethtool.h> 
    7 +#include <net/dsa.h> 
    8  #include <asm/mach-types.h> 
    9  #include <asm/gpio.h> 
    10  #include <asm/mach/arch.h> 
    11 @@ -97,6 +98,20 @@ static struct mv643xx_eth_platform_data  
    12         .duplex         = DUPLEX_FULL, 
    13  }; 
    14   
    15 +static struct dsa_chip_data wnr854t_switch_chip_data = { 
    16 +       .port_names[0] = "lan3", 
    17 +       .port_names[1] = "lan4", 
    18 +       .port_names[2] = "wan", 
    19 +       .port_names[3] = "cpu", 
    20 +       .port_names[5] = "lan1", 
    21 +       .port_names[7] = "lan2", 
    22 +}; 
    23 + 
    24 +static struct dsa_platform_data wnr854t_switch_plat_data = { 
    25 +       .nr_chips       = 1, 
    26 +       .chip           = &wnr854t_switch_chip_data, 
    27 +}; 
    28 + 
    29  static void __init wnr854t_init(void) 
    30  { 
    31         /* 
    32 @@ -110,6 +125,7 @@ static void __init wnr854t_init(void) 
    33          * Configure peripherals. 
    34          */ 
    35         orion5x_eth_init(&wnr854t_eth_data); 
    36 +       orion5x_eth_switch_init(&wnr854t_switch_plat_data, NO_IRQ); 
    37         orion5x_uart0_init(); 
    38   
    39         orion5x_setup_dev_boot_win(WNR854T_NOR_BOOT_BASE, 
  • trunk/target/linux/orion/patches/050-wrt350nv2_cfi_workaround.patch

    r16950 r20185  
    11--- a/drivers/mtd/chips/cfi_cmdset_0002.c 
    22+++ b/drivers/mtd/chips/cfi_cmdset_0002.c 
    3 @@ -385,8 +385,9 @@ struct mtd_info *cfi_cmdset_0002(struct  
     3@@ -374,8 +374,9 @@ struct mtd_info *cfi_cmdset_0002(struct  
    44  
    55                cfi_fixup_major_minor(cfi, extp); 
  • trunk/target/linux/orion/patches/100-openwrt_partition_map.patch

    r19166 r20185  
    11--- a/arch/arm/mach-orion5x/wrt350n-v2-setup.c 
    22+++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c 
    3 @@ -58,11 +58,11 @@ static struct mtd_partition wrt350n_v2_nor_flash_partitions 
     3@@ -135,11 +135,11 @@ static struct mtd_partition wrt350n_v2_nor_flash_partitions 
    44        { 
    55                .name           = "kernel", 
     
    1616                .name           = "lang", 
    1717                .offset         = 0x00760000, 
    18 @@ -75,6 +79,14 @@ static struct mtd_partition wrt350n_v2_nor_flash_partitions 
     18@@ -152,6 +152,14 @@ static struct mtd_partition wrt350n_v2_nor_flash_partitions 
    1919                .name           = "u-boot", 
    2020                .offset         = 0x007c0000, 
  • trunk/target/linux/orion/patches/200-dt2_board_support.patch

    r15581 r20185  
    1717--- a/arch/arm/mach-orion5x/Makefile 
    1818+++ b/arch/arm/mach-orion5x/Makefile 
    19 @@ -17,3 +17,4 @@ obj-$(CONFIG_MACH_WNR854T)    += wnr854t-se 
     19@@ -20,3 +20,4 @@ obj-$(CONFIG_MACH_WNR854T)    += wnr854t-se 
    2020 obj-$(CONFIG_MACH_RD88F5181L_GE)       += rd88f5181l-ge-setup.o 
    2121 obj-$(CONFIG_MACH_RD88F5181L_FXO)      += rd88f5181l-fxo-setup.o 
  • trunk/target/linux/orion/patches/300-skb_cb_align.patch

    r19387 r20185  
    11--- a/include/linux/skbuff.h 
    22+++ b/include/linux/skbuff.h 
    3 @@ -335,7 +335,7 @@ struct sk_buff { 
     3@@ -332,7 +332,7 @@ struct sk_buff { 
    44         * want to keep them across layers you have to do a skb_clone() 
    55         * first. This is owned by whoever has the skb queued ATM. 
Note: See TracChangeset for help on using the changeset viewer.