aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* 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-252-25/+54
| | | | | | | | | | | | | | | 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>
* x86/xen_domu: enable xen drivers in the kernel config instead of packaging ↵Felix Fietkau2016-06-251-8/+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-254-156/+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-24434-18008/+22712
|\ | | | | 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: 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>
| * lantiq: fix VG3503J loader generationJohn Crispin2016-06-241-1/+1
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: fix fritz7320 wifi supportJohn Crispin2016-06-244-6/+27
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: fix io_space_limitJohn Crispin2016-06-241-0/+28
| | | | | | | | | | | | this broke uhci pci support on some arv units Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: fix ARV452CQW button gpio setupJohn Crispin2016-06-241-7/+7
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: add AVM image mageic to sysupgrade scriptJohn Crispin2016-06-241-0/+2
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: add xway_legacy targetJohn Crispin2016-06-245-63/+117
| | | | | | | | | | | | due to bloat recent builds fail to fit into the flash of the old danube units Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: gpio-export fails to build if GPIO_SYSFS is not enabledJohn Crispin2016-06-241-7/+11
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: Add Support for Fritz!Box 7360 SLJohn Crispin2016-06-245-0/+233
| | | | | | | | | | Signed-off-by: Sebastian Ortwein <krone@animeland.de> Tested-by: Guido Lipke <lipkegu@gmail.com>
| * lantiq: use new property name for eiu irqsJohn Crispin2016-06-244-4/+4
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: fix a regression in the eiu irq loading codeJohn Crispin2016-06-241-0/+78
| | | | | | | | | | | | | | | | | | this worked in 3.18 but broke at some point. the old code that loaded a irq table was incorrewct anyhow as it mapped the irqs int he domain which should really be done when the driver using them loads them and not the irq driver itself. Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: add default lan setup to board.d scriptJohn Crispin2016-06-241-0/+3
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq: add VLAN handling fixes to xrx200 ethernet driverFelix Fietkau2016-06-241-17/+37
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: fold 0400-xrx200-net-multi-phy.patch into ↵Felix Fietkau2016-06-242-39/+9
| | | | | | | | | | | | 0025-NET-MIPS-lantiq-adds-xrx200-net.patch Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: change xrx200 ethernet driver WRED signal to global to fix spurious ↵Felix Fietkau2016-06-241-3/+4
| | | | | | | | | | | | packet loss issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: enable swconfig LED supportFelix Fietkau2016-06-241-0/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: add Buffalo WBMR-300HPD supportFelix Fietkau2016-06-244-0/+325
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: fix image DEVICE_DTS handling, add proper default valueFelix Fietkau2016-06-242-31/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: only call Image/Prepare/Profile for defined profilesFelix Fietkau2016-06-241-1/+1
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
| * lantiq: un-macro the image building codeJohn Crispin2016-06-2416-382/+394
| | | | | | | | Signed-off-by: John Crispin <john@phrozen.org>
| * lantiq/image: move tplink specific image into own fileAlexander Couzens2016-06-242-44/+46
| | | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
| * lantiq: unmacro tp-link boardsAlexander Couzens2016-06-241-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>