Re: [OpenWrt-Devel] Build just the kernel

2011-11-16 Thread Jan Willies
2011/11/16 Matt Redfearn matt.redfe...@nxp.com

 Hi,

 I am trying to hack some drivers in the kernel for a mips machine, but so
 far the only way I have found to get the openWRT build system to recompile
 the kernel is to run make in the root directory of openWRT. Running “make
 linux-compile” or “make linux-install” as I’ve seen previously on the
 mailing list give no known target errors. Please could someone tell me the
 make target to get the build system to just recompile the kernel, then
 build the sysupgrade image?


make target/linux/{clean,compile} V=99
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Fix md5 hash for distribute package

2011-10-08 Thread Jan Willies
2011/9/28 Roberto Riggio roberto.rig...@create-net.org

 As in the subj. THe current md5 hash for the distribute package is wrong.


That's weird, the local file I have has the same hash as in svn. Looking at
http://pypi.python.org/packages/source/d/distribute it seems all the files
where changed at once. Do you know the reason behind this?
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH-v5] samba 3.0.37 update

2011-10-06 Thread Jan Willies
2011/9/19 Maarten Bezemer m.m.beze...@utwente.nl

 I was a bit busy lately, so sorry for the late reply.

 Update in this patch (compared to v4):
 * Removed ldap, kerebos and activedirectory support
 * Added iconv support, by adding --with-libiconv=$(ICONV_PREFIX) as
 configure flag and by removing some check (which do not work because of
 cross-compilation)

 As usual any replies, comments or critics are still welcome of course.
 Although, I got several questions for the patch, so it seems that people
 are eager to have this patch added. So maybe if it is acceptable, it
 could get commited? As I am still willing to become the maintainer, I'll
 continue to try and implement suggestion and ideas. Do I need to do
 something to become 'official' maintainer?


It doesn't apply here:

[jan@srv samba3 (patches)]$ git apply --whitespace=fix -p0 ../../smb.diff
net/samba3/files/config-lfs.h:2664: space before tab in indent.
slprintf( name, sizeof( name)-1, %s-%s, program_name,
net/samba3/files/config-lfs.h:2665: space before tab in indent.
  short_configfile );
net/samba3/files/config-lfs.h:2697: space before tab in indent.
return dlopen(name, flags);
net/samba3/files/config-lfs.h:2700: space before tab in indent.
return NULL;
net/samba3/files/config-lfs.h:3097: space before tab in indent.
return True;
error: patch failed: net/samba3/files/samba.init:1
error: net/samba3/files/samba.init: patch does not apply
error: patch failed: net/samba3/Makefile:1
error: net/samba3/Makefile: patch does not apply

Can you send an update?

Also, please create patches in the top-level directory, not net/samba3/


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


Re: [OpenWrt-Devel] [PATCH-v5] samba 3.0.37 update

2011-10-06 Thread Jan Willies
Hi Maarten,

2011/9/19 Maarten Bezemer m.m.beze...@utwente.nl

 I was a bit busy lately, so sorry for the late reply.

 Update in this patch (compared to v4):
 * Removed ldap, kerebos and activedirectory support
 * Added iconv support, by adding --with-libiconv=$(ICONV_PREFIX) as
 configure flag and by removing some check (which do not work because of
 cross-compilation)

 As usual any replies, comments or critics are still welcome of course.
 Although, I got several questions for the patch, so it seems that people
 are eager to have this patch added. So maybe if it is acceptable, it
 could get commited? As I am still willing to become the maintainer, I'll
 continue to try and implement suggestion and ideas. Do I need to do
 something to become 'official' maintainer?


It doesn't apply here:

[jan@srv samba3 (patches)]$ git apply -p0 ../../smb.diff
net/samba3/files/config-lfs.h:2664: space before tab in indent.
slprintf( name, sizeof( name)-1, %s-%s, program_name,
net/samba3/files/config-lfs.h:2665: space before tab in indent.
  short_configfile );
net/samba3/files/config-lfs.h:2697: space before tab in indent.
return dlopen(name, flags);
net/samba3/files/config-lfs.h:2700: space before tab in indent.
return NULL;
net/samba3/files/config-lfs.h:3097: space before tab in indent.
return True;
error: patch failed: net/samba3/files/samba.init:1
error: net/samba3/files/samba.init: patch does not apply
error: patch failed: net/samba3/Makefile:1
error: net/samba3/Makefile: patch does not apply

Can you send an update? I will commit it then.

Also please create patches from the toplevel-directory, not net/samba3


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


Re: [OpenWrt-Devel] [PATCH][PACKAGE] upgrade openvpn package

2011-08-29 Thread Jan Willies
Hi Luka,

2011/8/21 Luka Perkov open...@lukaperkov.net

  define Package/openvpn
   SECTION:=net
   CATEGORY:=Network
 +  SUBMENU:=VPN
   DEPENDS:=+kmod-tun +libopenssl +PACKAGE_openvpn_complzo:liblzo


The lzo dependency doesn't seem to work. It's not selected here.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH][PACKAGE] upgrade openvpn package

2011-08-29 Thread Jan Willies
2011/8/29 edgar.sol...@web.de

 On 29.08.2011 16:14, Jan Willies wrote:
  Hi Luka,
 
  2011/8/21 Luka Perkov open...@lukaperkov.net mailto:
 open...@lukaperkov.net
 
   define Package/openvpn
SECTION:=net
CATEGORY:=Network
  +  SUBMENU:=VPN
DEPENDS:=+kmod-tun +libopenssl +PACKAGE_openvpn_complzo:liblzo
 
 
  The lzo dependency doesn't seem to work. It's not selected here.

 as openvpn_complzo obviously is a package definition why isn't the liblzo
 dependency defined there? that would definitely select it then.


It's just a configuration option (Config.in), not a full featured package.
Depending on it there makes it unavailable in menuconfig unless lzo is
selected. This is not desired IMO.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH][PACKAGE] upgrade openvpn package

2011-08-29 Thread Jan Willies
2011/8/29 edgar.sol...@web.de

 On 29.08.2011 17:14, Jonas Gorski wrote:
  On 29 August 2011 17:04,  edgar.sol...@web.de wrote:
  On 29.08.2011 16:44, Jan Willies wrote:
  2011/8/29 edgar.sol...@web.de mailto:edgar.sol...@web.de
 
  On 29.08.2011 16 tel:29.08.2011%2016:14, Jan Willies wrote:
   Hi Luka,
  
   2011/8/21 Luka Perkov open...@lukaperkov.net mailto:
 open...@lukaperkov.net mailto:open...@lukaperkov.net mailto:
 open...@lukaperkov.net
  
define Package/openvpn
 SECTION:=net
 CATEGORY:=Network
   +  SUBMENU:=VPN
 DEPENDS:=+kmod-tun +libopenssl
 +PACKAGE_openvpn_complzo:liblzo
  
  
   The lzo dependency doesn't seem to work. It's not selected here.
 
  as openvpn_complzo obviously is a package definition why isn't the
 liblzo dependency defined there? that would definitely select it then.
 
 
  It's just a configuration option (Config.in), not a full featured
 package. Depending on it there makes it unavailable in menuconfig unless lzo
 is selected. This is not desired IMO.
 
 
 
  i see, but there is only a OPENVPN_LZO there in Config.in . So wouldn't
 it be
 
  +OPENVPN_LZO:liblzo
 
  OPENVPN_LZO /disables/ lzo, so it should be:
 
  +!OPENVPN_LZO:liblzo
 
 
  which incidentially shows that the option names are misleading and
  they should be renamed or their effect reversed, so that they enable,
  not disable (I'd prefer the latter).
 
 

 right missed that. and yes reversing would be most elegant. ede


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


Re: [OpenWrt-Devel] Porting simplejson to openwrt

2011-08-25 Thread Jan Willies
2011/8/25 Roberto Riggio roberto.rig...@create-net.org

 Which is the version of setuptools shipped with openwrt?


It's called 'distribute' and is at 0.6.16.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] Version Bump Minidlna 1.0.21

2011-08-18 Thread Jan Willies
2011/8/18 Ian Leonard antonla...@gmail.com

 Adjust minidlna for inotify becoming part of the default kernel.


Applied in r28034, thanks. Please make your patches from the packages/
checkout.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH 1/3] add missing autoload shortcut to crypto modules for btrfs

