Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Sep 01, 2014 7:33 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Mon Jul 30, 2012 6:31 am 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
Another thread reminds me that I should share my little work for ls-wvl. The full model string is "LS-WVL/E-AP", without pre-installed hard disks. I don't know whether the one with pre-installed hard disk has exactly the same hardware or not (especially regarding the 512MB nand flash). But normally those patches SHOULD be applicable. But still, use them at YOUR OWN RISK. The patches came from various souces including myself. I'm trying my best to list the corresponding credit below, forgive me if someone is missing or listed incorrectly. Thanks for all the original authors.

The patches are listed in the sequence of applying.

1. Module alloc size check. This patch came from openwrt project.
Pastebin Link:http://pastebin.com/j71499jJ

Code:
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -2322,12 +2322,15 @@ static void dynamic_debug_remove(struct
 
 void * __weak module_alloc(unsigned long size)
 {
-   return size == 0 ? NULL : vmalloc_exec(size);
+   return vmalloc_exec(size);
 }
 
 static void *module_alloc_update_bounds(unsigned long size)
 {
-   void *ret = module_alloc(size);
+   void *ret = NULL;
+
+   if (size)
+      ret = module_alloc(size);
 
    if (ret) {
       mutex_lock(&module_mutex);


2. Fix section mismatch warning. From openwrt.
Pastebin Link:http://pastebin.com/TGsgjSiy

Code:
--- a/arch/arm/mach-orion5x/common.c
+++ b/arch/arm/mach-orion5x/common.c
@@ -192,7 +192,7 @@ void __init orion5x_init_early(void)
 
 int orion5x_tclk;
 
-int __init orion5x_find_tclk(void)
+static __init int orion5x_find_tclk(void)
 {
    u32 dev, rev;
 
@@ -204,7 +204,7 @@ int __init orion5x_find_tclk(void)
    return 166666667;
 }
 
-static void orion5x_timer_init(void)
+static __init void orion5x_timer_init(void)
 {
    orion5x_tclk = orion5x_find_tclk();
 
--- a/arch/arm/mach-orion5x/addr-map.c
+++ b/arch/arm/mach-orion5x/addr-map.c
@@ -76,7 +76,7 @@ static int __init cpu_win_can_remap(cons
 /*
  * Description of the windows needed by the platform code
  */
-static struct __initdata orion_addr_map_cfg addr_map_cfg = {
+static struct orion_addr_map_cfg addr_map_cfg __initdata = {
    .num_wins = 8,
    .cpu_win_can_remap = cpu_win_can_remap,
    .bridge_virt_base = ORION5X_BRIDGE_VIRT_BASE,


3. Kirkwood jumbo frame fix. Refer to this address for the detail:
h==p://www.spinics.net/lists/arm-kernel/msg186135.html
Part of the patches mentioned there had already been in the mainline kernel, but I don't know why the limit still was not set for kirkwood.
Of course I need to made some modification. But the only modification I need to mention here is that I moved the error detect to the last descriptor and I removed the under run error warning since for jumbo frame, this error came out so frequently).
Pastebin link:http://pastebin.com/w4kUTQX2

Code:
diff -rupN linux-3.3.4-orig/arch/arm/mach-dove/common.c linux-3.3.4/arch/arm/mach-dove/common.c
--- linux-3.3.4-orig/arch/arm/mach-dove/common.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/mach-dove/common.c   2012-05-07 17:58:22.746247051 +0800
@@ -88,7 +88,7 @@ void __init dove_ehci1_init(void)
  ****************************************************************************/
 void __init dove_ge00_init(struct mv643xx_eth_platform_data *eth_data)
 {
-   orion_ge00_init(eth_data,
+   orion_ge00_init(eth_data, 1600,
          DOVE_GE00_PHYS_BASE, IRQ_DOVE_GE00_SUM,
          0, get_tclk());
 }
diff -rupN linux-3.3.4-orig/arch/arm/mach-kirkwood/common.c linux-3.3.4/arch/arm/mach-kirkwood/common.c
--- linux-3.3.4-orig/arch/arm/mach-kirkwood/common.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/mach-kirkwood/common.c   2012-05-07 17:58:22.750247010 +0800
@@ -85,7 +85,7 @@ void __init kirkwood_ge00_init(struct mv
 {
    kirkwood_clk_ctrl |= CGC_GE0;
 
-   orion_ge00_init(eth_data,
+   orion_ge00_init(eth_data, 1600,
          GE00_PHYS_BASE, IRQ_KIRKWOOD_GE00_SUM,
          IRQ_KIRKWOOD_GE00_ERR, kirkwood_tclk);
 }
@@ -99,7 +99,7 @@ void __init kirkwood_ge01_init(struct mv
 
    kirkwood_clk_ctrl |= CGC_GE1;
 
-   orion_ge01_init(eth_data,
+   orion_ge01_init(eth_data, 1600,
          GE01_PHYS_BASE, IRQ_KIRKWOOD_GE01_SUM,
          IRQ_KIRKWOOD_GE01_ERR, kirkwood_tclk);
 }
diff -rupN linux-3.3.4-orig/arch/arm/mach-mv78xx0/common.c linux-3.3.4/arch/arm/mach-mv78xx0/common.c
--- linux-3.3.4-orig/arch/arm/mach-mv78xx0/common.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/mach-mv78xx0/common.c   2012-05-07 17:58:22.758246917 +0800
@@ -197,7 +197,7 @@ void __init mv78xx0_ehci2_init(void)
  ****************************************************************************/
 void __init mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data)
 {
-   orion_ge00_init(eth_data,
+   orion_ge00_init(eth_data, 0,
          GE00_PHYS_BASE, IRQ_MV78XX0_GE00_SUM,
          IRQ_MV78XX0_GE_ERR, get_tclk());
 }
@@ -208,7 +208,7 @@ void __init mv78xx0_ge00_init(struct mv6
  ****************************************************************************/
 void __init mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data)
 {
-   orion_ge01_init(eth_data,
+   orion_ge01_init(eth_data, 0,
          GE01_PHYS_BASE, IRQ_MV78XX0_GE01_SUM,
          NO_IRQ, get_tclk());
 }
diff -rupN linux-3.3.4-orig/arch/arm/mach-orion5x/common.c linux-3.3.4/arch/arm/mach-orion5x/common.c
--- linux-3.3.4-orig/arch/arm/mach-orion5x/common.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/mach-orion5x/common.c   2012-05-07 17:58:22.762246865 +0800
@@ -92,7 +92,7 @@ void __init orion5x_ehci1_init(void)
  ****************************************************************************/
 void __init orion5x_eth_init(struct mv643xx_eth_platform_data *eth_data)
 {
-   orion_ge00_init(eth_data,
+   orion_ge00_init(eth_data, 0,
          ORION5X_ETH_PHYS_BASE, IRQ_ORION5X_ETH_SUM,
          IRQ_ORION5X_ETH_ERR, orion5x_tclk);
 }
diff -rupN linux-3.3.4-orig/arch/arm/plat-orion/common.c linux-3.3.4/arch/arm/plat-orion/common.c
--- linux-3.3.4-orig/arch/arm/plat-orion/common.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/plat-orion/common.c   2012-05-07 17:58:22.762246865 +0800
@@ -257,6 +257,7 @@ static struct platform_device orion_ge00
 };
 
 void __init orion_ge00_init(struct mv643xx_eth_platform_data *eth_data,
+             int tx_csum_limit,
              unsigned long mapbase,
              unsigned long irq,
              unsigned long irq_err,
@@ -264,6 +265,8 @@ void __init orion_ge00_init(struct mv643
 {
    fill_resources(&orion_ge00_shared, orion_ge00_shared_resources,
              mapbase + 0x2000, SZ_16K - 1, irq_err);
+   if (tx_csum_limit > 0)
+          orion_ge00_shared_data.tx_csum_limit = tx_csum_limit;
    ge_complete(&orion_ge00_shared_data, tclk,
           orion_ge00_resources, irq, &orion_ge00_shared,
           eth_data, &orion_ge00);
@@ -310,6 +313,7 @@ static struct platform_device orion_ge01
 };
 
 void __init orion_ge01_init(struct mv643xx_eth_platform_data *eth_data,
+             int tx_csum_limit,
              unsigned long mapbase,
              unsigned long irq,
              unsigned long irq_err,
@@ -317,6 +321,8 @@ void __init orion_ge01_init(struct mv643
 {
    fill_resources(&orion_ge01_shared, orion_ge01_shared_resources,
              mapbase + 0x2000, SZ_16K - 1, irq_err);
+   if (tx_csum_limit > 0)
+          orion_ge01_shared_data.tx_csum_limit = tx_csum_limit;
    ge_complete(&orion_ge01_shared_data, tclk,
           orion_ge01_resources, irq, &orion_ge01_shared,
           eth_data, &orion_ge01);
diff -rupN linux-3.3.4-orig/arch/arm/plat-orion/include/plat/common.h linux-3.3.4/arch/arm/plat-orion/include/plat/common.h
--- linux-3.3.4-orig/arch/arm/plat-orion/include/plat/common.h   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/plat-orion/include/plat/common.h   2012-05-07 17:58:22.778246655 +0800
@@ -37,12 +37,14 @@ void __init orion_rtc_init(unsigned long
             unsigned long irq);
 
 void __init orion_ge00_init(struct mv643xx_eth_platform_data *eth_data,
+             int tx_csum_limit,
              unsigned long mapbase,
              unsigned long irq,
              unsigned long irq_err,
              int tclk);
 
 void __init orion_ge01_init(struct mv643xx_eth_platform_data *eth_data,
+             int tx_csum_limit,
              unsigned long mapbase,
              unsigned long irq,
              unsigned long irq_err,
diff -rupN linux-3.3.4-orig/drivers/net/ethernet/marvell/mv643xx_eth.c linux-3.3.4/drivers/net/ethernet/marvell/mv643xx_eth.c
--- linux-3.3.4-orig/drivers/net/ethernet/marvell/mv643xx_eth.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/drivers/net/ethernet/marvell/mv643xx_eth.c   2012-05-07 17:58:22.794246454 +0800
@@ -965,12 +965,15 @@ static int txq_reclaim(struct tx_queue *
       txq->tx_desc_count--;
 
       skb = NULL;
-      if (cmd_sts & TX_LAST_DESC)
+      if (cmd_sts & TX_LAST_DESC) {
          skb = __skb_dequeue(&txq->tx_skb);
 
-      if (cmd_sts & ERROR_SUMMARY) {
-         netdev_info(mp->dev, "tx error\n");
-         mp->dev->stats.tx_errors++;
+         /*Error status only valid for last descriptor*/
+         /*ignore under run error*/
+         if (unlikely(cmd_sts & ERROR_SUMMARY) && unlikely(!(cmd_sts & 0x00000002))) {
+            netdev_info(mp->dev, "tx error\n");
+            mp->dev->stats.tx_errors++;
+         }
       }
 
       if (cmd_sts & TX_FIRST_DESC) {


4. A patch to fix the hardware crypto for orion chip, not kirkwood. I wrote it. And very limited test was done against it. Let me know if you need this. But currently someone is working on the DMA support for the MV_CESA, so I think you should looking at that instead.

5. Here the LS-WVL support comes. The patch was based on the LS-VL patch found here, and modified by myself:
h==p://www.yamasita.jp/cgi-bin/BBS/eztree.cgi
Pastebin link:http://pastebin.com/yDSBf7qY

Code:
diff -rupN linux-3.3.4-orig/arch/arm/mach-kirkwood/Kconfig linux-3.3.4/arch/arm/mach-kirkwood/Kconfig
--- linux-3.3.4-orig/arch/arm/mach-kirkwood/Kconfig   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/mach-kirkwood/Kconfig   2012-05-07 17:58:22.750247010 +0800
@@ -130,6 +130,12 @@ config MACH_T5325
      Say 'Y' here if you want your kernel to support the
      HP t5325 Thin Client.
 
+config MACH_LSWVL
+   bool "Buffalo LS-WVL Series"
+   help
+     Say 'Y' here if you want your kernel to support the
+     Buffalo LS-WVL/E-AP NAS
+
 endmenu
 
 endif
diff -rupN linux-3.3.4-orig/arch/arm/mach-kirkwood/lswvl-setup.c linux-3.3.4/arch/arm/mach-kirkwood/lswvl-setup.c
--- linux-3.3.4-orig/arch/arm/mach-kirkwood/lswvl-setup.c   1970-01-01 07:00:00.000000000 +0700
+++ linux-3.3.4/arch/arm/mach-kirkwood/lswvl-setup.c   2012-05-07 17:58:22.754246966 +0800
@@ -0,0 +1,366 @@
+/*
+ * arch/arm/mach-kirkwood/lswvl-setup.c
+ *
+ * Buffalo LS-WVL Series Setup
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/platform_device.h>
+#include <linux/mtd/physmap.h>
+#include <linux/ata_platform.h>
+#include <linux/mtd/partitions.h>
+#include <linux/spi/flash.h>
+#include <linux/spi/spi.h>
+#include <linux/mv643xx_eth.h>
+#include <linux/gpio.h>
+#include <linux/gpio_keys.h>
+#include <linux/gpio-fan.h>
+#include <linux/input.h>
+#include <linux/leds.h>
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+#include <mach/kirkwood.h>
+#include <plat/orion_nand.h>
+#include <plat/mvsdio.h>
+#include "common.h"
+#include "mpp.h"
+
+
+/*****************************************************************************
+ * 512MB NAND Flash on Device bus CS0
+ ****************************************************************************/
+static struct mtd_partition lswvl_nand_parts[] = {
+        {
+                .name   = "boot",
+                .offset = 0,
+                .size   = 16 * 1024 * 1024,
+        }, {
+                .name   = "rootfs",
+                .offset = MTDPART_OFS_NXTBLK,
+                .size   = 488 * 1024 * 1024,
+        }, {
+                .name   = "reserve",
+                .offset = MTDPART_OFS_NXTBLK,
+                .size   = MTDPART_SIZ_FULL,
+        },
+};
+
+/*****************************************************************************
+ * 512KB NOR Flash on BOOT Device
+ ****************************************************************************/
+static struct mtd_partition lswvl_partitions[] = {
+   {
+      .name = "u-boot",
+      .size = 0x80000,
+      .offset = 0x00000,
+      //.mask_flags = MTD_WRITEABLE, /* force read-only */
+   },
+};
+
+static struct flash_platform_data lswvl_spi_slave_data = {
+   .parts = lswvl_partitions,
+   .nr_parts = ARRAY_SIZE(lswvl_partitions),
+};
+
+static struct spi_board_info __initdata lswvl_spi_slave_info[] = {
+   {
+      .modalias = "m25p80",
+      .platform_data = &lswvl_spi_slave_data,
+      .irq = -1,
+      .max_speed_hz = 20000000,
+      .bus_num = 0,
+      .chip_select = 0,
+   },
+};
+
+/*****************************************************************************
+ * Ethernet
+ ****************************************************************************/
+static struct mv643xx_eth_platform_data lswvl_ge00_data = {
+   .phy_addr = MV643XX_ETH_PHY_ADDR(0),
+};
+
+/*****************************************************************************
+ * SATA
+ ****************************************************************************/
+static struct mv_sata_platform_data lswvl_sata_data = {
+   .n_ports = 2,
+};
+
+/*****************************************************************************
+ * LEDs attached to GPIO
+ ****************************************************************************/
+#define LSWVL_GPIO_LED_HDDERR0 34
+#define LSWVL_GPIO_LED_HDDERR1 35
+#define LSWVL_GPIO_LED_ALARM 36
+#define LSWVL_GPIO_LED_FUNC_RED 37
+#define LSWVL_GPIO_LED_INFO 38
+#define LSWVL_GPIO_LED_FUNC_BLUE 39
+#define LSWVL_GPIO_LED_PWR 40
+
+static struct gpio_led lswvl_led_pins[] = {
+   {
+      .name = "lswvl:hdderr:0",
+      .gpio = LSWVL_GPIO_LED_HDDERR0,
+   }, {
+      .name = "lswvl:hdderr:1",
+      .gpio = LSWVL_GPIO_LED_HDDERR1,
+   }, {
+      .name = "lswvl:alarm:red",
+      .gpio = LSWVL_GPIO_LED_ALARM,
+   }, {
+      .name = "lswvl:func:red",
+      .gpio = LSWVL_GPIO_LED_FUNC_RED,
+   }, {
+      .name = "lswvl:info:amber",
+      .gpio = LSWVL_GPIO_LED_INFO,
+   }, {
+      .name = "lswvl:func:blue",
+      .gpio = LSWVL_GPIO_LED_FUNC_BLUE,
+   }, {
+      .name = "lswvl:power:blue",
+      .default_trigger = "default-on",
+      .gpio = LSWVL_GPIO_LED_PWR,
+      .active_low = 1,
+   },
+};
+
+static struct gpio_led_platform_data lswvl_led_data = {
+   .leds = lswvl_led_pins,
+   .num_leds = ARRAY_SIZE(lswvl_led_pins),
+};
+
+static struct platform_device lswvl_leds = {
+   .name = "leds-gpio",
+   .id = -1,
+   .dev = {
+      .platform_data = &lswvl_led_data,
+   }
+};
+
+/*****************************************************************************
+ * General Setup
+ ****************************************************************************/
+#define LSWVL_GPIO_HDD0_POWER 8
+#define LSWVL_GPIO_HDD1_POWER 9
+#define LSWVL_GPIO_USB_POWER 12
+
+/*****************************************************************************
+ * GPIO Attached Keys
+ ****************************************************************************/
+#define LSWVL_GPIO_KEY_FUNC 45
+#define LSWVL_GPIO_KEY_POWER 46
+#define LSWVL_GPIO_KEY_AUTOPOWER 47
+#define LSWVL_SW_POWER 0x00
+#define LSWVL_SW_AUTOPOWER 0x01
+#define LSWVL_SW_FUNC 0x02
+
+static struct gpio_keys_button lswvl_buttons[] = {
+   {
+      .type = EV_KEY,
+      .code = BTN_1,
+      .gpio = LSWVL_GPIO_KEY_POWER,
+      .desc = "power-on",
+      .active_low = 1,
+   }, {
+      .type = EV_KEY,
+      .code = BTN_2,
+      .gpio = LSWVL_GPIO_KEY_AUTOPOWER,
+      .desc = "power-auto",
+      .active_low = 1,
+   }, {
+      .type = EV_KEY,
+      .code = BTN_0,
+      .gpio = LSWVL_GPIO_KEY_FUNC,
+      .desc = "function",
+      .active_low = 1,
+   },
+};
+
+static struct gpio_keys_platform_data lswvl_button_data = {
+   .buttons = lswvl_buttons,
+   .nbuttons = ARRAY_SIZE(lswvl_buttons),
+};
+
+static struct platform_device lswvl_button_device = {
+   .name = "gpio-keys",
+   .id = -1,
+   .num_resources = 0,
+   .dev = {
+      .platform_data = &lswvl_button_data,
+   },
+};
+
+/*****************************************************************************
+ * GPIO Fan
+ ****************************************************************************/
+#define LSWVL_GPIO_FAN_HIGH 16
+#define LSWVL_GPIO_FAN_LOW 17
+#define LSWVL_GPIO_FAN_LOCK 43
+
+static struct gpio_fan_alarm lswvl_alarm = {
+   .gpio = LSWVL_GPIO_FAN_LOCK,
+};
+
+static struct gpio_fan_speed lswvl_speeds[] = {
+   {
+      .rpm = 0,
+      .ctrl_val = 3,
+   }, {
+      .rpm = 1500,
+      .ctrl_val = 1,
+   }, {
+      .rpm = 3250,
+      .ctrl_val = 2,
+   }, {
+      .rpm = 5000,
+      .ctrl_val = 0,
+   }
+};
+
+static int lswvl_gpio_list[] = {
+   LSWVL_GPIO_FAN_HIGH, LSWVL_GPIO_FAN_LOW,
+};
+
+static struct gpio_fan_platform_data lswvl_fan_data = {
+   .num_ctrl = ARRAY_SIZE(lswvl_gpio_list),
+   .ctrl = lswvl_gpio_list,
+   .alarm = &lswvl_alarm,
+   .num_speed = ARRAY_SIZE(lswvl_speeds),
+   .speed = lswvl_speeds,
+};
+
+static struct platform_device lswvl_fan_device = {
+   .name = "gpio-fan",
+   .id = -1,
+   .num_resources = 0,
+   .dev = {
+      .platform_data = &lswvl_fan_data,
+   },
+};
+
+/*****************************************************************************
+ * GPIO Data
+ ****************************************************************************/
+
+static unsigned int lswvl_mpp_config[] __initdata = {
+   MPP0_NF_IO2,
+   MPP1_NF_IO3,
+   MPP2_NF_IO4,
+   MPP3_NF_IO5,
+   MPP4_NF_IO6,
+   MPP5_NF_IO7,
+   MPP6_SYSRST_OUTn,
+   MPP7_SPI_SCn,
+   MPP8_GPIO, /* HDD Power */
+   MPP9_GPIO, /* HDD Power */
+   MPP10_UART0_TXD,
+   MPP11_UART0_RXD,
+   MPP12_GPO, /* USB VBUS EN */
+   MPP13_GPIO,
+   MPP14_GPIO,
+   MPP15_GPIO,
+   MPP16_GPIO, /* FAN HIGH: on:0, off:1 */
+   MPP17_GPIO, /* FAN LOW: on:0, off:1 */
+   MPP18_NF_IO0,
+   MPP19_NF_IO1,
+   MPP20_GPIO,
+   MPP21_GPIO,
+   MPP22_GPIO,
+   MPP23_GPIO,
+   MPP24_GPIO,
+   MPP25_GPIO,
+   MPP26_GPIO,
+   MPP27_GPIO,
+   MPP28_GPIO,
+   MPP29_GPIO,
+   MPP30_GPIO,
+   MPP31_GPIO,
+   MPP32_GPIO,
+   MPP33_GPO,
+   MPP34_GPIO, /*HDD ERROR LED 0*/
+   MPP35_GPIO, /*HDD ERROR LED 1*/
+   MPP36_GPIO, /* ALARM LED */
+   MPP37_GPIO, /* FUNC RED LED */
+   MPP38_GPIO, /* INFO LED */
+   MPP39_GPIO, /* FUNC LED */
+   MPP40_GPIO, /* POWER LED */
+   MPP41_GPIO,
+   MPP42_GPIO,
+   MPP43_GPIO, /* FAN LOCK */
+   MPP44_GPIO,
+   MPP45_GPIO, /* FUNC SW */
+   MPP46_GPIO, /* POWER SW */
+   MPP47_GPIO, /* POWER AUTO SW */
+   MPP48_GPIO, /* UART EN */
+   MPP49_GPIO,
+   0
+};
+
+/*****************************************************************************
+ * LS-WVL specific power off method: reboot
+ ****************************************************************************/
+/*
+ * On the LS-WVL, the shutdown process is following:
+ * - Userland monitors key events until the power switch goes to off position
+ * - The board reboots
+ * - U-boot starts and goes into an idle mode waiting for the user
+ * to move the switch to ON position
+ *
+ */
+
+static void lswvl_power_off(void)
+{
+   kirkwood_restart('h', NULL);
+}
+
+static void __init lswvl_init(void)
+{
+   /*
+    * Basic setup. Needs to be called early.
+    */
+   kirkwood_init();
+   kirkwood_mpp_conf(lswvl_mpp_config);
+
+   /*
+    * Configure peripherals.
+    */
+   kirkwood_ge00_init(&lswvl_ge00_data);
+   kirkwood_uart0_init();
+   kirkwood_uart1_init();
+   kirkwood_ehci_init();
+   kirkwood_sata_init(&lswvl_sata_data);
+
+   spi_register_board_info(lswvl_spi_slave_info,
+            ARRAY_SIZE(lswvl_spi_slave_info));
+   kirkwood_spi_init();
+   kirkwood_nand_init(ARRAY_AND_SIZE(lswvl_nand_parts), 25);
+
+   platform_device_register(&lswvl_leds);
+   platform_device_register(&lswvl_button_device);
+   platform_device_register(&lswvl_fan_device);
+
+   /* usb power on */
+   gpio_set_value(LSWVL_GPIO_USB_POWER, 1);
+
+   /* register power-off method */
+   pm_power_off = lswvl_power_off;
+
+   pr_info("%s: finished\n", __func__);
+}
+
+MACHINE_START(LSWVL, "Buffalo LS-WVL/E-AP NAS")
+   .atag_offset = 0x100,
+   .map_io = kirkwood_map_io,
+   .init_early = kirkwood_init_early,
+   .init_irq = kirkwood_init_irq,
+   .timer = &kirkwood_timer,
+   .init_machine = lswvl_init,
+   .restart = kirkwood_restart,
+MACHINE_END
+
diff -rupN linux-3.3.4-orig/arch/arm/mach-kirkwood/Makefile linux-3.3.4/arch/arm/mach-kirkwood/Makefile
--- linux-3.3.4-orig/arch/arm/mach-kirkwood/Makefile   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/mach-kirkwood/Makefile   2012-05-07 17:58:22.754246966 +0800
@@ -18,5 +18,6 @@ obj-$(CONFIG_MACH_D2NET_V2)      += d2net_v2
 obj-$(CONFIG_MACH_NET2BIG_V2)      += netxbig_v2-setup.o lacie_v2-common.o
 obj-$(CONFIG_MACH_NET5BIG_V2)      += netxbig_v2-setup.o lacie_v2-common.o
 obj-$(CONFIG_MACH_T5325)      += t5325-setup.o
+obj-$(CONFIG_MACH_LSWVL)       += lswvl-setup.o
 
 obj-$(CONFIG_CPU_IDLE)         += cpuidle.o


6. This patch is needed to support SPI and Nand Flash MPP mulitiplex. Otherwise you won't be able to use the nand flash. I wrote it based on buffalo's gpl source. But if you try to use the nor and nand flash at the same time, error may happen. Maybe not. I don't know. It's just the same way as buffalo's stock firmware. Use it at your own risk!
Pastebin link:http://pastebin.com/KEp0bSp9

Code:
diff -rupN linux-3.3.4-orig/arch/arm/plat-orion/mpp.c linux-3.3.4/arch/arm/plat-orion/mpp.c
--- linux-3.3.4-orig/arch/arm/plat-orion/mpp.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/plat-orion/mpp.c   2012-05-07 17:58:22.778246655 +0800
@@ -15,6 +15,7 @@
 #include <linux/gpio.h>
 #include <mach/hardware.h>
 #include <plat/mpp.h>
+#include <asm/mach-types.h>
 
 /* Address of the ith MPP control register */
 static __init unsigned long mpp_ctrl_addr(unsigned int i,
@@ -75,3 +76,37 @@ void __init orion_mpp_conf(unsigned int
    }
    printk("\n");
 }
+
+#ifdef CONFIG_MACH_LSWVL
+
+static u32 boot_mpp_value = 0x21111111;
+/*
+ * change MPP[3:1] to SPI mode
+ */
+void lswvl_setup_spi_mpp(void)
+{
+        u32 spival = 0;
+        u32 bootval = 0;
+
+        spival = 0x00002220;
+        boot_mpp_value = bootval = readl(mpp_ctrl_addr(0, DEV_BUS_VIRT_BASE));
+   bootval &= 0xffff000f;
+   writel(spival | bootval, mpp_ctrl_addr(0, DEV_BUS_VIRT_BASE));
+}
+
+/*
+ * change back MPP[3:1] to default configuration
+ */
+void lswvl_reset_mpp(void)
+{
+        u32 spival = 0;
+        u32 bootval = 0;
+
+        spival = readl(mpp_ctrl_addr(0, DEV_BUS_VIRT_BASE));
+        spival &= 0xffff000f;
+   bootval = boot_mpp_value & ~0xffff000f;
+        writel(spival | bootval, mpp_ctrl_addr(0, DEV_BUS_VIRT_BASE));
+}
+
+#endif
+
diff -rupN linux-3.3.4-orig/drivers/spi/spi-orion.c linux-3.3.4/drivers/spi/spi-orion.c
--- linux-3.3.4-orig/drivers/spi/spi-orion.c   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/drivers/spi/spi-orion.c   2012-05-07 17:58:22.802246355 +0800
@@ -19,6 +19,12 @@
 #include <linux/spi/orion_spi.h>
 #include <linux/module.h>
 #include <asm/unaligned.h>
+#include <asm/mach-types.h>
+
+#ifdef CONFIG_MACH_LSWVL
+void lswvl_setup_spi_mpp(void);
+void lswvl_reset_mpp(void);
+#endif
 
 #define DRIVER_NAME         "orion_spi"
 
@@ -141,6 +147,9 @@ orion_spi_setup_transfer(struct spi_devi
    unsigned int bits_per_word = spi->bits_per_word;
    int   rc;
 
+#ifdef CONFIG_MACH_LSWVL
+   lswvl_setup_spi_mpp();
+#endif
    orion_spi = spi_master_get_devdata(spi->master);
 
    if ((t != NULL) && t->speed_hz)
@@ -152,16 +161,36 @@ orion_spi_setup_transfer(struct spi_devi
    rc = orion_spi_baudrate_set(spi, speed);
    if (rc)
       return rc;
-
+#ifdef CONFIG_MACH_LSWVL
+   rc = orion_spi_set_transfer_size(orion_spi, bits_per_word);
+   lswvl_reset_mpp();
+   return rc;
+#else
    return orion_spi_set_transfer_size(orion_spi, bits_per_word);
+#endif
 }
 
 static void orion_spi_set_cs(struct orion_spi *orion_spi, int enable)
 {
    if (enable)
+#ifdef CONFIG_MACH_LSWVL
+   {
+      lswvl_setup_spi_mpp();
+      udelay(1);
       orion_spi_setbits(orion_spi, ORION_SPI_IF_CTRL_REG, 0x1);
+   }
+#else
+      orion_spi_setbits(orion_spi, ORION_SPI_IF_CTRL_REG, 0x1);
+#endif
    else
+#ifdef CONFIG_MACH_LSWVL
+   {
       orion_spi_clrbits(orion_spi, ORION_SPI_IF_CTRL_REG, 0x1);
+      lswvl_reset_mpp();
+   }
+#else
+      orion_spi_clrbits(orion_spi, ORION_SPI_IF_CTRL_REG, 0x1);
+#endif
 }
 
 static inline int orion_spi_wait_till_ready(struct orion_spi *orion_spi)
@@ -361,8 +390,17 @@ static int orion_spi_setup(struct spi_de
 
    /* Fix ac timing if required.   */
    if (orion_spi->spi_info->enable_clock_fix)
+#ifdef CONFIG_MACH_LSWVL
+   {
+      lswvl_setup_spi_mpp();
+      orion_spi_setbits(orion_spi, ORION_SPI_IF_CONFIG_REG,
+              (1 << 14));
+      lswvl_reset_mpp();
+   }
+#else
       orion_spi_setbits(orion_spi, ORION_SPI_IF_CONFIG_REG,
               (1 << 14));
+#endif
 
    if ((spi->max_speed_hz == 0)
          || (spi->max_speed_hz > orion_spi->max_speed))


7. This is a patch to let the compiler always cross compile the kernel for ARM, using ubuntu's ARM toolchain. Obviously not mandatory.
Pastebin link:http://pastebin.com/Yme2xSiw

Code:
--- linux-3.3.4-orig/Makefile   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/Makefile   2012-05-07 17:58:22.834245952 +0800
@@ -192,8 +192,8 @@
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 export KBUILD_BUILDHOST := $(SUBARCH)
-ARCH      ?= $(SUBARCH)
-CROSS_COMPILE   ?= $(CONFIG_CROSS_COMPILE:"%"=%)
+ARCH      ?= arm
+CROSS_COMPILE   ?= arm-linux-gnueabi-
 
 # Architecture as present in compile.h
 UTS_MACHINE    := $(ARCH)


8. Extra modification of the compiler parameters to further reduce the kernel size. From openwrt.
Pastebin link:http://pastebin.com/A4atvVH5

Code:
--- a/Makefile
+++ b/Makefile
@@ -559,9 +559,9 @@ endif # $(dot-config)
 all: vmlinux
 
 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
-KBUILD_CFLAGS   += -Os
+KBUILD_CFLAGS   += -Os -fno-caller-saves
 else
-KBUILD_CFLAGS   += -O2
+KBUILD_CFLAGS   += -O2 -fno-reorder-blocks -fno-tree-ch -fno-caller-saves
 endif
 
 include $(srctree)/arch/$(SRCARCH)/Makefile
@@ -620,6 +620,9 @@ endif
 NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
 CHECKFLAGS     += $(NOSTDINC_FLAGS)
 
+# improve gcc optimization
+CFLAGS += $(call cc-option,-funit-at-a-time,)
+
 # warn about C99 declaration after statement
 KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
 


9. Fix the mach-type for lspro and ls-wvl. So you don't need to modify the kernel image after it is generated. Don't use it if you don't know what it is. But if you want to support ls-wvl, you actually need the lswvl line. the linkstation_pro line was for my lspro.
Pastebin link:http://pastebin.com/bjb2ghmb

Code:
diff -rupN linux-3.3.4-orig/arch/arm/tools/mach-types linux-3.3.4/arch/arm/tools/mach-types
--- linux-3.3.4-orig/arch/arm/tools/mach-types   2012-04-28 01:17:35.000000000 +0800
+++ linux-3.3.4/arch/arm/tools/mach-types   2012-05-07 17:58:22.782246605 +0800
@@ -117,7 +117,9 @@ omap_h3         MACH_OMAP_H3      OMAP_H3         509
 omap_h4         MACH_OMAP_H4      OMAP_H4         510
 omap_osk      MACH_OMAP_OSK      OMAP_OSK      515
 tosa         MACH_TOSA      TOSA         520
+linkstation_pro      MACH_LINKSTATION_PRO   LINKSTATION_PRO      526
 avila         MACH_AVILA      AVILA         526
+lswvl         MACH_LSWVL      LSWVL         527
 edb9302         MACH_EDB9302      EDB9302         538
 husky         MACH_HUSKY      HUSKY         543
 shepherd      MACH_SHEPHERD      SHEPHERD      545
@@ -274,7 +276,6 @@ at91cap9adk      MACH_AT91CAP9ADK   AT91CAP9AD
 mx31moboard      MACH_MX31MOBOARD   MX31MOBOARD      1574
 vision_ep9307      MACH_VISION_EP9307   VISION_EP9307      1578
 terastation_pro2   MACH_TERASTATION_PRO2   TERASTATION_PRO2   1584
-linkstation_pro      MACH_LINKSTATION_PRO   LINKSTATION_PRO      1585
 e350         MACH_E350      E350         1596
 ts409         MACH_TS409      TS409         1601
 rsi_ews         MACH_RSI_EWS      RSI_EWS         1609



After applying those patches, you should get a 3.3 kernel (3.4 kernel shall also be OK. I'm currently using 3.4.7 now) that can be used for ls-wvl. Then follow the normal kernel (cross-)compile and install instructions. I use debian for the user space. But you need something else to support the switch on the back of the machine and the fan. Instead of a shell script to poll the switch continuously, I used udev rule to do that (together with a script). But that need another patch. For the fan, a script is used as usual.

Hope this could be useful for other LS-WVL owners.

Be back soon for fan and switch topic. (I need to get the access to my ls-wvl for the script for the fan and switch).

Those patches actually had been available for months (the oldest version was based on the 2.6.38 kernel). But I didn't find time to share them (forgive my laziness. You must understand for me to write such a post in English is really hard).


Last edited by hato on Mon Mar 04, 2013 5:37 am, edited 2 times in total.

Top
 Profile  
 
PostPosted: Mon Jul 30, 2012 7:30 am 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
I just found that the code tag didn't preserve the format of the patch file (tab key replaced by space. maybe due to the copy and paste?). Let me know where to put those files if someone really is interested.


Top
 Profile  
 
PostPosted: Mon Jul 30, 2012 7:43 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2588
Thank you very, VERY much for sharing this with us.
It is great to see, that someone is giving something back to
the community (it doesn't matter, how much is your part and
how much part of others; putting it together was hard work
too, wasn't it?).
May the force be with you. ;)

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
 Profile  
 
PostPosted: Sun Aug 05, 2012 3:20 am 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
Network performance under new kernel, from ls-wvl to windows 7 64bit:

Image

I am actually not sure how this compared to the buffalo stock kernel. Seems good :up: If someone can post the result on stock kernel, it'll be appreciated. :D
The bad thing is using the same test command (with different -H parameter of course) on the other end (the PC), the test can't finished. A simpler test (without -f and -i), resulted very bad. So just for your reference.


Top
 Profile  
 
PostPosted: Mon Aug 06, 2012 3:06 pm 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
I used iperf at both ends and did the test again, the result is listes below (this time includes pc->ls-wvl):

128K window size:
LS-WVL -> PC:
Image

PC -> LS-WVL:
Image

256K window size:
LS-WVL -> PC:
Image

PC -> LS-WVL:
Image

So yes, rx performance of the network is worse, but not so bad, isn't it?


Top
 Profile  
 
PostPosted: Fri Aug 10, 2012 4:50 am 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
Ok, here's last update of this series. After my new seagate ST3000DM001 arrived, I did some real-world tests:

FTP (Filezilla <- vsftpd) download of a 22G file (Blu-ray ISO, and filezilla doesn't support MODE Z) from ls-wvl in windows 7 64bit:
Image
Another time the download took 234s.

Windows 7 (64bit) file copy the same file:
Image

BTW, during all those tests, the CPU was almost 100% utilized. So those results were obviously for single user usage. For multi-user usage, expect a much lower thorough put because of the weak arm CPU.

Here's my kernel configuration (for 3.4 kernel). As you could see, only basic features are enabled. Maybe that's the reason of the faster network speed comparing to the speed clainmed by the official?:

Caution!
Don't use this config directly! You've been warned. This config uses built-in kernel boot parameters and ignore the parameter given by u-boot.

Code:
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.4.8 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_KTIME_SCALAR=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_VECTORS_BASE=0xffff0000
# CONFIG_ARM_PATCH_PHYS_VIRT is not set
CONFIG_NEED_MACH_IO_H=y
CONFIG_PHYS_OFFSET=0x0
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_HAVE_IRQ_WORK=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="LSWVL"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_FHANDLE is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_CHIP=y

#
# RCU Subsystem
#
CONFIG_TINY_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_IKCONFIG=y
# CONFIG_IKCONFIG_PROC is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
# CONFIG_NAMESPACES is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EXPERT=y
CONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not set
# CONFIG_KALLSYMS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
# CONFIG_BUG is not set
# CONFIG_ELF_CORE is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
# CONFIG_AIO is not set
CONFIG_EMBEDDED=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
# CONFIG_PERF_EVENTS is not set
# CONFIG_PERF_COUNTERS is not set
# CONFIG_VM_EVENT_COUNTERS is not set
# CONFIG_PCI_QUIRKS is not set
# CONFIG_SLUB_DEBUG is not set
CONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_JUMP_LABEL=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y

#
# GCOV-based kernel profiling
#
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not set
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
CONFIG_INLINE_READ_UNLOCK=y
# CONFIG_INLINE_READ_UNLOCK_BH is not set
CONFIG_INLINE_READ_UNLOCK_IRQ=y
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
CONFIG_INLINE_WRITE_UNLOCK=y
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
# CONFIG_MUTEX_SPIN_ON_OWNER is not set
# CONFIG_FREEZER is not set

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_VEXPRESS is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCMRING is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CNS3XXX is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_PRIMA2 is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_MXS is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP23XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
CONFIG_ARCH_KIRKWOOD=y
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_PICOXCELL is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_SHMOBILE is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C24XX is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5P64X0 is not set
# CONFIG_ARCH_S5PC100 is not set
# CONFIG_ARCH_S5PV210 is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_NOMADIK is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_VT8500 is not set
# CONFIG_ARCH_ZYNQ is not set
# CONFIG_KEYBOARD_GPIO_POLLED is not set

#
# Marvell Kirkwood Implementations
#
# CONFIG_MACH_DB88F6281_BP is not set
# CONFIG_MACH_RD88F6192_NAS is not set
# CONFIG_MACH_RD88F6281 is not set
# CONFIG_MACH_MV88F6281GTW_GE is not set
# CONFIG_MACH_SHEEVAPLUG is not set
# CONFIG_MACH_ESATA_SHEEVAPLUG is not set
# CONFIG_MACH_GURUPLUG is not set
# CONFIG_ARCH_KIRKWOOD_DT is not set
# CONFIG_MACH_DREAMPLUG_DT is not set
# CONFIG_MACH_TS219 is not set
# CONFIG_MACH_TS41X is not set
# CONFIG_MACH_DOCKSTAR is not set
# CONFIG_MACH_OPENRD_BASE is not set
# CONFIG_MACH_OPENRD_CLIENT is not set
# CONFIG_MACH_OPENRD_ULTIMATE is not set
# CONFIG_MACH_NETSPACE_V2 is not set
# CONFIG_MACH_INETSPACE_V2 is not set
# CONFIG_MACH_NETSPACE_MAX_V2 is not set
# CONFIG_MACH_D2NET_V2 is not set
# CONFIG_MACH_NET2BIG_V2 is not set
# CONFIG_MACH_NET5BIG_V2 is not set
# CONFIG_MACH_T5325 is not set
CONFIG_MACH_LSWVL=y

#
# System MMU
#
CONFIG_PLAT_ORION=y

#
# Processor Type
#
CONFIG_CPU_FEROCEON=y
# CONFIG_CPU_FEROCEON_OLD_ID is not set
CONFIG_CPU_32v5=y
CONFIG_CPU_ABRT_EV5T=y
CONFIG_CPU_PABRT_LEGACY=y
CONFIG_CPU_CACHE_VIVT=y
CONFIG_CPU_COPY_FEROCEON=y
CONFIG_CPU_TLB_FEROCEON=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
CONFIG_CPU_USE_DOMAINS=y

#
# Processor Features
#
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
# CONFIG_ARM_THUMB is not set
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
CONFIG_OUTER_CACHE=y
CONFIG_CACHE_FEROCEON_L2=y
# CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set
# CONFIG_CACHE_L2X0 is not set
CONFIG_ARM_L1_CACHE_SHIFT=5
CONFIG_ARM_NR_BANKS=8

#
# Bus support
#
CONFIG_PCI=y
CONFIG_PCI_SYSCALL=y
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set
# CONFIG_PCCARD is not set

#
# Kernel Features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
# CONFIG_HIGH_RES_TIMERS is not set
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_NR_GPIO=0
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_HZ=100
CONFIG_AEABI=y
# CONFIG_OABI_COMPAT is not set
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
CONFIG_HAVE_ARCH_PFN_VALID=y
# CONFIG_HIGHMEM is not set
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_COMPACTION is not set
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_ALIGNMENT_TRAP=y
CONFIG_UACCESS_WITH_MEMCPY=y
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_DEPRECATED_PARAM_STRUCT is not set

#
# Boot options
#
# CONFIG_USE_OF is not set
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/sda2 rw"
# CONFIG_CMDLINE_FROM_BOOTLOADER is not set
# CONFIG_CMDLINE_EXTEND is not set
CONFIG_CMDLINE_FORCE=y
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_AUTO_ZRELADDR is not set

#
# CPU Power Management
#
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
# CONFIG_VFP is not set

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set

#
# Power management options
#
# CONFIG_PM_RUNTIME is not set
CONFIG_CPU_PM=y
# CONFIG_ARM_CPU_SUSPEND is not set
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
CONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
CONFIG_DNS_RESOLVER=y
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
CONFIG_BQL=y
CONFIG_HAVE_BPF_JIT=y
# CONFIG_BPF_JIT is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
# CONFIG_DMA_SHARED_BUFFER is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
# CONFIG_MTD_TESTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_PMC551 is not set
# CONFIG_MTD_DATAFLASH is not set
CONFIG_MTD_M25P80=y
CONFIG_M25PXX_USE_FAST_READ=y
# CONFIG_MTD_SST25L is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set
# CONFIG_MTD_DOCG3 is not set
CONFIG_MTD_NAND_ECC=y
# CONFIG_MTD_NAND_ECC_SMC is not set
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_VERIFY_WRITE=y
# CONFIG_MTD_NAND_ECC_BCH is not set
# CONFIG_MTD_SM_COMMON is not set
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
# CONFIG_MTD_NAND_DENALI is not set
# CONFIG_MTD_NAND_GPIO is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_RICOH is not set
# CONFIG_MTD_NAND_DISKONCHIP is not set
# CONFIG_MTD_NAND_DOCG4 is not set
# CONFIG_MTD_NAND_CAFE is not set
# CONFIG_MTD_NAND_NANDSIM is not set
# CONFIG_MTD_NAND_PLATFORM is not set
# CONFIG_MTD_ALAUDA is not set
CONFIG_MTD_NAND_ORION=y
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
# CONFIG_MTD_UBI is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=0
# CONFIG_BLK_DEV_CRYPTOLOOP is not set

#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
#
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MG_DISK is not set
# CONFIG_BLK_DEV_RBD is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_PHANTOM is not set
# CONFIG_INTEL_MID_PTI is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_PCH_PHUB is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_EEPROM_93XX46 is not set
# CONFIG_CB710_CORE is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_TI_ST is not set
# CONFIG_SENSORS_LIS3_SPI is not set

#
# Altera FPGA firmware download module
#
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set
CONFIG_SCSI_WAIT_SCAN=m

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
# CONFIG_ATA_VERBOSE_ERROR is not set
# CONFIG_SATA_PMP is not set

#
# Controllers with non-SFF native interface
#
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
# CONFIG_ATA_PIIX is not set
CONFIG_SATA_MV=y
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARASAN_CF is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_AUTODETECT=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set
# CONFIG_MD_RAID456 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
# CONFIG_DM_THIN_PROVISIONING is not set
CONFIG_DM_MIRROR=m
# CONFIG_DM_RAID is not set
# CONFIG_DM_LOG_USERSPACE is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_UEVENT is not set
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_I2O is not set
CONFIG_NETDEVICES=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set
# CONFIG_MII is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_ALTEON is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_CALXEDA_XGMAC is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_NET_VENDOR_CIRRUS is not set
# CONFIG_NET_VENDOR_CISCO is not set
# CONFIG_DM9000 is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
# CONFIG_NET_VENDOR_EXAR is not set
# CONFIG_NET_VENDOR_FARADAY is not set
# CONFIG_NET_VENDOR_HP is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_IP1000 is not set
# CONFIG_JME is not set
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_MV643XX_ETH=y
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
# CONFIG_NET_VENDOR_MELLANOX is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MICROCHIP is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_PACKET_ENGINE is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_REALTEK is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_SFC is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_AMD_PHY is not set
CONFIG_MARVELL_PHY=y
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MICREL_KS8995MA is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_TR is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_WLAN is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_ISDN is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set

#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
CONFIG_KEYBOARD_GPIO=y
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
# CONFIG_SERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
# CONFIG_VT is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
# CONFIG_DEVKMEM is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_NR_UARTS=2
CONFIG_SERIAL_8250_RUNTIME_UARTS=2
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not set
# CONFIG_SERIAL_MAX3107 is not set
# CONFIG_SERIAL_MFD_HSU is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_IFX6X60 is not set
# CONFIG_SERIAL_PCH_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_TTY_PRINTK is not set
# CONFIG_HVC_DCC is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
CONFIG_DEVPORT=y
# CONFIG_RAMOOPS is not set
# CONFIG_I2C is not set
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_OC_TINY is not set
CONFIG_SPI_ORION=y
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_TOPCLIFF_PCH is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set
# CONFIG_HSI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#

#
# Enable Device Drivers -> PPS to see the PTP clock options.
#
CONFIG_ARCH_REQUIRE_GPIOLIB=y
CONFIG_GPIOLIB=y
# CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set

#
# Memory mapped GPIO drivers:
#
# CONFIG_GPIO_GENERIC_PLATFORM is not set
# CONFIG_GPIO_VX855 is not set

#
# I2C GPIO expanders:
#

#
# PCI GPIO expanders:
#
# CONFIG_GPIO_BT8XX is not set
# CONFIG_GPIO_ML_IOH is not set
# CONFIG_GPIO_RDC321X is not set

#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_GPIO_MC33880 is not set
# CONFIG_GPIO_74X164 is not set

#
# AC97 GPIO expanders:
#

#
# MODULbus GPIO expanders:
#
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_AD7314 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
CONFIG_SENSORS_GPIO_FAN=y
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_ADS7871 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_THERMAL is not set
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_CORE is not set
# CONFIG_WATCHDOG_NOWAYOUT is not set

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
CONFIG_ORION_WATCHDOG=m
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ALIM7101_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_TPS65912_SPI is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_DA9052_SPI is not set
# CONFIG_MFD_WM831X_SPI is not set
# CONFIG_MFD_MC13XXX is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_TIMBERDALE is not set
# CONFIG_LPC_SCH is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_VGA_ARB is not set
# CONFIG_DRM is not set
# CONFIG_STUB_POULSBO is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
# CONFIG_EXYNOS_VIDEO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not set
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB_ARCH_HAS_XHCI=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=m
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
# CONFIG_USB_DEVICE_CLASS is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
# CONFIG_USB_UAS is not set
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set

#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_GADGET is not set

#
# OTG and related infrastructure
#
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_USB_ULPI is not set
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y

#
# LED drivers
#
CONFIG_LEDS_GPIO=y
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_LT3593 is not set
# CONFIG_LEDS_OT200 is not set
CONFIG_LEDS_TRIGGERS=y

#
# LED Triggers
#
CONFIG_LEDS_TRIGGER_TIMER=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y

#
# iptables trigger is under Netfilter config (LED target)
#
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T93 is not set
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_DS3234 is not set
# CONFIG_RTC_DRV_PCF2123 is not set

#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
CONFIG_RTC_DRV_MV=y
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set

#
# DMA Devices
#
CONFIG_ASYNC_TX_ENABLE_CHANNEL_SWITCH=y
CONFIG_MV_XOR=y
# CONFIG_TIMB_DMA is not set
CONFIG_DMA_ENGINE=y

#
# DMA Clients
#
# CONFIG_NET_DMA is not set
# CONFIG_ASYNC_TX_DMA is not set
# CONFIG_DMATEST is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set

#
# Hardware Spinlock drivers
#
CONFIG_CLKSRC_MMIO=y
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers (EXPERIMENTAL)
#

#
# Rpmsg drivers (EXPERIMENTAL)
#
# CONFIG_VIRT_DRIVERS is not set
# CONFIG_PM_DEVFREQ is not set

#
# File systems
#
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT23=y
# CONFIG_EXT4_FS_XATTR is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_REISERFS_FS is not set
CONFIG_JFS_FS=y
# CONFIG_JFS_POSIX_ACL is not set
# CONFIG_JFS_SECURITY is not set
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=m
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
# CONFIG_DNOTIFY is not set
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=936
CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
# CONFIG_PROC_PAGE_MONITOR is not set
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
# CONFIG_JFFS2_SUMMARY is not set
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not set
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
CONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not set
# CONFIG_NFS_USE_LEGACY_DNS is not set
CONFIG_NFS_USE_KERNEL_DNS=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
# CONFIG_NFSD_FAULT_INJECTION is not set
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_UPCALL is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DFS_UPCALL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
CONFIG_NLS_CODEPAGE_936=m
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
# CONFIG_MAGIC_SYSRQ is not set
CONFIG_STRIP_ASM_SYMS=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_LOCKUP_DETECTOR is not set
# CONFIG_HARDLOCKUP_DETECTOR is not set
# CONFIG_DETECT_HUNG_TASK is not set
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
CONFIG_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
# CONFIG_ARM_UNWIND is not set
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_LL is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_GHASH is not set
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HW=y
CONFIG_CRYPTO_DEV_MV_CESA=y
# CONFIG_CRYPTO_DEV_HIFN_795X is not set
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IO=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
# CONFIG_XZ_DEC is not set
# CONFIG_XZ_DEC_BCJ is not set
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
CONFIG_DQL=y
CONFIG_NLATTR=y
CONFIG_GENERIC_ATOMIC64=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set


Caution!
Don't use this config directly! You've been warned. This config uses built-in kernel boot parameters and ignore the parameter given by u-boot.


Top
 Profile  
 
PostPosted: Tue Nov 06, 2012 5:43 pm 
Offline
Newbie

Joined: Sun Jan 10, 2010 10:48 am
Posts: 26
hey could you port forward your patch to 3.6 and the new kirkwood based Devicetree system ?
ther is also support in 3.6 for ls-xhl/chl2 so some bases to look at


Top
 Profile  
 
PostPosted: Wed Nov 07, 2012 1:05 am 
Offline
Regular Member
User avatar

Joined: Mon Oct 08, 2007 6:34 am
Posts: 333
Great work thank you!

_________________
KuroHG - UBoot 1.2, foonas-em & Debian Wheezy - 3.4 Kernel
Kurobox Pro - Dave's Lenny-armel
LS-WVL - opened
LS-XHL - Squeeze Bootstrap
LS-VL - Squeeze Bootstrap


Top
 Profile  
 
PostPosted: Sun Dec 23, 2012 3:42 am 
Offline
Total Newbie

Joined: Sun Dec 23, 2012 1:56 am
Posts: 3
A word of caution: if your LS-WVL doesn't have the NAND (IC13?) installed, this patch will result in a kernel that won't boot. In that case, the line "kirkwood_nand_init(ARRAY_AND_SIZE(lswvl_nand_parts), 25);" in arch/arm/mach-kirkwood/lswvl-setup.c needs to be commented out.


Top
 Profile  
 
PostPosted: Fri Jan 18, 2013 7:17 pm 
Offline
Newbie

Joined: Mon Mar 07, 2011 3:58 pm
Posts: 38
Thanks a lot for sharing you pathes. This gives me confidence to be able to get my own kernel running on my LS-WVL.

Regarding this patch:
hato wrote:
1. Module alloc size check. This patch came from openwrt project.

I can' see what it's use should be, except for opening a possible vulnerability: First it changes a routine to allocate memory even if size == 0. Then it patches another place to handle the exactly this case.

Can you tell me the source of this patch, so I can look there?
Thanks!
lsser1985


Top
 Profile  
 
PostPosted: Fri Jan 18, 2013 8:39 pm 
Offline
Newbie

Joined: Mon Mar 07, 2011 3:58 pm
Posts: 38
ld50 wrote:
if your LS-WVL doesn't have the NAND (IC13?) installed


How can this be verified without opening the box?


Top
 Profile  
 
PostPosted: Mon Feb 11, 2013 11:10 am 
Offline
Newbie

Joined: Wed Dec 12, 2012 10:25 am
Posts: 72
Hello,

I am trying to compile a 3.4.7 kernel for my LS-WVL.

This is what I did thus far (This is from the Debian for LS-WXL guide):
- Install the following packages under root:
- apt-get install build-essential fakeroot uboot-mkimage debhelper python libncurses5-dev
- Update /etc/apt/sources.list to be able to download the Squeeze kernel sources:
- echo deb-src http://ftp.us.debian.org/debian squeeze main >> /etc/apt/sources.list
- apt-get update

I couldn't download the 3.4 or 3.4.7 kernel with apt-get, so I downloaded it by hand (Found here: http://www.howtoforge.com/kernel_compil ... ebian_etch):

Code:
root@NAS:~# cd /usr/src
root@NAS:/usr/src# wget http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.7.tar.bz2
--2013-02-11 10:45:21--  http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.7.tar.bz2
Resolving www.kernel.org... 149.20.20.133
Connecting to www.kernel.org|149.20.20.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80186282 (76M) [application/x-bzip2]
Saving to: âlinux-3.4.7.tar.bz2â

100%[======================================>] 80,186,282   188K/s   in 7m 2s

2013-02-11 10:52:24 (186 KB/s) - âlinux-3.4.7.tar.bz2â

root@NAS:/usr/src# tar xjf linux-3.4.7.tar.bz2
root@NAS:/usr/src# ln -s linux-3.4.7 linux
root@NAS:/usr/src# cd linux
root@NAS:/usr/src/linux#


Then I put all your patches in the code blocks together, saved it as patch.lswvl, uploaded it to ~/ and executed (Derived from the Debian for LS-WXL guide again):
Code:
root@NAS:/usr/src/linux# patch -Np1 --dry-run -i ~/patch.lswvl
patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
root@NAS:/usr/src/linux#


I am clearly doing something wrong. This is my first kernel compilation attempt, sorry ;) I hope someone can give me some pointers!


Top
 Profile  
 
PostPosted: Tue Feb 26, 2013 4:50 am 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
@ lsuser1985

I don't know the exact reason and I agree that before and after the patching they do the same thing. I guess its because of the compiler optimization or something. Without this patch, I did see kernel complains in dmesg output. This may be fixed in later kernel version, I don't know. I personally used those patched up to 3.5.7 (may need a little adaption).

@ VolleMelk
The patch was ruined because the "tab" at the beginning (and after the "+" "-" sign) was replaced by "spaces". Seem to be caused by firefox browser. Sorry for that the reply comes too late.


Top
 Profile  
 
PostPosted: Tue Feb 26, 2013 10:59 am 
Offline
Newbie

Joined: Wed Dec 12, 2012 10:25 am
Posts: 72
hato wrote:
@ VolleMelk
The patch was ruined because the "tab" at the beginning (and after the "+" "-" sign) was replaced by "spaces". Seem to be caused by firefox browser. Sorry for that the reply comes too late.

Ah now I see your comment about the code-tag not preserving tabs. Is it possible for you to upload the patches to pastebin for example?

And the rest (compiling the kernel etc), I am doing it right.. right? :D


Top
 Profile  
 
PostPosted: Mon Mar 04, 2013 5:45 am 
Offline
Newbie

Joined: Fri Mar 21, 2008 3:04 am
Posts: 52
I edited the top post to add the pastebin links. I tried and it seemed to work well. I noticed that when I was editing the post, the "tab" key was preserved correctly. So the data saved was correct but presented incorrectly. I don't know why (I tried IE, it's the same).

Edit:
Do NOT copy directly from the pastebin page. Try using the "copy to clipboard" button( or copy the raw data?).
The jumbo frame patch was only provided to let the ls-wvl support jumbo frame correctly, but not necessarily faster. In fact using a 9000 bytes jumbo frame degraded the network performance a lot according to my test (because the hardware checksum calculation was limited to 1600bytes). It's just for corner cases. For myself, my WD My Book Word Edition (blue ring one) needs jumbo frame to boost the network performance (the reading performance could be improved up to like 100%). So I need to enable jumbo frame when transferring from mybook to ls-wvl.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group