aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: remove obsolete brcm63xx_has_reset_buttonJonas Gorski2015-03-161-33/+0
| | | | | | | | | r37000 made button kmods loaded from generic code, so we don't use it anymore for deciding to load them. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44838
* brcm63xx: set status leds from within diag.shJonas Gorski2015-03-162-34/+97
| | | | | | | | | Instead of setting them up on invocation of brcm63xx_detect, set them when calling diag.sh based. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44837
* brcm63xx: switch to board_name based configurationJonas Gorski2015-03-164-93/+95
| | | | | | | | | Board IDs are not unique, so in preparation for depricating them, always use board_name for any (default) configuration decisions. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44836
* brcm63xx: add missing board_ids to legacy_detectJonas Gorski2015-03-161-0/+21
| | | | | | | | These boards do not have a corresponding dts file yet. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44835
* brcm63xx: add device tree based board detectionJonas Gorski2015-03-161-63/+154
| | | | | | | | | | | | Use the device tree model property for detecting the board instead of board id from nvram if present. Since we can now directly detect the DVA-G3810BN, we can remove the extra check for it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44834
* brcm63xx: populate /tmp/sysinfoJonas Gorski2015-03-161-37/+176
| | | | | | | | | Take full board name from devicetree, if present. Provide a method for retrieving the board name. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44833
* brcm63xx: base-files: rename board_name to board_idJonas Gorski2015-03-165-9/+9
| | | | | | | | | Rename board_name to board_id to prepare for using board_name as a proper name for the board. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44832
* brcm63xx: Add DGND3700 v1 / DGND3800B supportJonas Gorski2015-03-168-1/+286
| | | | | | | | | | | | | | | | | This adds support for the Netgear DGND3700 v1 and DGND3800B. DGND3700 v1 and DGND3800B are exactly the same router, only one difference, the factory firmware. This patch produces two factory firmwares for each router. The router includes an onboard NAND flash for extra storage. NAND is currently not supported in bcm63xx, so no code added for this part. The NOR flash (32MB) is enough for storing an openwrt firmware. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: Add back commit message from v1] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44831
* netlogic: bump to 3.18John Crispin2015-03-163-77/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44829
* mvebu: drop linux 3.14 supportFelix Fietkau2015-03-1616-1804/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44828
* kernel: add missing MTD_SPLIT_FIT_FW symbolJohn Crispin2015-03-164-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44827
* sunxi: drop 3.14 supportJohn Crispin2015-03-16128-19237/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44824
* adm5120: drop 3.8 and 3.14 supportJohn Crispin2015-03-16228-29489/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44823
* ar7: drop 3.14 supportJohn Crispin2015-03-1613-951/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44822
* ixp4xx: drop 3.14 supportJohn Crispin2015-03-1642-9739/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44821
* octeon: drop 3.14 supportJohn Crispin2015-03-166-571/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44820
* oxnas: drop 3.14 supportJohn Crispin2015-03-1615-839/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44819
* mpc85xx: drop 3.14 supportJohn Crispin2015-03-169-1203/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44818
* cns3xxx: drop 3.14 supportJohn Crispin2015-03-1626-1533/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44817
* au1000: drop 3.14 supportJohn Crispin2015-03-161-140/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44816
* ar71xx: drop 3.14 supportJohn Crispin2015-03-1684-9375/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44815
* realview: drop 3.14 supportJohn Crispin2015-03-162-259/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44814
* malta: drop 3.14 supportJohn Crispin2015-03-161-250/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44813
* lantiq: drop 3.14 supportJohn Crispin2015-03-1647-17512/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44812
* ralink: drop 3.14 supportJohn Crispin2015-03-1675-31513/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44811
* x86: refresh kernel patchesFelix Fietkau2015-03-165-7/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44810
* x86: merge all geode based subtargets into oneFelix Fietkau2015-03-1627-838/+74
| | | | | | | | | Build all geode platform drivers into the kernel Remove kmod-* packages for these drivers Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44809
* x86: remove 3.14 supportFelix Fietkau2015-03-1610-1490/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44805
* kernel: remove linux 3.13 supportFelix Fietkau2015-03-16170-35633/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44804
* omap: remove old kernel versionsFelix Fietkau2015-03-1613-1859/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44803
* omap: update to linux 3.18, it has been tested by at least one builder and ↵Felix Fietkau2015-03-161-1/+1
| | | | | | | | 3.13 has not been built by buildbot in a long time Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44802
* kernel: port missing ubi EOF marker support patch to 3.19 and 4.0Felix Fietkau2015-03-162-0/+102
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44801
* kernel: fix duplicate use of patch number 490Felix Fietkau2015-03-161-0/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44800
* kernel: add a few missing config symbols for 3.18+Felix Fietkau2015-03-163-0/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44799
* kernel: add missing description for GRO optimization patchFelix Fietkau2015-03-163-0/+42
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44798
* kernel: skip GRO for packets bridged to other hostsFelix Fietkau2015-03-153-0/+36
| | | | | | | | | Eliminates excessive skb copying when bridging from LAN to WLAN on ramips. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44797
* ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positionsJohn Crispin2015-03-151-0/+1
| | | | | | | | | | While the switch positions aren't explicitly labeled as on and off, we've heard complaints about them being wrong. This patch changes the handling to match the stock firmware. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 44795
* ipq806x: fix AP148 boot from NORJohn Crispin2015-03-152-0/+38
| | | | | | | | | | | | | | | | This patch allows AP148 to boot from NOR flash. As we're using a FIT image as kernel (which includes kernel bin + DTB) we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT image and automatically split the "firmware" partition into 2 MTD parts (kernel + rootfs). The rootfs will then be parsed and split between rootfs + rootfs_data, as usual. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44794
* ipq806x: add ap148 bootargs to DTJohn Crispin2015-03-151-0/+46
| | | | | | | | | Only one bootargs is really needed: the tty port. All the other information will use the OpenWrt mechanisms. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44793
* kernel: mtdsplit: add support for FIT imageJohn Crispin2015-03-154-0/+147
| | | | | | | | | | | If this option is enabled, the FIT image format will be detected and split by the mtdsplit code. Detection is based upon the FDT magic, which will trigger the parsing and detection of the rootfs, ending-up in the creation of the 2 new partitions. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44792
* Fix (invert/revert) Hornet-UB WPS LED stateJohn Crispin2015-03-151-1/+1
| | | | | | | | | | | | | | | My previous patch regarding the Hornet-UB board (commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually causes the WPS led state to be inverted. Practically this meant that value 0 in /sys/class/led/alfa:blue:wps/brightness would turn the LED on and any positive value (1-255) would turn it off. The above of course is confusing and hence reverting this value back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718. Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com> SVN-Revision: 44791
* b53: global config is part of the management page, not the control pageJonas Gorski2015-03-151-2/+2
| | | | | | | | | | It will now actually enable the mib counters instead of enabling rx/tx for the first switch port. Reported-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44788
* brcm63xx: brcm63xxpart: fix buffer overrun in of parserJonas Gorski2015-03-152-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We never account for the added partitions from the tag parser, so allocated two partioness less than needed. This can cause issues when the memory gets reused before the mtd code can actually add the partitions. Fixes oopses like: [ 0.920000] mtd: device 2 (rootfs) set to be root filesystem [ 0.924000] 1 squashfs-split partitions found on MTD device rootfs [ 0.932000] 0x0000002e0000-0x0000003f0000 : "rootfs_data" [ 0.940000] 0x000000010000-0x0000003f0000 : "linux" [ 0.948000] CPU 0 Unable to handle kernel paging request at virtual address 00010203, epc == 8028ddf8, ra == 801ad5d4 [ 0.956000] Oops[#1]: [ 0.956000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.8 #22 [ 0.956000] task: 8181da78 ti: 8181e000 task.ti: 8181e000 [ 0.956000] $ 0 : 00000000 10008f00 00010203 81049e40 [ 0.956000] $ 4 : 00010203 000000d0 00000000 000000fd [ 0.956000] $ 8 : 00000000 80015490 00000000 80370000 [ 0.956000] $12 : 00000000 00000001 00000000 2f736269 [ 0.956000] $16 : 00010203 000000d0 8007bde0 81482000 [ 0.956000] $20 : 00000000 00000004 81481f80 803c4b78 [ 0.956000] $24 : 00000000 00000000 [ 0.956000] $28 : 8181e000 8181fbe8 80b20000 801ad5d4 [ 0.956000] Hi : 00000000 [ 0.956000] Lo : 00000000 [ 0.956000] epc : 8028ddf8 strlen+0x4/0x20 [ 0.956000] Not tainted [ 0.956000] ra : 801ad5d4 kstrdup+0x30/0x84 [ 0.956000] Status: 10008f03 KERNEL EXL IE [ 0.956000] Cause : 00800008 [ 0.956000] BadVA : 00010203 [ 0.956000] PrId : 0002a010 (Broadcom BMIPS4350) [ 0.956000] Modules linked in: [ 0.956000] Process swapper/0 (pid: 1, threadinfo=8181e000, task=8181da78, tls=00000000) [ 0.956000] Stack : 8148aa00 803c4bcc 00000000 801cd9d0 00000000 8148a400 818a1400 003f0000 81482000 8007bde0 8148aa00 800ac78c 8148aa00 00000004 8037ae30 8181fc4c 8148aa00 803bc074 803c0000 80074b84 00000000 00010000 00000004 ffffffff 8037ae30 00000004 8148aa00 00000004 803c4b80 818a1400 803c0000 00000005 81481f80 80074ce0 8181fc84 00000005 81879800 8008ece4 00000000 003f0000 ... [ 0.956000] Call Trace: [ 0.956000] [<8028ddf8>] strlen+0x4/0x20 [ 0.956000] [<801ad5d4>] kstrdup+0x30/0x84 [ 0.956000] [<8007bde0>] allocate_partition+0x58/0x93c [ 0.956000] [<80074ce0>] add_mtd_partitions+0x90/0x144 [ 0.956000] [<801cc228>] mtd_device_parse_register+0x78/0xcc [ 0.956000] [<801e7870>] of_flash_probe+0x658/0x728 [ 0.956000] [<80216ee0>] platform_drv_probe+0x24/0x60 [ 0.956000] [<801221f4>] driver_probe_device+0xcc/0x214 [ 0.956000] [<800466f8>] __driver_attach+0x7c/0xb4 [ 0.956000] [<800c38bc>] bus_for_each_dev+0x94/0xa4 [ 0.956000] [<800c35e4>] bus_add_driver+0x104/0x1ec [ 0.956000] [<80122400>] driver_register+0xac/0x100 [ 0.956000] [<80113a5c>] do_one_initcall+0x148/0x204 [ 0.956000] [<803cbd1c>] kernel_init_freeable+0x168/0x220 [ 0.956000] [<800157bc>] kernel_init+0x10/0x114 [ 0.956000] [<800108a8>] ret_from_kernel_thread+0x14/0x1c [ 0.956000] [ 0.956000] Code: 03e00008 27bd0028 00801021 <80430000> 10600003 00000000 080a377e 24420001 03e00008 [ 1.192000] ---[ end trace 9d89ccbcae27fe40 ]--- [ 1.200000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.200000] [ 1.200000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44787
* brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+Jonas Gorski2015-03-151-1/+3
| | | | | | | | Fix the module path for linux 3.18+. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44785
* brcm63xx: fix 6368 cpu1 reg typoJonas Gorski2015-03-151-1/+1
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44784
* lantiq: add a better fix to strip FCS from ethernet packets on XRX200Felix Fietkau2015-03-151-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44771
* lantiq: enable atm-esi by default for xrx200Felix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44769
* brcm2708: fix mkdosfs command line options orderFelix Fietkau2015-03-151-2/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44764
* x86: refresh kernel configFelix Fietkau2015-03-152-17/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44759
* x86: update to kernel 3.18Felix Fietkau2015-03-1512-1/+1502
| | | | | | | | | | | | | | copied target/linux/x86/config-3.14 and target/linux/x86/patches-3.14 to 3.18 equivalents and then tweaked until it built. Tested on alix2, soekris net4826 and soekris net4521. Still having trouble with net4826 booting from Grub, alix2 and net4521 are fine. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 44758