2011-07-12 Thread Jan Willies

Signed-off-by: Jan Willies j...@willies.info
---
 package/kernel/modules/crypto.mk |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index e869851..1532afb 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -29,7 +29,7 @@ define KernelPackage/crypto-core
CONFIG_CRYPTO_ALGAPI \
$(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
   FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
-  AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call 
crypto_name,$(mod
+  AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call 
crypto_name,$(mod))),1)
 endef
 $(eval $(call KernelPackage,crypto-core))
 
@@ -43,7 +43,7 @@ define KernelPackage/crypto-hash
   TITLE:=CryptoAPI hash support
   KCONFIG:=CONFIG_CRYPTO_HASH2
   FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
-  AUTOLOAD:=$(call AutoLoad,02,crypto_hash)
+  AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1)
   $(call AddDepends/crypto)
 endef
 $(eval $(call KernelPackage,crypto-hash))
-- 
1.7.2.5

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


[OpenWrt-Devel] [PATCH 2/3] btrfs depends on lzo since 2.6.38

2011-07-12 Thread Jan Willies

Signed-off-by: Jan Willies j...@willies.info
---
 package/kernel/modules/fs.mk |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index f7720e0..890da77 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -25,7 +25,7 @@ $(eval $(call KernelPackage,fs-autofs4))
 define KernelPackage/fs-btrfs
   SUBMENU:=$(FS_MENU)
   TITLE:=BTRFS filesystem support
-  DEPENDS:=+kmod-libcrc32c +kmod-zlib
+  DEPENDS:=+kmod-libcrc32c +kmod-zlib +kmod-crypto-lzo
   KCONFIG:=\
CONFIG_BTRFS_FS \
CONFIG_BTRFS_FS_POSIX_ACL=n
-- 
1.7.2.5

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


[OpenWrt-Devel] [PATCH 0/3] make btrfs work with recent kernels

2011-07-12 Thread Jan Willies
Jan Willies (3):
  add missing autoload shortcut to crypto modules for btrfs
  btrfs depends on lzo since 2.6.38
  add LZO modules

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


[OpenWrt-Devel] [PATCH 3/3] add LZO modules

2011-07-12 Thread Jan Willies

Signed-off-by: Jan Willies j...@willies.info
---
 package/kernel/modules/crypto.mk |   17 +
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 1532afb..6724e7b 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -279,6 +279,23 @@ endef
 $(eval $(call KernelPackage,crypto-md5))
 
 
+define KernelPackage/crypto-lzo
+  TITLE:=LZO compression algorithm
+  KCONFIG:= \
+   CONFIG_CRYPTO_LZO \
+   CONFIG_LZO_COMPRESS \
+   CONFIG_LZO_DECOMPRESS
+  FILES:= \
+   $(LINUX_DIR)/crypto/lzo.ko \
+   $(LINUX_DIR)/lib/lzo/lzo_compress.ko \
+   $(LINUX_DIR)/lib/lzo/lzo_decompress.ko
+  AUTOLOAD:=$(call AutoLoad,09,lzo_compress lzo_decompress lzo,1)
+  $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-lzo))
+
+
 define KernelPackage/crypto-michael-mic
   TITLE:=Michael MIC keyed digest CryptoAPI module
   DEPENDS:=+kmod-crypto-hash
-- 
1.7.2.5

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


[OpenWrt-Devel] [PATCH V2] add CONFIG_INOTIFY_USER to kernel = 2.6.36

2011-07-12 Thread Jan Willies
add CONFIG_INOTIFY_USER=y to 3.0 as well


Signed-off-by: Jan Willies j...@willies.info
---
 target/linux/generic/config-2.6.36 |2 +-
 target/linux/generic/config-2.6.37 |2 +-
 target/linux/generic/config-2.6.38 |2 +-
 target/linux/generic/config-2.6.39 |2 +-
 target/linux/generic/config-3.0|2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/target/linux/generic/config-2.6.36 
b/target/linux/generic/config-2.6.36
index 8f526ff..5146a0a 100644
--- a/target/linux/generic/config-2.6.36
+++ b/target/linux/generic/config-2.6.36
@@ -939,7 +939,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-2.6.37 
b/target/linux/generic/config-2.6.37
index 8719e52..a20b102 100644
--- a/target/linux/generic/config-2.6.37
+++ b/target/linux/generic/config-2.6.37
@@ -961,7 +961,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-2.6.38 
b/target/linux/generic/config-2.6.38
index ab998d4..80837f7 100644
--- a/target/linux/generic/config-2.6.38
+++ b/target/linux/generic/config-2.6.38
@@ -984,7 +984,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-2.6.39 
b/target/linux/generic/config-2.6.39
index a322f47..6f39f5b 100644
--- a/target/linux/generic/config-2.6.39
+++ b/target/linux/generic/config-2.6.39
@@ -1000,7 +1000,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-3.0 b/target/linux/generic/config-3.0
index 0d1eec1..9ec6b18 100644
--- a/target/linux/generic/config-3.0
+++ b/target/linux/generic/config-3.0
@@ -1004,7 +1004,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
-- 
1.7.2.5

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


Re: [OpenWrt-Devel] [PATCH] seagate goflex support for dockstar target

2011-07-05 Thread Jan Willies
2011/2/25 Martin Mueller m...@sig21.net

 Hi Jan,

 On Fri, Feb 25, 2011 at 01:21:40PM +0100, Jan Willies wrote:
  Do you happen to know whether the GoFlex Net has the same crypto
  hardware acceleration as the Dockstar
  (
 http://wiki.openwrt.org/toh/seagate/dockstar#crypto.hardware.acceleration
 ),
  ie is it common about the Kirkwood SoCs?

 Yes it is and it works just like on the dockstar. Performance is not
 the best as the mv_cesa still doesn't use DMA. Unfortunatelly this
 seems out of my knowledge to implement it, but it would be nice.


Apparently someone is working now on TDMA support for mv_cesa:
http://code.google.com/p/openrd/issues/detail?id=18#c0

Would be nice to get this going.


 root@OpenWrt:/# hdparm -t /dev/mapper/crypt

 /dev/mapper/crypt:
  Timing buffered disk reads:   40 MB in  3.03 seconds =  13.19 MB/sec

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


Re: [OpenWrt-Devel] [PATCH] seagate goflex support for dockstar target

2011-07-05 Thread Jan Willies
2011/7/5 Martin Mueller m...@sig21.net

 Hi Jan,

 On Tue, Jul 05, 2011 at 09:52:34AM +0200, Jan Willies wrote:
 
  Apparently someone is working now on TDMA support for mv_cesa:
  http://code.google.com/p/openrd/issues/detail?id=18#c0
 
  Would be nice to get this going.

 Yes, but he seems to have some Problems of his own with it. I
 remember reading a post form the original developer of mv_cesa that he
 tried to implement DMA, but was disapointed with the speed gain it
 brought an so abandoned it.


Hm, too bad. Do you remember his name? The source states 
Sebastian Andrzej Siewior.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] add CONFIG_INOTIFY_USER to kernel = 2.6.36

2011-05-24 Thread Jan Willies
It's needed for eg watch-dir support for transmission and lots of other things.

It increases the kernel-size on kirkwood by ~2kb

Signed-off-by: Jan Willies j...@willies.info
---
 target/linux/generic/config-2.6.36 |2 +-
 target/linux/generic/config-2.6.37 |2 +-
 target/linux/generic/config-2.6.38 |2 +-
 target/linux/generic/config-2.6.39 |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/generic/config-2.6.36 
