Re: [OpenWrt-Devel] Fwd: hub-ctrl

2014-03-30 Thread Guillaume LECERF
Hi,

2014-03-30 21:13 GMT+02:00 Bastian Bittorf bitt...@bluebottle.com:
 * probono prob...@ghs.l.google.com [30.03.2014 21:01]:
  Add hub-ctrl app to switch off/on power to ports which support it on a
  USB host/hub
 
  http://trac.gateworks.com/export/216/openwrt/trunk/packages/hub-ctrl/Makefile

 I have 2 USB-hubs which are working with this tool.
 I will make a proper patch and send to the ML.

For the hackers around, here is an interesting reading:

http://befinitiv.wordpress.com/2014/02/02/hacking-per-port-power-switching-to-an-usb-hub-2/


-- 
Guillaume LECERF
OpenBricks developer - www.openbricks.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [OpenWrt-Commits] r24313 - in trunk/target/linux/generic: patches-2.6.35 patches-2.6.36 patches-2.6.37

2010-12-07 Thread Guillaume LECERF
2010/12/7  openwrt-comm...@openwrt.org:
 Author: cshore
 Date: 2010-12-07 20:45:08 +0100 (Tue, 07 Dec 2010)
 New Revision: 24313

 Added:
   
 trunk/target/linux/generic/patches-2.6.35/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch
   
 trunk/target/linux/generic/patches-2.6.36/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch
   
 trunk/target/linux/generic/patches-2.6.37/091-mtd-alice-gate-add-mx29lv640t-chip-support.patch
 Log:
 [generic] flash_chips: Added Macronix MX29LV640T Flash Chip support 
 previously mistakenly added to brcm63xx.  Thanks blunoise.

Hi.
Why isn't this chip recognized by CFI ?
Could we have a look at a kernel log ?

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] Remove obsolete patches

2010-11-12 Thread Guillaume LECERF
Signed-off-by: Guillaume LECERF glec...@gmail.com
---
 .../014-cfi_show_amd_extended_table_version.patch  |   30 
 .../014-cfi_show_amd_extended_table_version.patch  |   30 
 2 files changed, 0 insertions(+), 60 deletions(-)
 delete mode 100644 
target/linux/generic/patches-2.6.36/014-cfi_show_amd_extended_table_version.patch
 delete mode 100644 
target/linux/generic/patches-2.6.37/014-cfi_show_amd_extended_table_version.patch

diff --git 
a/target/linux/generic/patches-2.6.36/014-cfi_show_amd_extended_table_version.patch
 
