Re: [OpenWrt-Devel] [PATCH 6/6] ramips: mt7621: disable ISDN in kernel config
2015-12-14 4:54 GMT-05:00 Felix Fietkau: > On 2015-12-14 04:04, Nikolay Martynov wrote: >> It's unlikely that devices on this SoC would need any ISDN support. >> This should make kernel a bit smaller. >> >> Signed-off-by: Nikolay Martynov > NACK from me on this one. I don't want people to fill up the target > configs with random arbitrary overrides based on what kind of use cases > people think may or may not be possible with devices from that target. > > If CONFIG_ISDN really does have an effect on kernel size, there should > be a generic way to deal with this, or a way to confine the size impact > on the actual kernel modules using it. > > Did you find any actual size impact in your tests, or were you just > guessing? Please feel free to drop this. I've just done some measurements and it looks like it's 1 page a most, and it's probably stripped after that. It's just somewhat to see ISDN in configs nowdays and it looks like other targets' configs drop this support. Sorry, should have checked size effects before submitting. -- Martynov Nikolay. Email: mar.ko...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] ramips: mt7621: fix error message when initramfs is too large
Signed-off-by: Nikolay Martynov--- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 1b12249..abfb4cf 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -1078,7 +1078,7 @@ define Device/ubnt-erx ubnt-erx-factory-kernel | \ ubnt-erx-factory-rootfs | \ ubnt-erx-factory-version | \ -ubnt-erx-factory-check-size (KERNEL_SIZE) +ubnt-erx-factory-check-size $$(KERNEL_SIZE) IMAGE/sysupgrade.tar := sysupgrade-nand endef -- 2.6.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] dnsmasq: changed option nonwildcard to --bind-dynamic
From: Sami OlmariChanged option nonwildcard from --bind-interfaces into --bind-dynamic. With this, Dnsmasq binds the address of individual interfaces, allowing multiple dnsmasq instances, but if new interfaces or addresses appear, it automatically listens on those. This makes dynamically created interfaces work in the same way as the default, but allows also use of other DNS-servers (like Named) at the same time on diffirent interfaces where Dnsmasq is NOT configured, whereas with --bind-interfaces will still reserve every interface even if not used and thus disallowing use of any other DNS-program even on unused interfaces. Tested-by: Vaasa Hacklab Signed-off-by: Sami Olmari --- package/network/services/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index d593a51..a504f92 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -130,7 +130,7 @@ dnsmasq() { append_bool "$cfg" expandhosts "--expand-hosts" append_bool "$cfg" enable_tftp "--enable-tftp" append_bool "$cfg" tftp_no_fail "--tftp-no-fail" - append_bool "$cfg" nonwildcard "--bind-interfaces" + append_bool "$cfg" nonwildcard "--bind-dynamic" append_bool "$cfg" fqdn "--dhcp-fqdn" append_bool "$cfg" proxydnssec "--proxy-dnssec" append_bool "$cfg" localservice "--local-service" -- 2.5.0 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2] ramips: mt7621: add patch to setup CM memory region for palmbus
This is tested and works on ubnt-erx. Signed-off-by: Nikolay Martynov--- v2: set palmbus region to same boundaries as stock u-boot --- .../0060-mt7621-set-up-palmbus-memory-region.patch | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/ramips/patches-4.3/0060-mt7621-set-up-palmbus-memory-region.patch diff --git a/target/linux/ramips/patches-4.3/0060-mt7621-set-up-palmbus-memory-region.patch b/target/linux/ramips/patches-4.3/0060-mt7621-set-up-palmbus-memory-region.patch new file mode 100644 index 000..ba462bf --- /dev/null +++ b/target/linux/ramips/patches-4.3/0060-mt7621-set-up-palmbus-memory-region.patch @@ -0,0 +1,36 @@ +--- a/arch/mips/include/asm/mach-ralink/mt7621.h b/arch/mips/include/asm/mach-ralink/mt7621.h +@@ -13,6 +13,9 @@ + #ifndef _MT7621_REGS_H_ + #define _MT7621_REGS_H_ + ++#define MT7621_PALMBUS_BASE 0x1C00 ++#define MT7621_PALMBUS_SIZE 0x03FF ++ + #define MT7621_SYSC_BASE 0x1E00 + + #define SYSC_REG_CHIP_NAME0 0x00 +--- a/arch/mips/ralink/mt7621.c b/arch/mips/ralink/mt7621.c +@@ -204,6 +204,21 @@ void prom_soc_init(struct ralink_soc_inf + mips_cm_probe(); + mips_cpc_probe(); + ++ if (mips_cm_numiocu()) { ++ /* mips_cm_probe() wipes out bootloader ++ config for CM regions and we have to configure them ++ again. This SoC cannot talk to pamlbus devices ++ witout proper iocu region set up. ++ ++ FIXME: it would be better to do this with values ++ from DT, but we need this very early because ++ without this we cannot talk to pretty much anything ++ including serial. ++ */ ++ write_gcr_reg0_base(MT7621_PALMBUS_BASE); ++ write_gcr_reg0_mask(~MT7621_PALMBUS_SIZE | CM_GCR_REGn_MASK_CMTGT_IOCU0); ++ } ++ + if (!register_cps_smp_ops()) + return; + if (!register_cmp_smp_ops()) -- 2.6.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
Hi Tim, > The auto-built image of 9 December 2015 for this device results in a > bricked state. TFTP recovery with a stock recovery firmware from > Ubiquity does not allow the device to boot either. try flashing the chaos calmer factory image with TFTP (openwrt-15.05-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin) This has allowed me to recover a bricked Outdoor Plus. Flashing the Ubiquiti firmware via TFTP didn't work for me either. > but if anyone wants this device as a donation to get it > supported by OpenWRT, please let me know. Well on one hand I'd be interested because the access point I had is mounted onsite now and therefore not available for hacking anymore. On the other hand, I got the impression that mine and Kyrills patches were not too welcome, so I'm a bit hesitant to invest more time. So good luck with unbricking, may be the device gets usable for your again! Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 6/6] ramips: mt7621: disable ISDN in kernel config
On 2015-12-14 04:04, Nikolay Martynov wrote: > It's unlikely that devices on this SoC would need any ISDN support. > This should make kernel a bit smaller. > > Signed-off-by: Nikolay MartynovNACK from me on this one. I don't want people to fill up the target configs with random arbitrary overrides based on what kind of use cases people think may or may not be possible with devices from that target. If CONFIG_ISDN really does have an effect on kernel size, there should be a generic way to deal with this, or a way to confine the size impact on the actual kernel modules using it. Did you find any actual size impact in your tests, or were you just guessing? - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v4 1/2] Add ubnt_hsr platform flag and enable for UniFi Outdoor Plus
On Tue Jun 16 23:16:46 CEST 2015, Stefan Rompf wrote: Add tuner for the HSR filter of the UniFi Outdoor Plus access point. Usage of the tuner is controlled at runtime by ath9k_platform_data. The code can be enabled or disabled by a compile time option. The auto-built image of 9 December 2015 for this device results in a bricked state. TFTP recovery with a stock recovery firmware from Ubiquity does not allow the device to boot either. The device still responds to TFTP recovery, but will not boot any images. I will try getting a USB-TTL cable and connecting to the serial console of this device (no idea what to do after that, but I'll give it a go), but if anyone wants this device as a donation to get it supported by OpenWRT, please let me know. Many thanks, Tim ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [Patch] ipq806x: add support for Netgear D7800
Add support for the Netgear D7800 and build appropariate sysupgrade and factory images. Known issues: . USB ports are not working . DSL is not added Signed-off-by: Tathagata Dasd7800_support.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] binutils: upgrade to version 2.25
Fixes build: config/tc-i386.c: In function 'build_modrm_byte': config/tc-i386.c:6143:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses] && !op.bitfield.reg64 != 1 Contains this fix: https://sourceware.org/ml/binutils/2014-09/msg00095.html Signed-off-by: Alexandru Ardelean--- package/devel/binutils/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile index f8549ad..8e25a1e 100644 --- a/package/devel/binutils/Makefile +++ b/package/devel/binutils/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=binutils -PKG_VERSION:=2.24 -PKG_RELEASE:=3 +PKG_VERSION:=2.25 +PKG_RELEASE:=1 PKG_SOURCE_URL:=@GNU/binutils PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_VERSION:=$(PKG_VERSION) -PKG_MD5SUM:=e0f71a7b2ddab0f8612336ac81d9636b +PKG_MD5SUM:=d9f3303f802a5b6b0bb73a335ab89d66 PKG_FIXUP:=autoreconf PKG_LIBTOOL_PATHS:=. gas bfd opcodes gprof binutils ld libiberty gold intl -- 2.1.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] generic: add missing 4.4 symbols
found with omap target Signed-off-by: Dirk Neukirchen--- target/linux/generic/config-4.4 | 7 +++ 1 file changed, 7 insertions(+) diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 index 25a8d1b..094a505 100644 --- a/target/linux/generic/config-4.4 +++ b/target/linux/generic/config-4.4 @@ -648,6 +648,7 @@ CONFIG_CC_STACKPROTECTOR_NONE=y # CONFIG_CHARGER_MAX8903 is not set # CONFIG_CHARGER_RT9455 is not set # CONFIG_CHARGER_SMB347 is not set +# CONFIG_CHARGER_TPS65217 is not set # CONFIG_CHARGER_TWL4030 is not set # CONFIG_CHECKPOINT_RESTORE is not set # CONFIG_CHELSIO_T1 is not set @@ -1067,6 +1068,7 @@ CONFIG_EXPERT=y # CONFIG_EXT4_FS_SECURITY is not set CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_USE_FOR_EXT2=y +CONFIG_EXT4_USE_FOR_EXT23=y # CONFIG_EXTCON is not set CONFIG_EXTRA_FIRMWARE="" CONFIG_EXTRA_TARGETS="" @@ -4295,11 +4297,13 @@ CONFIG_TMPFS_XATTR=y # CONFIG_TOUCHSCREEN_EGALAX is not set # CONFIG_TOUCHSCREEN_ELAN is not set # CONFIG_TOUCHSCREEN_ELO is not set +# CONFIG_TOUCHSCREEN_FT6236 is not set # CONFIG_TOUCHSCREEN_FUJITSU is not set # CONFIG_TOUCHSCREEN_GOODIX is not set # CONFIG_TOUCHSCREEN_GUNZE is not set # CONFIG_TOUCHSCREEN_HAMPSHIRE is not set # CONFIG_TOUCHSCREEN_ILI210X is not set +# CONFIG_TOUCHSCREEN_IMX6UL_TSC is not set # CONFIG_TOUCHSCREEN_INEXIO is not set # CONFIG_TOUCHSCREEN_MAX11801 is not set # CONFIG_TOUCHSCREEN_MCS5000 is not set @@ -4308,6 +4312,7 @@ CONFIG_TMPFS_XATTR=y # CONFIG_TOUCHSCREEN_MTOUCH is not set # CONFIG_TOUCHSCREEN_PENMOUNT is not set # CONFIG_TOUCHSCREEN_PIXCIR is not set +# CONFIG_TOUCHSCREEN_ROHM_BU21023 is not set # CONFIG_TOUCHSCREEN_S3C2410 is not set # CONFIG_TOUCHSCREEN_ST1232 is not set # CONFIG_TOUCHSCREEN_SUR40 is not set @@ -4317,6 +4322,7 @@ CONFIG_TMPFS_XATTR=y # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set # CONFIG_TOUCHSCREEN_TOUCHWIN is not set # CONFIG_TOUCHSCREEN_TPS6507X is not set +# CONFIG_TOUCHSCREEN_TSC2004 is not set # CONFIG_TOUCHSCREEN_TSC2005 is not set # CONFIG_TOUCHSCREEN_TSC2007 is not set # CONFIG_TOUCHSCREEN_TSC_SERIO is not set @@ -4324,6 +4330,7 @@ CONFIG_TMPFS_XATTR=y # CONFIG_TOUCHSCREEN_W90X900 is not set # CONFIG_TOUCHSCREEN_WACOM_I2C is not set # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set +# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set # CONFIG_TOUCHSCREEN_WM97XX is not set # CONFIG_TOUCHSCREEN_ZFORCE is not set # CONFIG_TPS6105X is not set -- 2.6.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] generic: add missing 4.4 symbols
On 14.12.2015 20:19, Felix Fietkau wrote: > On 2015-12-14 18:20, Dirk Neukirchen wrote: >> found with omap target >> >> Signed-off-by: Dirk Neukirchen>> --- >> target/linux/generic/config-4.4 | 7 +++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/target/linux/generic/config-4.4 >> b/target/linux/generic/config-4.4 >> index 25a8d1b..094a505 100644 >> --- a/target/linux/generic/config-4.4 >> +++ b/target/linux/generic/config-4.4 >> @@ -648,6 +648,7 @@ CONFIG_CC_STACKPROTECTOR_NONE=y >> # CONFIG_CHARGER_MAX8903 is not set >> # CONFIG_CHARGER_RT9455 is not set >> # CONFIG_CHARGER_SMB347 is not set >> +# CONFIG_CHARGER_TPS65217 is not set >> # CONFIG_CHARGER_TWL4030 is not set >> # CONFIG_CHECKPOINT_RESTORE is not set >> # CONFIG_CHELSIO_T1 is not set >> @@ -1067,6 +1068,7 @@ CONFIG_EXPERT=y >> # CONFIG_EXT4_FS_SECURITY is not set >> CONFIG_EXT4_FS_XATTR=y >> CONFIG_EXT4_USE_FOR_EXT2=y >> +CONFIG_EXT4_USE_FOR_EXT23=y > Why do you add this only to remove it again in the next patch? > Sorry, this is indeed not necessary. I was bisecting kernel versions (4.1..4.4) and thought I cleaned up :/ > - Felix > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 1/2] brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <nolt...@gmail.com> --- package/kernel/brcm2708-gpu-fw/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/kernel/brcm2708-gpu-fw/Makefile b/package/kernel/brcm2708-gpu-fw/Makefile index 2686cf0..9737a19 100644 --- a/package/kernel/brcm2708-gpu-fw/Makefile +++ b/package/kernel/brcm2708-gpu-fw/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=brcm2708-gpu-fw -PKG_REV:=9d268f00de7c13afa315fe2d303265d535c4bdf0 -PKG_VERSION:=20151025 +PKG_REV:=98e801605b31a5d7a4c36de5cb1d0e33ce95e8ab +PKG_VERSION:=20151214 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_REV).tar.gz PKG_SOURCE_URL:=https://github.com/Hexxeh/rpi-firmware/archive/ -PKG_MD5SUM:=21ac2ba64ef045655b4d4677b3fdf6cd +PKG_MD5SUM:=66bbad77fdd9e5391d4130fa11d94646 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/rpi-firmware-$(PKG_REV) -- 1.9.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2] lantiq, xrx200-net: add devicetree aliases support for port->mac mapping
This patch adds devicetree aliases support, which makes it possible to renumber the physical mac ports. This change has only cosmetical reasons (e.g. appearance in swconfig, kernel messages on link change). Signed-off-by: Martin Schiller--- Changes in v2: - use devicetree aliases instead of 'id' property - only map ports, which are "configured" in the devicetree .../0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 46 -- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/target/linux/lantiq/patches-4.1/0025-NET-MIPS-lantiq-adds-xrx200-net.patch b/target/linux/lantiq/patches-4.1/0025-NET-MIPS-lantiq-adds-xrx200-net.patch index 48c7395..c76c165 100644 --- a/target/linux/lantiq/patches-4.1/0025-NET-MIPS-lantiq-adds-xrx200-net.patch +++ b/target/linux/lantiq/patches-4.1/0025-NET-MIPS-lantiq-adds-xrx200-net.patch @@ -209,7 +209,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net +}; --- /dev/null +++ b/drivers/net/ethernet/lantiq_xrx200.c -@@ -0,0 +1,1798 @@ +@@ -0,0 +1,1818 @@ +/* + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published @@ -404,6 +404,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + +struct xrx200_port { + u8 num; ++ u8 id; + u8 phy_addr; + u16 flags; + phy_interface_t phy_if; @@ -461,6 +462,9 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + struct xrx200_hw *hw; +}; + ++static int id_to_mac[XRX200_MAX_PORT] = {-1,-1,-1,-1,-1,-1,6}; ++static int mac_to_id[XRX200_MAX_PORT] = {-1,-1,-1,-1,-1,-1,6}; ++ +static __iomem void *xrx200_switch_membase; +static __iomem void *xrx200_mii_membase; +static __iomem void *xrx200_mdio_membase; @@ -789,9 +793,13 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + { + struct switch_port *p = >value.ports[i]; + -+ portmap |= (1 << p->id); ++ if (id_to_mac[p->id] < 0) { ++ continue; ++ } ++ ++ portmap |= (1 << id_to_mac[p->id]); + if (p->flags & (1 << SWITCH_PORT_FLAG_TAGGED)) -+ tagmap |= (1 << p->id); ++ tagmap |= (1 << id_to_mac[p->id]); + } + + tem.table = XRX200_PCE_VLANMAP_IDX; @@ -855,7 +863,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + continue; + + p = >value.ports[val->len++]; -+ p->id = i; ++ p->id = mac_to_id[i]; + if (tags & (1 << i)) + p->flags = (1 << SWITCH_PORT_FLAG_TAGGED); + else @@ -898,11 +906,12 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net +} + +// port -+static int xrx200sw_get_port_pvid(struct switch_dev *dev, int port, int *val) ++static int xrx200sw_get_port_pvid(struct switch_dev *dev, int port_id, int *val) +{ ++ int port = id_to_mac[port_id]; + struct xrx200_pce_table_entry tev; + -+ if (port >= XRX200_MAX_PORT) ++ if (port < 0 || port >= XRX200_MAX_PORT) + return -EINVAL; + + tev.table = XRX200_PCE_ACTVLAN_IDX; @@ -914,10 +923,12 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net +} + +static int xrx200sw_get_port_link(struct switch_dev *dev, -+int port, ++int port_id, +struct switch_port_link *link) +{ -+ if (port >= XRX200_MAX_PORT) ++ int port = id_to_mac[port_id]; ++ ++ if (port < 0 || port >= XRX200_MAX_PORT) + return -EINVAL; + + link->link = xrx200sw_read_x(XRX200_MAC_PSTAT_LSTAT, port); @@ -1432,7 +1443,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + xrx200_gmac_update(>port[i]); + priv->port[i].link = priv->port[i].phydev->link; + netdev_info(dev, "port %d %s link\n", -+ priv->port[i].num, ++ priv->port[i].id, + (priv->port[i].link)?("got"):("lost")); + } + } @@ -1633,7 +1644,7 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + for (i = 0; i < priv->num_port; i++) + if (xrx200_mdio_probe(dev, >port[i])) + pr_warn("xrx200-mdio: probing phy of port %d failed\n", -+ priv->port[i].num); ++ priv->port[i].id); + + return 0; + @@ -1787,19 +1798,24 @@ Subject: [PATCH 25/36] NET: MIPS: lantiq: adds xrx200-net + +static void xrx200_of_port(struct xrx200_priv *priv, struct device_node *port) +{ -+ const __be32 *addr, *id = of_get_property(port, "reg", NULL); ++ const __be32 *addr, *mac = of_get_property(port, "reg", NULL); + struct xrx200_port
[OpenWrt-Devel] [PATCH] kernel: remove obsolete config symbols from 4.4
Only remove old symbols for 4.4 since older Kernels might be removed sooner/later and 4.4 is the next LTS build tested against omap 4.4 CONFIG_ALL_KMODS 291 old symbols in generic were found and deleted selected but no longer functional symbols overview: -CONFIG_ARPD=y -CONFIG_BT_L2CAP=y -CONFIG_BT_SCO=y -CONFIG_CAVIUM_OCTEON_HELPER=y -CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 -CONFIG_DISABLE_DEV_COREDUMP=y -CONFIG_EXPERIMENTAL=y -CONFIG_EXT4_FS_XATTR=y -CONFIG_EXT4_USE_FOR_EXT23=y -CONFIG_GENERIC_HARDIRQS=y -CONFIG_HOTPLUG=y -CONFIG_INITRAMFS_COMPRESSION_NONE=y -CONFIG_INLINE_SPIN_UNLOCK=y -CONFIG_LEDS_GPIO_OF=y -CONFIG_LEDS_GPIO_PLATFORM=y -CONFIG_MFD_SUPPORT=y -CONFIG_MISC_DEVICES=y -CONFIG_MTD_CHAR=y -CONFIG_NETDEV_1000=y -CONFIG_NET_ETHERNET=y -CONFIG_NET_PCI=y -CONFIG_NET_VENDOR_SILICOM=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_UIDGID_STRICT_TYPE_CHECKS=y -CONFIG_USB_ARCH_HAS_EHCI=y -CONFIG_USB_ARCH_HAS_OHCI=y -CONFIG_USB_DEVICEFS=y -CONFIG_USB_EZUSB=y Signed-off-by: Dirk Neukirchen--- I wrote a script to collect available Kernel config symbols from a tree (external tree in my case) and OpenWrt specific addons (in target/) and check against symbols in generic (or omap in my case) see https://github.com/plntyk/openwrt-patches/blob/master/scripts/check_oldsymbols.sh it creates a url to make querying lkddb more efficient feel free to use/test/verify target/linux/generic/config-4.4 | 291 1 file changed, 291 deletions(-) diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 index 094a505..8630902 100644 --- a/target/linux/generic/config-4.4 +++ b/target/linux/generic/config-4.4 @@ -16,9 +16,6 @@ CONFIG_32BIT=y # CONFIG_ACPI_CUSTOM_METHOD is not set # CONFIG_ACPI_EXTLOG is not set # CONFIG_ACPI_HED is not set -# CONFIG_ACPI_INT3403_THERMAL is not set -# CONFIG_ACPI_POWER_METER is not set -# CONFIG_ACPI_QUICKSTART is not set # CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set # CONFIG_AD2S1200 is not set # CONFIG_AD2S1210 is not set @@ -36,7 +33,6 @@ CONFIG_32BIT=y # CONFIG_AD5755 is not set # CONFIG_AD5764 is not set # CONFIG_AD5791 is not set -# CONFIG_AD5930 is not set # CONFIG_AD5933 is not set # CONFIG_AD7150 is not set # CONFIG_AD7152 is not set @@ -60,10 +56,6 @@ CONFIG_32BIT=y # CONFIG_AD9523 is not set # CONFIG_AD9832 is not set # CONFIG_AD9834 is not set -# CONFIG_AD9850 is not set -# CONFIG_AD9852 is not set -# CONFIG_AD9910 is not set -# CONFIG_AD9951 is not set # CONFIG_ADAPTEC_STARFIRE is not set # CONFIG_ADE7753 is not set # CONFIG_ADE7754 is not set @@ -82,7 +74,6 @@ CONFIG_32BIT=y # CONFIG_ADIS16209 is not set # CONFIG_ADIS16220 is not set # CONFIG_ADIS16240 is not set -# CONFIG_ADIS16255 is not set # CONFIG_ADIS16260 is not set # CONFIG_ADIS16400 is not set # CONFIG_ADIS16480 is not set @@ -107,7 +98,6 @@ CONFIG_AIO=y # CONFIG_AK09911 is not set # CONFIG_AK8975 is not set # CONFIG_AL3320A is not set -# CONFIG_ALCHEMY_GPIO_INDIRECT is not set # CONFIG_ALIM7101_WDT is not set CONFIG_ALLOW_DEV_COREDUMP=y # CONFIG_ALTERA_MBOX is not set @@ -118,7 +108,6 @@ CONFIG_ALLOW_DEV_COREDUMP=y # CONFIG_AMD8111_ETH is not set # CONFIG_AMD_PHY is not set # CONFIG_AMD_XGBE is not set -# CONFIG_AMD_XGBE_PHY is not set # CONFIG_AMIGA_PARTITION is not set # CONFIG_AMILO_RFKILL is not set # CONFIG_ANDROID is not set @@ -137,7 +126,6 @@ CONFIG_ANON_INODES=y # CONFIG_ARCH_AT91 is not set # CONFIG_ARCH_BCM is not set # CONFIG_ARCH_BCM2835 is not set -# CONFIG_ARCH_BCMRING is not set # CONFIG_ARCH_BERLIN is not set # CONFIG_ARCH_CLPS711X is not set # CONFIG_ARCH_CNS3XXX is not set @@ -151,7 +139,6 @@ CONFIG_ANON_INODES=y CONFIG_ARCH_FLATMEM_ENABLE=y # CONFIG_ARCH_FOOTBRIDGE is not set # CONFIG_ARCH_GEMINI is not set -# CONFIG_ARCH_H720X is not set # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set # CONFIG_ARCH_HI3xxx is not set @@ -161,19 +148,13 @@ CONFIG_ARCH_FLATMEM_ENABLE=y # CONFIG_ARCH_IOP13XX is not set # CONFIG_ARCH_IOP32X is not set # CONFIG_ARCH_IOP33X is not set -# CONFIG_ARCH_IXP2000 is not set -# CONFIG_ARCH_IXP23XX is not set # CONFIG_ARCH_IXP4XX is not set # CONFIG_ARCH_KEYSTONE is not set -# CONFIG_ARCH_KIRKWOOD is not set # CONFIG_ARCH_KS8695 is not set # CONFIG_ARCH_LPC32XX is not set # CONFIG_ARCH_MEDIATEK is not set # CONFIG_ARCH_MESON is not set # CONFIG_ARCH_MMP is not set -# CONFIG_ARCH_MSM is not set -# CONFIG_ARCH_MSM_DT is not set -# CONFIG_ARCH_MSM_NODT is not set # CONFIG_ARCH_MULTIPLATFORM is not set # CONFIG_ARCH_MULTI_V6 is not set # CONFIG_ARCH_MULTI_V7 is not set @@ -185,7 +166,6 @@ CONFIG_ARCH_FLATMEM_ENABLE=y # CONFIG_ARCH_NETX is not set # CONFIG_ARCH_NOMADIK is not set # CONFIG_ARCH_NSPIRE is not set -# CONFIG_ARCH_NUC93X is not set # CONFIG_ARCH_OMAP is not set # CONFIG_ARCH_OMAP1 is not set # CONFIG_ARCH_OMAP2PLUS is not set @@ -194,7 +174,6 @@ CONFIG_ARCH_FLATMEM_ENABLE=y # CONFIG_ARCH_ORION5X is
Re: [OpenWrt-Devel] [PATCH] generic: add missing 4.4 symbols
On 2015-12-14 18:20, Dirk Neukirchen wrote: > found with omap target > > Signed-off-by: Dirk Neukirchen> --- > target/linux/generic/config-4.4 | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/target/linux/generic/config-4.4 b/target/linux/generic/config-4.4 > index 25a8d1b..094a505 100644 > --- a/target/linux/generic/config-4.4 > +++ b/target/linux/generic/config-4.4 > @@ -648,6 +648,7 @@ CONFIG_CC_STACKPROTECTOR_NONE=y > # CONFIG_CHARGER_MAX8903 is not set > # CONFIG_CHARGER_RT9455 is not set > # CONFIG_CHARGER_SMB347 is not set > +# CONFIG_CHARGER_TPS65217 is not set > # CONFIG_CHARGER_TWL4030 is not set > # CONFIG_CHECKPOINT_RESTORE is not set > # CONFIG_CHELSIO_T1 is not set > @@ -1067,6 +1068,7 @@ CONFIG_EXPERT=y > # CONFIG_EXT4_FS_SECURITY is not set > CONFIG_EXT4_FS_XATTR=y > CONFIG_EXT4_USE_FOR_EXT2=y > +CONFIG_EXT4_USE_FOR_EXT23=y Why do you add this only to remove it again in the next patch? - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 6/6] ramips: mt7621: disable ISDN in kernel config
* John Crispin[14.12.2015 09:19]: > > +# CONFIG_ISDN is not set > > ah you found my easter egg. this has been in our config for ages for > some reason beyond my knowledge ;) using OpenWrt as an ISDN-dialup/concentrator is not totally out of scope, but nowadays it's at least exotic... bye, bastian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] kernel: kmod-ptp selects a new config symbol
since Kernel 3.14 408eccce net: ptp: move PTP classifier in its own file found while bug search thx olmari on IRC Signed-off-by: Dirk Neukirchen--- package/kernel/linux/modules/other.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 9bb9dec..62fdc3c 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -820,7 +820,9 @@ define KernelPackage/ptp SUBMENU:=$(OTHER_MENU) TITLE:=PTP clock support DEPENDS:=+kmod-pps - KCONFIG:=CONFIG_PTP_1588_CLOCK + KCONFIG:= \ + CONFIG_PTP_1588_CLOCK \ + CONFIG_NET_PTP_CLASSIFY=y FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko AUTOLOAD:=$(call AutoLoad,18,ptp,1) endef -- 2.6.4 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel