summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* cleanup ucidef_set_interface* usageMathias Kresin2016-09-106-9/+8
| | | | | | | | - quote the interface name - remove call of not existing function - remove the proto if it's the default proto Signed-off-by: Mathias Kresin <dev@kresin.me>
* use immediate set in target MakefilesMathias Kresin2016-09-107-7/+7
| | | | | | | | No functional change, it's just to have the same style everywhere. This way I don't need to use any regex magic to extract all subtargets for compile tests. Signed-off-by: Mathias Kresin <dev@kresin.me>
* 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>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2016-09-101-6/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* dnsmasq: make NO_ID optional in full variantKevin Darbyshire-Bryant2016-09-101-5/+10
| | | | | | | | | Permit users of the full variant to disable the NO_ID *.bind pseudo domain masking. Defaulted 'on' in all variants. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* dropbear: hide dropbear versionKevin Darbyshire-Bryant2016-09-101-0/+4
| | | | | | | | | | | | As security precaution and to limit the attack surface based on the version reported by tools like nmap mask out the dropbear version so the version is not visible anymore by snooping on the wire. Version is still visible by 'dropbear -V' Based on a patch by Hans Dedecker <dedeckeh@gmail.com> Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> Signed-off-by: Felix Fietkau <nbd@nbd.name> [remove trailing _]
* 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-102-4/+7
| | | | 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>
* fstools: update to the latest version, adds support for ext4/f2fs overlay ↵Felix Fietkau2016-09-101-2/+2
| | | | | | via loopback device 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>
* image: pass device blocksize to padjffs2Mathias Kresin2016-09-031-1/+2
| | | | | | | | | | | | | | | | | | At the moment the padding steps are hardcoded. Especially images for devices with a 4K sector size can be unnecessarily bloated using the hardcoded padding steps. It has been observed that 192Kb of padding was added to the image of a 4MB device, albeit due to the 4K sector size the minimum required extra padding for the jffs2 rootfs_data is 20Kb. In worst case it means that the image-size check could fail albeit there is enough space for all selected packages For device build code not exposing the blocksize, use the hardcoded padding further on. 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>
* image: add support for k unit suffix to append-ubiMathias Kresin2016-09-041-1/+1
| | | | | | | Allows to use the same unit for all definitions of the blocksize to be consistent regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add support for k unit suffix to pad-offsetMathias Kresin2016-09-031-2/+2
| | | | | | | Allows to specificy the padding and offset in kilobytes to be consistent with pad-to. 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>
* firmware-utils: mksenaofw: rework option validationMathias Kresin2016-08-171-19/+22
| | | | | | | The options firmware_type, vendor_id and product_id are not required for decoding an image file. 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>