b/target/linux/generic/patches-2.6.36/014-cfi_show_amd_extended_table_version.patch
deleted file mode 100644
index 55a6c2e..000
--- 
a/target/linux/generic/patches-2.6.36/014-cfi_show_amd_extended_table_version.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/drivers/mtd/chips/cfi_cmdset_0002.c
-+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
-@@ -371,6 +371,8 @@ static struct cfi_fixup fixup_table[] =
- static void cfi_fixup_major_minor(struct cfi_private *cfi,
- struct cfi_pri_amdstd *extp)
- {
-+  // manufacturers defined in include/linux/mtd/cfi.h
-+
-   if (cfi-mfr == CFI_MFR_SAMSUNG  cfi-id == 0x257e 
-   extp-MajorVersion == '0')
-   extp-MajorVersion = '1';
-@@ -403,6 +405,9 @@ struct mtd_info *cfi_cmdset_0002(struct
- 
-   mtd-reboot_notifier.notifier_call = cfi_amdstd_reboot;
- 
-+  printk( CFI mfr 0x%08x\n, cfi-mfr);  // TODO: Is there a more 
general place to print this info?
-+  printk( CFI id  0x%08x\n, cfi-id);
-+
-   if (cfi-cfi_mode==CFI_MODE_CFI){
-   unsigned char bootloc;
-   __u16 adr = primary?cfi-cfiq-P_ADR:cfi-cfiq-A_ADR;
-@@ -420,7 +425,7 @@ struct mtd_info *cfi_cmdset_0002(struct
-* Valid primary extension versions are: 1.0, 1.1, 1.2, 
1.3, 1.4
-* see: 
http://www.amd.com/us-en/assets/content_type/DownloadableAssets/cfi_r20.pdf, 
page 19
-*  
http://www.amd.com/us-en/assets/content_type/DownloadableAssets/cfi_100_20011201.pdf
--   *  
http://www.spansion.com/Support/Datasheets/s29ws-p_00_a12_e.pdf
-+   *  
http://www.spansion.com/Support/AppNotes/CFI_Spec_AN_03.pdf
-*/
-   if (extp-MajorVersion != '1' ||
-   (extp-MajorVersion == '1'  (extp-MinorVersion  
'0' || extp-MinorVersion  '4'))) {
diff --git 
a/target/linux/generic/patches-2.6.37/014-cfi_show_amd_extended_table_version.patch
 
b/target/linux/generic/patches-2.6.37/014-cfi_show_amd_extended_table_version.patch
deleted file mode 100644
index 6da34f7..000
--- 
a/target/linux/generic/patches-2.6.37/014-cfi_show_amd_extended_table_version.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/drivers/mtd/chips/cfi_cmdset_0002.c
-+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
-@@ -392,6 +392,8 @@ static struct cfi_fixup fixup_table[] =
- static void cfi_fixup_major_minor(struct cfi_private *cfi,
- struct cfi_pri_amdstd *extp)
- {
-+  // manufacturers defined in include/linux/mtd/cfi.h
-+
-   if (cfi-mfr == CFI_MFR_SAMSUNG  cfi-id == 0x257e 
-   extp-MajorVersion == '0')
-   extp-MajorVersion = '1';
-@@ -431,6 +433,9 @@ struct mtd_info *cfi_cmdset_0002(struct
- 
-   mtd-reboot_notifier.notifier_call = cfi_amdstd_reboot;
- 
-+  printk( CFI mfr 0x%08x\n, cfi-mfr);  // TODO: Is there a more 
general place to print this info?
-+  printk( CFI id  0x%08x\n, cfi-id);
-+
-   if (cfi-cfi_mode==CFI_MODE_CFI){
-   unsigned char bootloc;
-   __u16 adr = primary?cfi-cfiq-P_ADR:cfi-cfiq-A_ADR;
-@@ -448,7 +453,7 @@ struct mtd_info *cfi_cmdset_0002(struct
-* Valid primary extension versions are: 1.0, 1.1, 1.2, 
1.3, 1.4
-* see: 
http://cs.ozerki.net/zap/pub/axim-x5/docs/cfi_r20.pdf, page 19 
-*  
http://www.spansion.com/Support/AppNotes/cfi_100_20011201.pdf
--   *  
http://www.spansion.com/Support/Datasheets/s29ws-p_00_a12_e.pdf
-+   *  
http://www.spansion.com/Support/AppNotes/CFI_Spec_AN_03.pdf
-*/
-   if (extp-MajorVersion != '1' ||
-   (extp-MajorVersion == '1'  (extp-MinorVersion  
'0' || extp-MinorVersion  '4'))) {

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


Re: [OpenWrt-Devel] [PATCH] Remove obsolete patches

2010-11-12 Thread Guillaume LECERF
2010/11/12 Matthias Buecher / Germany m...@maddes.net:
 Generic 014 is also something I'm currently working on, and it is not
 really obsolete.
 The printk() definitely helps to identify hardware, especially not
 supported one.
 The other changes help developers to find the correct spots for
 enhancements.

 You may remove the blocks with the comments, but the prints should be
 left in.

I already pushed the printk upstream, at a more generic place, i.e. in
cfi_probe.c :: cfi_chip_setup() :

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.36.y.git;a=commitdiff;h=771a115a6df06c45cf783e24c3f1f08b3e9aac4c

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mtd / Samsung flash chips

2010-05-25 Thread Guillaume LECERF
2010/5/25 Florian Fainelli flor...@openwrt.org:
 Hello Matthias,

 On Tuesday 25 May 2010 14:20:19 Matthias Buecher / Germany wrote:
 Salut Florian,

 you took care of ticket #6552 [1] and committed the patch into trunk.
 It came out that the patch broke compiling the Orion platform, that was
 reported in ticket #7348 [2].
 Inside this ticket the reporter of #6552 and I came to a much cleaner
 approach.
 Would be great if you could have a look at it.

 Sure, I will have a look at this, sorry for the patch clashing.

Hi.

A patch has been recently committed upstream that *may* solve this problem :

http://git.infradead.org/mtd-2.6.git/commitdiff/412da2f6e083eba6e4bd91ff2e78abb4735357a7

 Kind regards
 Matthias Maddes Bücher

 [1] https://dev.openwrt.org/ticket/6552
 [2] https://dev.openwrt.org/ticket/7348
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel




-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] mtd / Samsung flash chips

2010-05-25 Thread Guillaume LECERF
2010/5/25 Guillaume LECERF glec...@gmail.com:
 A patch has been recently committed upstream that *may* solve this problem :

 http://git.infradead.org/mtd-2.6.git/commitdiff/412da2f6e083eba6e4bd91ff2e78abb4735357a7

Please forget this comment, it was a brainfart.

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] Refresh 2.6.33 kernel config for brcm63xx

2010-04-30 Thread Guillaume LECERF
Signed-off-by: Guillaume LECERF glec...@gmail.com
---
 target/linux/brcm63xx/config-2.6.33 |   12 +++-
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/target/linux/brcm63xx/config-2.6.33 
b/target/linux/brcm63xx/config-2.6.33
index c9dd638..958a7d5 100644
--- a/target/linux/brcm63xx/config-2.6.33
+++ b/target/linux/brcm63xx/config-2.6.33
@@ -13,7 +13,6 @@ CONFIG_ARCH_SUSPEND_POSSIBLE=y
 # CONFIG_ATH_COMMON is not set
 CONFIG_AUDIT=y
 CONFIG_AUDIT_GENERIC=y
-# CONFIG_BATMAN_ADV is not set
 # CONFIG_BCM47XX is not set
 CONFIG_BCM63XX=y
 CONFIG_BCM63XX_CPU_6338=y
@@ -76,8 +75,6 @@ CONFIG_CRAMFS=y
 CONFIG_CSRC_R4K=y
 CONFIG_CSRC_R4K_LIB=y
 CONFIG_DECOMPRESS_LZMA=y
-CONFIG_DEFAULT_SECURITY=
-CONFIG_DEFAULT_SECURITY_DAC=y
 # CONFIG_DEFAULT_SECURITY_SELINUX is not set
 # CONFIG_DEFAULT_SECURITY_SMACK is not set
 # CONFIG_DEFAULT_SECURITY_TOMOYO is not set
@@ -96,8 +93,8 @@ CONFIG_GENERIC_FIND_NEXT_BIT=y
 CONFIG_GENERIC_GPIO=y
 CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
 CONFIG_GPIOLIB=y
-# CONFIG_GPIO_CS5535 is not set
 CONFIG_GPIO_DEVICE=y
+CONFIG_GPIO_NXP_74HC164=y
 CONFIG_GPIO_SYSFS=y
 # CONFIG_HAMRADIO is not set
 CONFIG_HARDWARE_WATCHPOINTS=y
@@ -155,9 +152,10 @@ CONFIG_IP_PIMSM_V2=y
 CONFIG_IRQ_CPU=y
 CONFIG_KEXEC=y
 CONFIG_LEDS_GPIO=y
-# CONFIG_LEDS_LT3593 is not set
 # CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
 CONFIG_LOONGSON_UART_BASE=y
+CONFIG_LZMA_COMPRESS=y
+CONFIG_LZMA_DECOMPRESS=y
 # CONFIG_MACH_ALCHEMY is not set
 # CONFIG_MACH_DECSTATION is not set
 # CONFIG_MACH_JAZZ is not set
@@ -206,8 +204,6 @@ CONFIG_PHYLIB=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_POSIX_MQUEUE_SYSCTL=y
 # CONFIG_POWERTV is not set
-# CONFIG_R8187SE is not set
-# CONFIG_RAMZSWAP is not set
 CONFIG_RELAY=y
 CONFIG_SCHED_OMIT_FRAME_POINTER=y
 # CONFIG_SCSI_DMA is not set
@@ -252,6 +248,4 @@ CONFIG_USB_OHCI_BIG_ENDIAN_MMIO=y
 CONFIG_USB_SUPPORT=y
 CONFIG_VM_EVENT_COUNTERS=y
 CONFIG_WATCHDOG_NOWAYOUT=y
-CONFIG_WEXT_CORE=y
-CONFIG_WEXT_PROC=y
 CONFIG_ZONE_DMA_FLAG=0

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


[OpenWrt-Devel] [PATCH] Add mtd-tests package definition.

2010-04-29 Thread Guillaume LECERF
Signed-off-by: Guillaume LECERF glec...@gmail.com
---
 package/kernel/modules/other.mk |   23 +++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 403af57..53cf684 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -571,6 +571,29 @@ endef
 $(eval $(call KernelPackage,mmc-atmelmci,1))
 
 
+define KernelPackage/mtd-tests
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=MTD Tests
+  DEPENDS:=...@linux_2_6
+  KCONFIG:=CONFIG_MTD_TESTS
+  FILES:= \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.$(LINUX_KMOD_SUFFIX) \
+$(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/mtd-tests/description
+ Kernel support for MTD Tests.
+endef
+
+$(eval $(call KernelPackage,mtd-tests,1))
+
+
 define KernelPackage/rfkill
   SUBMENU:=$(OTHER_MENU)
   TITLE:=RF switch subsystem support

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


Re: [OpenWrt-Devel] [OpenWrt-Commits] r20652 - in trunk: target/linux/brcm63xx/files/arch/mips/include/asm/mach-bcm63xx target/linux/brcm63xx/image target/linux/brcm63xx/patches-2.6.32 tools/firmware-

2010-04-16 Thread Guillaume LECERF
2010/4/1  openwrt-comm...@openwrt.org:
 Modified: 
 trunk/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch
 ===
 --- trunk/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch    
   2010-04-01 17:27:59 UTC (rev 20651)
 +++ trunk/target/linux/brcm63xx/patches-2.6.32/040-bcm963xx_flashmap.patch    
   2010-04-01 21:20:43 UTC (rev 20652)

Hi.

Could you please do the same for patches-2.6.33/040-bcm963xx_flashmap.patch ?

Thanks in advance.


-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] bcm63xx_enet: update upstream fixes (with the patch)

2009-11-02 Thread Guillaume LECERF
2009/10/20 Guillaume LECERF foxc...@gmail.com:
 With the patch this time.

Ping?


-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] bcm63xx_enet: update upstream fixes

2009-10-20 Thread Guillaume LECERF
Hi all,

This patch integrates
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ec1652af18ef02c7c6ceeabb64f56f16eaf40ae9
to 060-bcm63xx_enet_upstream_fixes.patch .

Signed-off-by: Guillaume LECERF glec...@gmail.com

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] bcm63xx_enet: update upstream fixes (with the patch)

2009-10-20 Thread Guillaume LECERF
With the patch this time.

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
Index: target/linux/brcm63xx/patches-2.6.30/060-bcm63xx_enet_upstream_fixes.patch
===
--- target/linux/brcm63xx/patches-2.6.30/060-bcm63xx_enet_upstream_fixes.patch	(revision 18097)
+++ target/linux/brcm63xx/patches-2.6.30/060-bcm63xx_enet_upstream_fixes.patch	(working copy)
@@ -8,6 +8,15 @@
  
  #include bcm63xx_dev_enet.h
  #include bcm63xx_enet.h
+@@ -91,7 +90,7 @@
+ 		if (enet_readl(priv, ENET_IR_REG)  ENET_IR_MII)
+ 			break;
+ 		udelay(1);
+-	} while (limit-- = 0);
++	} while (limit--  0);
+ 
+ 	return (limit  0) ? 1 : 0;
+ }
 @@ -321,7 +320,7 @@
  		if (len  copybreak) {
  			struct sk_buff *nskb;
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] add menu config option to install pcmcia hermes kernel module

2009-10-08 Thread Guillaume LECERF
Hi all,

This patch does $subject.
Hope it's fine to get included.

Regards.

Signed-off-by: Guillaume LECERF glec...@gmail.com

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
Index: package/kernel/modules/wireless.mk
===
--- package/kernel/modules/wireless.mk	(revision 17997)
+++ package/kernel/modules/wireless.mk	(working copy)
@@ -221,6 +221,22 @@
 $(eval $(call KernelPackage,net-hermes-plx))
 
 
+define KernelPackage/net-hermes-pcmcia
+  SUBMENU:=$(WIRELESS_MENU)
+  TITLE:=Hermes based PCMCIA adaptors
+  DEPENDS:=...@pcmcia_support +kmod-net-hermes
+  KCONFIG:=CONFIG_PCMCIA_HERMES
+  FILES:=$(LINUX_DIR)/drivers/net/wireless/$(ORINOCO_DIR)orinoco_cs.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,55,orinoco_cs)
+endef
+
+define KernelPackage/net-hermes-pcmcia/description
+ Kernel modules for Hermes based PCMCIA adaptors
+endef
+
+$(eval $(call KernelPackage,net-hermes-pcmcia))
+
+
 define KernelPackage/net-prism54
   SUBMENU:=$(WIRELESS_MENU)
   TITLE:=Intersil Prism54 support
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel