[OpenWrt-Devel] [patch 2/4] [PATCH] Adds a kmod for the DS2431

2012-03-14 Thread chris
The DS2431 is a 1 wire 1kb eeprom.

Signed-off-by: Christian Gagneraud ch...@techworks.ie

--- a/package/kernel/modules/w1.mk
+++ b/package/kernel/modules/w1.mk
@@ -112,6 +112,19 @@ endef
 
 $(eval $(call KernelPackage,w1-slave-smem))
 
+define KernelPackage/w1-slave-ds2431
+  TITLE:=DS2431 1kb EEPROM driver
+  KCONFIG:= CONFIG_W1_SLAVE_DS2431
+  FILES:=$(W1_SLAVES_DIR)/w1_ds2431.ko
+  AUTOLOAD:=$(call AutoLoad,70,w1_ds2431)
+  $(call AddDepends/w1)
+endef
+
+define KernelPackage/w1-slave-ds2431/description
+  Kernel module for 1-wire 1kb EEPROM (DS2431)
+endef
+
+$(eval $(call KernelPackage,w1-slave-ds2431))
 
 define KernelPackage/w1-slave-ds2433
   TITLE:=Simple 64bit memory family implementation

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [patch 0/4] 3 new kmods and 1 kmod description fix

2012-03-14 Thread chris

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [patch 3/4] [PATCH] Fix the title and the description of the kmod for DS2433.

2012-03-14 Thread chris
This kmod has been certainly added by copy/paste but the title and 
description were not updated. Fix that.
The DS2433 is a 1 wire 4kb eeprom with CRC capability.

Signed-off-by: Christian Gagneraud ch...@techworks.ie

--- a/package/kernel/modules/w1.mk
+++ b/package/kernel/modules/w1.mk
@@ -127,7 +127,7 @@ endef
 $(eval $(call KernelPackage,w1-slave-ds2431))
 
 define KernelPackage/w1-slave-ds2433
-  TITLE:=Simple 64bit memory family implementation
+  TITLE:=DS2433 4kb EEPROM driver
   KCONFIG:= \
CONFIG_W1_SLAVE_DS2433 \
CONFIG_W1_SLAVE_DS2433_CRC=n
@@ -137,7 +137,7 @@ define KernelPackage/w1-slave-ds2433
 endef
 
 define KernelPackage/w1-slave-ds2433/description
-  Kernel module for 1-wire simple 64bit memory rom(ds2401/ds2411/ds1990*)
+  Kernel module for 1-wire 4kb EEPROM (DS2433)
 endef
 
 $(eval $(call KernelPackage,w1-slave-ds2433))

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [patch 4/4] [PATCH] Add support for the 8250 UART module.

2012-03-14 Thread chris
It has been added at the end of other.mk as i couldn't find a better place 
for it.

Signed-off-by: Christian Gagneraud ch...@techworks.ie

--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -872,3 +872,21 @@ endef
 
 $(eval $(call KernelPackage,nandsim))
 
+define KernelPackage/serial-8250
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=8250 UARTs
+  KCONFIG:= CONFIG_SERIAL_8250 \
+   CONFIG_SERIAL_8250_NR_UARTS=16 \
+   CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
+   CONFIG_SERIAL_8250_EXTENDED=y \
+   CONFIG_SERIAL_8250_MANY_PORTS=y \
+   CONFIG_SERIAL_8250_SHARE_IRQ=y
+  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250.ko
+endef
+
+define KernelPackage/serial-8250/description
+ Kernel module for 8250 UART based serial ports.
+endef
+
+$(eval $(call KernelPackage,serial-8250))
+

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [patch 1/4] This patch adds a kmod in hwmon for the SHT21 sensor (I2C temperature and humidity sensor)

2012-03-14 Thread chris
Signed-off-by: Christian Gagneraud ch...@techworks.ie

--- a/package/kernel/modules/hwmon.mk
+++ b/package/kernel/modules/hwmon.mk
@@ -103,6 +103,19 @@ endef
 
 $(eval $(call KernelPackage,hwmon-lm95241))
 
+define KernelPackage/hwmon-sht21
+  TITLE:=Sensiron SHT21 and compat. monitoring support
+  KCONFIG:=CONFIG_SENSORS_SHT21
+  FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
+  AUTOLOAD:=$(call AutoLoad,60,sht21)
+  $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-sht21/description
+ Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors 
chip
+endef
+
+$(eval $(call KernelPackage,hwmon-sht21))
 
 define KernelPackage/hwmon-pc87360
   TITLE:=PC87360 monitoring support

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] New SQLAlchemy Package for Python

2012-03-14 Thread Park, Woo Jae
New packages for running flexget on Openwrt.

Signed-off-by: woojae, parknikes...@gmail.com


---

Index: feeds/packages/lang/pysqlalchemy/Makefile
===
--- feeds/packages/lang/pysqlalchemy/Makefile (revision 0)
+++ feeds/packages/lang/pysqlalchemy/Makefile (revision 0)
@@ -0,0 +1,48 @@
+#
+# Copyright (C) 2011 OpenWrt.org
+# Copyright (C) 2011 Woojae, Park nikes...@gmail.com
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=SQLAlchemy
+PKG_VERSION:=0.7.4
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://pypi.python.org/packages/source/S/SQLAlchemy/
+PKG_MD5SUM:=731dbd55ec9011437a842d781417eae7
+#
http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.4.tar.gz#md5=731dbd55ec9011437a842d781417eae7
+PKG_BUILD_DEPENDS:=python
+
+include $(INCLUDE_DIR)/package.mk
+$(call include_mk, python-package.mk)
+
+define Package/pysqlalchemy
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=pysqlalchemy
+ URL:=http://pypi.python.org/packages/source/S/SQLAlchemy
+ DEPENDS:=+python-mini
+endef
+
+define Package/pysqlalchemy/description
+ SQLAlchemy
+endef
+
+define Build/Compile
+ $(call Build/Compile/PyMod,,install --prefix=$(PKG_INSTALL_DIR)/usr)
+endef
+
+define Package/pysqlalchemy/install
+ $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
+ $(CP) \
+ $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+ $(1)$(PYTHON_PKG_DIR)
+endef
+
+$(eval $(call BuildPackage,pysqlalchemy))
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] About adding new language pages of openwrt's wiki

