aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/image
Commit message (Collapse)AuthorAgeFilesLines
* 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: 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-241-1/+101
| | | | 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: add xway_legacy targetJohn Crispin2016-06-241-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-241-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-241-0/+8
| | | | 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-242-70/+374
| | | | 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>
* lantiq: do not build images which exceed the flash sizeMathias Kresin2016-06-241-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-06-241-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-06-241-0/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix xway image buildingLuka Perkov2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use sysupgrade.bin postfix for tplink imagesJohn Crispin2016-06-191-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove orphaned tp-link image build stepsJohn Crispin2016-04-261-22/+0
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: build sysupgrade images for lantiqImageJohn Crispin2016-04-261-0/+2
| | | | | | | | Tested with VGV7510KW22NOR. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix Image BuilderJohn Crispin2015-12-231-2/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix binutils 2.15.1 buildMatteo Croce2015-10-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove dead EASY33016 image recipeJonas Gorski2015-08-301-35/+0
| | | | | | | | | | Support for lantiq_svip_be has been removed a while ago, so EASY33016 images weren't buildable anymore. Remove the recipes as well as gzip compressed kernel support, as EASY33016 was the last user of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-141-2/+0
| | | | | | | | | | | Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-051-1/+2
| | | | | | | | | | | | Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used for template generation, so need to be present before inclusion of image.mk in target image Makefiles. So move all declarations to before any includes. Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls") Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)John Crispin2015-07-071-0/+3
| | | | | | | | lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) Signed-off-by: Jannis Pinter <jannis@pinterjann.is> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for the BT Home Hub 5AJohn Crispin2015-07-071-0/+3
| | | | | | | | | | | | | | | u-boot support depends on the next "upstream" version ([0]) from Daniel Schwierzeck. Since the installation process is quite complicated a "how to" was added to the wiki: [1] [0] https://github.com/danielschwierzeck/u-boot-lantiq/tree/openwrt/v2014.01-next [1] http://wiki.openwrt.org/toh/bt/homehub_v5a V2: Use the correct PCI interrupt (fixes 2.4GHz wifi) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-051-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Make the CRC32 poly value configurable per deviceJohn Crispin2015-06-031-5/+5
| | | | | | | | | This also adds the old hardcoded value to the VGV7519BRN profile to make sure that images are still generated correctly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix imagebuilderJohn Crispin2015-05-301-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix VG3503J partition table for newer kernelsJohn Crispin2015-02-111-1/+1
| | | | | | | | the kernel has increased and does not fit into the 1,5MB anymore. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCKJohn Crispin2015-01-171-3/+5
| | | | | | | | Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK Signed-off-by: Sylwester Petela <sscapi@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 3A - profileJohn Crispin2015-01-081-0/+3
| | | | | | | | BT Home Hub 3A - profile Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: generate unique ARV7519RW22 firmwareJohn Crispin2014-08-181-5/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg filesJohn Crispin2014-07-021-1/+23
| | | | | | | | | | New make target in lantiq to use UbinizeImage and SysupgradeNand. Only enabled for BTHOMEHUBV2B for the moment but should be useable for other lantiq nand boards. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove deprecated jffs2_nand configurationJohn Crispin2014-06-241-8/+0
| | | | | | | | | | | | | | | | | | | | | | As far as I am aware, amongst the lantiq boards, jffs2_nand was only used on the BTHOMEHUBV2B. Ubi-related modifications to the device tree for that board mean that the resulting jffs2 images no longer work, and are no longer required anyway. So I suggest removing the related configuration, which this patch does. If anyone else is using jffs2_nand on a lantiq target please speak up! Incidentally, for a jffs2 rootfs partition concatenated to the kernel image to be recognised and mounted correctly on nand this patch or something equivalent is required: http://patchwork.openwrt.org/patch/5110/ It is marked as accepted in patchwork but doesn't seem to have been committed. As far as I am concerned it too is deprecated. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ubinize autoresize flag for rootfs_dataJohn Crispin2014-06-241-0/+2
| | | | | | | | | Setting this flag allows rootfs_data to expand on first boot to fill remaining free space on nand. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: copy rootfs-overlay.ubi to bin/lantiqJohn Crispin2014-06-191-0/+1
| | | | | | | | | At the moment, an rootfs.ubi is copied over to bin/lantiq but rootfs-overlay.ubi is not. This adds it. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN3500 (all known variants) factory and sysupgrade image building ↵John Crispin2014-06-171-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support This patch adds factory image building for the DGN3500, all variants, and fixes sysupgrade images to make them play nice with the sercomm secondary boot loader. The factory images can be used directly in the update dialog in the interface of the stock firmware and via the special Sercomm bootmode and a special windows flashing utility (allegedly present in the CD that came with the device -- but it's also compatible with the NSLU2 Upgrade_207_XP utility.) The special bootmode can be activated by turning the device on while holding the reset button pressed, then releasing it when the power led starts blinking red and green. Please notice that if using the 207 utility, it will always report that the flashing failed even though it completed successfully. Just power cycle the router manually after the utility reports the failure and OpenWRT will boot. This same utility (despite reporting failure in this case too) can revert a DGN3500 (any variant) to the appropriate stock Netgear firmware. This patch is a heavily modified version of a package I found on the OpenWRT forum with a couple fixes and features added -- mainly the generation of all the different image variants to support all known models directly, atm known variants are AnnexA-WW, AnnexA-NA and AnnexB-DE/GR. I tested the patch successfully on my device. Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73