aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
| * firmware-utils: oseama: support extracting entityRafał Miłecki2016-06-271-0/+134
| | | | | | | | | | | | | | This updates oseama in firmware-utils to the version from packages keeping them synced. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
| * oseama: support extracting entityRafał Miłecki2016-06-271-0/+134
| | | | | | | | 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>
* | Merge pull request #14 from wigyori/masterZoltan Herpai2016-06-2620-384/+495
|\| | | | | x86 update
| * 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 #13 from wongsyrone/fix-gzip-envZoltan Herpai2016-06-261-4/+4
|\ \ | |/ |/| scripts/ipkg-build: fix deprecated GZIP environment variable warning
| * scripts/ipkg-build: fix deprecated GZIP environment variable warningSyrone Wong2016-06-261-4/+4
|/ | | | | | | | | | | | According to gzip 1.7 release note: The GZIP environment variable is now obsolescent; gzip now warns if it is used, and rejects attempts to use dangerous options or operands. You can use an alias or script instead. Fix this warning by using pipe instead Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* 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>