2012-03-14 Thread Jo-Philipp Wich
Hi,

new languages must be enabled by an administrator in the wiki.
I added japanese now, it should get offered as choice in the sidebar as
soon as you login.

HTH,
Jow
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] About adding new language pages of openwrt's wiki

2012-03-14 Thread Kentaro Matsuyama
Hi Jow!

Thanks! I'll try to keep contribute...

matsuk

2012/3/14 Jo-Philipp Wich x...@subsignal.org:
 Hi,

 new languages must be enabled by an administrator in the wiki.
 I added japanese now, it should get offered as choice in the sidebar as
 soon as you login.

 HTH,
 Jow
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [kernel] make kernel_menuconfig not picking up my subtarget config-default

2012-03-14 Thread Christian Gagneraud

Hi all,

I'm having trouble with my condif-default's.
I have 2 config-default:
target/linux/at91/config-default
target/linux/at91/tmbbv3/config-default

when I do make target/linux/{clean,prepare} V=99 QUILT=1, my kernel is 
configured correctly, by that I mean that my subtarget config-default is 
used. (Still I'm asked for some kernel config related to USB gadget that 
are defined in my subtarget config-default...)


This is confirmed by seeing this command line:
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl 
+ + 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/tmbbv3/config-default 
 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config.target


Which means that to build the .config.target, it merges:
target/linux/generic/config-2.6.38
target/linux/at91/config-default
target/linux/at91/tmbbv3/config-default

Now the strangest thing is that, if now I call make kernel_menuconfig 
V=99, I'm asked about more things because the kernel is configured for 
the wrong target (AT91RM9200 instead of AT91SAM9G20).
I've track down this one to the fact that my subtraget config default is 
not used as shown by this command line:
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl 
+ 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default 
 
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config


Which means that to build the .config.target, it merges only:
target/linux/generic/config-2.6.38
target/linux/at91/config-default

Could anyone shed some light on what is going on with my configuration?
Is use to work correctly (I think), but then i started to add packages 
(and kernel modules via profiles), and now it seems to be broken.



Has anyone had this kind of problems before? Any clue on how to debug 
the problem, is there anyway to get more debugging messages out of the 
buildroot stuff?



Regards,
Chris


--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [kernel] make kernel_menuconfig not picking up my subtarget config-default

2012-03-14 Thread Felix Fietkau
On 2012-03-14 6:14 PM, Christian Gagneraud wrote:
 Hi all,
 
 I'm having trouble with my condif-default's.
 I have 2 config-default:
 target/linux/at91/config-default
 target/linux/at91/tmbbv3/config-default
 
 when I do make target/linux/{clean,prepare} V=99 QUILT=1, my kernel is 
 configured correctly, by that I mean that my subtarget config-default is 
 used. (Still I'm asked for some kernel config related to USB gadget that 
 are defined in my subtarget config-default...)
 
 This is confirmed by seeing this command line:
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl 
 + + 
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38
  
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default
  
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/tmbbv3/config-default
  
   
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config.target
 
 Which means that to build the .config.target, it merges:
 target/linux/generic/config-2.6.38
 target/linux/at91/config-default
 target/linux/at91/tmbbv3/config-default
 
 Now the strangest thing is that, if now I call make kernel_menuconfig 
 V=99, I'm asked about more things because the kernel is configured for 
 the wrong target (AT91RM9200 instead of AT91SAM9G20).
 I've track down this one to the fact that my subtraget config default is 
 not used as shown by this command line:
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl 
 + 
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38
  
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default
  
   
 /home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config
 
 Which means that to build the .config.target, it merges only:
 target/linux/generic/config-2.6.38
 target/linux/at91/config-default
 
 Could anyone shed some light on what is going on with my configuration?
 Is use to work correctly (I think), but then i started to add packages 
 (and kernel modules via profiles), and now it seems to be broken.
 
 
 Has anyone had this kind of problems before? Any clue on how to debug 
 the problem, is there anyway to get more debugging messages out of the 
 buildroot stuff?
Try make kernel_menuconfig CONFIG_TARGET=subtarget.
CONFIG_TARGET allows you to select which config you want to edit.
possible options: target, subtarget, env.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] WZR-HP-G450H trunk problems

2012-03-14 Thread Gregory Finch
Hi,

A change in trunk over the last couple of weeks has broken for my
router. It seems like the switch doesn't get setup properly now. I can
only connect at 10mbit most of the time now, as well the connection will
freeze, usually when I try to run ifconfig, or use luci. logread also
hangs the connection on me, so I've been unable to get logs to see what
is happening.

I've been trying to figure out which changeset caused the problem, but
using svn is new to me. In browsing the changes online, it looks like
changeset 30922 or 30926 may be the problem, but that is a _wild_ stab
in the dark.

I'm going to try and roll my copy of trunk back until I figure out where
it breaks for me. Please let me know if anyone has any ideas on where to
look.

-Greg




signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [kernel] make kernel_menuconfig not picking up my subtarget config-default

2012-03-14 Thread Christian Gagneraud

