aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ramips: board.d merge redundant switch/interface configsMathias Kresin2016-09-101-11/+6
| | | | | | Fix alphabetical order distortions as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: board.d: apply alphabetical orderMathias Kresin2016-09-101-43/+43
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: board.d: cleanup default switch configMathias Kresin2016-09-101-32/+19
| | | | | | | | | | | | | | | | Add or fix the physical port number of switch ports to allow LuCI to display the ports in physical order. Remove the physical port number in case bridge port and physical port order are the same. Reorder the ucidef_add_switch parameter to be aligned with the switch port number. Remove board settings which are covered by the default case and remove comments. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: enable cpu temp driver for more tested boardsMathias Kresin2016-09-102-1/+9
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-09-10481-1038/+9288
| | | | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also adds support for Raspberry Pi Compute Module 3 (untested). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* x86: disable MTD supportFelix Fietkau2016-09-101-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: remove block2mtd supportFelix Fietkau2016-09-101-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: use new ext4/f2fs overlay supportFelix Fietkau2016-09-101-4/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: enable f2fs and loopback device support in the configFelix Fietkau2016-09-101-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: enable f2fs and ext4 utilitiesFelix Fietkau2016-09-101-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: use ext4/f2fs overlay filesystem for solidrun clearfogFelix Fietkau2016-09-103-15/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable ext4, f2fs and loop device supportFelix Fietkau2016-09-102-1/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: drop the use of block2mtd, use ext4/f2fs as overlay filesystemFelix Fietkau2016-09-101-16/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable mkf2fs and e2fsprogs by defaultFelix Fietkau2016-09-101-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable f2fs and loopback device support in the kernel configFelix Fietkau2016-09-101-7/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: Add static PCA953x support in kernelKoen Vandeputte2016-09-101-0/+2
| | | | | | | | | | commit a2386c384da501e862210f222994821580fe151c requires the module to be static in the kernel. So lets actually add support for it inside the kernel config. Tested on Ventana Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ramips: set blocksize for remaining rt3883 devicesMathias Kresin2016-09-081-0/+4
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: remove old build code seama recipeMathias Kresin2016-09-031-32/+0
| | | | | | | Now that all seama images are using the new build code this seama recipe used with the old build code can be dropped. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: switch DIR-610 A1 to new image build codeMathias Kresin2016-09-081-3/+17
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: switch some rt3883 devices to new build codeMathias Kresin2016-09-031-25/+52
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: move seama build recipe to MakefileMathias Kresin2016-09-033-18/+9
| | | | | | | The identical build step is defined twice. Move it to the parent Makefile to use only one version. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: switch DIR-615 H1 to new image build codeMathias Kresin2016-09-021-11/+8
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add build recipe for senao headerMathias Kresin2016-08-171-0/+5
| | | | | | | Add it to the Makefile to allow a board which will be supported soon to use the recipe as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: set blocksize for 4MB devicesMathias Kresin2016-09-035-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | Set the blocksize for devices having only 4MB of flash for ramips devices already using the new image build code. Informations about the used flash chip are gathered from the OpenWrt wiki, wikidevi, forums, OEM bootlogs or the compatible property in the device tree source file. The en25q32b from the AirLive Air3GII does not have 4k support in the kernel. For the following boards no information about the used flash chip could be found and a 64k blocksize is assumed: - Ralink V11ST-FE - Ralink AP-RT3052-V22RW-2X2 - MediaTek MT7628 EVB - MediaTek MT7621 EVB - UPVEL UR-326N4G - Buffalo WZR-AGL300NH Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: don't set the same max image size twiceMathias Kresin2016-09-043-50/+0
| | | | | | The ralink_default_fw_size_8M is already set for the default device. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: specify max image size in Kilobyte/MegabyteMathias Kresin2016-09-045-43/+24
| | | | | | Use the k and m unit suffix to be consistent with the blocksize. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-049-23/+23
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: mtd: backport Macronix sector size fixMathias Kresin2016-09-035-29/+44
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* apm821xx: image: add support for k unit suffix to boot-imgMathias Kresin2016-09-081-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use lower case names for TEW-69xGR imagesMathias Kresin2016-09-091-4/+4
| | | | | | | Use lower case variant of the device name for to images to be consistent with all other images names. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix wrong TARGET_DEVICESMathias Kresin2016-09-081-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix wrong device titleMathias Kresin2016-09-081-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for Mercury MAC1200R v2Daniel Golle2016-09-096-0/+111
| | | | | | | | MT7628AN + MT7612E, 8MB SPI flash, 64MB DDR RAM reset button GPIO is still missing (anyone?) bootloader password is 'slp' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: small image improvements for kd20Daniel Golle2016-09-091-2/+4
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bcm53xx: enable switch port 5 on Tenda AC9Rafał Miłecki2016-09-081-1/+6
| | | | | | | Now b53 forces port 5 link when needed, we can enable it on Tenda AC9 and start using eth1. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: b53: force BCM531x5 port 5 link state if enabledRafał Miłecki2016-09-081-0/+13
| | | | | | | | | | | Some devices (e.g. Tenda AC9 based on BCM47189B0) have BCM53125 with port 5 connected to the second Ethernet interface on the SoC. In such case there is no PHY and we need to force link manually. This assumes port 5 can be marked as enabled for such devices. It's not implemented yet unfortunately. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: use upstream queued patches for R8500 and AC9Rafał Miłecki2016-09-084-43/+37
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: move bcma BCM53573 patch to bcma 4.9 backportsRafał Miłecki2016-09-081-22/+0
| | | | | | This patch has been accepted for 4.9. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* imx6: override default inittab to add video console ttyTim Harvey2016-09-081-0/+4
| | | | | | | Adds the following to the default inittab tty1::askfirst:/bin/ash --login Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: image: remove pca955x/ds1672/at24 from Ventana kernel modulesTim Harvey2016-09-081-1/+1
| | | | | | These need to be static in the kernel for Ventana Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: merge a softirq performance improvement patchFelix Fietkau2016-09-081-0/+83
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: backport generic HDD led-triggers for WNDR4700 and MBLChristian Lamparter2016-09-084-0/+232
| | | | | | | This patch backports the new generic HDD/SDD led-trigger from 4.8-rc1. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: detect sd-card media changes for the WNDR4700Christian Lamparter2016-09-082-1/+20
| | | | | | | | | The insertion or removal of the sd-card cannot be detected by the hardware itself. This is by design. To workaround this, for the WNDR4700 unload/load the dwc2 module in case the the special SD CARD GPIO line is low/high. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* cns3xxx: add GW2386 supportTim Harvey2016-09-081-0/+20
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* cns3xxx: add GW2394 SupportTim Harvey2016-09-081-1/+3
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: backport upstream overlayfs fixesRafał Miłecki2016-09-067-0/+749
| | | | | | | | | | | First two patches weren't marked for stable but are dependencies for laters ones. The rest of patches was marked for stable but most likely will be backported to 4.5+ only so we need to get them on our own. An important fix is eea2fb4851e9d ("ovl: proper cleanup of workdir") as it allows mounting overlayfs with dirty workdir, e.g. after power cut. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* target/toolchain: Fix toolchain packaging without package buildMicha Lenk2016-09-061-0/+1
| | | | | | | | | | | | If the toolchain is packaged for later use as external toolchain, the resulting tarball is created in $BIN_DIR. But without building all packages first that directory isn't created, hence 'make target/toolchain/compile' fails when trying to create the toolchain tarball with error "Cannot open: No such file or directory". To fix that the $BIN_DIR is created before using it. Signed-off-by: Micha Lenk <micha@lenk.info>
* apm821xx: add size check for initramfs kernel for the Meraki MR24Christian Lamparter2016-09-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Russell Senior reported an issue with the MR24 initramfs kernels: > ## Booting kernel from Legacy Image at 00c10000 ... > Image Name: POWERPC LEDE Linux-4.4.19 > Created: 2016-08-31 11:57:05 UTC > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 2155723 Bytes = 2.1 MiB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK >Wrong Ramdisk Image Format >Ramdisk image is corrupt or invalid For the MR24, the kernel is uploaded to 0x10000. The ramdisk starts at 0x200000. This leaves the kernel with just 0x1f0000 bytes = 1984kb. This patch adds a size check so the image creation script will abort instead of producing a unbootable initramfs image. A separate patch "apm821xx: Fix initramfs image for the Meraki MR24" which fixed the reported issue was submitted earlier. Cc: Russell Senior <russell@personaltelco.net> Cc: Chris Blake <chrisrblake93@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: Fix initramfs image for the Meraki MR24riptidewave932016-09-051-1/+1
| | | | | | | When gzip is used, our kernel is too large and this causes the ramdisk to be at the wrong offset. Fix by moving to lzma. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* imx6: enable ARM crypto accelerationKoen Vandeputte2016-09-041-0/+19
|