aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
...
* imx6: add v4.1 supportFelix Fietkau2015-11-019-0/+2246
| | | | | | | | | | | | | Build and boot tested on the following hardware: * GW54xx * GW53xx * GW52xx * GW51xx Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add initial support for NSA310sLuka Perkov2015-11-015-0/+324
| | | | | | | Signed-off-by: Tony Dinh <mibodhi@gmail.com> Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: 3.18: refresh patchesLuka Perkov2015-11-012-22/+15
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: make eth0 the wan interface by defaultFelix Fietkau2015-10-311-1/+4
| | | | | | | | | | | | Many packages for OpenWrt currently assume that lan is the "internal" side of the network map, e.g. if installed, dnsmasq will hand out DHCP leases on lan, firewall will allow forwarding on lan. While at it, also configure a lan interface if eth1 exists. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: use as a default type deviceFelix Fietkau2015-10-311-2/+0
| | | | | | | | | | | | | | There is currently no relevant definition for developerboard device type in include/target.mk, thus packages like iptables, firewall, dnsmasq etc. are missing in the default images, rendering it almost useless for regular testing or normal use. With this change, currently a default set of packages for "router" will be installed to malta firmware images. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: set CPU_TYPE:=24kc.Felix Fietkau2015-10-311-0/+1
| | | | | | | | | | | | | | | | | There are instructions (e.g. wsbh) only available in MIPS32R2 which is the isa level used by many MIPS targets in OpenWrt. As we use the malta target mostly for development and testing purposes, setting the CPU_TYPE to 24Kc will make the emulation more real. The following is output from qemu-system-mipsel 2.3.0 root@OpenWrt:/# cat /proc/cpuinfo | grep 'cpu model\|isa' cpu model : MIPS 24Kc V0.0 FPU V0.0 isa : mips1 mips2 mips32r1 mips32r2 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix unrecognized opcode wsbh when building for MIPS16.Felix Fietkau2015-10-313-0/+174
| | | | | | | | | | | | | | | | | | | The issue was found and reported by hynman [1] when compiling reaver for ar71xx (Big Endian MIPS). {standard input}: Assembler messages: {standard input}:79: Error: unrecognized opcode `wsbh $2,$2' {standard input}:90: Error: unrecognized opcode `wsbh $3,$17' {standard input}:208: Error: unrecognized opcode `wsbh $2,$2' make[3]: *** [builder.o] Error 1 The patch was already in upstream since kernel release 4.3-rc5. [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old unused build code for TPLINKFelix Fietkau2015-10-311-33/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old unused build code for TPLINKOLDFelix Fietkau2015-10-311-32/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 ↵Felix Fietkau2015-10-311-4/+9
| | | | | | | | | | | instead of squashfs-only All other tplink images use squashfs+jffs2. I don't see any reason why this board should use squashfs-only Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: remove old unused build step TPLINK-64KFelix Fietkau2015-10-311-33/+0
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: migrate tl-wdr6500-v2 to new image build stepsFelix Fietkau2015-10-311-2/+9
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: refactor templates tplink-chn-v2Felix Fietkau2015-10-311-14/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink imageFelix Fietkau2015-10-311-3/+7
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: image: Remove custom mkfs targz override as base should be fine nowFelix Fietkau2015-10-311-5/+0
| | | | | | | | | It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: image: Remove custom mkfs targz override as base should be fine nowFelix Fietkau2015-10-311-5/+0
| | | | | | | | | It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: image: Remove custom mkfs targz override as base should be fine nowFelix Fietkau2015-10-311-5/+0
| | | | | | | | | It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variableFelix Fietkau2015-10-311-12/+8
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED varFelix Fietkau2015-10-311-18/+14
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variableFelix Fietkau2015-10-311-13/+9
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix for kernel 4.0 napi repoll need return budgets numberFelix Fietkau2015-10-301-1/+4
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: enable radeon drm driverFelix Fietkau2015-10-301-1/+4
| | | | | | | | This enables modesetting for radeon based boards. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: enable pata_atiixp driverFelix Fietkau2015-10-301-0/+1
| | | | | | | | | | This enables booting from devices that use an ATI PATA controller for the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro thin-clients. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: refresh subtarget kernel configFelix Fietkau2015-10-301-6/+2
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing symbols for 4.3Felix Fietkau2015-10-301-0/+11
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* realview: Create ext4 image by defaultFelix Fietkau2015-10-301-1/+1
| | | | | | | | | Following the additions in r46924, enable the 'ext4' feature for realview target so the ext4 image is created by default. Signed-off-by: Dov Murik <dov.murik@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport some bcma header file definitions from wireless-testingFelix Fietkau2015-10-303-0/+78
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47284 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbolFelix Fietkau2015-10-304-0/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add missing Netgear R8000 LEDsRafał Miłecki2015-10-304-2/+116
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add workaround for Netgear R8000 networkRafał Miłecki2015-10-303-2/+33
| | | | | | | | | | | | According to the info from NVRAM we should use port 8 for the CPU (and interface eth2). Unfortunately it doesn't work right now, so lets switch to the port 5. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Forwardport of r46586 from 15.05 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix adm6996 initJohn Crispin2015-10-261-0/+6
| | | | | | | | | | | | Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset add dummy soft_reset callback to adm6996 driver, like it is done in ar8216. This fixes ticket #20147 Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Fix environment pointer setup in ar71xx/ath79John Crispin2015-10-261-3/+19
| | | | | | | | | | | | | | | Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.: (https://dev.openwrt.org/ticket/20642). If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware init doesn't initialize environment pointer (fw_init_cmdline not called). arcs_cmdline is not initialized before calling strlcat. Signed-off-by: Ted Hess <thess@kitschensync.net> Tested-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR841N/ND v10John Crispin2015-10-261-1/+8
| | | | | | | | | | The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor changes, it contains a newer revision of the QCA9533 SoC and the CPU clock is significantly higher. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2John Crispin2015-10-262-12/+22
| | | | | | | | | | | | | | ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This fixes the very low TX power on some devices like the TP-LINK TL-WR841ND v10. As ath79_soc_rev is only used to get the revision number to ath9k on the QCA9533, just set it to the expected value on the ver. 2. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Tested-by: Felix Kaechele <felix@kaechele.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1/S3 set GPIO for USB PowerJohn Crispin2015-10-262-1/+6
| | | | | | | | | Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: copy overlays README to boot partitionJohn Crispin2015-10-261-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: update modulesJohn Crispin2015-10-261-3/+38
| | | | | | | | | - Add support for DAC+ Pro. - Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: update 4.1 patchesJohn Crispin2015-10-26199-386/+5039
| | | | | | | | | As usual, this patches were taken (and rebased) from https://github.com/raspberrypi/linux/commits/rpi-4.1.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the alsa driver register the codecJohn Crispin2015-10-261-38/+15
| | | | | | | | this allows using the codec even if it is not listed in the DTS Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: prepare switch to 4.1John Crispin2015-10-264-0/+0
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add clk_round_rate()Hauke Mehrtens2015-10-251-0/+43
| | | | | | | | | | | | | This adds a basic implementation of clk_round_rate() The clk_round_rate() function is called by multiple drivers and subsystems now and the lantiq clk driver is supposed to export this, but doesn't do so, this causes linking problems like this one: ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined! Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add clk tree driverHauke Mehrtens2015-10-2510-1/+1545
| | | | | | | | | | | These patches are written by Broadcom and will be in mainline Linux kernel soon. I had some problems to get them backported to kernel 4.1, so currently they are only available for 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-2526-151/+125
| | | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support basic for kernel 4.3Hauke Mehrtens2015-10-2533-0/+3198
| | | | | | | | | | | | The files directory is now split up into the files which are needed for every kernel version and the files only needed by kernel 4.1. The files in files-4.1 are already merged into mainline kernel 4.3. This patch only removed patches which were merged into mainline kernel 4.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.3 to version 4.3-rc7Hauke Mehrtens2015-10-2514-44/+27
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add missing patch from r47248 for USB 3.0Hauke Mehrtens2015-10-231-0/+62
| | | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update USB 3.0 driver with version submitted upstreamHauke Mehrtens2015-10-236-113/+188
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use Broadcom's proposed SMP implementationHauke Mehrtens2015-10-233-314/+685
| | | | | | | | | | This replaces our SMP implementation with a very similar version which is Broadcom currently trying to get into mainline kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: Add BCM SVK DT filesHauke Mehrtens2015-10-231-0/+218
| | | | | | | | | | | Add device tree files for Broadcom Northstar based SVKs. Since the bcm5301x.dtsi already exists, all that is necessary is the dts files to enable the UARTs. With these files, the SVKs are able to boot to shell. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: gpio-mt7621 was not handling irqs above 31 properlyJohn Crispin2015-10-201-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47238 3c298f89-4303-0410-b956-a3cf2f4a3e73