summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* images: bump default rootfs size to 256 MBFelix Fietkau2016-09-081-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* f2fs-tools: import from packages, clean up, and update to latestFelix Fietkau2016-09-084-0/+174
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: Don't expose *.bind data incl versionKevin Darbyshire-Bryant2016-09-082-1/+150
| | | | | | | | | | | | | Don't expose dnsmasq version & other data to clients via the *.bind pseudo domain. This uses a new 'NO_ID' compile time option which has been discussed and submitted upstream. This is an alternate to replacing version with 'unknown' which affects the version reported to syslog and 'dnsmasq --version' Run time tested with & without NO_ID on Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* mac80211: remove the fq-disable hack, now that reordering is fixedFelix Fietkau2016-09-081-15/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix packet loss on fq reorderingFelix Fietkau2016-09-083-110/+481
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: update to version 2016-09-05Felix Fietkau2016-09-0823-198/+98
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: merge a softirq performance improvement patchFelix Fietkau2016-09-081-0/+83
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* e2fsprogs: List all libraries explicitlyFlorian Fainelli2016-09-081-0/+3
| | | | | | | e2fsprogs would fail linking with external toolchains which would not be able to find several dependencies, explicit them. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* e2fsprogs: Honor the global verbose flagFlorian Fainelli2016-09-081-0/+2
| | | | | | | Look for OPENWRT_VERBOSE and pass it down to the e2fsprogs entry-point Makefile. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* 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>
* image.mk: Create a manifest file of installed packages as a build artifactPushpal Sidhu2016-09-081-0/+8
| | | | | | | | | | A few linux BSP's create a manifest file of installed packages for a given target in order to help them understand exactly what's on their images. Create one here as well as a build artifact since many users have an affinity to prune down on packages to save valuable flash space. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> 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>