On 14/03/12 18:02, Felix Fietkau wrote:

On 2012-03-14 6:14 PM, Christian Gagneraud wrote:

Hi all,

I'm having trouble with my condif-default's.
I have 2 config-default:
target/linux/at91/config-default
target/linux/at91/tmbbv3/config-default

when I do make target/linux/{clean,prepare} V=99 QUILT=1, my kernel is
configured correctly, by that I mean that my subtarget config-default is
used. (Still I'm asked for some kernel config related to USB gadget that
are defined in my subtarget config-default...)

This is confirmed by seeing this command line:
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl
+ +
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/tmbbv3/config-default
  
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config.target

Which means that to build the .config.target, it merges:
target/linux/generic/config-2.6.38
target/linux/at91/config-default
target/linux/at91/tmbbv3/config-default

Now the strangest thing is that, if now I call make kernel_menuconfig
V=99, I'm asked about more things because the kernel is configured for
the wrong target (AT91RM9200 instead of AT91SAM9G20).
I've track down this one to the fact that my subtraget config default is
not used as shown by this command line:
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/scripts/kconfig.pl
+
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/generic/config-2.6.38
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/target/linux/at91/config-default
  
/home/cgagneraud/work/projects/tmbbv3/openwrt/trunk/build_dir/linux-at91_tmbbv3/linux-2.6.38.8/.config

Which means that to build the .config.target, it merges only:
target/linux/generic/config-2.6.38
target/linux/at91/config-default

Could anyone shed some light on what is going on with my configuration?
Is use to work correctly (I think), but then i started to add packages
(and kernel modules via profiles), and now it seems to be broken.


Has anyone had this kind of problems before? Any clue on how to debug
the problem, is there anyway to get more debugging messages out of the
buildroot stuff?

Try make kernel_menuconfig CONFIG_TARGET=subtarget.
CONFIG_TARGET allows you to select which config you want to edit.
possible options: target, subtarget, env.


Good to know! ;) Thank you very much!

Chris



- Felix



--
Christian Gagneraud,
Embedded systems engineer.
Techworks Marine
1 Harbour road
Dun Laoghaire
Co. Dublin
Ireland
Tel: + 353 (0) 1 236 5990
Web: http://www.techworks.ie/
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA NAND flash

2012-03-14 Thread Hauke Mehrtens
On 03/12/2012 08:31 AM, Tathagata Das wrote:
 Hi Hauke,
  That code works on my device as well. Attached is the updated kernel patch 
 to support brcm47xx BCMA NAND flash.
 
 Regards,
 Tatha
 
 -Original Message-
 From: Hauke Mehrtens [mailto:ha...@hauke-m.de] 
 Sent: 10 March 2012 05:01
 To: Tathagata Das
 Cc: 'OpenWrt Development List'; 'Florian Fainelli'
 Subject: Re: [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA 
 NAND flash
 
 Hi Tatha,
 
 sorry for answering so late I am currently very busy.
 
 If I set CONFIG_BCMA_SFLASH=y and CONFIG_BCMA_NFLASH=y in the kernel
 config, which I want to do for the default image in OpenWrt the image
 will not work on by device with serial flash any more because
 bus-drv_cc.flash_type will contain BCMA_NFLASH and not BCMA_SFLASH. The
 patch in the mail I linked does not work as is with the current version
 of your patch but you should be able to modify it. ;-)
 The code in the linked mail should be able to detect nand flash at
 runtime. Without this modification it does not work on my device, which
 uses serial flash, but I do not know if it works on your device with
 nand flash.
 

Hi Tatha,

the patch was finally added with some small modifications in commit
r30943. Could you please try if current trunk is working on your device.

Hauke



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] busybox 1.19.4 update patch

2012-03-14 Thread Peter Wagner
This patch updates busybox to 1.19.4 and refreshes all patches.

Signed-off-by: Peter Wagner tripo...@gmx.at
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 41e7d40..af27df0 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -8,14 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=busybox
-PKG_VERSION:=1.19.3
-PKG_RELEASE:=10
+PKG_VERSION:=1.19.4
+PKG_RELEASE:=1
 PKG_FLAGS:=essential
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://www.busybox.net/downloads \
 		http://distfiles.gentoo.org/distfiles/
-PKG_MD5SUM:=c3938e1ac59602387009bbf1dd1af7f6
+PKG_MD5SUM:=9c0cae5a0379228e7b55e5b29528df8e
 
 PKG_BUILD_DEPENDS:=BUSYBOX_USE_LIBRPC:librpc
 PKG_BUILD_PARALLEL:=1
diff --git a/package/busybox/patches/000-upstream-getty.patch b/package/busybox/patches/000-upstream-getty.patch
deleted file mode 100644
index 74a2f95..000
--- a/package/busybox/patches/000-upstream-getty.patch
+++ /dev/null
@@ -1,12 +0,0 @@
 a/loginutils/getty.c
-+++ b/loginutils/getty.c
-@@ -271,7 +271,9 @@ static void termios_init(int speed)
- #ifdef CMSPAR
- 		| CMSPAR  /* mark or space parity */
- #endif
-+#ifdef CBAUD
- 		| CBAUD   /* (output) baud rate */
-+#endif
- #ifdef CBAUDEX
- 		| CBAUDEX /* (output) baud rate */
- #endif
diff --git a/package/busybox/patches/000-upstream-modinfo.patch b/package/busybox/patches/000-upstream-modinfo.patch
deleted file mode 100644
index 1b11d44..000
--- a/package/busybox/patches/000-upstream-modinfo.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/modutils/modinfo.c
-+++ b/modutils/modinfo.c
-@@ -13,6 +13,7 @@
- //config:config MODINFO
- //config:	bool modinfo
- //config:	default y
-+//config:	select PLATFORM_LINUX
- //config:	help
- //config:	  Show information about a Linux Kernel module
- 
diff --git a/package/busybox/patches/004-upstream-percent_decode_in_place.patch b/package/busybox/patches/004-upstream-percent_decode_in_place.patch
index 83d68f3..d94ee47 100644
--- a/package/busybox/patches/004-upstream-percent_decode_in_place.patch
+++ b/package/busybox/patches/004-upstream-percent_decode_in_place.patch
@@ -222,7 +222,7 @@ Signed-off-by: Denys Vlasenko vda.li...@googlemail.com
  		h-host = sp + 1;
  	}
  
