summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/image
Commit message (Collapse)AuthorAgeFilesLines
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-2/+2
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix building AVM/EVA sysupgrade images on NOR devicesMartin Blumenstingl2016-08-221-1/+3
| | | | | | | | | | | | Device/AVM unconditionally inherits Device/NAND, which changes the sysupgrade image to sysupgrade-tar (instead of a "raw" sysupgrade image as used in the Device/Default template). This moves the Device/NAND call to the FRITZ3370 device definition, as this is the only AVM/EVA device that uses NAND. Additionally we have to define the IMAGE_SIZE for the AVM/EVA NOR devices to ensure that the images are not discarded. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* lantiq: add kmod-ledtrig-usbdev to device packages which have usb ledMatti Laakso2016-08-151-5/+5
| | | | | | | | By default USB LEDs are associated with usbdev trigger. However, not all devices which have USB LEDs have kmod-ledtrig-usbdev in their list of default packages. Add it to the relevant devices. Signed-off-by: Matti Laakso <matti.laakso@outlook.com>
* lantiq: enable missing ath10k firmware for BT Home Hub 5AFelix Fietkau2016-08-011-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-312-5/+5
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-291-1/+1
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* lantiq: fix image creation of P2812HNUF3 & BTHOMEHUBV3AMathias Kresin2016-07-221-2/+2
| | | | | | | | Both devices were converted to the new image build code but still using the LegacyDevice define. Therefore an image isn't created for the mentioned devices. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: convert remaining xway NAND devices to new image build codeFelix Fietkau2016-07-201-65/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: convert AVM xrx200 devices to new image build codeFelix Fietkau2016-07-201-10/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: convert simple xrx200 devices to new image build codeFelix Fietkau2016-07-201-15/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add image build template for NAND devicesFelix Fietkau2016-07-201-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: simplify image building codeFelix Fietkau2016-07-201-34/+3
| | | | | | | | Specifying the device profile in PROFILES is unnecessary, and for all devices the DEVICE_PROFILE variable matched the device name. Get rid of this useless variable and set DEVICE_DTS to $(1) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix building NAND images in default configFelix Fietkau2016-07-201-35/+22
| | | | | | Remove remaining references to $(PROFILE) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: disable jffs2 support on xrx200Felix Fietkau2016-07-201-19/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-1/+1
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add support for ARV7506PW11 (Alice/O2 IAD 4421)Oswald Buddenhagen2016-06-221-0/+12
| | | | | | | | | | | | | | | | | | Ethernet, ADSL2+ and LEDs are fully functional. Supporting the two TAE ports and SIP gateway was not attempted. The WiFi is unreliable, due to experimental support for rt35xx family devices by the rt2800pci driver. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> [rebase to LEDE HEAD] [switch to normal image instead of brnboot image] [remove not required pinmux child nodes keys, leds, ebu, exin, pci_in and pci_out] [remove switch_rst pinmux child node (no support for hw reset in driver/setting a default GPIO value in DT] [enable usage of the wireless LED] [fixup mac address configuration] Sgned-off-by: Mathias Kresin <dev@kresin.me>
* kernel: Move append-dtb to common image-commandsBen Whitten2016-06-221-6/+2
| | | | | | This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* lantiq: remove gr7000 supportJohn Crispin2016-06-221-8/+0
| | | | | | this seems to have never worked as the wrong SoC is selected Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: build fullimage.img for EASY80920NANDHauke Mehrtens2016-06-211-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: fix typo in new image generationBen Mulvihill2016-06-211-1/+1
| | | | | | | Fix typo in commit a6f7536a73c93794812d5e810fb41c3d0ff1fb27 (new image generation) Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
* lantiq: fix build of NAND sysupgrade imagesMathias Kresin2016-06-201-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-171-15/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: get rid of ifneq() checks inside command templatesFelix Fietkau2016-06-171-34/+34
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: small fix for legacy profile buildsJohn Crispin2016-06-171-36/+7
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: convert remaining legacy targets to the new image generation codeJohn Crispin2016-06-171-1/+101
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: fix VG3503J loader generationJohn Crispin2016-06-141-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: add xway_legacy targetJohn Crispin2016-06-131-61/+65
| | | | | | 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: Add Support for Fritz!Box 7360 SLJohn Crispin2016-06-131-0/+3
| | | | | Signed-off-by: Sebastian Ortwein <krone@animeland.de> Tested-by: Guido Lipke <lipkegu@gmail.com>
* lantiq: add Buffalo WBMR-300HPD supportFelix Fietkau2016-06-111-0/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* lantiq: un-macro the image building codeJohn Crispin2016-06-052-70/+374
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* 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>
* lantiq: do not build images which exceed the flash sizeMathias Kresin2016-05-271-42/+46
| | | | | | | | | | The user benpicco in #openwrt reported that images are build which are bigger that the available flash size. He provided a proof of concept fix and gave permission to me to send it for inclusion. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VG3503J - merge profilesMathias Kresin2016-05-231-3/+0
| | | | | | | | The only difference between the VG3503J profiles is the version of the gphy firmware that gets loaded. This can be handled perfect fine in one device tree source file. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: move ubi/ubifs options to the image makefileFelix Fietkau2016-05-191-0/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: use sysupgrade.bin postfix for tplink imagesblogic2016-05-101-3/+4
| | | | | | | | | | | | Use the same name for TP-Link images as it was with the old image build code. Move the BOARD_ID export to the TP-Link image build recipe, to indicate that the variable is only related in this context. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49279
* lantiq: fix xway image buildingJo-Philipp Wich2016-04-271-3/+3
| | | | | | | | | | | | | | | | | | | Commit 8c130dd (lantiq: use new image build process for some images) broke image generation for the xway target since the generated macros reference not existing WBMRA.dts and WBMRB.dts files leading to the following build error: mips-openwrt-linux-musl-cpp: error: ../dts/WBMRA.dts: No such file or directory mips-openwrt-linux-musl-cpp: warning: '-x assembler-with-cpp' after last input file has no effect mips-openwrt-linux-musl-cpp: fatal error: no input files Previously both the WBMRA and WBMRB profiles shared a common WBMR DT since the only difference is the embedded firmware kmod package. Extend the lantiqImage macro to optionally support specifying a different DTS file and use this facility to let the both WBMR profiles reference the correct device tree file. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* lantiq: use new image build process for brnImagesJohn Crispin2016-04-261-14/+28
| | | | | | | | | | | | | | LZMA compress the kernel without dictionary, otherwise brnboot fails to uncompress the kernel. The filesystem parameter of mkbrncmdline was dropped since the used filesystem isn't exported in the kernel build step and at least in my tests everything works without the parameter. If the parameter is required for some reason, the static keyword "squashfs" can be used. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49241
* lantiq: remove orphaned tp-link image build stepsJohn Crispin2016-04-261-22/+0
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49239
* lantiq: build sysupgrade images for lantiqImageJohn Crispin2016-04-261-0/+2
| | | | | | | | Tested with VGV7510KW22NOR. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49238
* lantiq: new image build process - fix kernel entry addressJohn Crispin2016-04-261-1/+1
| | | | | | | | | | | Set the kernel entry address to the same value as it is used for the old image build build process. Fixes boot of uImages on VGV7510KW22NOR and others. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49237
* lantiq: use new image build process for some imagesJohn Crispin2016-04-211-90/+95
| | | | | | | | | | This adds for some easy images the new build process. This was only tested on some TP-Link devices, please test. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49210
* lantiq: lzma-loader: fix O32 ABI conformanceGabor Juhos2016-03-211-0/+3
| | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly startup code does not reserve stack space for these registers thus when the main C function needs to save its arguments, that will cause a stack overflow. Fix the assembly code to reserve stack space for the registers to avoid that. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49061
* lantiq: use upstream mechanism to append device tree fileJohn Crispin2016-03-201-2/+2
| | | | | | | | | | | Instead of using our patch-dtb program just place the device tree behind the kernel binary and then let the in kernel mechanism fetch it. This also adds support for having the device tree file in the boot loader. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49050
* lantiq: add support for TP-Link VR200vHauke Mehrtens2016-01-181-0/+3
| | | | | | | | | This adds basic support for TP-Link VR200v. Currently the following parts are not working: FXO, Voice, DECT, WIFI (both) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48328
* lantiq: Fixed brnImage signature for the VGV7510KW22BRN imagesFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | | | | The old signature only worked because brnboot ignores the leading "5" in the signature. We can see the correct signature when flashing a brnImage via recovery web-interface, in this case brnboot reports: [CGI-Signature Check] buf:[BRNDA6431], sigInFlash:[BRNDA6431] Thanks to Mathias Kresin for reporting this. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48269
* lantiq: fix Image BuilderJohn Crispin2015-12-231-2/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 48002
* lantiq: Add target TP-Link TD-W8980John Crispin2015-10-051-0/+3
| | | | | | | | | The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 47130