aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: change file extension of u-boot+initramfs imageFelix Fietkau2015-06-141-1/+1
| | | | | | | | | | The *u-boot-initramfs* images are not ITB/FIT images but are rather supposed to be loaded to RAM and jumped-into. To avoid confusion, change the file extension from itb to bin. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 45963
* ar71xx: fix mac offset in firmware fileFelix Fietkau2015-06-141-1/+1
| | | | | | | | | In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280). This also closes #19751, bug introduced in #45624 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 45958
* ar71xx: fix 100/10mbps ethernet link issues on mynet range extenderFelix Fietkau2015-06-142-4/+69
| | | | | | | | | | | | | | | | | | The mynet range extender hardware is suffering from ethernet link loss when booting with a recent openwrt image. This only happens on 100mbps links, with 1Gbps speed the link was fine. The cause of the problem is that the AR8035 PHY (aka F1E) requires turning on and off the special TX delay setting depending on the speed of the link. The 10mbps mode only needed the proper pll value, which was extracted from the vendor code. Reported-by: Pascal Paradis Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 45954
* brcm63xx: fix A4001N image padding sizeJonas Gorski2015-06-111-1/+1
| | | | | | | | | | | | When r42245 moved A4001N to DT based detection the image padding size was accidentally increased from 4 to 8 MiB. This made images unflashable on these devices. Fixes #19836. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45945
* bcm53xx: update NVRAM driver to MIPS version from upstream-sfrRafał Miłecki2015-06-101-21/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45943
* brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)Rafał Miłecki2015-06-1010-12/+354
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45942
* b53: fix memory out of bounds access on 64 bit targetsJonas Gorski2015-06-101-2/+2
| | | | | | | | | | | | | On device reset the sizes for the vlan and port tables were wrongly calculated based on the pointer size instead of the struct size. This causes buffer overruns on 64 bit targets, resulting in panics. Fix this by dereferencing the pointers. Reported-by: Fedor Konstantinov <blmink@mink.su> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45938
* b53: widen stp state mask to 3 bits (instead of 2)Jonas Gorski2015-06-101-1/+1
| | | | | | | | | | | | | | | At least on my b53 chip, the mask is 3 bits wide, and because of this some STP states are not set properly and discarded when read. Maybe for some other chips it makes sense to have just 2 bits width, but I don't have other versions around to test/validate. If that's the case then maybe we could add another STP state mask. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45937
* ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166DFelix Fietkau2015-06-081-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45930
* kernel: backport config-related bcma patches from 4.2Rafał Miłecki2015-06-082-0/+98
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45927
* bcm53xx: backport the latest 4.2 ARM BCM5302X patchesRafał Miłecki2015-06-0711-75/+391
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45922
* brcm47xx: refresh kernel configRafał Miłecki2015-06-071-3/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45921
* kernel: move a symbol from the ipq806x config to generic to prevent it from ↵Felix Fietkau2015-06-073-1/+2
| | | | | | | | being nuked by make kernel_oldconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45920
* kernel: remove NAND flash related kmod-* packagesFelix Fietkau2015-06-071-18/+0
| | | | | | | | | | | They are useless, as the platform already selects the right options for NAND support. The main reason for removing them is the fact that it makes kernel configs more annoying to maintain on platforms that provide NAND drivers but disable them (e.g. ramips) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45919
* ralink: add missing symbolJohn Crispin2015-06-071-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45918
* bcm53xx: refresh kernel configRafał Miłecki2015-06-061-0/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45916
* bcm53xx: fallback to default_do_upgrade if NAND upgrade failsRafał Miłecki2015-06-061-0/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45915
* bcm53xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45914
* brcm47xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45913
* bcm53xx: extract TRX from image on the flyRafał Miłecki2015-06-061-13/+14
| | | | | | | | | Extracting TRX to separated file in /tmp/ just wastes some RAM while we can just pass a proper extracting command to the default_do_upgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45912
* bcm53xx: sysupgrade: extract TRX partitions directly from vendor imageRafał Miłecki2015-06-061-3/+5
| | | | | | | | | Extracting full TRX out of vendor format is not needed as otrx supports passing TRX offset. This saves some RAM during sysupgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45911
* bcm53xx: update NVRAM driver to support getting contentsRafał Miłecki2015-06-052-15/+60
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45907
* brcm47xx: backport MIPS BCM47XX changes queued for 4.2Rafał Miłecki2015-06-0524-23/+1407
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45906
* ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1John Crispin2015-06-051-0/+4
| | | | | | | | | The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a workaround to avoid confusing users. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45903
* ramips: Add support for RT5350F-OLinuXino V2John Crispin2015-06-057-0/+237
| | | | | | | | | | | Version 2 : White spaces and alphabetical order problems fixed Support for Olimex RT5350F-OLinuXino Boards, tested with RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards. More Info : https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/open-source-hardware Signed-off-by: Dimitar Gamishev HeHoPMaJIeH <gamishev@gmail.com> SVN-Revision: 45902
* brcm47xx: extract TRX from image on the flyJohn Crispin2015-06-051-7/+8
| | | | | | | | | | Extracting TRX to separated file in /tmp/ requires extra RAM which may not be available on some chepaer devices. Instead of that lets pass a proper extracting command to the default_do_upgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45901
* lantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDsJohn Crispin2015-06-051-0/+25
| | | | | | This fixes the LAN2 LED on Arcadyan VGV7510KW22. SVN-Revision: 45899
* lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-058-0/+388
| | | | SVN-Revision: 45897
* ramips: improve tx clean up and add fe_tx_ring structFelix Fietkau2015-06-053-70/+83
| | | | | | | | | | if there is any new tx need to clean up. do it in next napi poll. collect tx related members to fe_tx_ring struct. for better cache usage and more readable. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 45895
* ramips: change ethernet napi interrupt sequenceFelix Fietkau2015-06-051-5/+4
| | | | | | | | | | when open device. first ready napi software rx. then enable hardware interrupt. final start software tx queue to send data. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 45894
* ramips: fix ethernet vlan tx offload support check when deleteFelix Fietkau2015-06-051-1/+1
| | | | | | Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 45893
* ramips: fix the memory map on FireWRTFelix Fietkau2015-06-051-1/+1
| | | | | | | | | | | | | | | Avoid the use of memory marked as reserved MT7621 support 512MB memory. According to "MT7621_ProgrammingGuide_Preliminary_Platform.pdf" 0x0~0x1c000000 448MB 0x20000000~0x4000000 64MB total 512MB Signed-off-by: wengbj <fl.service@t-firefly.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45892
* kernel: adjust mips highmem offset to avoid the need for -mlong-calls on ↵Felix Fietkau2015-06-052-0/+34
| | | | | | | | systems with >256M RAM Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45891
* ramips: use highmem on the FireWRT boardFelix Fietkau2015-06-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45890
* ramips: enable highmem support for mt7621Felix Fietkau2015-06-042-8/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45889
* ramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues ↵Felix Fietkau2015-06-041-3/+4
| | | | | | | | with kernel_menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45888
* lantiq: Make the CRC32 poly value configurable per deviceJohn Crispin2015-06-031-5/+5
| | | | | | | | | This also adds the old hardcoded value to the VGV7519BRN profile to make sure that images are still generated correctly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 45882
* ipq806x: missing symbolJohn Crispin2015-06-031-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45880
* brcm63xx: fix livebox image generationJonas Gorski2015-06-021-0/+2
| | | | | | | | | Livebox does need the uncompressed kernel, so just create it during image generation. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45875
* ipq806x: move stmmac support in the kernel binaryJohn Crispin2015-06-012-3/+9
| | | | | | | | | | Ethernet GMAC is built-in the SoC, so there is no need to enable it as a module. We'll just assume we need it. That's what is done for other platform where this driver is used so it'll make things more consistent. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45871
* brcm63xx: delete uncompressed kernels after useJonas Gorski2015-06-011-0/+2
| | | | | | | | | Delete the dtb appended, uncompressed kernels after having compressed them, so they don't end in the image builder. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45869
* lantiq: fix VG3503J rootfs offsetJonas Gorski2015-06-011-1/+1
| | | | | | | | | | In r44391 the kernel partion size was increased to allow larger kernels, but the rootfs partition offset was missed. Fix this by setting the rootfs offset to the expected value. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45868
* imagebuilder: create cache directory if needed (#18629)Jo-Philipp Wich2015-06-011-7/+7
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45866
* kernel: backport ssb fix for WRT350N v1 (BCM4705) rebootsRafał Miłecki2015-06-016-27/+29
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45865
* au1000: add a missing dependency to the pcmcia moduleJohn Crispin2015-06-011-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45864
* malta: add default network configurationJohn Crispin2015-05-311-0/+6
| | | | | | | | | | I didn't figure out how to achieve this using uci-defaults-new.sh, so use old-school uci-defaults script as that's what is used on realview as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 45857
* ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER imagesFelix Fietkau2015-05-301-6/+2
| | | | | | | | | | | Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45855
* ar71xx: add Image/BuildLoaderPatched macroFelix Fietkau2015-05-301-0/+22
| | | | | | | | | | | In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the kernel command line in the image and then builds the loader without command line. This allows building loaders for systems which don't boot correctly when the kernel command line is provided by the loader (like the TP-LINK CPE series). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45854
* lantiq: fix imagebuilderJohn Crispin2015-05-301-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45851
* kernel: upstream fix: mount overlayfs r/o if workdir cannot be createdJohn Crispin2015-05-301-0/+0
| | | | | | | | move the patch to the proper folder Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45848