summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* image.mk: change the default of the kernel suffixFelix Fietkau2016-06-071-1/+1
| | | | | | Make it more suitable for installing into bin/ Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for specifying a different suffix for the initramfs kernelFelix Fietkau2016-06-071-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: lift generic x86-32 targetDaniel Golle2016-06-072-17/+136
| | | | | | | | | * build for pentium4 instead of i486 * enable PAE * enable EFI support * enable KVM guest and host support Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86: reorganize x86_32 supportDaniel Golle2016-06-074-1/+238
| | | | | | copy current 'generic' target to new 'legacy' target. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* image.mk: split off all Build/* commands into image-commands.mkFelix Fietkau2016-06-072-150/+151
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement support for selecting multiple device profilesFelix Fietkau2016-06-073-1/+48
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split scripts/metadata.pl into target-metadata.pl and package-metadata.plFelix Fietkau2016-06-076-329/+348
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kmod-sched-cake: Add support for cake qdiscHannu Nyman2016-06-061-0/+44
| | | | | | | | | | | | Add 'cake' qdisc kernel module package. V2 - KDB Small update to base on latest cake tc changes (wash option deprecated) V3 - KDB Move kmod-sched-cake package to kernel as is kernel related V4 - KDB Split into individual patches, kmod & tc Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Acked-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* iproute2: Add support for cake qdiscHannu Nyman2016-06-062-1/+670
| | | | | | | | | | | | | | | Add cake support to 'tc' in iproute2 - Use a patch to modify tc instead of adding a new tc-adv package. Patch creates q_cake.c that matches commit https://github.com/dtaht/tc-adv/commit/3314230bc47328bc9b44faacaad8210065ef98b7 - Do not include the other things from tc-adv (cake0, cake2, pie etc.). V2 - KDB Small update to base on latest cake tc changes (wash option deprecated) V3 - KDB Move kmod-sched-cake package to kernel as is kernel related v4 - KDB Split into individual patches, tc & kmod Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Acked-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* sunxi: remove NAMESPACES config symbolsDirk Neukirchen2016-06-061-4/+0
| | | | | | they are available in config/Config-kernel.in Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* mpc85xx: remove unneeded symbolsDirk Neukirchen2016-06-061-3/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* zynq: remove unneeded _DIAG and _XFRM symbolsDirk Neukirchen2016-06-061-7/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* sunxi: remove XFRM_ config symbolsDirk Neukirchen2016-06-061-2/+0
| | | | | | they are part of packages Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* modules: add missing module to ipsec descriptionDirk Neukirchen2016-06-061-0/+1
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* oxnas: remove unneeded _DIAG symbolsDirk Neukirchen2016-06-061-5/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* malta: remove NAMESPACES config symbolsDirk Neukirchen2016-06-061-6/+0
| | | | | | they are available in config/Config-kernel.in Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* malta: remove unneeded symbolsDirk Neukirchen2016-06-061-3/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* procd: fix file permissions of /dev/tty* nodesJohn Crispin2016-06-061-1/+5
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: add WRTnode2Q supportKeLei Liang2016-06-0610-2/+165
| | | | Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
* netifd: update to the latest versionFelix Fietkau2016-06-061-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: use sysfs DMI information to populate sysinfoJo-Philipp Wich2016-06-061-0/+28
| | | | | | | | | | | | | | | | | | Use the DMI data available in sysfs to extract manufacturer and model info and write it to /tmp/sysinfo/. The data will be picked up by board_detect and can be used by e.g. LuCI to display a more appropriate model description. On an APU board the files will contain the following values: # cat /tmp/sysinfo/model PC Engines APU # cat /tmp/sysinfo/board_name pc-engines-apu Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: enable DMI and DMI_SYSFSJo-Philipp Wich2016-06-063-12/+6
| | | | | | | | | | Enable support for DMI decoding in the kernel so that we can access manufacturer and model information via sysfs. Also remove redundant per-subtarget DMI overrides and preset a few previously unset symbols popping up due to the now enabled DMI support. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mediatek: remove modules from Kernel configDirk Neukirchen2016-06-051-85/+0
| | | | | | | | | | | | most symbols should be in Kernel packages depending on HW the removal of CONFIG_REALTEK_PHY and USB symbols might be wrong compile tested only Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* util-linux: fix scanf fallback detection for uClibc-ngWaldemar Brodkorb2016-06-052-1/+35
| | | | | | | | | uClibc-ng pretends to be GNU libc 2.2 and then a fallback scanf check is tried, so that libmount is disabled afterwards. Add a fix already suggested upstream. Add librt dependency required for other apps, too. Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
* ipq806x: add diag.sh scriptSigned-off-by: Henryk Heisig2016-06-051-0/+31
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* lantiq: un-macro the image building codeJohn Crispin2016-06-0516-382/+394
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubus: update to latest git HEADJohn Crispin2016-06-051-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-051-3/+3
| | | | | | | Calling `cat foo bar | dd ... conv=sync` *may* add extraneous padding. Avoid this. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: rebrand Netgear EX2700 fakeroot uImageJoseph C. Lehner2016-06-051-0/+0
| | | | | | Change image name: "OpenWrt fakeroot" -> "LEDE fakeroot" Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* arc: Build uImage as well as vmlinux output filesAlexey Brodkin2016-06-052-16/+72
| | | | | | | | | | | | | | | | | | | | | | Initially for ARC we were building vmlinux images because it was both simpler and more convenient to debug Linux kernel in runt-time via JTAG. Now when base system works quite nice we may finally use U-Boot for loading the system image as well. Still we keep building vmlinux images as some of our boards are development boards and loading images with JTAG could be at some points very beneficial. Note for U-Boot header it's required to specify 2 values: * loading address * entry point (if it doesn't match loading address) and in case of ARC entry point (EP) not only differs from loading address but also changes from build to build due to initramfs being placed between loading address and text section. To accommodate that feature we have to calculate EP after vmlinux gets built and before call to mkimage. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* procd: update to latest git HEADJohn Crispin2016-06-051-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq/image: move tplink specific image into own fileAlexander Couzens2016-06-052-44/+46
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* lantiq: unmacro tp-link boardsAlexander Couzens2016-06-051-14/+25
| | | | | | | even it's a little bit verbose, unmacrod board descriptions are much easier to read and to understand. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* kernel/mtd: Add support for Macronix mx25u25635f, used in Archer C2600 v1.1Ash Benz2016-06-051-0/+10
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ixp4xx: Drop linux 4.1 supportTed Hess2016-06-0542-9767/+0
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* ixp4xx: Add support for 4.4 kernel, refresh patchesTed Hess2016-06-0543-1/+9768
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* brcm63xx: fix typo image/MakefileÁlvaro Fernández Rojas2016-06-051-1/+1
| | | | | | This typo was introduced in c6990347 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: respect user-set regulatory domain by defaultDaniel Golle2016-06-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | It turns out most device vendors don't set the correct country code in their devices' on-flash-EEPROM sections as they apparently rather provide a complete per-target-market firmware with patched drivers instead of just setting the country code. This results in the driver to incorrectly assume the value stored in the on-flash-EERPOM (usually US or China) being the regulatory domain inside which the device is being used. To work around this issue, OpenWrt introduced the ATH_USER_REGD config variable to decide during build whether or not to allow the user to override the regulatory domain setting. This option, however, is not enabled by default and thus ends up being disabled for snapshots builds and released binaries. As we know for a long time that most devices got borked regulatory domain values set in their EEPROMs we should allow our users to respect their local law (instead of just assume US or China laws). Note that also the current default has great potential of users not ever setting their regulatory domain and thus using inapproriate and potentially illegal frequencies and/or tx-power settings Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ath10k: support CT firmware choices.Ben Greear2016-06-051-0/+75
| | | | | | | | | | | | | | | | This allows one to select CT firmware for ath10k if one prefers to try this firmware instead of stock ath10k firmware. The 10.1 (988X) firmware can actually be installed beside the default firmware, but it will not be used as long as the firmware-5.bin file exists. Users could rename the files and reboot to use different images. The 99X0 (wave-2) firmware uses the same firmware-5.bin name as default firmware, so it cannot be installed at the same time as default firmware. Signed-off-by: Ben Greear <greearb@candelatech.com>
* brcm63xx: add initial support for Netgear EVG2000Graham Fairweather2016-06-038-1/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Netgear EVG2000 VoIP Gateway to the bcm63xx targets. This device was not sold to the general public, but rather is/was provided by telcos to customers in Sweden, Australia, Singapore and other parts of asia. Known issues: - Unable to detect 53115 switch. This appear to be a problem with probing for the PHY using MDIO and results in error 5. Doesn't seem to be a problem with the configuration, and could use someone with experience to have a look at it. - Uses the b43 driver as using the OpenWRT/LEDE broadcom-wl driver fails to load the firmware for the 4322, so 802.11n is not supported. More info on the device and the research can be found at: https://wiki.openwrt.org/toh/netgear/evg2000 https://wikidevi.com/wiki/Netgear_EVG2000 https://github.com/Xotic750/mirror-lede/tree/evg2000 https://forum.openwrt.org/viewtopic.php?id=63950 Signed-off-by: Graham Fairweather <xotic750@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: set DSL-274XB-F1 ath9k LED as active highÁlvaro Fernández Rojas2016-06-0335-102/+103
| | | | | | D-Link DSL-274XB rev F1 has an active high ath9k LED. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: set HG556a A/B ath9k LED as active highÁlvaro Fernández Rojas2016-06-0324-61/+63
| | | | | | Huawei HG556a has an active high ath9k LED. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add support for inverting ath9k LED polarityÁlvaro Fernández Rojas2016-06-032-9/+12
| | | | | | | Some devices with ath9k WiFi require changing the default active low polarity to high in order to correctly operate the WiFi status LEDs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: remove obsolote preinit scripts and fix preinit iface scriptÁlvaro Fernández Rojas2016-06-034-84/+23
| | | | | | | | | | These scripts were causing ip issues in the latest version of LEDE: https://gist.github.com/Noltari/6d20d8bcbe236caf516c0a73f5477d00 Fixes preinit iface script by making eth0 the default ifname and only changing it to eth1 for the devices that specifically need it. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: move profiles definitions to image/MakefileÁlvaro Fernández Rojas2016-06-0328-1359/+1072
| | | | | | This switches brcm63xx to the new profile definition system in image/Makefile Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: refresh kernel patches and configÁlvaro Fernández Rojas2016-06-034-12/+19
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: drop linux 4.1 supportÁlvaro Fernández Rojas2016-06-03162-16487/+0
| | | | | | Switch to linux 4.4 now that it has been enough tested. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: switch to linux 4.4Álvaro Fernández Rojas2016-06-031-1/+2
| | | | | | Boot tested on AR-5381u, AR-5387un and WAP-5813n Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add kmod-pwm-mediatek for mt7628/mt7688Álvaro Fernández Rojas2016-06-031-1/+21
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix the number of uarts for each SoCÁlvaro Fernández Rojas2016-06-036-7/+4
| | | | | | | | - Use default number of uarts (2) for rt288x/rt305x/rt3883/mt7620. - Allow up to 3 uarts on MT7621 and MT7628. - Remove unneeded SERIAL_8250_RT288X for MT7628. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>