aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 43078
* e2fsprogs: fix description, tune2fs is not part of the e2fsprogs packageJohn Crispin2014-10-261-2/+1
| | | | | | | | https://dev.openwrt.org/ticket/18209 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43076
* 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> SVN-Revision: 43074
* ramips: fix filenames in PorayDualSize factory imagesJohn Crispin2014-10-261-2/+2
| | | | SVN-Revision: 43073
* 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 SVN-Revision: 43072
* comgt: fix typo in the ncm proto handlerJohn Crispin2014-10-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43071
* generate list of license information for packagesJohn Crispin2014-10-263-1/+31
| | | | | | | | | | | | | Many packages define already metadata about their license (PKG_LICENSE), but this is only included in the ipk files. This change allows to create the information also on the build-host, to get an overview on the used licenses. In the full list, also all packages without this info are shown Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> SVN-Revision: 43070
* util-linux-dmesg: Add missing install sectionJohn Crispin2014-10-261-0/+6
| | | | | | | | | | | Package util-linux-dmesg is broken (at least) in Barrier Breaker git repo as you can select it within menuconfig, it will compile (as a part of util-linux) but it will not install as install section is missing from package Makefile. Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com> SVN-Revision: 43069
* Revert "include/shell.sh: remove getvar()"Felix Fietkau2014-10-261-0/+4
| | | | | | | | It is more widely used than I thought. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43068
* findutils: add dependency on bisonFelix Fietkau2014-10-261-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43064
* broadcom-wl: align with mac80211 configJo-Philipp Wich2014-10-252-6/+15
| | | | | | | | | - Support HT40 instead of HT40+/HT40- like mac80211 - Enable 11n if htmode is HT20 or HT40 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43063
* 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> SVN-Revision: 43061
* tools: Fix compilation on x32 hostFelix Fietkau2014-10-253-1/+166
| | | | | | | | | | | | | | | | | | Compiling the host tools on the new x32 architecture (which is an ILP32 ELF32 system on an amd64 CPU) fails for various reasons. gmp: pull same fix I applied to OpenADK, which was inspired by the fix in the Debian source package mtd-utils: write a workaround myself; only affects x32, but the use of llseek is dangerous according to the manpage, so the guard ifdef should probably go away findutils: pull fix straight from the Debian source packae Signed-off-by: Thorsten Glaser <tg@mirbsd.org> SVN-Revision: 43060
* hostapd: update to 2014-10-25Felix Fietkau2014-10-2531-409/+113
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43059
* ath9k: add a few calibration related fixesFelix Fietkau2014-10-253-10/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43058
* odhcp6c: avoid some unnecessary big mallocsSteven Barth2014-10-251-2/+2
| | | | SVN-Revision: 43056
* rtlwifi: unbreak usb driversFelix Fietkau2014-10-243-0/+174
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43052
* ar71xx: refresh 3.10 patchesFelix Fietkau2014-10-2414-83/+77
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43051
* kernel: refresh generic 3.10 patchesFelix Fietkau2014-10-2441-104/+100
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43050
* kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)Felix Fietkau2014-10-243-68/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All platforms which are using 3.10.x at the moment are upgraded. Changelogs: https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58 A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f ("x86-espfix-make-it-possible-to-disable-16-bit-support.patch") I defaults to 'unset', but it's worth a discussion to enable it ("turn off support for any 16-bit software"). Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e ("fix build failure on memcpy() in decompress.c") and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream. included in kernel 3.10.56 compile tested on all platforms with: make tools/install make toolchain/install make target/linux/compile user@box:~/user/openwrt$ cat /tmp/log.txt [Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK [Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK [Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK [Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK [Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK [Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK [Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK [Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK [Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK [Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK [Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK [Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK [Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK [Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK [Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK [Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK [Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43049
* netlogic: use KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43048
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-2449-49/+49
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
* broadcom_wl: eliminate compiler error with gcc-4.9-linaroFelix Fietkau2014-10-241-0/+21
| | | | | | | | | | | | | | | | | | | | | Attempting to build broadcom_wl (from trunk) with the linaro 4.9.x toolchain produces the following errors: <...>/wl_linux.c: In function 'wl_dump_ver': <...>/wl_linux.c:2302:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time] __DATE__, __TIME__, EPI_VERSION_STR); ^ <...>/wl_linux.c:2302:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time] __DATE__, __TIME__, EPI_VERSION_STR); ^ cc1: some warnings being treated as errors Remove the use of the __DATE__ and __TIME__ macros, as the info is not really useful. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 43046
* openssl: fix target definition for x86_64 (#18182)Felix Fietkau2014-10-243-11/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43045
* netifd: update to the latest version, fixes a use-after-free bugFelix Fietkau2014-10-241-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43044
* kernel: allow targets to specify KERNEL_PATCHVER instead of LINUX_VERSIONFelix Fietkau2014-10-241-22/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43043
* gdb: fix build failure on armNicolas Thill2014-10-241-0/+22
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 43042
* include: unbreak conffiles, postinst & prerm exportsJo-Philipp Wich2014-10-241-1/+5
| | | | | | | | | | | | Changeset r43017 reworked the ipkg control metadata generation but broke the export of conffiles, postinst and prerm defines. Change the code back to rely on shvar and shexport, this is required to properly output multiline contents. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43041
* linux: add kmod-i2c-piix4Jo-Philipp Wich2014-10-241-0/+22
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43040
* netlogic: fix modular USB buildFlorian Fainelli2014-10-241-0/+13
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43039
* netlogic: add basic user-space supportFlorian Fainelli2014-10-244-0/+90
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43038
* netlogic: add XLR/XLP supportFlorian Fainelli2014-10-247-0/+277
| | | | | | | | Add support for Broadcom/Netlogic XLR/XLP support Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43037
* kernel: add a memmove() implementation for MIPS boot decompressorFlorian Fainelli2014-10-241-0/+24
| | | | | | | | | This is required due to 306-mips_mem_functions_performance.patch, just add a memmove() implementation to satisfy the lzma2 decompressor code. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43036
* toolchain: fix mips64 musl linker namesFlorian Fainelli2014-10-242-0/+44
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43035
* ath: process regulatory notifiers with CONFIG_ATH_USER_REGD setFelix Fietkau2014-10-231-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43034
* ath10k: fix survey output channel in-use flagFelix Fietkau2014-10-231-0/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43033
* ath9k: fix tx power reportingFelix Fietkau2014-10-2211-70/+205
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43032
* bcm53xx: backport forgotten spi-nor changeRafał Miłecki2014-10-221-0/+23
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43031
* bcm53xx: backport spi-nor patches from 3.18-rc1Rafał Miłecki2014-10-225-136/+107
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43030
* ath9k: merge ar9580/ar955x initval updatesFelix Fietkau2014-10-222-0/+199
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43029
* ath9k: merge a regulatory handling fixFelix Fietkau2014-10-224-3/+59
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43028
* linux: add kmod-hwmon-k10tempJo-Philipp Wich2014-10-221-0/+16
| | | | | | | | | This module is required to read the CPU core temperature sensors on the Alix APU board. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43027
* ar71xx: add support for buffalo WZR-450HP2Felix Fietkau2014-10-229-1/+280
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43026
* Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"Felix Fietkau2014-10-223-3/+0
| | | | | | | This seems to cause issues on some build hosts, and it is not that important. SVN-Revision: 43025
* kernel: use .ONESHELL to speed up processing of many kmod-* packagesFelix Fietkau2014-10-221-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43024
* build: only print skipped packages that were selectedFelix Fietkau2014-10-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43023
* kernel: use /bin/sh instead of bash to speed up processing of many kmod-* ↵Felix Fietkau2014-10-222-2/+4
| | | | | | | | packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43022
* build: use ONESHELL to speed up scanning and the toplevel makefileFelix Fietkau2014-10-223-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43021
* include/shell.sh: remove getvar()Felix Fietkau2014-10-221-4/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43020
* build: optimize target metadata dumpFelix Fietkau2014-10-221-8/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43019