b/target/linux/generic/config-2.6.36
index 8f526ff..5146a0a 100644
--- a/target/linux/generic/config-2.6.36
+++ b/target/linux/generic/config-2.6.36
@@ -939,7 +939,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-2.6.37 
b/target/linux/generic/config-2.6.37
index 8719e52..a20b102 100644
--- a/target/linux/generic/config-2.6.37
+++ b/target/linux/generic/config-2.6.37
@@ -961,7 +961,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-2.6.38 
b/target/linux/generic/config-2.6.38
index bec0ee9..9e0faed 100644
--- a/target/linux/generic/config-2.6.38
+++ b/target/linux/generic/config-2.6.38
@@ -984,7 +984,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
diff --git a/target/linux/generic/config-2.6.39 
b/target/linux/generic/config-2.6.39
index 117e437..9285155 100644
--- a/target/linux/generic/config-2.6.39
+++ b/target/linux/generic/config-2.6.39
@@ -987,7 +987,7 @@ 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_INOTIFY_USER is not set
+CONFIG_INOTIFY_USER=y
 # CONFIG_INPUT is not set
 # CONFIG_INPUT_AD714X is not set
 # CONFIG_INPUT_ADXL34X is not set
-- 
1.7.2.5

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


Re: [OpenWrt-Devel] [PATCH] add CONFIG_INOTIFY_USER to kirkwood

2011-05-24 Thread Jan Willies
2011/5/24 Jo-Philipp Wich x...@subsignal.org

 Shouldn't this be done for all targets?


Resubmitted to match all kernel = 2.6.36. Or did you mean only to targets
where it actually makes sense, ie with USB-support or enough storage
included?

Hm, but what's with network storage, like nfs then. Inotify works there too
AFAIK. That could be a corner use-case though.


regards,

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


[OpenWrt-Devel] [PATCH] add CONFIG_INOTIFY_USER to kirkwood

2011-05-20 Thread Jan Willies
It's needed for eg watch-dir support for transmission and lots of other things.

It increases the kernel-size on kirkwood by ~2kb

Signed-off-by: Jan Willies j...@willies.info
---
 target/linux/kirkwood/config-default |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/target/linux/kirkwood/config-default 
b/target/linux/kirkwood/config-default
index d37d8ab..64e8a59 100644
--- a/target/linux/kirkwood/config-default
+++ b/target/linux/kirkwood/config-default
@@ -36,6 +36,7 @@ CONFIG_DEVPORT=y
 # CONFIG_DLCI is not set
 # CONFIG_DM9000 is not set
 CONFIG_DNOTIFY=y
+CONFIG_INOTIFY_USER=y
 CONFIG_EXT4_FS=y
 # CONFIG_FPE_FASTFPE is not set
 # CONFIG_FPE_NWFPE is not set
-- 
1.7.2.5

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


[OpenWrt-Devel] [PATCH] add LD_LIBRARY to cmake.mk

2011-05-20 Thread Jan Willies
Otherwise cmake programs try to link with host ld.so

Signed-off-by: Jan Willies j...@willies.info
---
 include/cmake.mk |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/cmake.mk b/include/cmake.mk
index 22255ac..fd8ff2d 100644
--- a/include/cmake.mk
+++ b/include/cmake.mk
@@ -45,6 +45,7 @@ define Build/Configure/Default
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=$(STAGING_DIR) \
-DCMAKE_STRIP=: \
-DCMAKE_INSTALL_PREFIX=/usr \
+   -DDL_LIBRARY=$(STAGING_DIR) \
$(CMAKE_OPTIONS) \
. \
)
-- 
1.7.2.5

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


Re: [OpenWrt-Devel] [PATCH] add LD_LIBRARY to cmake.mk

2011-05-20 Thread Jan Willies
2011/5/20 Peter Lebbing pe...@digitalbrains.com

 On 20/05/11 18:06, Jan Willies wrote:
  Otherwise cmake programs try to link with host ld.so

  + -DDL_LIBRARY=$(STAGING_DIR) \

 Typo alert? It says DL_LIBRARY not LD_LIBRARY which sounds more logical
 to me.


Nope, it really is DL_LIBRARY. My description above is wrong, should have
been dl.so
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] add missing autoload shortcut to crypto modules for btrfs

2011-05-17 Thread Jan Willies
Currently the btrfs module (and other fs modules) is loaded before other 
modules to provide early extroot compatibility. This will fail for btrfs 
however, because the dependencies crypto-core and crypto-hash are missing. This 
patch makes them available for early loading too.

Signed-off-by: Jan Willies j...@willies.info
---
 package/kernel/modules/crypto.mk |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index ab67b93..1aa5c82 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -29,7 +29,7 @@ define KernelPackage/crypto-core
CONFIG_CRYPTO_ALGAPI \
$(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
   FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
-  AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call 
crypto_name,$(mod
+  AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call 
crypto_name,$(mod))),1)
 endef
 $(eval $(call KernelPackage,crypto-core))
 
@@ -43,7 +43,7 @@ define KernelPackage/crypto-hash
   TITLE:=CryptoAPI hash support
   KCONFIG:=CONFIG_CRYPTO_HASH
   FILES:=$(LINUX_DIR)/crypto/crypto_hash.ko
-  AUTOLOAD:=$(call AutoLoad,02,crypto_hash)
+  AUTOLOAD:=$(call AutoLoad,02,crypto_hash,1)
   $(call AddDepends/crypto)
 endef
 $(eval $(call KernelPackage,crypto-hash))
-- 
1.7.2.5

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


Re: [OpenWrt-Devel] Lantiq - work on Amazon platform?

2011-04-10 Thread Jan Willies
2011/4/9 Stefan Pomaska tf_2...@gmx.net

 max.mus...@kaffeeschluerfer.com pretended :

 Thanks for you quick answer:

 [...]

 But of course I am aware that supporting more actual platforms has more
 importance and  maybe I am the only one with this rather old platform, but
 afaik there used to be some of them on the market, used e.g. by german
 freenet ...

 [...]
 No, you are not the only one with such an old platform ;)
 the Samsung SMT-G3010 has for its price (on ebay) much flash/ram.


Yup, got one myself too. I think Hauke has also one. My unit runs the old
ifxmips code, but I can't do much with it mainly due to no USB, VLAN
support.


 any success on getting the switch(adm6996) up and running with vlan
 support?
 I've got one large lan interface with 4 Ports, but without vlan support.
 Any created vlan interface transmits packets, but does not receive any
 packets.


It's currently not implemented (check the source, there's something
commented), but apparently someone has it working:
http://thread.gmane.org/gmane.comp.embedded.openwrt.devel/9246
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] ath9k: last week update broke adhoc beacons

2011-04-01 Thread Jan Willies
2011/4/2 Larry Vaden va...@texoma.net


 How besides downloading and running strings can one tell the rx
 for the files at, e.g.,
 http://downloads.openwrt.org/snapshots/trunk/ar71xx/?


packages/base-files will tell you.

http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/base-files_68-r26358_ar71xx.ipk
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] CAN interface module for the PEAK CAN systems HARDWARE

2011-03-29 Thread Jan Willies
2011/3/29 devendra.aaru devendra.a...@gmail.com

 Hello everybody,

  I compiled successfully the PEAK CAN interface module for the PCEngines
 ALIX board.
  I got the linux sources from the PEAK CAN developer website.
  I tested them using the PEAK CAN software.
  Any one interested adding this to the openwrt tree.


Please submit them as a patch.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Dockstar + Attitude Adjustment = no kmod-usb-core?

2011-03-24 Thread Jan Willies
2011/3/24 Mauricio Tavares raubvo...@gmail.com

