aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: add nlmon kernel moduleHauke Mehrtens2016-09-161-0/+15
| | | | | | This driver allows to monitor netlink communication on the system. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* busybox: libnetlink: fix alignment of netlink messagesHauke Mehrtens2016-09-161-0/+100
| | | | | | | | | | | | A padding to align a message should not only be added between different attributes of a netlink message, but also at the end of the message to pad it to the correct size. Without this patch the following command does not work and returns an error code: ip link add type nlmon Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* base-files: reduce vm.min_free_kbytes for devices with 32M RAMFelix Fietkau2016-09-161-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* linux-firmware: update to the commit from 2016-09-15Rafał Miłecki2016-09-161-3/+3
| | | | | | This adds e.g. BCM43430 firmware (not packaged yet). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* arm64: fix build for linux 4.4.21Álvaro Fernández Rojas2016-09-161-0/+2
| | | | | | linux 4.4.21 adds 2 new symbols for arm64. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.21Álvaro Fernández Rojas2016-09-1610-230/+20
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* sunxi: add rtl8xxxu into pcduino v3 profileÁlvaro Fernández Rojas2016-09-151-1/+1
| | | | | | Now that RTL8188EU is supported in rtl8xxu select it for pcDuino v3 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* rtl8xxxu: add support for rtl8188euÁlvaro Fernández Rojas2016-09-15105-0/+6333
| | | | | | | Patches by Jes Sorensen: https://git.kernel.org/cgit/linux/kernel/git/jes/linux.git/ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* linux-firmware: rename r8188eu-firmware to rtl8188eu-firmwareÁlvaro Fernández Rojas2016-09-151-3/+3
| | | | | | This is consistent with the names used for other realtek firmwares. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: stop brcmfmac from selecting all SDIO firmwaresÁlvaro Fernández Rojas2016-09-151-2/+1
| | | | | | | | | Now that we have firmwares separated and brcm2708 being the only target that actually selects SDIO support, avoid selecting all firmwares by default. sunxi should select the proper firmwares once SDIO support is enabled and tested. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcmfmac43430-firmware: rename to brcmfmac-firmware-43430-sdioÁlvaro Fernández Rojas2016-09-152-7/+7
| | | | | | This is consistent with the rest of brcmfmac firmwares. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* linux-firmware: separate packages for Broadcom FullMAC SDIO firmwaresÁlvaro Fernández Rojas2016-09-152-4/+11
| | | | | | | | | | | | Using few packages will allow saving some space by decreasing rootfs size. Moreover there are more firmware files that may require packaging and even more to come later. This can especially useful now, with per device rootfs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ar71xx: set region code of TP-Link TL-WDR3600/4300 to USMatthias Schiffer2016-09-151-0/+2
| | | | | | | | There are currently two stock firmwares for the TL-WDR3600/4300, a US and a universal version. Both allow installing images with US region code, so we don't need to provide multiple images. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: separate TP-Link TL-WDR3600/4300/4310 profilesMatthias Schiffer2016-09-151-9/+19
| | | | | | | | | Simplify modifying some of the images without affecting the others. While we're at it, also unify the profiles to use := syntax and add "v1" to the TL-WDR4300 name to make things more consistent. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* kernel: fix missing rename on usb gadget kmod cleanupFelix Fietkau2016-09-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cns3xxx: Enable driver support for onboard m25p80 SPI flashKoen Vandeputte2016-09-151-0/+2
| | | | | | | | | | | | | | | | | This device is present on the Gateworks Laguna cns3xxx family. As the SPI bus master is enabled, also enable driver support for this typical slave. [ 3.920000] m25p80 spi1.0: found m25p32, expected m25p80 [ 3.930000] m25p80 spi1.0: m25p32 (4096 Kbytes) [ 3.930000] Creating 4 MTD partitions on "spi1.0": [ 3.940000] 0x000000000000-0x000000040000 : "uboot" [ 3.940000] 0x000000040000-0x000000080000 : "params" [ 3.950000] 0x000000080000-0x000000200000 : "kernel" [ 3.950000] 0x000000200000-0x000000400000 : "rootfs" Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: clean up usb gadget supportTim Harvey2016-09-153-14/+16
| | | | | | | | | | clean up usb gadget support: - rename gadget modules so that they appear together and are easier to identify as gadget modules - make usb-lib-composite and usb-gadget hidden as there is no point in selecting those without gadget drivers that require them as deps Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* ramips: fix wrong blocksizesMathias Kresin2016-09-153-3/+2
| | | | | | | | | | | | | | | | | | The D-Link DIR-860L B1 has a flash chip which doesn't support 4K sectors. Since the DIR-860L B1 was the only mt7621 board which had the 4k blocksize set, the 4K sector support is removed from the kernel config. I've checked the flash chips of all boards having set a 4K blocksize again. This time I searched harder to finding bootlogs instead of relying on wikis articles and/or the device tree source file. The Planex MZK-DP150N has an en25q32b instead of the mentioned one in the dts. Albeit the en25q32b supports 4K sectors, 4K support is not enabled in the driver. Change the blocksize for this board back to 64K. Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update kernel 4.4 to version 4.4.20Álvaro Fernández Rojas2016-09-1526-70/+41
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: stop brcmfmac from selecting all PCIe firmwaresRafał Miłecki2016-09-141-1/+0
| | | | | | | | | Now we have firmwares separated and bcm53xx selecting required ones make use of it to actually save that rootfs space. Other targets using brcmfmac (brcm2708 and sunxi) use SDIO interface and firmware so they don't won't be affected. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mountd: update to latest git HEADJohn Crispin2016-09-141-2/+2
| | | | | | fixes cleanup of mount points Signed-off-by: John Crispin <john@phrozen.org>
* ramips: enable 4K sector support in kernel configMathias Kresin2016-09-134-0/+4
| | | | | | | | | | | | This is a follow up to 28110727f1d513a6c4c13aa87ecb606aa5d306eb "ramips: set blocksize for 4MB devices". I've missed to include the required changes of the kernel configs to enable 4K sector size support. The option is only enabled for targets having boards with 4k sector size flash chips. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-136-15/+15
| | | | | | | | | | | Using pad-to instead of passing the optional padding to append-kernel or append-rootfs. It could be that the value of a variable is passed. In case the variable is empty no error is thrown. Furthermore the purpose of the extra parameter is hard to get without reading the code. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: use check-size from new image build codeMathias Kresin2016-09-131-8/+1
| | | | | | Use the new image build code and deduplicate the code. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-138-10/+6
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* bcm53xx: use the latest submitted version of ILP clock driverRafał Miłecki2016-09-133-63/+52
| | | | | | It switched to syscon to better describe PMU block. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* hostapd: fix regression breaking brcmfmacRafał Miłecki2016-09-134-7/+46
| | | | | | The latest update of hostapd broke brcmfmac due to upstream regression. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: specify brcmfmac firmware for every deviceRafał Miłecki2016-09-131-5/+7
| | | | | | | This will allow us to include required firmwares only and save some rootfs space. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* linux-firmware: separate packages for Broadcom FullMAC PCIe firmwaresRafał Miłecki2016-09-132-4/+10
| | | | | | | | | | | | | Using few packages will allow saving some space by decreasing rootfs size. Dropping 43602a1 firmware saves 316 580 B. Dropping 4366b1 saves 468 188 B. Moreover there are more firmware files that may require packaging and even more to come later (e.g. 4366c0). This can especially useful now, with per device rootfs. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Backport pending appended DTB handling patchesDaniel Gimpelevich2016-09-127-37/+341
| | | | | | | | | | Backport patches from upstream Linux kernel which are making the kernel stores the appended dtb not in the same resisters as defined in the UHI specification, use a separate variable on MIPS. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [some modifications] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-126-3/+4
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix tx issue with CCMP PN generated in hardwareFelix Fietkau2016-09-121-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: improve Linksys EA8500 build codeMathias Kresin2016-09-111-2/+2
| | | | | | Use of the kernel size variable. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mvebu: fix OpenBlocks AX3 imageMathias Kresin2016-09-111-1/+1
| | | | | | | | The KERNEL_SIZE variable is unset and no padding is applied. This looks like a typo to me since the ubinized image need to be aligned to the flash blocksize. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: fix typo in image build codeMathias Kresin2016-09-112-3/+3
| | | | | | | | | The kernel size isn't passed to the append-kernel build step and the resulting image bricks the device. Fixes FS#168. Signed-off-by: Mathias Kresin <dev@kresin.me>
* 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>