aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* x86: reorganize x86_32 supportDaniel Golle2016-06-254-1/+238
| | | | | | copy current 'generic' target to new 'legacy' target. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86: use sysfs DMI information to populate sysinfoJo-Philipp Wich2016-06-251-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-253-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>
* x86: generalize partition discovery for sysupgradeJo-Philipp Wich2016-06-253-26/+55
| | | | | | | | | | | | | | | Generalize the partition discovery in sysupgrade in order to fix sysupgrade and config backup/recovery on MMC block devices which use a different naming scheme compared to mtdblock or sd* devices. The change also adds the find applet to the ramdisk utilities so that upgrade code can rely on it. The commit is based on the initial submission by Russell Senior at http://patchwork.ozlabs.org/patch/625440/ . Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86_64: enable mmc to support booting off sdRussell Senior2016-06-251-0/+8
| | | | | | Improved support for PCEngines APU Signed-off-by: Russell Senior <russell@personaltelco.net>
* kernel: Build it87 hardware monitor moduleDaniel Dickinson2016-06-251-0/+14
| | | | | | | | Add packaging of it87 hardware monitor kernel module. It is a common thermal and voltage monitor that is in many x86 (at least) devices, and is just another i2c hwmon module. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* x86/xen_domu: enable xen drivers in the kernel config instead of packaging ↵Felix Fietkau2016-06-252-131/+17
| | | | | | them as modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable grub at_keyboard support for x86_64Felix Fietkau2016-06-251-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove the kvm_guest subtargetFelix Fietkau2016-06-255-204/+1
| | | | | | | 32-bit only hardware that supports kvm is very rare. It's not worth keeping a separate subtarget for this. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: add more hardware RNG drivers, including for virtioFelix Fietkau2016-06-251-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: enable virtualization support for spinlocks to improve kvm performanceFelix Fietkau2016-06-251-6/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Merge pull request #12 from wigyori/masterZoltan Herpai2016-06-24489-18417/+23713
|\ | | | | update oxnas target, update ipq806x target, create trunk tag and update revisioning accordingly
| * lantiq: Slow down SPI flash on the DGN3500Daniel Gimpelevich2016-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | The bootloader uses 30 MHz as the SPI frequency for flash on the Germany and North America models, and 50 MHz for it on the worldwide model, but the Lantiq SPI driver in OpenWrt and LEDE may access the flash differently such that writes are capped at 20 MHz, leading to read errors reported on the worldwide model at 30 MHz. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Acked-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
| * lantiq: make EASY80920 work with both chip versionsHauke Mehrtens2016-06-241-1/+2
| | | | | | | | | | | | | | | | | | The EASY80920 is available with the A1X and the A2X chip version depending on the board version. Add both firmware versions to device tree and make the driver load the correct version depending on the chip version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| * lantiq: use new partition layout for EASY80920NANDHauke Mehrtens2016-06-241-6/+30
| | | | | | | | | | | | This matches the EASY80920NAND boards with UGW. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| * lantiq: build fullimage.img for EASY80920NANDHauke Mehrtens2016-06-241-0/+22
| | | | | | | | | | | | | | | | This image format is used by Lantiq's / Intel's UGW version 6.1 to 7.1. These images can be flashed onto a board with the SoC vendor boot loader as a replacement for the vendor firmware. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| * lantiq: remove patch adding support for building without reset controllerHauke Mehrtens2016-06-241-45/+0
| | | | | | | | | | | | | | | | The lantiq kernel arch code selects CONFIG_RESET_CONTROLLER always, so it is always selected when the lantiq target is build. we do not need support for unselected CONFIG_RESET_CONTROLLER option. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| * lantiq: fix typo in new image generationBen Mulvihill2016-06-241-1/+1
| | | | | | | | Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
| * lantiq: fix build of NAND sysupgrade imagesMathias Kresin2016-06-241-57/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | The *_UBIFS_OPTS variables need to be prefixed with DEVICE_ to match the profile name. The conditions need to be evaluated after the *_UBIFS_OPTS are set, otherwise the variables are always empty. Do not append or pass the DEVICE_ prefixed profile name to the images. Use the name that is passed by the Image/Build/Profile/ step. Signed-off-by: Mathias Kresin <dev@kresin.me>
| * lantiq: ltq-atm: fix xrx200 dependsMathias Kresin2016-06-241-1/+1
| | | | | | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
| * lantiq: clean up / fix LegacyDevice template handlingFelix Fietkau2016-06-241-15/+7
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: get rid of ifneq() checks inside command templatesFelix Fietkau2016-06-241-34/+34
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: small fix for legacy profile buildsJohn Crispin2016-06-241-36/+7
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: convert remaining legacy targets to the new image generation codeJohn Crispin2016-06-248-98/+101
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * Revert "lantiq: Use correct macaddr generating logic for the DGN3500"Zoltan HERPAI2016-06-241-5/+0
| | | | | | | | | | | | | | | | This reverts commit edb6897598b56f8390e0aef4bfe4b6530d5aca5c. /etc/board.d cannot be used for system init stuff. Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: refresh patchesFelix Fietkau2016-06-246-100/+89
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: the io space was still not big enough for UHCIJohn Crispin2016-06-241-1/+1
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: add ARV4525PW wifi ledJohn Crispin2016-06-241-0/+3
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>