aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BB: lantiq:John Crispin2014-11-031-0/+24
| | | | | | | | | | | | | | | | | | | MIPS: Fix rtlx build error. CC arch/mips/kernel/rtlx.o /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘file_write’: /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:439:23: error: unused variable ‘rt’ [-Werror=unused-variable] /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c: In function ‘rtlx_module_init’: /home/ralf/src/linux/upstream-sfr/arch/mips/kernel/rtlx.c:523:3: error: implicit declaration of function ‘set_vi_handler’ [-Werror=implicit-function-declaration] cc1: all warnings being treated as errors Caused by 496ad9aa8ef448058e36ca7a787c61f2e63f0f54 [new helper: file_inode(file)]. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: lantiq: falcon/vr9 - add support for vpe1John Crispin2014-11-031-0/+1358
| | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: lantiq: falcon/vr9 - vpe softdogJohn Crispin2014-11-031-0/+171
| | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: lantiq: ltq-vmmc add support for ar9-vr9John Crispin2014-11-031-0/+247
| | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: feeds: use https for LuCI github feed, like all othersJo-Philipp Wich2014-11-011-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: feeds: switch to LuCI github repoJo-Philipp Wich2014-11-011-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43141 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/imagebuilder: remove obsolete !TARGET_ROOTFS_INITRAMFS dependencyFelix Fietkau2014-10-311-1/+0
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r43128 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519: fix profile, this board have a rt2800-pci boardJohn Crispin2014-10-301-2/+2
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519: fix board_config on dts, read mac address and set itJohn Crispin2014-10-293-14/+16
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: busybox: make high ASCII chars printable (#7993)Jo-Philipp Wich2014-10-272-1/+21
| | | | | | | | | | | | | | Currently busybox utils like "ls" fail to display filenames containing UTF-8 characters, replacing any special characters with "?". Change libbb's printable_string() function to allow high ASCII characters so that unicode filenames are displayed correctls. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r43084 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: px5g-standalone: use /dev/urandom to initialize serial (#18232)Jo-Philipp Wich2014-10-272-4/+27
| | | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r43080 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: uhttpd: fix HTTP incompatibilities in file handlerJo-Philipp Wich2014-10-271-2/+2
| | | | | | | | | | | | | * Fixes sending an extraneous message body for 204 and 304 resoponses which breaks Chrome in keep-alive mode. * Adds mimetypes for JSON and JSONP. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r43078 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix key flush handling in AP+STAFelix Fietkau2014-10-273-13/+43
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r43079 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: fix WAN/LAN-MAC for TP-LINK TL-WDR4900 v1John Crispin2014-10-261-21/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This works around a bootloader issue where every device has the same lan/wan-mac 00:04:9f:ef:01:01 - with this patch we read the macs from config-partition during initial network setup. We have 9 valid macs stored in the partition, the 1st two are used for the radios, 3 and 4 are now used for WAN/LAN. on an already setup / running device we can get the real macs with . /lib/functions.sh . /lib/functions/system.sh echo "LAN = $(mtd_get_mac_binary config 338)" echo "WAN = $(mtd_get_mac_binary config 344)" see: https://dev.openwrt.org/ticket/14714 from the ticket / user klondike: U-Boot passed this commit https://gitorious.org/0xlab-kernel/u-boot/commit/ecd1a09b81f2ed6e6ba7bd1d0bfb0cc3d0ea2ad0 http://u-boot.10912.n7.nabble.com/U-Boot-PATCH-mpc83xx-remove-hardcoded-network-addresses-from-config-files-td44372.html I suppose to prevent this particular issue, but the WDR4900 may be using an old bootloader still affected. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I have been checking the contents of the dtb on the flash, this particular bit is quite revealing: ethernet@b0000 { #address-cells = <0x1>; #size-cells = <0x1>; device_type = "network"; model = "eTSEC"; compatible = "fsl,etsec2"; fsl,num_rx_queues = <0x8>; fsl,num_tx_queues = <0x8>; local-mac-address = [00 00 00 00 00 00]; ^^^^^^^^^^^^^^^^^ interrupt-parent = <0x2>; phy-handle = <0x3>; phy-connection-type = "rgmii-id"; ptimer-handle = <0x4>; queue-group@0 { #address-cells = <0x1>; #size-cells = <0x1>; reg = <0xb0000 0x1000>; rx-bit-map = <0xff>; tx-bit-map = <0xff>; interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; }; }; I also have been checking the live device map to find this: root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe00000/ethernet@b0000/local-mac-address 00000000 00 04 9f ef 01 01 |......| 00000006 root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe00000/ethernet@b1000/local-mac-address * root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe00000/ethernet@b2000/local-mac-address * My conclussion is that U-Boot most likely finds the device and (as no valid MAC-address is provided) falls back to the default MAC provided by the old code, the kernel then receives thee modified device map from U-Boot and assumes this is the correct MAC for the device despite it obviously isn't. This can be seen at target/linux/mpc85xx/patches-3.10/140-powerpc-85xx-tl-wdr4900-v1-support.patch The enetaddr is filled up by using the device tree data by the process_boot_dtb function and used by the platform_fixups function to set the eth0 address (by calling dt_fixup_mac_address_by_alias("ethernet0", enetaddr); ). But instead we should be used the device address which to my understanding is provided in the mtd. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> Backport of r43074 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: vgv7519: support more recent board release with vrx288 v1.2John Crispin2014-10-261-1/+2
| | | | | | | | The existance of this new board has been confirmed and tested by the guy on this commit https://github.com/openwrt-vgv7519/uboot-bin/commit/76fdd8e638f81e324ffe77856481bd147398f6e8 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: makefiles: make use of new var KERNEL_PATCHVERRafał Miłecki2014-10-2626-26/+26
| | | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Inspired by r43047 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: allow targets to specify KERNEL_PATCHVER instead of LINUX_VERSIONRafał Miłecki2014-10-261-10/+10
| | | | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r43043 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43066 3c298f89-4303-0410-b956-a3cf2f4a3e73
* findutils: add dependency on bisonFelix Fietkau2014-10-261-0/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r43064 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add /etc/shadow to list of essential files to keep in sysupgrade ↵Felix Fietkau2014-10-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (bug 18206) Based on bug #18206 sysupgrade can lead to loss of password information in certain situations. Most likely all users who will upgrade from versions r43017-43040, will lose their current passwords. :-( https://dev.openwrt.org/ticket/18206 Currently /etc/shadow is defined as a conffile in base-files: https://dev.openwrt.org/browser/trunk/package/base-files/Makefile#L37 But it is not defined in the default list of essential files to keep in sysupgrade: https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/keep.d/base-files-essential If exporting conffiles info fails, /etc/shadow can get lost. Shadow passwords are now the default, so saying that preserving /etc/passwd is essential while /etc/shadow is not, makes no sense. The attached patch adds /etc/shadow to the list of essential files. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Backport of r43061 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: avoid some unnecessary big mallocsSteven Barth2014-10-251-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix regulatory notifier calls with CONFIG_ATH_USER_REGD=y (#18211)Felix Fietkau2014-10-251-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: refresh patchesFelix Fietkau2014-10-255-56/+50
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: backport tx power reporting fixFelix Fietkau2014-10-251-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/adc: backport essential fixes for ad799xJohn Crispin2014-10-201-0/+159
| | | | | | | | | This patch ports back some fixes of the ad799x driver, which were committed between 3.10 and 3.15. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)Felix Fietkau2014-10-191-0/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42963 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* polarssl: do not build the unused programsFelix Fietkau2014-10-191-0/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42960 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: disable irq on reboot to fix hang issues (fixes #17839)Felix Fietkau2014-10-181-0/+10
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42955 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* polarssl: add missing version bumpFelix Fietkau2014-10-181-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42949 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)Felix Fietkau2014-10-181-0/+12
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42947 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: CVE-2014-3686 fixesSteven Barth2014-10-179-11/+229
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: include: correctly predefine other version variables as wellJo-Philipp Wich2014-10-161-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: include: predefine correct repo url template for 14.07Jo-Philipp Wich2014-10-161-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* BB: openssl: update to v1.0.1j (CVE-2014-3513, CVE-2014-3567, CVE-2014-3568)Jo-Philipp Wich2014-10-163-13/+13
| | | | | | | | | | Also refresh patches and bump copyright year in Makefile. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Backport of r42929 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: lantiq: start using device-tree on ifxmips_pcieJohn Crispin2014-10-141-0/+51
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519: fix irq and disable pcieJohn Crispin2014-10-141-1/+5
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: lantiq: enable pci busJohn Crispin2014-10-141-1/+1
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: mac80211: add support for rf5362 (needed by vgv7519 wifi)John Crispin2014-10-141-0/+79
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519: extract wifi firmware from mtdJohn Crispin2014-10-141-1/+1
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: lantiq: remove strip-fcs patch that seems to introduce regression on ↵John Crispin2014-10-141-11/+0
| | | | | | | | multiple devices Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: lantiq: fix pinctrl-xwayJohn Crispin2014-10-141-0/+15
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519: backport vgv7519 dtsJohn Crispin2014-10-143-27/+38
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: use wpad-mini in WDR4900 profile instead of wpadJohn Crispin2014-10-141-1/+1
| | | | | | | | | This change makes the profile of WDR4900 more consistent with other router specific profiles. Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix initial nand sysupgradeFelix Fietkau2014-10-121-0/+14
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42884 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix parsing of the has_env parameterFelix Fietkau2014-10-121-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42883 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove NO-IR from channel 36-48Felix Fietkau2014-10-121-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42882 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix parse errors with some dhcpv6 serversSteven Barth2014-10-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix typo in last commitSteven Barth2014-10-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: don't assign addresses or prefixes prematurelySteven Barth2014-10-082-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: Adopt irq_domain support for cns3xxx gpio driverFelix Fietkau2014-10-081-7/+23
| | | | | | | | | | | Have gpio driver adopt irqdomain support so that there are non-overlapping allocations of irq numbers mapped to gpio's. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> Backport of r42844 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix shared PCI interrupt mappingFelix Fietkau2014-10-081-5/+2
| | | | | | | | | | | | | | | | This patch originally failed to combine INTA/B/C/D onto a single ARM CPU interrupt. Instead, it mapped INTA/B/C and excluded D. This patch corrects the issue by mapping all four interrupts to the single ARM CPU interrupt. The original intent of the patch still holds as the newer PCB take advantage of isolated interrupts. This fix only applies to older PCB's that do not route INTA/B/C/D to unique external ARM CPU interrupts. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> Backport of r42830 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42846 3c298f89-4303-0410-b956-a3cf2f4a3e73