aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: fix partition typos in 09_fix_crcRafał Miłecki2016-06-111-1/+1
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: deny swconfig set requests for unprivileged usersJo-Philipp Wich2016-06-111-0/+3
| | | | | | | | | | | | | | | | | The swconfig kernel infrastructure fails to do any permissions checks when changing settings. As such an ordinary user account on a device with a switch can change switch settings without any special permissions. Routers generally have few non-admin users so this isn't a big hole, but it is a security hole. Likely the greatest danger is for multifunction devices which have a lot of extra daemons, compromising a low-security daemon would allow one to modify switch settings and cause the router/switch to appear to lock-up (or cause other sorts of troublesome nyetwork behavior). Implement a check for CAP_NET_ADMIN in swconfig_set_attr() and deny any requests originating from user contexts lacking this capability. Reported-by: Elliott Mitchell <ehem+openwrt@m5p.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: calculate TRX CRC32 using whole kernel partitionRafał Miłecki2016-06-101-1/+6
| | | | | | This provides better protection of flash data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mvebu: add a patch to deal with excessive latencies/delays during flash PIO ↵Felix Fietkau2016-06-101-0/+36
| | | | | | command processing Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: fix another missing kmod dependencyÁlvaro Fernández Rojas2016-06-091-1/+4
| | | | | | | kmod-sound-soc-digidac1-soundcard is also missing snd-soc-wm8804 dependency for snd-soc-wm8804-i2c Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: fix missing dependency found by buildbotÁlvaro Fernández Rojas2016-06-091-1/+4
| | | | | | Add missing dependency to kmod-sound-soc-adau1977-adc. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-06-08374-656/+8785
| | | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also alphabetically order sound-soc kernel packages. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: take over maintainershipÁlvaro Fernández Rojas2016-06-081-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: add missing config symbols for 4.4Jo-Philipp Wich2016-06-081-0/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm63xx: improve image/MakefileÁlvaro Fernández Rojas2016-06-081-2/+1
| | | | | | | - Use KERNEL_INITRAMFS_SUFFIX for customizing initramfs name. - Modifying $(PROFILES) is no longer needed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* adm5120: remove target specific /etc/config/systemJo-Philipp Wich2016-06-081-40/+0
| | | | | | | Now that deviations to the default /etc/config/system are registered via board.d we can drop the target specific copy. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* adm5120: convert LED setup to board.dJo-Philipp Wich2016-06-081-0/+17
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* xburst: remove target specific /etc/config/systemJo-Philipp Wich2016-06-081-3/+0
| | | | | | | Now that deviations to the default /etc/config/system are registered via board.d we can drop the target specific copy. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* xburst: add /etc/config/system overrides via board.dJo-Philipp Wich2016-06-081-0/+12
| | | | | | Use /etc/board.d/ to register hostname and ntp server overrides. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath25: remove target specific /etc/config/systemJo-Philipp Wich2016-06-081-9/+0
| | | | | | | The system config file shipped by ath25 is now equivalent to the generic one in base files, so drop the target specific copy. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath25: drop target specific button hotplugJo-Philipp Wich2016-06-082-38/+0
| | | | | | | | | | | The ath25 target has its own unique button action config support, which is not used anywhere except for two example logger statements in UCI. Since there is a generic /etc/rc.button facility since some time already there is no reason at all to keep this target specific mechanism anymore, so simply drop it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* generic: remove brcmfmac-sdio.hBen Whitten2016-06-081-124/+0
| | | | | | This file is present in the kernel so no point overlaying it. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-073-6/+6
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add support for OpenEmbed SOM9331Allan Nick Pedrana2016-06-0712-0/+176
| | | | | | | | This patch adds the target profile SOM9331 and configures hardware functionality for the 3x Eth Ports & corresponding LED's, the USB Host, the USART to USB bridge and the System LED. Signed-off-by: Allan Nick Pedrana <nik9993@gmail.com>
* ixp4xx: fix Avila SoC audio driver compilationJo-Philipp Wich2016-06-071-1/+1
| | | | | | | | | | | | | | Upstream dropped the `dapm` member of `struct snd_soc_component`, requiring users to access it using `snd_soc_codec_get_dapm()` instead so change the driver code to do just that. Fixes the following build error spotted by the buildbots: CC [M] sound/soc/gw-avila/gw-avila.o sound/soc/gw-avila/gw-avila.c: In function 'avila_aic3x_init': sound/soc/gw-avila/gw-avila.c:104:44: error: 'struct snd_soc_codec' has no member named 'dapm' Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* lantiq: fix image DEVICE_DTS handling, add proper default valueFelix Fietkau2016-06-072-31/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: only call Image/Prepare/Profile for defined profilesFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-07134-205/+205
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: convert OM2P to device profileFelix Fietkau2016-06-072-11/+15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: enable profile sorting in preparation for adding device profilesFelix Fietkau2016-06-075-0/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: install kernel binaries into bin/ for use with external storageFelix Fietkau2016-06-071-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: install kernel binaries into bin/ for use with external storageFelix Fietkau2016-06-071-0/+3
| | | | 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>
* build: split scripts/metadata.pl into target-metadata.pl and package-metadata.plFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* 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>
* ar71xx: add WRTnode2Q supportKeLei Liang2016-06-0610-2/+165
| | | | Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
* 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>
* 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>
* 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>
* 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>