[OpenWrt-Devel] Status of X86_64 OpenWRT architecture
Dear all, I am working on a custom kernel for the PC Engines APU: http://wiki.openwrt.org/toh/pcengines/apu The board can boot OpenWRT git X86 but not X86_64. I have a feeling that the X86_64 git is out of sync and that most drivers are disabled by default. Also no compilation options are available in make menuconfig. Would you mind if I resync X86_64 to match most X86 options and provide a patch for compilation options. I would like to be able to compile with CONFIG_DEFAULT_TARGET_OPTIMIZATION=-Os -pipe -march=btver1 -mtune=btver1 The APU is a very powerful CPU, but it needs to be unleashed with custom compilation options. Kind regards, Gnutella ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] BB14.07 - no auto build/update from source to download server
Today I checked my BB 14.07 installation to update ca-certificates. On the download server is still version 20140325 Inside build-tree it's version 20141019 Is there no auto build/update of the download server ? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] octeon: Add MMC support for EdgeRouter ER8
On 18/03/2015 21:04, Jonathan Thibault wrote: On 18/03/15 09:53 AM, John Crispin wrote: Hi Jonathan, nice one, i saw the patch on the lmo mailing list and had this on my todo list for the next days, will give it a shot later on my ER8. do you fancy also sending a version that we can apply to trunk ? John Here you go. Hi Jonathan, just pushed this to trunk and added the sysupgarde fluff around it. the board now boots using blck2mtd and does a squashfs overlay. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Status of X86_64 OpenWRT architecture
Hi, The board can boot OpenWRT git X86 but not X86_64. I have a feeling that the X86_64 git is out of sync and that most drivers are disabled by default. Also no compilation options are available in make menuconfig. Last time I checked the x86-64 target booted just fne on my Alix APU board without any custom modifications. What are the specific problems you encountered? Would you mind if I resync X86_64 to match most X86 options and provide a patch for compilation options. I would like to be able to compile with CONFIG_DEFAULT_TARGET_OPTIMIZATION=-Os -pipe -march=btver1 -mtune=btver1 The naturla place for these kind of optimizations is a subtarget, but I'd prefer if x86-64 generic stays - well, generic - enough to work on both desktop machines, vm containers and apu boards. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] kernel: fix usb kernel package Makefile
From: zouxf fl.serv...@t-firefly.com Signed-off-by: zouxf fl.serv...@t-firefly.com --- package/kernel/linux/modules/usb.mk |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index e87a857..be1553a 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1470,7 +1470,7 @@ endef $(eval $(call KernelPackage,usbmon)) -XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,xhci-hcd xhci-pci xhci-plat)) +XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,xhci-hcd xhci-pci xhci-plat-hcd)) XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES)) define KernelPackage/usb3 -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] lldpd: add Build/InstallDev rule
For using liblldpctl to talk to lldpd (via unix sockets). Signed-off-by: Alexandru Ardelean ardeleana...@gmail.com --- package/network/services/lldpd/Makefile | 8 1 file changed, 8 insertions(+) diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index f038a34..ff367f1 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -49,6 +49,14 @@ define Package/lldpd/description Link-Layer notifications to adjacent network devices. endef +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblldpctl.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/lldpctl.h $(1)/usr/include/lldpctl.h + $(CP) $(PKG_INSTALL_DIR)/usr/include/lldp-const.h $(1)/usr/include/lldp-const.h +endef + define Package/lldpd/install $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/lldpd.d -- 2.1.2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] trunk: Ethernet LEDs not visible in Sysfs
hi, my Archer-c5 and tplink 4300 routers do have 10 LEDs, but in the sysfs only the following LEDs are usable/visible: $ ls /sys/class/leds ath9k-phy1 tp-link:blue:wlan2g tp-link:green:usb2 tp-link:blue:qss tp-link:blue:wlan5g tp-link:blue:system tp-link:green:usb1 $ cat /sys/kernel/debug/gpio GPIOs 0-23, ath79: gpio-12 (tp-link:blue:wlan2g ) out lo gpio-13 (RFKILL switch ) in lo gpio-14 (tp-link:blue:system ) out lo gpio-15 (tp-link:blue:qss) out hi gpio-16 (Reset button) in hi gpio-17 (tp-link:blue:wlan5g ) out lo gpio-18 (tp-link:green:usb1 ) out hi gpio-19 (tp-link:green:usb2 ) out hi gpio-21 (USB2 power ) out hi gpio-22 (USB1 power ) out hi All LAN and WAN LEDs are missing in sysfs. Can someone tell me how to make them visible in sysfs in again? Best Christian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2] [package] mwlwifi: generate TX_STATUS event on transmitting auth, associate, and reallocate responses
On Fri, 20 Mar 2015 03:28:23 +0100, Ian Kent ra...@themaw.net wrote: snip I think the process is that we should send changes to the component maintainer, cc OpenWrt-devel, since maintainers might miss the post. Imre, is this change acceptable, what other changes are needed, should Pat re-submit this afresh or is what's here OK? Patches against mwlwifi should be sent there, but a new version has been released already which has this fix among a lot of others. I'm waiting for a few people who had issues to confirm the test image I've uploaded works for them before pushing the changes to trunk. Imre ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [kernel] kernel: add missing symbol
Signed-off-by: John Szakmeister j...@szakmeister.net --- target/linux/generic/config-3.14 | 1 + target/linux/generic/config-3.18 | 1 + target/linux/generic/config-3.19 | 1 + target/linux/generic/config-4.0 | 1 + 4 files changed, 4 insertions(+) diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14 index f5f0f58..150c6e3 100644 --- a/target/linux/generic/config-3.14 +++ b/target/linux/generic/config-3.14 @@ -2564,6 +2564,7 @@ CONFIG_NLS_DEFAULT=iso8859-1 # CONFIG_OMAP_USB3 is not set # CONFIG_OMFS_FS is not set # CONFIG_OPENVSWITCH is not set +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set # CONFIG_ORION_WATCHDOG is not set # CONFIG_OSF_PARTITION is not set CONFIG_OVERLAYFS_FS=y diff --git a/target/linux/generic/config-3.18 b/target/linux/generic/config-3.18 index 7ef50fa..01cf659 100644 --- a/target/linux/generic/config-3.18 +++ b/target/linux/generic/config-3.18 @@ -2694,6 +2694,7 @@ CONFIG_NLS_DEFAULT=iso8859-1 # CONFIG_OMAP_USB3 is not set # CONFIG_OMFS_FS is not set # CONFIG_OPENVSWITCH is not set +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set # CONFIG_ORION_WATCHDOG is not set # CONFIG_OSF_PARTITION is not set CONFIG_OVERLAY_FS=y diff --git a/target/linux/generic/config-3.19 b/target/linux/generic/config-3.19 index 7f536b3..9316012 100644 --- a/target/linux/generic/config-3.19 +++ b/target/linux/generic/config-3.19 @@ -2712,6 +2712,7 @@ CONFIG_NLS_DEFAULT=iso8859-1 # CONFIG_OMAP_USB3 is not set # CONFIG_OMFS_FS is not set # CONFIG_OPENVSWITCH is not set +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set # CONFIG_ORION_WATCHDOG is not set # CONFIG_OSF_PARTITION is not set CONFIG_OVERLAY_FS=y diff --git a/target/linux/generic/config-4.0 b/target/linux/generic/config-4.0 index d036050..fe2ae01 100644 --- a/target/linux/generic/config-4.0 +++ b/target/linux/generic/config-4.0 @@ -2720,6 +2720,7 @@ CONFIG_NLS_DEFAULT=iso8859-1 # CONFIG_OMAP_USB3 is not set # CONFIG_OMFS_FS is not set # CONFIG_OPENVSWITCH is not set +# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set # CONFIG_ORION_WATCHDOG is not set # CONFIG_OSF_PARTITION is not set CONFIG_OVERLAY_FS=y -- 2.3.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/2] ralink: add FireWRT power button
Signed-off-by: wengbj fl.serv...@t-firefly.com --- target/linux/ramips/dts/FIREWRT.dts |5 + 1 file changed, 5 insertions(+) diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index 54f0e55..2b018e6 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -103,6 +103,11 @@ gpios = gpio0 18 1; linux,code = 0x211; }; + power { + label = power; + gpios = gpio0 23 1; + linux,code = 116; + }; }; pinctrl { -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 2/2] ralink: MT7621 add i2c controller driver on linux kernel 3.18
ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code. Signed-off-by: wengbj fl.serv...@t-firefly.com --- .../0111-i2c-MIPS-add-mt7621-I2C-driver.patch | 390 1 file changed, 390 insertions(+) create mode 100755 target/linux/ramips/patches-3.18/0111-i2c-MIPS-add-mt7621-I2C-driver.patch diff --git a/target/linux/ramips/patches-3.18/0111-i2c-MIPS-add-mt7621-I2C-driver.patch b/target/linux/ramips/patches-3.18/0111-i2c-MIPS-add-mt7621-I2C-driver.patch new file mode 100755 index 000..ec897ee --- /dev/null +++ b/target/linux/ramips/patches-3.18/0111-i2c-MIPS-add-mt7621-I2C-driver.patch @@ -0,0 +1,390 @@ +Index: linux-3.18.9/drivers/i2c/busses/Kconfig +=== +--- linux-3.18.9.orig/drivers/i2c/busses/Kconfig 2015-03-21 11:47:27.387652879 +0800 linux-3.18.9/drivers/i2c/busses/Kconfig2015-03-21 11:47:27.587652870 +0800 +@@ -714,6 +714,10 @@ + tristate Ralink I2C Controller + select OF_I2C + ++config I2C_MT7621 ++tristate Mt7621 I2C Controller ++select OF_I2C ++ + config HAVE_S3C2410_I2C + bool + help +Index: linux-3.18.9/drivers/i2c/busses/Makefile +=== +--- linux-3.18.9.orig/drivers/i2c/busses/Makefile 2015-03-21 11:47:27.387652879 +0800 linux-3.18.9/drivers/i2c/busses/Makefile 2015-03-21 11:47:27.587652870 +0800 +@@ -67,6 +67,7 @@ + obj-$(CONFIG_I2C_PXA) += i2c-pxa.o + obj-$(CONFIG_I2C_PXA_PCI) += i2c-pxa-pci.o + obj-$(CONFIG_I2C_RALINK) += i2c-ralink.o ++obj-$(CONFIG_I2C_MT7621) += i2c-mt7621.o + obj-$(CONFIG_I2C_QUP) += i2c-qup.o + obj-$(CONFIG_I2C_RIIC)+= i2c-riic.o + obj-$(CONFIG_I2C_RK3X)+= i2c-rk3x.o +Index: linux-3.18.9/drivers/i2c/busses/i2c-mt7621.c +=== +--- /dev/null 1970-01-01 00:00:00.0 + linux-3.18.9/drivers/i2c/busses/i2c-mt7621.c 2015-03-21 11:48:58.883648615 +0800 +@@ -0,0 +1,358 @@ ++/* ++ * drivers/i2c/busses/i2c-mt7621.c ++ * ++ * Copyright (C) 2013 Steven Liu steven_...@mediatek.com ++ * ++ * Improve driver for i2cdetect from i2c-tools to detect i2c devices on the bus. ++ * (C) 2014 Sittisak sittis...@hotmail.com ++ * ++ * This software is licensed under the terms of the GNU General Public ++ * License version 2, as published by the Free Software Foundation, and ++ * may be copied, distributed, and modified under those terms. ++ * ++ * This program is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ * GNU General Public License for more details. ++ * ++ */ ++ ++#include linux/interrupt.h ++#include linux/kernel.h ++#include linux/module.h ++#include linux/reset.h ++#include linux/delay.h ++#include linux/slab.h ++#include linux/init.h ++#include linux/errno.h ++#include linux/platform_device.h ++#include linux/i2c.h ++#include linux/io.h ++#include linux/err.h ++ ++#include asm/mach-ralink/ralink_regs.h ++ ++#define REG_CONFIG_REG 0x00 ++#define REG_CLKDIV_REG 0x04 ++#define REG_DEVADDR_REG 0x08 ++#define REG_ADDR_REG 0x0C ++#define REG_DATAOUT_REG 0x10 ++#define REG_DATAIN_REG 0x14 ++#define REG_STATUS_REG 0x18 ++#define REG_STARTXFR_REG 0x1C ++#define REG_BYTECNT_REG 0x20 ++#define REG_SM0_IS_AUTOMODE 0x28 ++#define REG_SM0CTL0 0x40 ++ ++ ++#define I2C_STARTERR 0x10 ++#define I2C_ACKERR 0x08 ++#define I2C_DATARDY 0x04 ++#define I2C_SDOEMPTY 0x02 ++#define I2C_BUSY 0x01 ++ ++/* I2C_CFG register bit field */ ++#define I2C_CFG_ADDRLEN_8(75) /* 8 bits */ ++#define I2C_CFG_DEVADLEN_7 (62) ++#define I2C_CFG_ADDRDIS (11) ++#define I2C_CFG_DEVADDIS (10) ++ ++#define I2C_CFG_DEFAULT (I2C_CFG_ADDRLEN_8 | \ ++ I2C_CFG_DEVADLEN_7 | \ ++ I2C_CFG_ADDRDIS) ++ ++#define I2C_RETRY0x1000 ++ ++#define CLKDIV_VALUE 333 ++#define i2c_busy_loop(CLKDIV_VALUE*30) ++ ++#define READ_CMD 0x01 ++#define WRITE_CMD0x00 ++#define READ_BLOCK 16 ++ ++#define I2C_OFFSET 0x900 ++#define RSTCTRL_OFFSET 0x34 ++ ++#define MT7621_REG(x)(*((volatile u32 *)(x))) ++ ++struct
[OpenWrt-Devel] Ralink RT63365 support?
Reviewing a Ralink SDK seems that the RT63365 in the old Trendchip SoCs so, is SoC too different to add support for it in the ramips target? I make this question because one spanish ISP is distributing the Huawei HG532s to its customers, and maybe others around the world too. Regards: José ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Status of X86_64 OpenWRT architecture
Le vendredi 20 mars 2015 à 10:12 +0100, Jo-Philipp Wich a écrit : Last time I checked the x86-64 target booted just fne on my Alix APU board without any custom modifications. OK, I will give a new try in a new build root. Kind regards, Gnutella ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Commits] r44899 - trunk/package/network/config/netifd
Same here. My 6in4 tunnel by sixxs works perfectly with r44879 from 2 days ago, but with r44912 no ipv6 traffic gets through. I tried earlier today both sixxs and he.net with today's build and both failed. After seeing Arjen's message, I reverted back to 44879 without changing any settings and the connectivity to sixxs returned. ar71xx/wndr3700 On 20.3.2015 22:15, Arjen de Korte wrote: I'm running trunk on a Netgear WNDR4300. On this router, a Hurricane Electric tunnel is configured to provide IPv6 access for the LAN. All was fine until this morning. Bisecting leads to the below commit to break IPv6 routing (IPv4 was still fine). Could it be that 6in4 needs to be modified after this commit? Citeren openwrt-comm...@openwrt.org: Author: cyrus Date: 2015-03-20 08:50:45 +0100 (Fri, 20 Mar 2015) New Revision: 44899 Modified: trunk/package/network/config/netifd/Makefile Log: netifd: device update fixes, improvements in policy routing ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [package] perf: don't error on warnings
There are some places where there is a redundant declaration of strlcpy() that prevents building perf otherwise. Signed-off-by: John Szakmeister j...@szakmeister.net --- package/devel/perf/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile index 184e51d..163e4ac 100644 --- a/package/devel/perf/Makefile +++ b/package/devel/perf/Makefile @@ -55,6 +55,7 @@ MAKE_FLAGS = \ LD=$(TARGET_CROSS)ld \ CFLAGS=$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) \ LDFLAGS=$(TARGET_LDFLAGS) \ + WERROR=0 \ V=1 \ prefix=/usr -- 2.3.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] brcm63xx: Add BT Home Hub 2A support.
Support for the BT HomeHub 2.0 Type A. This router was manufactured by Thomson, and it's BCM6358 based. The leds are controled by two chained HC594, all working ok. The BCM5325 switch has the RESET# pin wired to the GPIO15, but currently there is no way to tell the b53 driver how to get this gpio number in brcm63xx, therefore swconfig won't use it when performing a switch reset. The patch was tested with several firmwares, and all except unsupported stuff (i.e xDSL) works pretty well. Tested-by: Tahir tahir00...@gmail.com Signed-off-by: Daniel Gonzalez dgcb...@gmail.com diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index 928c02b..03d98b9 100644 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -72,6 +72,10 @@ set_state() { fast2704v2) status_led=F@ST2704V2:green:power ;; + homehub2a) + status_led=HOMEHUB2A:green:upgrading + status_led2=HOMEHUB2A:blue:upgrading + ;; gw6200) status_led=GW6200:green:line1 status_led2=GW6200:green:tel diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds index c9bf2f4..58404a1 100644 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds @@ -34,6 +34,12 @@ hg556a_*) ucidef_set_led_netdev lan LAN HW556:red:dsl eth0 ucidef_set_led_usbdev usb USB HW556:red:hspa 1-2 ;; +homehub2a) + ucidef_set_led_netdev lan LAN HOMEHUB2A:blue:broadband eth0.1 + ucidef_set_led_netdev wlan0 WIFI HOMEHUB2A:green:wireless wlan0 + ucidef_set_led_usbdev usb1 USB1 HOMEHUB2A:blue:phone 1-1 + ucidef_set_led_usbdev usb2 USB2 HOMEHUB2A:green:phone 2-1 + ;; esac ucidef_commit_leds diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network index df4e293..814e100 100644 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network +++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network @@ -66,7 +66,8 @@ v2500v_bb) dsl-274xb-c |\ hg553 |\ -hg556a_*) +hg556a_* |\ +homehub2a) ucidef_set_interface_lan eth0.1 ucidef_add_switch eth0 1 1 ucidef_add_switch_vlan eth0 1 0 1 2 3 4 5t diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 2c18762..9c8a612 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -60,6 +60,9 @@ brcm63xx_dt_detect() { Broadcom BCM96368MVWG reference board) board_name=bcm96368mvwg ;; + BT Home Hub 2.0 Type A) + board_name=homehub2a + ;; BT Voyager V2500V) board_name=v2500v ;; diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 3fb9b1c..662b779 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -258,6 +258,8 @@ $(eval $(call ImageDTB,CFEDTB,RG100A,RG100A,rg100a,96358VW2,6358,--block-size 0x $(eval $(call ImageDTB,CFEDTB,AR1004G,AR1004G,ar1004g,96348GW-10,6348)) # Belkin F5D7633 $(eval $(call ImageDTB,CFEDTB,F5D7633,F5D7633,f5d7633,96348GW-10,6348,--block-size 0x2 --image-offset 0x2)) +# BT Home Hub 2.0 A +$(eval $(call ImageDTB,CFEDTB,BTHOMEHUB2A,HomeHub2A,homehub2a,HOMEHUB2A,6358,--image-offset 0x2 --block-size 0x2)) # BT Voyager V2500V, V2500V_SIP_CLUB, V2500V_AA $(eval $(call ImageDTB,CFEDTB,BTV2500V,BTV2500V,v2500v-bb,V2500V_BB,6348,--layoutver 5)) # Comtrend AR-5381u diff --git a/target/linux/brcm63xx/profiles/bt.mk b/target/linux/brcm63xx/profiles/bt.mk index 0863752..3ca8fe1 100644 --- a/target/linux/brcm63xx/profiles/bt.mk +++ b/target/linux/brcm63xx/profiles/bt.mk @@ -5,6 +5,16 @@ # See /LICENSE for more information. # +define Profile/BTHOMEHUB2A + NAME:=BT Home Hub 2A + PACKAGES:=kmod-b43 wpad-mini \ + kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev +endef +define Profile/BTHOMEHUB2A/Description + Package set optimized for BTHOMEHUB2A. +endef +$(eval $(call Profile,BTHOMEHUB2A)) + define Profile/BTV2500V NAME:=BT Voyager V2500V PACKAGES:=kmod-b43 wpad-mini diff --git a/target/linux/brcm63xx/dts/homehub2a.dts b/target/linux/brcm63xx/dts/homehub2a.dts new file mode 100644 index 000..28de528 --- /dev/null +++ b/target/linux/brcm63xx/dts/homehub2a.dts @@ -0,0 +1,140 @@ +/dts-v1/; + +/include/ bcm6358.dtsi + +/ { + model = BT Home Hub 2.0 Type A; + compatible = thomson,homehub2a, brcm,bcm6358; + + spi-gpio { + #address-cells = 1; + #size-cells = 1; + compatible = spi-gpio; + +
Re: [OpenWrt-Devel] Status of X86_64 OpenWRT architecture
Unfortunately, OpenWRT x86_64 fails to compile on kmod-ipt-ipset. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] build: add optional dependency on libssp to all non-kernel packages
When enabling SSP_SUPPORT, a lot of packages fail during compile phase with the following error: Package X is missing dependencies for the following libraries: libssp.so.0 This can be solved by adding an optional dependency on libssp to all those packages, but as there are quite a few packages both in OpenWrt core and in the package repository, it might make sense to add this optional dependency to all non-kernel packages, instead of polluting lots of package dependency lines with it. Signed-off-by: Stijn Tintel st...@linux-ipv6.be --- include/package-defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/package-defaults.mk b/include/package-defaults.mk index a94f2a4..9567e04 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -5,7 +5,7 @@ # See /LICENSE for more information. # -PKG_DEFAULT_DEPENDS = +libc +USE_GLIBC:librt +USE_GLIBC:libpthread +PKG_DEFAULT_DEPENDS = +libc +SSP_SUPPORT:libssp +USE_GLIBC:librt +USE_GLIBC:libpthread ifneq ($(PKG_NAME),toolchain) PKG_FIXUP_DEPENDS = $(if $(filter kmod-%,$(1)),$(2),$(PKG_DEFAULT_DEPENDS) $(filter-out $(PKG_DEFAULT_DEPENDS),$(2))) -- 2.0.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Guidance using @BUILD_NLS for full iconv support ?
I'm building a new package Suricata 2.0.7 that sees to need the full iconv support. The stubs don't seem to be enough. I've included @BUILD_NLS in the make file but I'm still getting a configure error: checking iconv.h usability... no checking iconv.h presence... yes configure: WARNING: iconv.h: present but cannot be compiled configure: WARNING: iconv.h: check for missing prerequisite headers? configure: WARNING: iconv.h: see the Autoconf documentation configure: WARNING: iconv.h: section Present But Cannot Be Compiled configure: WARNING: iconv.h: proceeding with the compiler's result checking for iconv.h... no configure: error: iconv.h not found ... Any ideas/ Guidance? Cheers Derek Here is the relevant makefile. include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk define Package/suricata SECTION:=net CATEGORY:=Network SUBMENU:=Web Servers/Proxies TITLE:=Suricata URL:=http://www.openinfosecfoundation.org DEPENDS:=@BUILD_NLS +libpcre +pcre +libtool +libnetfilter-queue +libpcap +libn et +libyaml +zlib +libcap +libnids +libnet0 +libopenssl +libnfnetlink +libmagic +libcap $(ICONV_DEPENDS) MENU:=1 endef HOST_CONFIGURE_ARGS += CFLAGS=-fno-stack-protector TARGET_CFLAGS += $(FPIC) -lpthread -fno-stack-protector \ MAKE_FLAGS += \ EXTRALIBS=$(ICONV_LDFLAGS) -L$(STAGING_DIR)/usr/lib -liconv TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-stack-prote ctor CONFIGURE_ARGS += \ --disable-gccprotect \ --enable-nfqueue \ $(if $(ICONV_FULL),--with-libiconv=gnu) \ ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Commits] r44899 - trunk/package/network/config/netifd
I'm running trunk on a Netgear WNDR4300. On this router, a Hurricane Electric tunnel is configured to provide IPv6 access for the LAN. All was fine until this morning. Bisecting leads to the below commit to break IPv6 routing (IPv4 was still fine). Could it be that 6in4 needs to be modified after this commit? Citeren openwrt-comm...@openwrt.org: Author: cyrus Date: 2015-03-20 08:50:45 +0100 (Fri, 20 Mar 2015) New Revision: 44899 Modified: trunk/package/network/config/netifd/Makefile Log: netifd: device update fixes, improvements in policy routing Signed-off-by: Steven Barth ste...@midlink.org Modified: trunk/package/network/config/netifd/Makefile === --- trunk/package/network/config/netifd/Makefile 2015-03-19 21:51:44 UTC (rev 44898) +++ trunk/package/network/config/netifd/Makefile 2015-03-20 07:50:45 UTC (rev 44899) @@ -1,13 +1,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netifd -PKG_VERSION:=2015-03-15 +PKG_VERSION:=2015-03-20 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=http://git.openwrt.org/project/netifd.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=45fd905c980e56b20770d4b34556749fbca53fcc +PKG_SOURCE_VERSION:=2fb3d0e9205e2a4cea38062caefd7251f562866d PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MAINTAINER:=Felix Fietkau n...@openwrt.org # PKG_MIRROR_MD5SUM:= ___ openwrt-commits mailing list openwrt-comm...@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits smime.p7s Description: S/MIME Signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] BB14.07 - no auto build/update from source to download server
On 20/03/2015 09:53, Christian Schoenebeck wrote: Today I checked my BB 14.07 installation to update ca-certificates. On the download server is still version 20140325 Inside build-tree it's version 20141019 Is there no auto build/update of the download server ? we are working on it. we have created a new buildbot config and have been testing it on builder1 for a few days now. making it upload the dl folder to the mirror is next on our todo list John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel