summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel: re-enable the firmware loaderJohn Crispin2015-02-172-4/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44481
* generic: ocf: irq compat stuff is not needed anymoreNicolas Thill2015-02-141-0/+2
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44444
* generic: upgrade to 3.18.7Imre Kaloz2015-02-146-63/+18
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44442
* brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi ↵John Crispin2015-02-132-0/+4
| | | | | | | | 2 by removing local version Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44432
* generic: improve kexec support of MIPS.John Crispin2015-02-132-0/+616
| | | | | | | | | | | | | - Allow --command-line parameters of kexec-tools be parsed and used by the kernel. - For malta machine, mark kernel code and kernel data segments as "System RAM" instead of "reserved" in /proc/iomem, otherwise kexec-tools will complain that program segments in ELF kernel file are invalid. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 44429
* kernel: mtdsplit_uimage: fix passed info about buf sizeRafał Miłecki2015-02-121-2/+2
| | | | | | | | We obviously can't use sizeof(*buf) which is always 1. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44424
* generic: fix broken patch in the transition of 3.19 from -rc5 to release .0John Crispin2015-02-121-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 44416
* kernel: mtdsplit_uimage: read more data to match Edimax needsRafał Miłecki2015-02-121-8/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44415
* kernel: mtdsplit_uimage: use separated buffer for reading dataRafał Miłecki2015-02-121-18/+16
| | | | | | | | | We shouldn't read data directly into the header struct, as some devices (e.g. Edimax) need more bytes due to some extra header. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44414
* kernel: mtdsplit_uimage: add parser for Edimax devicesRafał Miłecki2015-02-121-0/+53
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44413
* mtdsplit_uimage: more generic header verify functionRafał Miłecki2015-02-121-11/+26
| | | | | | | | | | Some devices have uImage headers after some extra headers (e.g. Edimax devices). To support such cases our verify callback function should be allowed to return header offset, not just a boolean value. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44412
* kernel: fix bgmac check for chip IDRafał Miłecki2015-02-116-12/+150
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44411
* kernel: backport mainlined bgmac patches from 3.19Rafał Miłecki2015-02-114-20/+44
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44410
* generic: add a few missing symbols for generic config-3.19.John Crispin2015-02-111-0/+2
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 44387
* kernel: backport bcma patches queued for 3.20Rafał Miłecki2015-02-112-0/+1054
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44385
* kernel: 3.18: complete backport of some bcma patchRafał Miłecki2015-02-111-0/+37
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44384
* kernel: switch 3.19 from -rc5 to release .0Luka Perkov2015-02-1014-147/+31
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44381
* kernel: add missing symbolJohn Crispin2015-02-101-0/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 44373
* kernel: copy mips_decompressor_memmove patch to 3.18/3.19John Crispin2015-02-092-0/+44
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44339
* kernel: add missing symbolsJohn Crispin2015-02-092-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44338
* kernel: fix compile error inside adm6996.cJohn Crispin2015-02-091-1/+1
| | | | | | | | drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=] Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44333
* linux/generic: add missing config symbolsNicolas Thill2015-02-083-0/+6
| | | | | | | | Related to debug/tracing, only added to 3.14+, might be needed for older versions as well Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 44323
* kernel: update 3.18 to 3.18.6Luka Perkov2015-02-087-30/+20
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44318
* kernel: update 3.14 to 3.14.32Luka Perkov2015-02-072-10/+5
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44302
* generic: allow ubi autoattach to run on NOR flashImre Kaloz2015-02-054-8/+12
| | | | | | | | | | | | Some devices out there only have a NOR flash to store the rootfs on. While using UBI is arguable on this kind of flash, this is something that should be supported. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44260
* ar71xx: Revert "added board support for compex wpj558"John Crispin2015-02-021-1/+0
| | | | | | | | This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44245
* added board support for compex wpj558John Crispin2015-02-021-0/+1
| | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 44237
* kernel: disable bcma's usage of OF API in kernel 3.10Rafał Miłecki2015-01-311-0/+30
| | | | | | | | | It fails to build because of missing of_irq_parse_raw and incompatible irq_create_of_mapping. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44230
* linux: fix mips boot decompressor buildJo-Philipp Wich2015-01-302-64/+18
| | | | | | | | | | Replace the now defunct 062-mips_decompressor_build_fix.patch with another patch that simply undefines the arch memset and memcpy defines to avoid syntax errors in the redeclaration. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44223
* ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)John Crispin2015-01-301-0/+4
| | | | | | | | | | | The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are pretty much the same as WNR2000v3/WNR612v2, therefore the same initialization code and flash layout is used. Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com> Tested-by: Douglas Fraser <1dsfraser@gmail.com> SVN-Revision: 44221
* kernel: bcm47xxpart: support T_Meter partitionsRafał Miłecki2015-01-282-0/+94
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44185
* linux: add upstream patch to allow building dwc2 as module on 3.18Jo-Philipp Wich2015-01-281-0/+146
| | | | | | | | Also add the required config symbols to usb.mk Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44181
* kernel: add LZ4 decompressors to kconfig hackJohn Crispin2015-01-282-2/+18
| | | | | | Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 44168
* kernel: update 3.14 to 3.14.30Luka Perkov2015-01-285-11/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44158
* kernel: bcm47xxpart: support boart_data partition on XiaomiRafał Miłecki2015-01-272-0/+78
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44157
* kernel: backport queued bcm47xxpart changesRafał Miłecki2015-01-274-132/+190
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44156
* kernel: add missing symbol to generic 3.18 configJo-Philipp Wich2015-01-251-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44150
* generic/3.19: fixup the value of IFF_NO_IP_ALIGNImre Kaloz2015-01-251-1/+1
| | | | | | | Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44139
* kernel: update 3.14 to 3.14.29Luka Perkov2015-01-253-13/+9
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44137
* xburst: fix kernel buildJo-Philipp Wich2015-01-251-0/+64
| | | | | | | | | | | | Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is still required to properly build the xburst kernel. Fix the syntax error in the preprocessed code by explicitely undefining the "memcpy" and "memset" macros prior to declaring the replacements functions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44133
* generic: add preliminary 3.19 supportImre Kaloz2015-01-25175-0/+31697
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44126
* generic/3.18: update to 3.18.3Imre Kaloz2015-01-251-10/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44121
* kernel: remove linux 3.3 patches and configFelix Fietkau2015-01-24179-45292/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44109
* ar8216: prefix mii_xxx functions to avoid kernel namespace pollutionFelix Fietkau2015-01-243-18/+18
| | | | | | | | | Prefix the exported mii_xxx32 functions with ar8xxx_ to avoid kernel namespace pollution. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44105
* ar8216: add swconfig attribute to display ARL table on AR8327/AR8337Felix Fietkau2015-01-244-15/+220
| | | | | | | | | | | | | | Add global read-only swconfig attribute "arl_table" to display the address resolution table. So far the chip-specific part is implemented for AR8327/AR8337 only as I don't have the datasheets for the other AR8XXX chips. Successfully tested on TL-WDR4300 (AR8327rev2) and TL-WDR4900 (AR8327rev4). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44104
* ar8216: decrease page switch wait timeFelix Fietkau2015-01-242-3/+9
| | | | | | | | | | | | | | | | | | | | | | Until a few years ago the page switch wait time was set to msleep(1) what was changed to usleep_range(1000, 2000) later. I can not imagine that a low-level operation like switching page on register level takes so much time. Most likely the value of 1ms was initially set to check whether it fixes an issue and then remained w/o further checking whether also a smaller value would be sufficient. Now the wait time is set to 5us and I successfully tested this on AR8327. IMHO 5us should be plenty of time for all supported chips. However I couldn't test this due to missing hardware. If other chips should need a longer wait time we can add the wait time as a parameter to the ar8xxx_chip struct. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44103
* ar8216: add link change detection for switch portsFelix Fietkau2015-01-242-0/+36
| | | | | | | | | | Check for switch port link changes and - flush ATU in case of a change - report link change via syslog Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44102
* ar8216: fix ATU flushingFelix Fietkau2015-01-242-9/+5
| | | | | | | | | | | | | | | | | | The functionality to flush the address translation table contains two bugs which luckily compensate each other. 1. Just setting the operation is not sufficient to perform the flushing. The "active" bit needs to be set to actually trigger an action. For the vtu operations this is implemented correctly. 2. ar8xxx_phy_read_status is called every 2s by the phy state machine to check for link changes. This would have caused an ATU flush every 2s. Fix the chip-specific ATU flush functions and remove the ATU flush call from ar8xxx_phy_read_status. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 44101
* kernel: add missing config symbol for 3.18Zoltan Herpai2015-01-181-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 44034
* kernel: preserve bootloader command line on MIPSJohn Crispin2015-01-182-6/+38
| | | | | | | | | | | Somewhere in the conversion of the MIPS architecture code to Device Tree usage, there's been a failure to keep the separate variables holding the kernel command line reconciled between the tree and the bootloader. This patch restores previous functionality that broke. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 44030