So I am trying to install kmod-usb-uhci (or kmod-usb-ohci; I forgot
 which one is the right one for this device) in my dockstar. Since it never
 made to the stable release, I have to use the trunk, which is attitude
 adjustment.

 root@kong:~# opkg update
 Downloading
 http://downloads.openwrt.org/snapshots/trunk/kirkwood/packages/Packages.gz
 .
 Inflating
 http://downloads.openwrt.org/snapshots/trunk/kirkwood/packages/Packages.gz
 .
 Updated list of available packages in /var/opkg-lists/snapshots.
 root@kong:~# opkg install kmod-usb-ohci
 Installing kmod-usb-ohci (2.6.35.11-1) to root...
 Downloading
 http://downloads.openwrt.org/snapshots/trunk/kirkwood/packages/kmod-usb-ohci_2.6.35.11-1_kirkwood.ipk
 .
 Collected errors:
  * satisfy_dependencies_for: Cannot satisfy the following dependencies for
 kmod-usb-ohci:
  *  kmod-usb-core *
  * opkg_install_cmd: Cannot install package kmod-usb-ohci.
 root@kong:~# opkg install kmod-usb-uhci
 Installing kmod-usb-uhci (2.6.35.11-1) to root...
 Downloading
 http://downloads.openwrt.org/snapshots/trunk/kirkwood/packages/kmod-usb-uhci_2.6.35.11-1_kirkwood.ipk
 .
 Collected errors:
  * satisfy_dependencies_for: Cannot satisfy the following dependencies for
 kmod-usb-uhci:
  *  kmod-usb-core *
  * opkg_install_cmd: Cannot install package kmod-usb-uhci.
 root@kong:~#

 Ok, so we instal kmod-usb-core:

 root@kong:~# opkg install kmod-usb-core
 Unknown package 'kmod-usb-core'.
 Collected errors:
  * opkg_install_cmd: Cannot install package kmod-usb-core.
 root@kong:~#

 opkg list also tells me it knows nothing about kmod-usb-core. Am I missing
 something here?


CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_STORAGE=y
CONFIG_USB_SUPPORT=y

It's already in the kernel.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] seagate goflex support for dockstar target

2011-02-25 Thread Jan Willies
Hi Martin,

2011/2/23 Martin Mueller m...@sig21.net:
 I added support for the seagate GoFlex Net/Home to the dockstar
 target. The kernel will get slightly larger, but I think this is
 acceptable on this platform, since it has enough resources.

That's great! I guess that'd be a huge performance boost to the
Dockstar since no USB is involved anymore, if I read the product page
right.