-@@ -660,12 +665,6 @@ static void download_one_url(const char 
+@@ -661,12 +666,6 @@ static void download_one_url(const char
  
  #if ENABLE_FEATURE_WGET_AUTHENTICATION
  		if (target.user) {
diff --git a/package/busybox/patches/110-wget_getopt_fix.patch b/package/busybox/patches/110-wget_getopt_fix.patch
index 52b9d94..1003231 100644
--- a/package/busybox/patches/110-wget_getopt_fix.patch
+++ b/package/busybox/patches/110-wget_getopt_fix.patch
@@ -1,6 +1,6 @@
 --- a/networking/wget.c
 +++ b/networking/wget.c
-@@ -871,7 +871,7 @@ int wget_main(int argc UNUSED_PARAM, cha
+@@ -873,7 +873,7 @@ int wget_main(int argc UNUSED_PARAM, cha
  		/* Ignored: */
  		// tries\0Required_argument t
  		/* Ignored (we always use PASV): */
diff --git a/package/busybox/patches/244-udhcpc_add_6rd_option.patch b/package/busybox/patches/244-udhcpc_add_6rd_option.patch
index 84891d3..9e30ef7 100644
--- a/package/busybox/patches/244-udhcpc_add_6rd_option.patch
+++ b/package/busybox/patches/244-udhcpc_add_6rd_option.patch
@@ -9,7 +9,7 @@
  	{ OPTION_STRING   , 0xfc }, /* DHCP_WPAD  */
  
  	/* Options below have no match in dhcp_option_strings[],
-@@ -127,6 +129,8 @@ const char dhcp_option_strings[] ALIGN1 
+@@ -127,6 +129,8 @@ const char dhcp_option_strings[] ALIGN1
  	vlanpriority \0/* DHCP_VLAN_PRIORITY  */
  #endif
  	msstaticroutes\0/* DHCP_MS_STATIC_ROUTES */
@@ -46,7 +46,7 @@
  	[OPTION_STRING  ] = 1,
  #if ENABLE_FEATURE_UDHCP_RFC3397
  	[OPTION_DNS_STRING  ] = 1, /* unused */
-@@ -123,6 +124,23 @@ static int sprint_nip(char *dest, const 
+@@ -123,6 +124,23 @@ static int sprint_nip(char *dest, const
  	return sprintf(dest, %s%u.%u.%u.%u, pre, ip[0], ip[1], ip[2], ip[3]);
  }
  
@@ -70,10 +70,11 @@
  /* really simple implementation, just count the bits */
  static int mton(uint32_t mask)
  {
-@@ -232,6 +250,70 @@ static NOINLINE char *xmalloc_optname_op
+@@ -231,6 +249,70 @@ static NOINLINE char *xmalloc_optname_op
+ 			}
  
  			return ret;
- 		}
++		}
 +		case OPTION_6RD: {
 +			/* Option binary format:
 +			 *  0   1   2   3
@@ -137,7 +138,6 @@
 +			}
 +
 +			return ret;
-+		}
+ 		}
  #if ENABLE_FEATURE_UDHCP_RFC3397
  		case OPTION_DNS_STRING:
- 			/* unpack option into dest; use ret for prefix (i.e., optname=) */
diff --git a/package/busybox/patches/310-passwd_access.patch b/package/busybox/patches/310-passwd_access.patch
index b995599..daa1b99 100644
--- a/package/busybox/patches/310-passwd_access.patch
+++ b/package/busybox/patches/310-passwd_access.patch
@@ -3,7 +3,7 @@
 
 --- a/networking/httpd.c
 +++ b/networking/httpd.c
-@@ -1700,21 +1700,32 @@ static int check_user_passwd(const char 
+@@ -1700,21 +1700,32 @@ static int 

[OpenWrt-Devel] [PATCH 0/5] several updates for kirkwood target

2012-03-14 Thread Luka Perkov
In this patch series you can find kirkwood patches for:

 * kernel upgrade to 3.2.9
 * add ubifs support
 * introduce files folder in order to simplify patches
 * add RaidSonic ICY BOX IB-NAS62x0 board
 * refresh kernel config

Luka
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 1/5] kernel upgrade to 3.2.9

2012-03-14 Thread Luka Perkov
kirkwood: kernel upgrade to 3.2.9

Signed-off-by: Luka Perkov open...@lukaperkov.net
---

diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile
index 06b6fc7..426ffd2 100644
--- a/target/linux/kirkwood/Makefile
+++ b/target/linux/kirkwood/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009-2011 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -12,7 +12,7 @@ BOARDNAME:=Marvell Kirkwood
 FEATURES:=targz usb jffs2
 MAINTAINER:=Imre Kaloz ka...@openwrt.org
 
-LINUX_VERSION:=2.6.37.6
+LINUX_VERSION:=3.2.9
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/kirkwood/config-default 
b/target/linux/kirkwood/config-default
index d37d8ab..a0d7e94 100644
--- a/target/linux/kirkwood/config-default
+++ b/target/linux/kirkwood/config-default
@@ -9,6 +9,7 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y
 # CONFIG_ARCH_USES_GETTIMEOFFSET is not set
 CONFIG_ARM=y
 CONFIG_ARM_L1_CACHE_SHIFT=5
+CONFIG_ARM_PATCH_PHYS_VIRT=y
 # CONFIG_ARM_THUMB is not set
 # CONFIG_ARPD is not set
 CONFIG_BITREVERSE=y
diff --git a/target/linux/kirkwood/patches/200-iconnect.patch 
b/target/linux/kirkwood/patches/200-iconnect.patch
index f8baae6..30693a8 100644
--- a/target/linux/kirkwood/patches/200-iconnect.patch
+++ b/target/linux/kirkwood/patches/200-iconnect.patch
@@ -218,7 +218,7 @@
 +
 +
 +MACHINE_START(ICONNECT, Iomega iConnect Wireless)
-+  .boot_params= 0x0100,
++  .atag_offset= 0x100,
 +  .init_machine   = iconnect_init,
 +  .map_io = kirkwood_map_io,
 +  .init_irq   = kirkwood_init_irq,
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 2/5] add ubifs support

2012-03-14 Thread Luka Perkov
kirkwood: add ubifs support

Signed-off-by: Luka Perkov open...@lukaperkov.net
---

diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile
index 426ffd2..81afaf5 100644
--- a/target/linux/kirkwood/Makefile
+++ b/target/linux/kirkwood/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=kirkwood
 BOARDNAME:=Marvell Kirkwood
-FEATURES:=targz usb jffs2
+FEATURES:=targz usb jffs2 ubifs
 MAINTAINER:=Imre Kaloz ka...@openwrt.org
 
 LINUX_VERSION:=3.2.9
diff --git a/target/linux/kirkwood/image/Makefile 
b/target/linux/kirkwood/image/Makefile
index c93be67..9e60b88 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009-2010 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,6 +9,19 @@ include $(INCLUDE_DIR)/image.mk
 
 JFFS2OPTS += --little-endian --pagesize=0x800 --no-cleanmarkers --pad
 
+ifeq ($(PROFILE),Sheevaplug)
+UBIFS_OPTS += -m 2048 -e 126KiB -c 8192
+UBINIZE_OPTS += -m 2048 -p 128KiB -s 512
+endif
+ifeq ($(PROFILE),Dockstar)
+UBIFS_OPTS += -m 2048 -e 126KiB -c 4096
+UBINIZE_OPTS += -m 2048 -p 128KiB -s 512
+endif
+ifeq ($(PROFILE),Iconnect)
+UBIFS_OPTS += -m 2048 -e 126KiB -c 8192
+UBINIZE_OPTS += -m 2048 -p 128KiB -s 512
+endif
+
 define Image/Prepare
cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
 endef
diff --git a/target/linux/kirkwood/image/ubinize.cfg 
b/target/linux/kirkwood/image/ubinize.cfg
new file mode 100644
index 000..49d55b9
--- /dev/null
+++ b/target/linux/kirkwood/image/ubinize.cfg
@@ -0,0 +1,14 @@
+[rootfs]
+# Volume mode (other option is static)
+mode=ubi
+# Source image
+image=root.ubifs
+# Volume ID in UBI image
+vol_id=0
+# Allow for dynamic resize
+vol_type=dynamic
+# Volume name
+vol_name=rootfs
+# Autoresize volume at first mount
+vol_flags=autoresize
+
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 3/5] introduce files folder in order to simplify patches

2012-03-14 Thread Luka Perkov
kirkwood: introduce files folder in order to simplify patches

Signed-off-by: Luka Perkov open...@lukaperkov.net
---

diff --git 
a/target/linux/kirkwood/files/arch/arm/mach-kirkwood/iconnect-setup.c 
b/target/linux/kirkwood/files/arch/arm/mach-kirkwood/iconnect-setup.c
new file mode 100644
index 000..1915caa
--- /dev/null
+++ b/target/linux/kirkwood/files/arch/arm/mach-kirkwood/iconnect-setup.c
@@ -0,0 +1,188 @@
+/*
+ * arch/arm/mach-kirkwood/iconnect-setup.c
+ *
+ * Iomega iConnect Wireless
+ *
+ * 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/irq.h
+#include linux/mtd/partitions.h
+#include linux/mv643xx_eth.h
+#include linux/ethtool.h
+#include linux/gpio.h
+#include linux/gpio_keys.h
+#include linux/input.h
+#include linux/leds.h
+#include asm/mach-types.h
+#include asm/mach/arch.h
+#include mach/kirkwood.h
+#include common.h
+#include mpp.h
+
+static struct mtd_partition iconnect_nand_parts[] = {
+   {
+   .name = u-boot,
+   .offset = 0,
+   .size = SZ_1M
+   }, {
+   .name = uImage,
+   .offset = MTDPART_OFS_NXTBLK,
+   .size = SZ_1M + SZ_2M
+   }, {
+   .name = rootfs,
+   .offset = MTDPART_OFS_NXTBLK,
+   .size = SZ_32M,
+   }, {
+   .name = data,
+   .offset = MTDPART_OFS_NXTBLK,
+   .size = MTDPART_SIZ_FULL
+   },
+};
+
+static struct mv643xx_eth_platform_data iconnect_ge00_data = {
+   .phy_addr   = MV643XX_ETH_PHY_ADDR(11),
+};
+
+static struct gpio_led iconnect_led_pins[] = {
+   {
+   .name   = iconnect:blue:power,
+   .default_trigger= default-on,
+   .gpio   = 42,
+   },
+   {
+   .name   = iconnect:red:power,
+   .gpio   = 43,
+   },
+   {
+   .name   = iconnect:blue:usb1,
+   .gpio   = 44,
+   },
+   {
+   .name   = iconnect:blue:usb2,
+   .gpio   = 45,
+   },
+   {
+   .name   = iconnect:blue:usb3,
+   .gpio   = 46,
+   },
+   {
+   .name   = iconnect:blue:usb4,
+   .gpio   = 47,
+   },
+   {
+   .name   = iconnect:blue:otb,
+   .gpio   = 48,
+   },
+};
+
+static struct gpio_led_platform_data iconnect_led_data = {
+   .leds   = iconnect_led_pins,
+   .num_leds   = ARRAY_SIZE(iconnect_led_pins),
+};
+
+static struct platform_device iconnect_leds = {
+   .name   = leds-gpio,
+   .id = -1,
+   .dev= {
+   .platform_data  = iconnect_led_data,
+   }
+};
+
+#define ICONNECT_GPIO_KEY_RESET12
+#define ICONNECT_GPIO_KEY_OTB  35
+
+#define ICONNECT_SW_RESET  0x00
+#define ICONNECT_SW_OTB0x01
+
+static struct gpio_keys_button iconnect_buttons[] = {
+   {
+   .type   = EV_SW,
+   .code   = ICONNECT_SW_RESET,
+   .gpio   = ICONNECT_GPIO_KEY_RESET,
+   .desc   = Reset Button,
+   .active_low = 1,
+   .debounce_interval = 100,
+   }, 
+   {
+   .type   = EV_SW,
+   .code   = ICONNECT_SW_OTB,
+   .gpio   = ICONNECT_GPIO_KEY_OTB,
+   .desc   = OTB Button,
+   .active_low = 1,
+   .debounce_interval = 100,
+   },
+};
+
+static struct gpio_keys_platform_data iconnect_button_data = {
+   .buttons= iconnect_buttons,
+   .nbuttons   = ARRAY_SIZE(iconnect_buttons),
+};
+
+static struct platform_device iconnect_button_device = {
+   .name  = gpio-keys,
+   .id  = -1,
+   .num_resources  = 0,
+   .dev=   {
+   .platform_data  = iconnect_button_data,
+   },
+};
+
+static unsigned int iconnect_mpp_config[] __initdata = {
+   MPP12_GPIO, /*Input for reset button*/
+   MPP35_GPIO, /*Input for OTB button*/
+   MPP42_GPIO,
+   MPP43_GPIO,
+   MPP44_GPIO,
+   MPP45_GPIO,
+   MPP46_GPIO,
+   MPP47_GPIO,
+   MPP48_GPIO,
+   0
+};
+
+static void __init iconnect_init(void)
+{
+   u32 dev, rev;
+
+   /*
+* Basic setup. Needs to be called early.
+*/
+   kirkwood_init();
+   

[OpenWrt-Devel] [PATCH 4/5] add RaidSonic ICY BOX IB-NAS62x0 board

2012-03-14 Thread Luka Perkov
kirkwood: add RaidSonic ICY BOX IB-NAS62x0 board

Signed-off-by: Luka Perkov open...@lukaperkov.net
---

diff --git a/target/linux/kirkwood/config-default 
b/target/linux/kirkwood/config-default
index a0d7e94..07352f4 100644
--- a/target/linux/kirkwood/config-default
+++ b/target/linux/kirkwood/config-default
@@ -84,6 +84,7 @@ CONFIG_MACH_DOCKSTAR=y
 # CONFIG_MACH_ESATA_SHEEVAPLUG is not set
 # CONFIG_MACH_GURUPLUG is not set
 CONFIG_MACH_ICONNECT=y
+CONFIG_MACH_NAS6210=y
 # CONFIG_MACH_INETSPACE_V2 is not set
 # CONFIG_MACH_MV88F6281GTW_GE is not set
 # CONFIG_MACH_NET2BIG_V2 is not set
diff --git a/target/linux/kirkwood/files/arch/arm/mach-kirkwood/nas6210-setup.c 
b/target/linux/kirkwood/files/arch/arm/mach-kirkwood/nas6210-setup.c
new file mode 100644
index 000..a9040a6
--- /dev/null
+++ b/target/linux/kirkwood/files/arch/arm/mach-kirkwood/nas6210-setup.c
@@ -0,0 +1,189 @@
+/*
+ * arch/arm/mach-kirkwood/nas6210-setup.c
+ *
+ * Raidsonic ICYBOX NAS6210 Board 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/ata_platform.h
+#include linux/mtd/partitions.h
+#include linux/mv643xx_eth.h
+#include linux/gpio.h
+#include linux/gpio_keys.h
+#include linux/input.h
+#include linux/leds.h
+#include asm/mach-types.h
+#include asm/mach/arch.h
+#include mach/kirkwood.h
+#include common.h
+#include mpp.h
+
+#define NAS6210_GPIO_POWER_OFF 24
+
+static struct mtd_partition nas6210_nand_parts[] = {
+   {
+   .name = uboot,
+   .offset = 0,
+   .size = SZ_512K
+   }, {
+   .name = uboot_env,
+   .offset = MTDPART_OFS_NXTBLK,
+   .size = SZ_128K
+   }, {
+   .name = kernel,
+   .offset = MTDPART_OFS_NXTBLK,
+   .size = 3 * SZ_1M
+   }, {
+   .name = rootfs,
+   .offset = MTDPART_OFS_NXTBLK,
+   .size = MTDPART_SIZ_FULL
+   },
+};
+
+static struct mv643xx_eth_platform_data nas6210_ge00_data = {
+   .phy_addr   = MV643XX_ETH_PHY_ADDR(8),
+};
+
+static struct mv_sata_platform_data nas6210_sata_data = {
+   .n_ports= 2,
+};
+
+static struct gpio_led nas6210_led_pins[] = {
+   {
+   .name   = status:green:power,
+   .default_trigger= default-on,
+   .gpio   = 25,
+   .active_low = 0,
+   },
+   {
+   .name   = status:red:power,
+   .default_trigger= none,
+   .gpio   = 22,
+   .active_low = 0,
+   },
+   {
+   .name   = status:red:usb_copy,
+   .default_trigger= none,
+   .gpio   = 27,
+   .active_low = 0,
+   },
+};
+
+static struct gpio_led_platform_data nas6210_led_data = {
+   .leds   = nas6210_led_pins,
+   .num_leds   = ARRAY_SIZE(nas6210_led_pins),
+};
+
+static struct platform_device nas6210_leds = {
+   .name   = leds-gpio,
+   .id = -1,
+   .dev= {
+   .platform_data  = nas6210_led_data,
+   }
+};
+
+static struct gpio_keys_button nas6210_buttons[] = {
+   {
+   .code   = KEY_COPY,
+   .gpio   = 29,
+   .desc   = USB Copy,
+   .active_low = 1,
+   },
+   {
+   .code   = KEY_RESTART,
+   .gpio   = 28,
+   .desc   = Reset,
+   .active_low = 1,
+   },
+};
+
+static struct gpio_keys_platform_data nas6210_button_data = {
+   .buttons= nas6210_buttons,
+   .nbuttons   = ARRAY_SIZE(nas6210_buttons),
+};
+
+static struct platform_device nas6210_button_device = {
+   .name   = gpio-keys,
+   .id = -1,
+   .num_resources  = 0,
+   .dev= {
+   .platform_data  = nas6210_button_data,
+   }
+};
+
+static unsigned int nas6210_mpp_config[] __initdata = {
+   MPP0_NF_IO2,
+   MPP1_NF_IO3,
+   MPP2_NF_IO4,
+   MPP3_NF_IO5,
+   MPP4_NF_IO6,
+   MPP5_NF_IO7,
+   MPP18_NF_IO0,
+   MPP19_NF_IO1,
+   MPP22_GPIO, /* Power LED red */
+   MPP24_GPIO, /* Power off device */
+   MPP25_GPIO, /* Power LED green */
+   MPP27_GPIO, /* USB transfer LED */
+   MPP28_GPIO, /* Reset button */
+   MPP29_GPIO, /* USB Copy button */
+   0
+};
+
+static void nas6210_power_off(void)
+{
+   gpio_set_value(NAS6210_GPIO_POWER_OFF, 1);
+}
+
+static void __init nas6210_init(void)
+{
+   /*
+* Basic setup. 

[OpenWrt-Devel] [PATCH 5/5] refresh kernel config

2012-03-14 Thread Luka Perkov
kirkwood: refresh kernel config

Signed-off-by: Luka Perkov open...@lukaperkov.net
---

diff --git a/target/linux/kirkwood/config-default 
b/target/linux/kirkwood/config-default
index 07352f4..76ae99c 100644
--- a/target/linux/kirkwood/config-default
+++ b/target/linux/kirkwood/config-default
@@ -1,22 +1,24 @@
 CONFIG_ALIGNMENT_TRAP=y
+CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
 CONFIG_ARCH_KIRKWOOD=y
-# CONFIG_ARCH_NUC93X is not set
 CONFIG_ARCH_REQUIRE_GPIOLIB=y
 # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
 # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
 # CONFIG_ARCH_SUPPORTS_MSI is not set
-CONFIG_ARCH_SUSPEND_POSSIBLE=y
 # CONFIG_ARCH_USES_GETTIMEOFFSET is not set
 CONFIG_ARM=y
+# CONFIG_ARM_CPU_SUSPEND is not set
 CONFIG_ARM_L1_CACHE_SHIFT=5
 CONFIG_ARM_PATCH_PHYS_VIRT=y
 # CONFIG_ARM_THUMB is not set
 # CONFIG_ARPD is not set
-CONFIG_BITREVERSE=y
+CONFIG_BCMA_POSSIBLE=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_CACHE_FEROCEON_L2=y
 # CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set
+CONFIG_CLKSRC_MMIO=y
 CONFIG_CMDLINE=rootdelay=1 root=/dev/mmcblk0p1 noinitrd console=ttyS0,115200
+CONFIG_CMDLINE_FROM_BOOTLOADER=y
 CONFIG_CPU_32v5=y
 CONFIG_CPU_ABRT_EV5T=y
 CONFIG_CPU_CACHE_VIVT=y
@@ -29,24 +31,24 @@ CONFIG_CPU_FEROCEON=y
 CONFIG_CPU_IDLE=y
 CONFIG_CPU_IDLE_GOV_LADDER=y
 CONFIG_CPU_PABRT_LEGACY=y
+CONFIG_CPU_PM=y
 CONFIG_CPU_TLB_FEROCEON=y
 CONFIG_DEBUG_KERNEL=y
+CONFIG_CPU_USE_DOMAINS=y
 # CONFIG_DEBUG_USER is not set
 CONFIG_DECOMPRESS_LZMA=y
-CONFIG_DEVPORT=y
 # CONFIG_DLCI is not set
-# CONFIG_DM9000 is not set
 CONFIG_DNOTIFY=y
 CONFIG_EXT4_FS=y
-# CONFIG_FPE_FASTFPE is not set
-# CONFIG_FPE_NWFPE is not set
 CONFIG_FRAME_POINTER=y
+CONFIG_FS_MBCACHE=y
 CONFIG_GENERIC_ATOMIC64=y
+CONFIG_GENERIC_BUG=y
 CONFIG_GENERIC_CLOCKEVENTS=y
 CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
-CONFIG_GENERIC_FIND_LAST_BIT=y
 CONFIG_GENERIC_GPIO=y
-CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_GENERIC_IRQ_CHIP=y
+CONFIG_GENERIC_IRQ_SHOW=y
 CONFIG_GPIOLIB=y
 # CONFIG_HAMRADIO is not set
 CONFIG_HARDIRQS_SW_RESEND=y
@@ -55,42 +57,55 @@ CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT=y
 CONFIG_HAVE_AOUT=y
 CONFIG_HAVE_ARCH_KGDB=y
+CONFIG_HAVE_ARCH_PFN_VALID=y
+CONFIG_HAVE_C_RECORDMCOUNT=y
+CONFIG_HAVE_DMA_API_DEBUG=y
+CONFIG_HAVE_DYNAMIC_FTRACE=y
+CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
+CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
 CONFIG_HAVE_FUNCTION_TRACER=y
 CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_HAVE_GENERIC_HARDIRQS=y
 CONFIG_HAVE_IDE=y
+CONFIG_HAVE_IRQ_WORK=y
 CONFIG_HAVE_KERNEL_GZIP=y
 CONFIG_HAVE_KERNEL_LZMA=y
 CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_HAVE_KPROBES=y
-CONFIG_HAVE_KRETPROBES=y
 CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_HAVE_MEMBLOCK=y
 CONFIG_HAVE_OPROFILE=y
 CONFIG_HAVE_PERF_EVENTS=y
 CONFIG_HAVE_PROC_CPU=y
+CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
+CONFIG_HAVE_SCHED_CLOCK=y
+CONFIG_HAVE_SPARSE_IRQ=y
 CONFIG_HW_RANDOM=y
-# CONFIG_I2C_MV64XXX is not set
 CONFIG_INET_LRO=y
 CONFIG_INITRAMFS_SOURCE=
 # CONFIG_IP_ADVANCED_ROUTER is not set
 CONFIG_IP_PIMSM_V1=y
 CONFIG_IP_PIMSM_V2=y
-CONFIG_JBD=y
+CONFIG_JBD2=y
+CONFIG_KTIME_SCALAR=y
 CONFIG_LEDS_GPIO=y
 CONFIG_LEGACY_PTYS=y
 CONFIG_LEGACY_PTY_COUNT=256
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
 # CONFIG_MACH_D2NET_V2 is not set
 # CONFIG_MACH_DB88F6281_BP is not set
 CONFIG_MACH_DOCKSTAR=y
 # CONFIG_MACH_ESATA_SHEEVAPLUG is not set
 # CONFIG_MACH_GURUPLUG is not set
 CONFIG_MACH_ICONNECT=y
-CONFIG_MACH_NAS6210=y
 # CONFIG_MACH_INETSPACE_V2 is not set
 # CONFIG_MACH_MV88F6281GTW_GE is not set
+CONFIG_MACH_NAS6210=y
 # CONFIG_MACH_NET2BIG_V2 is not set
 # CONFIG_MACH_NET5BIG_V2 is not set
 # CONFIG_MACH_NETSPACE_MAX_V2 is not set
 # CONFIG_MACH_NETSPACE_V2 is not set
+CONFIG_MACH_OPENRD=y
 CONFIG_MACH_OPENRD_BASE=y
 CONFIG_MACH_OPENRD_CLIENT=y
 # CONFIG_MACH_OPENRD_ULTIMATE is not set
@@ -100,6 +115,7 @@ CONFIG_MACH_SHEEVAPLUG=y
 # CONFIG_MACH_T5325 is not set
 # CONFIG_MACH_TS219 is not set
 # CONFIG_MACH_TS41X is not set
+# CONFIG_MLX4_CORE is not set
 CONFIG_MMC=y
 CONFIG_MMC_BLOCK=y
 CONFIG_MMC_MVSDIO=y
@@ -112,16 +128,20 @@ CONFIG_MTD_NAND_ORION=y
 # CONFIG_MTD_ROOTFS_ROOT_DEV is not set
 # CONFIG_MTD_ROOTFS_SPLIT is not set
 # CONFIG_MTD_SM_COMMON is not set
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_MTD_UBI_GLUEBI is not set
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MV643XX_ETH=y
 CONFIG_NEED_DMA_MAP_STATE=y
+CONFIG_NEED_PER_CPU_KM=y
 CONFIG_NET_DSA=y
 # CONFIG_NET_DSA_MV88E6060 is not set
-# CONFIG_NET_DSA_MV88E6123_61_65 is not set
 CONFIG_NET_DSA_MV88E6131=y
 CONFIG_NET_DSA_MV88E6XXX=y
 CONFIG_NET_DSA_MV88E6XXX_NEED_PPU=y
 CONFIG_NET_DSA_TAG_DSA=y
-# CONFIG_NET_DSA_TAG_EDSA is not set
 # CONFIG_NET_DSA_TAG_TRAILER is not set
 CONFIG_NLS=y
 CONFIG_OUTER_CACHE=y
@@ -131,17 +151,25 @@ CONFIG_PCI=y
 CONFIG_PERF_USE_VMALLOC=y
 CONFIG_PHYLIB=y
 CONFIG_PLAT_ORION=y
+# CONFIG_PREEMPT_RCU is not set
+# CONFIG_QUOTACTL is not set
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_MV=y
 CONFIG_SCSI=y
-CONFIG_SCSI_MOD=y
 # CONFIG_SCSI_MULTI_LUN is not set
 #