aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* ramips: fix fixseama call on first bootMatthias Schiffer2016-07-041-3/+3
| | | | | | | | | | | | | Commit "kernel: mtdsplit: calculate kernel partition precisely for Seama" changed the kernel partition to only contain the kernel itself and not the Seama header. Adjust the fixseama call to match what is used on brcm53xx. This fixes failing to boot a second time after flashing the factory image on the affected devices. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add i2s clocksMichael Lee2016-07-041-3/+30
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2s dtsi filesMichael Lee2016-07-047-5/+111
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: improve i2s driversMichael Lee2016-07-041-461/+742
| | | | | | | | | | | | | | | * remove mt7620-wm8960.c use simple card and DTS to do it * add old chips support * add 12Mhz refclk setup. this is hard code. need use clock framework rewrite it * add interrupt error status support for debug. default disable it. because it cause to many interrupts * add setup bclk suport not hard code it * add 24 bits support for mt7628. not verified * use regmap api to control registers * add txdma-req/rxdma-req DTS params for DMA use Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add i2c clockMichael Lee2016-07-041-0/+40
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c dtsi filesMichael Lee2016-07-048-17/+127
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* kernel: refresh patchesFelix Fietkau2016-07-044-28/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport cosmetic ubifs patchDaniel Golle2016-07-041-0/+42
| | | | | | | | | | | | | | | Despite the MS_SILENT flag being set when probing for ubifs rootfs a logline indicating an error is generated during boot: UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19 This leads to confusion and there shouldn't be lines containing the word 'error' twice in a bootlog if actually everything is fine (just the rootfs happens to be something else than ubifs) The patch added has been submitted and was accepted upstream, see: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068056.html http://patchwork.ozlabs.org/patch/637491 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* sunxi: remove NAMESPACES config symbolsDirk Neukirchen2016-07-011-4/+0
| | | | | | they are available in config/Config-kernel.in Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove NAMESPACES config symbolsDirk Neukirchen2016-07-011-3/+0
| | | | | | they are available in config/Config-kernel.in Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove XFRM config symbolsDirk Neukirchen2016-06-301-2/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove config symbol W1Dirk Neukirchen2016-06-301-1/+0
| | | | | | it is available as module Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: switch to 4.4Alexander Couzens2016-06-302-100/+62
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap: remove BMP085 symbolDirk Neukirchen2016-06-301-2/+0
| | | | | | BMP085 is a pressure sensor and available as module Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* zynq: remove unneeded _DIAG and _XFRM symbolsDirk Neukirchen2016-06-301-7/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* sunxi: remove XFRM_ config symbolsDirk Neukirchen2016-06-301-2/+0
| | | | | | they are part of packages Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* octeon: fix image buildJo-Philipp Wich2016-06-271-1/+1
| | | | | | | | | | | The generic sysupgrade image attempted to use the wrong filesystem type due to premature variable interpolation leading to the following error on the buildbot system: cp: cannot stat `.../root.squashfs': No such file or directory make[4]: *** [.../tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* octeon: export the FILESYSTEMS variable during image generationJohn Crispin2016-06-271-1/+1
| | | | | | squashfs will be used for all images if this is not done Signed-off-by: John Crispin <john@phrozen.org>
* octeon: Ignore MEM boot param when too smallMichał Osowiecki2016-06-271-0/+31
| | | | | | | | Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least 4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so if mem < 4M - ignore it and set default value Signed-off-by: Michał Osowiecki <michal.osowiecki@gmail.com>
* octeon: convert to new image building codeJohn Crispin2016-06-272-50/+41
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* cns3xxx: fix RX softIRQ loopKoen Vandeputte2016-06-271-2/+2
| | | | | | | | | | Already reschedule when 1 or more frames came in. Checking for a full queue could produce a re-schedule loop as the checked RX ring location could contain undefined values depending on activity in previous loops. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: mtdsplit: calculate kernel partition precisely for SeamaRafał Miłecki2016-06-271-2/+2
| | | | | | | | | So far "kernel" partition didn't contain just a kernel. It also included Seama header and meta data. This was making kernel update complex and it wasn't trivial to read kernel size. Fix it by making "kernel" parition contain just a kernel image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* brcm63xx: simplify block size and image offset optionsÁlvaro Fernández Rojas2016-06-271-34/+45
| | | | | | | | Instead of having CFE_EXTRAS for every device that need specific block sizes and image offset, let's define a couple of vars which can be customized for each device. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add sysupgrade imagesÁlvaro Fernández Rojas2016-06-272-20/+31
| | | | | | | | | | Some devices require padded images in order to prevent CFE from flashing them to the wrong offset. For small flashes (4/8) this is no big deal, but for larger flashes (16/32) this implies 8 and 16 MB images, which is way too large and some devices aren't capable of flashing them through sysupgrade. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: merge DSL-274X-F1 profilesJonas Gorski2016-06-271-16/+6
| | | | | | | The only difference is a field in the image tag header, so just define two images for it instead of treating them as separate devices. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: move the bootargs into the dtb filesJonas Gorski2016-06-2784-3/+334
| | | | | | Instead of using a fixed commandline, allow one per device. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: use upstreamed compatible name for the periph intcJonas Gorski2016-06-2711-11/+11
| | | | | | | This makes the eventual migration to bmips easier, as dts files will require less changes. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix external IRQsDaniel Gonzalez2016-06-271-9/+9
| | | | | | | | | | | | | External IRQs are currently broken, fix the BCM6345_EXT_IRQ driver. Since the adoption of the new driver irq-bcm6345-ext, in Chaos Calmer, external IRQs don't work. It seems there were some minor errors at the initial development of the driver. This patch fixes the ticket https://dev.openwrt.org/ticket/21613 Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix single profile selectionÁlvaro Fernández Rojas2016-06-271-0/+1
| | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: improve image/MakefileÁlvaro Fernández Rojas2016-06-271-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>
* brcm63xx: fix typo image/MakefileÁlvaro Fernández Rojas2016-06-271-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add initial support for Netgear EVG2000Graham Fairweather2016-06-278-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-2735-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-2724-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-272-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: move profiles definitions to image/MakefileÁlvaro Fernández Rojas2016-06-2728-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-274-12/+19
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: switch to linux 4.4Álvaro Fernández Rojas2016-06-271-1/+2
| | | | | | Boot tested on AR-5381u, AR-5387un and WAP-5813n Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: fix F@ST2704V2 image generationÁlvaro Fernández Rojas2016-06-271-1/+1
| | | | | | This device needs the firmware padded to 4MB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm53xx: backport BCM5301X patches for SRABRafał Miłecki2016-06-275-1/+170
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: properly support sysupgrade using Seama on NAND devicesRafał Miłecki2016-06-271-1/+48
| | | | | | It updates kernel and then formats UBI without loosing erase counters. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: use uncompressed zImagesFelix Fietkau2016-06-271-0/+2
| | | | | | The boot loader expects LZMA compressed kernel images Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: refresh kernel configFelix Fietkau2016-06-271-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: refresh kernel configRafał Miłecki2016-06-271-5/+0
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: sysupgrade: move TRX specific code to separated functionRafał Miłecki2016-06-271-14/+20
| | | | | | | This will allow adding support for other formats (e.g. Seama) in a clean way. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: pass datasize to mtd in hexadecimal formatRafał Miłecki2016-06-271-2/+1
| | | | | | This avoids extra calculation in bash script. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: fix partition typos in 09_fix_crcRafał Miłecki2016-06-271-1/+1
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: calculate TRX CRC32 using whole kernel partitionRafał Miłecki2016-06-271-1/+6
| | | | | | This provides better protection of flash data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: add missing config symbols for 4.4Jo-Philipp Wich2016-06-261-0/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: lift generic x86-32 targetDaniel Golle2016-06-252-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>