Do you happen to know whether the GoFlex Net has the same crypto
hardware acceleration as the Dockstar
(http://wiki.openwrt.org/toh/seagate/dockstar#crypto.hardware.acceleration),
ie is it common about the Kirkwood SoCs?

 No change of the bootloader is required, but you must set the u-boot
 environment variables correctly. These mainly are mainlineLinux and
 arcNumber. mainlineLinux mut be set to yes for the u-boot to
 export the arcNumber variable to the kernel, and the arcNumber must
 be set for the kernel to correctly distinguish between a dockstar and a
 goflex.

 To flash openwrt to factory default goflex net, the following steps
 are neccessary:

 - Attach a serial console to the goflex and at the bootloader prompt
  enter the following commands:

 setenv arcNumber 3089
 setenv mainlineLinux yes
 setenv bootcmd nand read 0x640 0x10 0x40\; bootm 0x640\;
 setenv bootargs console=ttyS0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2
 saveenv

 flash kernel:
 mw 0x640 0x 0x40
 tftpboot 0x640 openwrt-kirkwood-uImage
 nand erase 0x10 0x40
 nand write.e 0x640 0x10 0x40

 flash rootfs:
 mw 0x640 0x 0x40
 tftpboot 0x640 openwrt-kirkwood-Dockstar-jffs2-128k.img
 nand erase 0x50 0xfb0
 nand write.e 0x640 0x50 0x40

 boot

It would be cool to set up a wiki page like the one for the Dockstar
(http://wiki.openwrt.org/toh/seagate/dockstar) and document the
flashing process. I'll see if I can make a rough template for that.

 --- target/linux/kirkwood/config-default        (revision 25666)
 +++ target/linux/kirkwood/config-default        (working copy)
 @@ -71,7 +71,10 @@
  # CONFIG_I2C_MV64XXX is not set
  CONFIG_INET_LRO=y
  CONFIG_INITRAMFS_SOURCE=
 -# CONFIG_IP_ADVANCED_ROUTER is not set
 +CONFIG_IP_ADVANCED_ROUTER=y
 +CONFIG_IP_MROUTE=y
 +CONFIG_IP_MULTIPLE_TABLES=y
 +CONFIG_IP_ROUTE_FWMARK=y

Why is this needed?


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


Re: [OpenWrt-Devel] [PATCH] 802.1Q VLAN support for Infineon ADM6996 switch chip

2011-01-09 Thread Jan Willies
2011/1/9 Scott Nicholas scott.nicho...@scottn.us

 On Sun, Jan 9, 2011 at 2:54 AM, Peter Lebbing pe...@digitalbrains.com
 wrote:
  Hello developers,
 
  I have written a switch driver for the Infineon ADM6996 switch chip,
 which in my
  case is in a D-Link DSL-G624T modem/router. It implements 802.1Q based
 VLAN
  support, via the swconfig interface. Other fancy features of the switch
 chip are
  not (yet) implemented.

 My machine also uses an ADM6996, but there are at least two very
 different ones. 6996F and 6996M are two which I came across. Can you
 tell me which this is for? I haven't looked at my datasheet in some
 months to recall enough to identify if this would work. But hopefully,
 eventually, this will help my target as well down the line. Thank you
 very much for your contributions.


The DSL-G624T uses an 6996M. There are also I and F Variants. However they
all seem to be very similar. I'd love to see it working on 6996I (Samsung
G3010).


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


Re: [OpenWrt-Devel] Decreasing size of jffs overlay

2010-12-17 Thread Jan Willies
2010/12/17 W. Michael Petullo m...@flyn.org

 When configuring and building an OpenWrt image, is there a supported
 means to decrease the size of the jffs overlay used with a squashfs root
 filesystem? I'd like to be able to add a little space to my squashfs
 partition and I rarely use the overlay.


Sure, just include more stuff into your image when building. Since the
jffs2-overlay is created dynamically on the first boot it will cover less
space then.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Add CMake host tool support

2010-11-18 Thread Jan Willies
2010/11/18 Bas Mevissen ab...@basmevissen.nl

 On Thu, 18 Nov 2010 13:49:46 +0100, Bas Mevissen ab...@basmevissen.nl
 wrote:
  It looks you are trying to cross compile something that needs to be
  compiled for the host. Is there something defined in your environment
  for cross compiling?

The mail escaped before being finished...

 The text

 Line: gcc -Os -pipe -march=armv5te -mtune=marvell-f -funit-at-a-time
 cmake_bootstrap_22734_test.c -o cmake_bootstrap_22734_test

 in the output you posted lets me suspect that you exported a CFLAGS
 define like

 export CFLAGS=-march=armv5te -mtune=marvell-f -funit-at-a-time

 somewhere.


This is a fresh checkout from trunk and I am trying to build for Marvell
Kirkwood ('Seagate Dockstar).

The CFLAGS from target/linux/kirkwood/Makefile are overriding include/
host-build.mk. So removing include $(INCLUDE_DIR)/target.mk from
tools/cmake/Makefile did it for me. Did you include it on purpose?
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Add CMake host tool support

2010-11-18 Thread Jan Willies
Hi Bas,

2010/11/18 Bas Mevissen ab...@basmevissen.nl

 On Thu, 18 Nov 2010 14:32:36 +0100, Jan Willies j...@willies.info
 wrote:

  The CFLAGS from target/linux/kirkwood/Makefile are
  overriding include/host-build.mk [3]. So removing include
  $(INCLUDE_DIR)/target.mk [4] from tools/cmake/Makefile did it for me.
  Did you include it on purpose?
 

 Ah, great. That is plain wrong. I just took the ccache Makefile as a
 template for cmake. So I was quite lucky that it compiled for me. Thanks
 for pointing out. I'll update my patch and check if ccache can/should do
 without target.mk too.

 Sorry for wasting your time.


Heh, no problem. Thats what's posting patches is good for :)

So, how does a packages configure section look like?

define Build/Configure
cd $(PKG_BUILD_DIR)
$(STAGING_DIR)/../host/bin/cmake .
endef

This quick'n'dirty thing results in:

if [ -f
/var/tmp/swjawill/openwrt-dockstar/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/weechat-0.3.3/./configure
]; then /var/tmp/swjawill/openwrt-dockstar/staging_dir/host/bin/sed -i -e
's,\(gentoo\|pardus\)_ltmain_version=.*,\1_ltmain_version=$\1_lt_version,'
/var/tmp/swjawill/openwrt-dockstar/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/weechat-0.3.3/./configure;
fi
cd
/var/tmp/swjawill/openwrt-dockstar/build_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/weechat-0.3.3
/var/tmp/swjawill/openwrt-dockstar/staging_dir/target-arm_v5te_uClibc-0.9.30.1_eabi/../host/bin/cmake
.
CMake Error: The source directory
/var/tmp/swjawill/openwrt-dockstar/feeds/packages/net/weechat does not
appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

$(STAGING_DIR)/../host/bin/cmake $(PKG_BUILD_DIR) works, but puts the
stuff in feeds/packages/net/weechat which is completely wrong.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] was Re: WGT634U busted in trunk since mid-July

2010-11-09 Thread Jan Willies
2010/11/8 Russell Senior seni...@aracnet.com

  Jan == Jan Willies j...@willies.info writes:
 Jan Any chance of resolving this and then move the target to 2.6.36?
 Jan It seems to be running smooth so long.

 Those have been there for quite a while, actually.  If you remove:

  /etc/modules.d/50-usb-ohci

 the messages go away.  I speculated it was something to do with
 unpopulated low-speed USB stuff on the CPU, that the module is trying
 to detect devices on and failing.  I agree the messages are annoying,
 but afaict they seem to be otherwise harmless.


Indeed, thanks.

If OHCI isn't needed anymore, maybe it should be removed from
target/linux/brcm47xx/profiles/WGT634U.mk
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Seeing backtrace on boot in ioremap_caller

2010-10-10 Thread Jan Willies
2010/10/10 Jan Willies j...@willies.info

 2010/10/9 Philip Prindeville philipp_s...@redfish-solutions.com

  I'm seeing the following when booting:

 [ cut here ]
 WARNING: at arch/x86/mm/ioremap.c:148 __ioremap_caller+0xcc/0x2b0()
 Modules linked in:
 Pid: 1, comm: swapper Not tainted 2.6.32.24 #1
 Call Trace:
  [c1022680] ? warn_slowpath_common+0x60/0x90
  [c101985c] ? __ioremap_caller+0xcc/0x2b0
  [c10226c3] ? warn_slowpath_null+0x13/0x20
  [c101985c] ? __ioremap_caller+0xcc/0x2b0
  [c12a0bd8] ? crashlog_init_fs+0x0/0x9a
  [c1019b44] ? ioremap_nocache+0x14/0x20
  [c12a0bfa] ? crashlog_init_fs+0x22/0x9a
  [c12a0bfa] ? crashlog_init_fs+0x22/0x9a
  [c12a0bd5] ? utsname_sysctl_init+0xa/0xd
  [c100105a] ? do_one_initcall+0x5a/0x170
  [c1292230] ? kernel_init+0x84/0xd7
  [c12921ac] ? kernel_init+0x0/0xd7
  [c10032b3] ? kernel_thread_helper+0x7/0x14
 ---[ end trace a7919e7f17c0a725 ]---


 Same here, a bump to 2.6.35/36 for x86 would be nice. Maybe that fixes the
 issue.


Nope, same problem with 2.6.36-rc7. It has something to do with crashlog
being enabled.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Seeing backtrace on boot in ioremap_caller

2010-10-09 Thread Jan Willies
2010/10/9 Philip Prindeville philipp_s...@redfish-solutions.com

  I'm seeing the following when booting:

 [ cut here ]
 WARNING: at arch/x86/mm/ioremap.c:148 __ioremap_caller+0xcc/0x2b0()
 Modules linked in:
 Pid: 1, comm: swapper Not tainted 2.6.32.24 #1
 Call Trace:
  [c1022680] ? warn_slowpath_common+0x60/0x90
  [c101985c] ? __ioremap_caller+0xcc/0x2b0
  [c10226c3] ? warn_slowpath_null+0x13/0x20
  [c101985c] ? __ioremap_caller+0xcc/0x2b0
  [c12a0bd8] ? crashlog_init_fs+0x0/0x9a
  [c1019b44] ? ioremap_nocache+0x14/0x20
  [c12a0bfa] ? crashlog_init_fs+0x22/0x9a
  [c12a0bfa] ? crashlog_init_fs+0x22/0x9a
  [c12a0bd5] ? utsname_sysctl_init+0xa/0xd
  [c100105a] ? do_one_initcall+0x5a/0x170
  [c1292230] ? kernel_init+0x84/0xd7
  [c12921ac] ? kernel_init+0x0/0xd7
  [c10032b3] ? kernel_thread_helper+0x7/0x14
 ---[ end trace a7919e7f17c0a725 ]---


Same here, a bump to 2.6.35/36 for x86 would be nice. Maybe that fixes the
issue.


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


[OpenWrt-Devel] [PATCH 1/3] add kmod-crypto-mv_cesa to Seagate Dockstar default profile

2010-10-02 Thread Jan Willies
---
 target/linux/kirkwood/profiles/200-Dockstar.mk |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target/linux/kirkwood/profiles/200-Dockstar.mk 
b/target/linux/kirkwood/profiles/200-Dockstar.mk
index 5b5d9cb..391b806 100644
--- a/target/linux/kirkwood/profiles/200-Dockstar.mk
+++ b/target/linux/kirkwood/profiles/200-Dockstar.mk
@@ -7,7 +7,7 @@
 
 define Profile/Dockstar
   NAME:=Seagate Dockstar
-  PACKAGES:=
+  PACKAGES:=kmod-crypto-core kmod-crypto-mv_cesa
 endef
 
 define Profile/Dockstar/Description
-- 
1.7.1

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


[OpenWrt-Devel] [PATCH 2/3] move CONFIG_CRYPTO_HW to crypto-core

2010-10-02 Thread Jan Willies
Moved CONFIG_CRYPTO_HW because it only opens the submenu for hw-crypto devices. 
It
doesn't generate any overhead and is needed for several things.

---
 package/kernel/modules/crypto.mk |   11 +--
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 3be3afd..27cbf47 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -41,7 +41,11 @@ crypto_name=$(if $(findstring y,$($(call 
crypto_confvar,$(1,,$(word 2,$(subs
 define KernelPackage/crypto-core
   SUBMENU:=$(CRYPTO_MENU)
   TITLE:=Core CryptoAPI modules
-  KCONFIG:=CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC $(foreach 
mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
+  KCONFIG:= \
+   CONFIG_CRYPTO=y \
+   CONFIG_CRYPTO_HW=y \
+   CONFIG_CRYPTO_HMAC \
+   $(foreach mod,$(CRYPTO_MODULES),$(call crypto_confvar,$(mod)))
   FILES:=$(foreach mod,$(CRYPTO_MODULES),$(call crypto_file,$(mod)))
   AUTOLOAD:=$(call AutoLoad,01,$(foreach mod,$(CRYPTO_MODULES),$(call 
crypto_name,$(mod
 endef
@@ -64,7 +68,6 @@ define KernelPackage/crypto-hw-padlock
   TITLE:=VIA PadLock ACE with AES/SHA hw crypto module
   DEPENDS:=+kmod-crypto-aes
   KCONFIG:= \
-   CONFIG_CRYPTO_HW=y \
CONFIG_CRYPTO_DEV_PADLOCK \
CONFIG_CRYPTO_DEV_PADLOCK_AES \
CONFIG_CRYPTO_DEV_PADLOCK_SHA
@@ -81,7 +84,6 @@ $(eval $(call KernelPackage,crypto-hw-padlock))
 define KernelPackage/crypto-hw-geode
   TITLE:=AMD Geode hardware crypto module
   KCONFIG:= \
-   CONFIG_CRYPTO_HW=y \
CONFIG_CRYPTO_DEV_GEODE
   FILES:=$(LINUX_DIR)/drivers/crypto/geode-aes.ko
   AUTOLOAD:=$(call AutoLoad,09,geode-aes)
@@ -95,7 +97,6 @@ define KernelPackage/crypto-hw-hifn-795x
   TITLE:=HIFN 795x crypto accelerator
   DEPENDS:=...@!target_ubicom32
   KCONFIG:= \
-   CONFIG_CRYPTO_HW=y \
CONFIG_HW_RANDOM=y \
CONFIG_CRYPTO_DEV_HIFN_795X \
CONFIG_CRYPTO_DEV_HIFN_795X_RNG=y
@@ -111,7 +112,6 @@ define KernelPackage/crypto-hw-ixp4xx
   TITLE:=Intel IXP4xx hardware crypto module
   DEPENDS:=...@target_ixp4xx
   KCONFIG:= \
-   CONFIG_CRYPTO_HW=y \
CONFIG_CRYPTO_DEV_IXP4XX
   FILES:=$(LINUX_DIR)/drivers/crypto/ixp4xx_crypto.ko
   AUTOLOAD:=$(call AutoLoad,90,ixp4xx_crypto)
@@ -129,7 +129,6 @@ define KernelPackage/crypto-hw-ppc4xx
   TITLE:=AMCC PPC4xx hardware crypto module
   DEPENDS:=...@target_ppc40x||TARGET_ppc44x
   KCONFIG:= \
-   CONFIG_CRYPTO_HW=y \
CONFIG_CRYPTO_DEV_PPC4XX
   FILES:=$(LINUX_DIR)/drivers/crypto/amcc/crypto4xx.ko
   AUTOLOAD:=$(call AutoLoad,90,crypto4xx)
-- 
1.7.1

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


[OpenWrt-Devel] [PATCH 3/3] add jffs2 to Seagate Dockstar default images

2010-10-02 Thread Jan Willies
---
 target/linux/kirkwood/Makefile |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target/linux/kirkwood/Makefile b/target/linux/kirkwood/Makefile
index f227423..b1aa1dd 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
+FEATURES:=targz jffs2 usb
 
 LINUX_VERSION:=2.6.35.4
 
-- 
1.7.1

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


[OpenWrt-Devel] [PATCH] add XTS cipher CryptoAPI module

2010-08-16 Thread Jan Willies
needed for proper dm-crypt support

Signed-off-by: Jan Willies j...@willies.info
---
 package/kernel/modules/crypto.mk |   17 +
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index fa2ddbc..421e37f 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -356,3 +356,20 @@ endef
 
 $(eval $(call KernelPackage,crypto-test))
 
+
+define KernelPackage/crypto-xts
+  TITLE:=XTS cipher CryptoAPI module
+  KCONFIG:= \
+   CONFIG_CRYPTO_GF128MUL \
+   CONFIG_CRYPTO_XTS
+  FILES:= \
+   $(LINUX_DIR)/crypto/xts.ko \
+   $(LINUX_DIR)/crypto/gf128mul.ko
+  AUTOLOAD:=$(call AutoLoad,09, \
+   gf128mul \
+   xts \
+  )
+  $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-xts))
-- 
1.7.1

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


[OpenWrt-Devel] [PATCH] add dm-crypt and fix tabs

2010-08-16 Thread Jan Willies

Signed-off-by: Jan Willies j...@willies.info
---
 package/kernel/modules/block.mk |   26 +-
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index 638ffd3..8af67b3 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -178,20 +178,20 @@ define KernelPackage/dm
   # to stop the config from asking the question.
   # MIRROR is M because I've needed it for pvmove.
   KCONFIG:= \
-   CONFIG_BLK_DEV_MD=n \
-   CONFIG_DM_DEBUG=n \
-   CONFIG_DM_CRYPT=n \
-   CONFIG_DM_UEVENT=n \
-   CONFIG_DM_DELAY=n \
-   CONFIG_DM_MULTIPATH=n \
-   CONFIG_DM_ZERO=n \
-   CONFIG_DM_SNAPSHOT=n \
-   CONFIG_DM_LOG_USERSPACE=n \
-   CONFIG_MD=y \
-   CONFIG_BLK_DEV_DM \
-   CONFIG_DM_MIRROR
+   CONFIG_BLK_DEV_MD=n \
+   CONFIG_DM_DEBUG=n \
+   CONFIG_DM_UEVENT=n \
+   CONFIG_DM_DELAY=n \
+   CONFIG_DM_MULTIPATH=n \
+   CONFIG_DM_ZERO=n \
+   CONFIG_DM_SNAPSHOT=n \
+   CONFIG_DM_LOG_USERSPACE=n \
+   CONFIG_MD=y \
+   CONFIG_BLK_DEV_DM \
+   CONFIG_DM_CRYPT \
+   CONFIG_DM_MIRROR
   FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
-  AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror)
+  AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
 endef
 
 define KernelPackage/dm/description
-- 
1.7.1

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


Re: [OpenWrt-Devel] Backfire 10.03 Released

2010-04-07 Thread Jan Willies
Hi Luca,

2010/4/7 Luca Olivetti l...@ventoso.org

 En/na Nico ha escrit:


  * Infineon Danube/TwinPass with open DSL  VoIP drivers (ifxmips)


 Where can I find more information about ifxmips?
 (Both a wiki search and a google search for ifxmips came up empty handed).
 Specifically I'd like to know the status of the dsl and voip drivers and
 how to load it on my arcadyan router (smc-7908-isp).

 https://lists.openwrt.org/pipermail/openwrt-devel/2009-June/004427.html


Recently blogic merged some VoIP stuff for ifxmips, maybe there's something
in for you. See here:
http://nbd.name/gitweb.cgi?p=backfire.git;a=commit;h=664dbf6de87a76c290a08d3b9eb71c49085ccf6c


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


Re: [OpenWrt-Devel] Status of the amazon port (Samsung GMT-3210)

2009-12-07 Thread Jan Willies

Hi Felix,

Am 07.12.2009 20:52, schrieb Felix Braun:

is there any information available on the status of the Infinion amazon
port? I'm eager to try it on an Samsung 3210, which is based on this
design.


I have latest trunk running on my Samsung 3210, kernel-2.6.30.
However, vlan support would be nice to use the device as a router. There
is some stuff in target/linux/amazon/files/drivers/net/admmod.c but I'm
not sure how to make use of it.


What about DSL? Is it supported?


Nope.


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


Re: [OpenWrt-Devel] building trunk stuck at scripts/kconfig/conf trying to read from stdin

2009-11-22 Thread Jan Willies

Hi Timo,

Am 22.11.2009 12:11, schrieb Timo Juhani Lindfors:

and strace -p ... confirmed that the last process was blocked in
reading from stdin. After I hit enter the build continued -- is this a
bug in the build scripts?


Probably something missing in the kernels .config. A 'make V=99' would 
have showed it.



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


Re: [OpenWrt-Devel] Mercurial or Git repository for OpenWrt?

2009-08-06 Thread Jan Willies

Hi Mitar,

Am 06.08.2009 23:40, schrieb Mitar:

Or at least if there would be a Mercurial/Git read-only repository
which would be kept in sync with SVN repository so that changes could
be pulled from it.


from https://dev.openwrt.org/wiki/GetSource:

If you prefer working with git, it is possible to use:

*  git://nbd.name/openwrt.git (clone of trunk)
*  git://nbd.name/packages.git (clone of packages)


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


Re: [OpenWrt-Devel] SpeedportW701V - (TI AR7 [2.6]) Problem with patch

2009-02-25 Thread Jan Willies
Am Mittwoch, den 25.02.2009, 13:56 +0100 schrieb Thomas Schäfer:
 Am Mittwoch 25 Februar 2009 schrieb Jan Willies:
  Hi Thomas,
 
  Please apply the patch manually. It's only a few lines and the email
  seems to have b0rked it.
 
 
 Therefore I should understand what the patch does, but I don't, sorry. 
 I loaded  the patch from the link inside the wiki:
 
 http://article.gmane.org/gmane.comp.embedded.openwrt.devel/1688

Yes, it's b0rked.

 patching file Makefile
 Hunk #1 FAILED at 52.
 patch:  malformed patch at line 31: $(KDIR)/linux-*/vmlinux | grep 
 kernel_entry | cut -d' ' -f1} $(KDIR)/vmlinux.lzma $(KDIR)/loader.eva

This is where the email should have no line break. It's supposed to be
appended to the +line above.

 I think there is no email problem. The problem is in my head, in the patch or 
 in the trunk.
 
 May be you have an further idea.

Like I said, change the file manually. Open
target/linux/ar7/image/Makefile in your editor and add the lines with +
and remove the lines with -. 


HTH

 - jan

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] (no subject)

2009-02-17 Thread Jan Willies
Index: sound/mpc/patches/01-uclibc.patch
===
--- sound/mpc/patches/01-uclibc.patch   (Revision 0)
+++ sound/mpc/patches/01-uclibc.patch   (Revision 0)
@@ -0,0 +1,15 @@
+Index: mpc-0.15/src/main.c
+===
+--- mpc-0.15.orig/src/main.c
 mpc-0.15/src/main.c
+@@ -190,7 +190,9 @@ static mpd_Connection * setup_connection
+ static struct command *
+ find_command(const char *name)
+ {
+-  for (unsigned i = 0; mpc_table[i].command != NULL; ++i)
++  unsigned i = 0;
++
++  for (i = 0; mpc_table[i].command != NULL; ++i)
+   if (strcmp(name, mpc_table[i].command) == 0)
+   return mpc_table[i];
+ 
Index: sound/mpc/Makefile
===
--- sound/mpc/Makefile  (Revision 14534)
+++ sound/mpc/Makefile  (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpc
-PKG_VERSION:=0.14
+PKG_VERSION:=0.15
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=...@sf/musicpd
-PKG_MD5SUM:=f4218602342cf322872a41dfe0cc72e1
+PKG_MD5SUM:=48897aeb3a7ee5c64f30e56789f105a8
 
 include $(INCLUDE_DIR)/package.mk
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] update mpc to 0.15 and fix compilaton

2009-02-17 Thread Jan Willies
Index: sound/mpc/patches/01-uclibc.patch
===
--- sound/mpc/patches/01-uclibc.patch   (Revision 0)
+++ sound/mpc/patches/01-uclibc.patch   (Revision 0)
@@ -0,0 +1,15 @@
+Index: mpc-0.15/src/main.c
+===
+--- mpc-0.15.orig/src/main.c
 mpc-0.15/src/main.c
+@@ -190,7 +190,9 @@ static mpd_Connection * setup_connection
+ static struct command *
+ find_command(const char *name)
+ {
+-  for (unsigned i = 0; mpc_table[i].command != NULL; ++i)
++  unsigned i = 0;
++
++  for (i = 0; mpc_table[i].command != NULL; ++i)
+   if (strcmp(name, mpc_table[i].command) == 0)
+   return mpc_table[i];
+ 
Index: sound/mpc/Makefile
===
--- sound/mpc/Makefile  (Revision 14534)
+++ sound/mpc/Makefile  (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpc
-PKG_VERSION:=0.14
+PKG_VERSION:=0.15
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=...@sf/musicpd
-PKG_MD5SUM:=f4218602342cf322872a41dfe0cc72e1
+PKG_MD5SUM:=48897aeb3a7ee5c64f30e56789f105a8
 
 include $(INCLUDE_DIR)/package.mk
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] update mpd to 0.14.2 and bump release

2009-02-17 Thread Jan Willies
Index: sound/mpd/Makefile
===
--- sound/mpd/Makefile  (Revision 14534)
+++ sound/mpd/Makefile  (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpd
-PKG_VERSION:=0.14
-PKG_RELEASE:=1
+PKG_VERSION:=0.14.2
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=...@sf/musicpd
-PKG_MD5SUM:=ee282390146ead636f3d992399ed3c20
+PKG_MD5SUM:=66817a4b4c05454e6488f6b821f2a6a3
 
 include $(INCLUDE_DIR)/package.mk
 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH v2] update mpc to 0.15 and fix compilaton

2009-02-17 Thread Jan Willies
changes since v1:
fix compilation the proper way

Signed-off-by: Jan Willies j...@willies.info

===
--- sound/mpc/Makefile  (Revision 14534)
+++ sound/mpc/Makefile  (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpc
-PKG_VERSION:=0.14
+PKG_VERSION:=0.15
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=...@sf/musicpd
-PKG_MD5SUM:=f4218602342cf322872a41dfe0cc72e1
+PKG_MD5SUM:=48897aeb3a7ee5c64f30e56789f105a8
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -40,6 +40,7 @@
 
 define Build/Compile
 $(call Build/Compile/Default,\
+   CFLAGS=$(TARGET_CFLAGS) -std=gnu99 \
prefix=/usr \
all \
 )
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] update mpc to 0.15 and fix compilaton

2009-02-17 Thread Jan Willies
hey michu and list,

Thanks for updating the packages.Sorry for the patch-v2-confusion, but I
think you forgot to svn delete sound/mpc/patches, because
001-uclibc.patch is not needed anymore.

I'm however hunting down a real nasty bug in uclibc or somewhere, which
has something to do with threading behaving really weird :/
Have you noticed something with latest trunk and mpd or scmpc? On my x86
machine they don't work when sent into the background. I have to kill
-32 (RTMIN) the lowest PID, after that it works.

strace: http://pastebin.com/m62495427

I'm currently building a kernel with ELF_CORE and try to get a corefile
for better debugging, but I really have no clue :S

When started in the foreground, mpd/scmpc work just fine.


cheers

- jan


Am Dienstag, den 17.02.2009, 19:53 +0100 schrieb Jan Willies:
 changes since v1:
 fix compilation the proper way
 
 Signed-off-by: Jan Willies j...@willies.info
 
 ===
 --- sound/mpc/Makefile(Revision 14534)
 +++ sound/mpc/Makefile(Arbeitskopie)
 @@ -9,12 +9,12 @@
  include $(TOPDIR)/rules.mk
  
  PKG_NAME:=mpc
 -PKG_VERSION:=0.14
 +PKG_VERSION:=0.15
  PKG_RELEASE:=1
  
  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  PKG_SOURCE_URL:=...@sf/musicpd
 -PKG_MD5SUM:=f4218602342cf322872a41dfe0cc72e1
 +PKG_MD5SUM:=48897aeb3a7ee5c64f30e56789f105a8
  
  include $(INCLUDE_DIR)/package.mk
  
 @@ -40,6 +40,7 @@
  
  define Build/Compile
  $(call Build/Compile/Default,\
 + CFLAGS=$(TARGET_CFLAGS) -std=gnu99 \
   prefix=/usr \
   all \
  )
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] update p54 firmware and fix mac80211 dependancy

2009-02-14 Thread Jan Willies

Signed-off-by: Jan Willies j...@willies.info
---
 package/mac80211/Makefile |   31 ++-
 1 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index c5a4bfd..723fb2a 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -53,14 +53,22 @@ Linux 802.11 Wireless Networking Stack
 endef
 
 # Prism54 drivers
-P54FW:=2.7.0.0.arm
+P54PCIFW:=2.13.12.0.arm
+P54USBFW:=2.13.24.0.lm86.arm
 
-define Download/p54
-  FILE:=$(P54FW)
-  URL:=http://prism54.org/firmware
-  MD5SUM:=09f9da7ea757173c9de1a0322a1f9782
+define Download/p54usb
+  FILE:=$(P54USBFW)
+  URL:=http://daemonizer.de/prism54/prism54-fw/fw-usb
+  MD5SUM:=2e847782bb36d5b0863db8b2f12c2228
 endef
-$(eval $(call Download,p54))
+$(eval $(call Download,p54usb))
+
+define Download/p54pci
+  FILE:=$(P54PCIFW)
+  URL:=http://daemonizer.de/prism54/prism54-fw/fw-softmac
+  MD5SUM:=ff7536af2092b1c4b21315bd103ef4c4
+endef
+$(eval $(call Download,p54pci))
 
 define KernelPackage/p54/Default
   $(call KernelPackage/mac80211/Default)
@@ -73,7 +81,7 @@ endef
 
 define KernelPackage/p54-common
   $(call KernelPackage/p54/Default)
-  DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT
+  DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT +kmod-mac80211
   TITLE+= (COMMON)
   
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54common.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,30,p54common)
@@ -395,9 +403,14 @@ define KernelPackage/mac80211/install
$(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
 endef
 
-define KernelPackage/p54-common/install
+define KernelPackage/p54-pci/install
+   $(INSTALL_DIR) $(1)/lib/firmware
+   $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
+endef
+
+define KernelPackage/p54-usb/install
$(INSTALL_DIR) $(1)/lib/firmware
-   $(INSTALL_DATA) $(DL_DIR)/$(P54FW) $(1)/lib/firmware/isl3886
+   $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3886usb
 endef
 
 define KernelPackage/rt61-pci/install
-- 
1.6.1.3

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] update acx-mac80211

2008-08-06 Thread Jan Willies
Still crashes on my 1350 (Speedport W701V) but might help others

Signed-off-by: Jan Willies [EMAIL PROTECTED]
---
 package/acx-mac80211/Makefile  |9 +--
 package/acx-mac80211/patches/001-build_module.diff |   22 ++--
 2 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/package/acx-mac80211/Makefile b/package/acx-mac80211/Makefile
index 10865ab..2fcf3a6 100644
--- a/package/acx-mac80211/Makefile
+++ b/package/acx-mac80211/Makefile
@@ -10,12 +10,15 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=acx-mac80211
-PKG_VERSION:=20080210
+PKG_REV:=11edba2
+PKG_VERSION:=20080805
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:[EMAIL PROTECTED]/acx100
-PKG_MD5SUM:=d1c38b3ff24ce9162eb678298763ec88
+PKG_SOURCE_URL:=git://gitorious.org/acx-mac80211/mainline.git
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_VERSION:=$(PKG_REV)
 
 PKG_FW_C16_NAME:=tiacx111c16
 PKG_FW_C16_URL:=http://teknoraver.net/software/acx-mac80211/
diff --git a/package/acx-mac80211/patches/001-build_module.diff 
b/package/acx-mac80211/patches/001-build_module.diff
index 3c1fcda..38dd590 100644
--- a/package/acx-mac80211/patches/001-build_module.diff
+++ b/package/acx-mac80211/patches/001-build_module.diff
@@ -1,11 +1,11 @@
 acx-mac80211-20070610/Makefile 2007-06-10 20:23:27.0 +0200
-+++ acx-mac80211-20070610//Makefile2007-07-23 17:00:34.0 +0200
-@@ -4,7 +4,7 @@
- acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o
- 
- #acx-mac80211-objs := wlan.o conv.o ioctl.o common.o $(acx-mac80211-obj-y)
--acx-mac80211-objs :=  common.o $(acx-mac80211-obj-y)
-+acx-mac80211-objs :=  common.o $(acx-mac80211-obj-m)
- 
- # Use this if you have proper Kconfig integration:
- 
+--- acx-mac80211-20080802/Makefile 2008-08-02 17:34:09.0 +0200
 acx-mac80211-20080802-b/Makefile   2008-08-04 22:24:25.0 +0200
+@@ -28,7 +28,7 @@
+   obj-$(CONFIG_ACX_MAC80211) += acx-mac80211.o
+   acx-mac80211-obj-$(CONFIG_ACX_MAC80211_PCI) += pci.o
+   acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o
+-  acx-mac80211-objs := common.o $(acx-mac80211-obj-y)
++  acx-mac80211-objs := common.o $(acx-mac80211-obj-m)
+ else
+ # Otherwise we were called directly from the command line: the the kernel 
build
+ # system must be explicitly invoked.
-- 
1.5.6.4

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Minimal build of OpenWRT

2008-07-15 Thread Jan Willies
Steven Van Ingelgem wrote:
 What packages are minimally needed to make an OpenWRT run?
 In kamikaze there was a minimum release, but in the current SVN
 version it doesn't look that way anymore?
 - bridge-utils
 - wireless-tools
 - broadcom-wl
 - dnsmasq
 - dropbear
 - iptables

^- not strictly needed

 /- libpcap/
 /- linux-atm/
 /- ppp/
 /- switch/
 /- lua/
 /- uci/

Well, you certainly want a switch.. Not so sure about uci either.

You can tweak the busybox config also a bit.


- Jan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [rfc] Kernel sources download strategy

2008-07-03 Thread Jan Willies
Luigi 'Comio' Mantellini wrote:
 On gio, 2008-07-03 at 12:59 +0200, Michael Buesch wrote:
 On Thursday 03 July 2008 11:01:17 Luigi 'Comio' Mantellini wrote:
 Hi All,


 I know that what I say usually is ignored :D But I like to flood this ml
 with stupid(?) ideas.

 The actual OpenWRT considers kernels 2.6.X.Y and 2.6.X.(Y+1) as a very
 different kernels downloading the full sources for both. I think that
 this is not a good approach because this is time and band expensive.

 An idea should be to download the full sources 2.6.X kernels and just
 the patches 2.6.X.1, 2.6.X.2, ... 2.6.X.Y to cover the kernels with
 version like 2.6.X.Y. The result will be a gain in terms of band and
 time utilization.

 I think that to achieve this the download perl and make scripts should
 be made more smart than actual versions

 These optimizations should be applied also to gcc and uclibc and any
 other package that provides diff between versions. 
   
 Thanks a lot for your comments.

 -ENOPATCH ?


 
 I don't understand. What do you mean?

He thinks it's a good idea and likes to see a patch :)


- Jan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Kamikaze release 7.09 - which svn revision?

2008-06-21 Thread Jan Willies
Luigi 'Comio' Mantellini wrote:
 minimize the impact on my system I need to know which is the exact SVN
 revision used to deploy the Kamikaze 7.09 released in 30 Sept. 2007

https://dev.openwrt.org/log/tags/kamikaze_7.09/?mode=follow_copy

Quote:
@8679   [8679] 09/07/07 22:37:23   nbd add 
tags/kamikaze_7.09 (copy of 7.07, will contain bugfix backports from trunk)


- Jan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] bluez-utils

2008-01-21 Thread Jan Willies
[EMAIL PROTECTED] wrote:
 perhaps i could split the package up and remove the hciconfig binary to
 a seperate package - the binary is 100k uncompressed and the bluez util
 would shrink to 210kb. what do you think?

I've blue-{libs,utils}-3.20 patches laying around for some time and noticed the 
increase in filesize too. I therefore renamed them to bluez-libs3/bluez-utils3.


- Jan
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel