aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: remove deprecated jffs2_nand configurationJohn Crispin2014-06-242-9/+1
| | | | | | | | | | | | | | | | | | | | | | 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: refresh patchesJohn Crispin2014-06-194-9/+31
| | | | | | | | this adds ben's ath9k fixup Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41269 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
* lantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition ↵John Crispin2014-06-161-5/+2
| | | | | | | | | | | | | | and rootfs type This patches the BTHOMEHUB2B device tree to make use of the new code for automatic detection of the ubi partition and the rootfs type within it. Gets rid of the ugly alternative bootargs lines. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> Acked-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fixup vgv7519 usb supportJohn Crispin2014-06-161-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/16800 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make sure the new UBIBLOCK symbol does not break buildsJohn Crispin2014-06-112-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a NAND_SUPPORT symbolJohn Crispin2014-06-113-3/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix eep handling patchJohn Crispin2014-06-051-1/+1
| | | | | | | | 0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ath5k fix in wifi and ethernet eeprom handling patch.John Crispin2014-06-041-0/+2
| | | | | | | | | | | | | | | ath5k fix in wifi and ethernet eeprom handling patch. Without the line that adds the patch of_ath5k_eeprom_probe cause a kernel panic, at least with the ARV4518PW. Tested only in the modem-router mentioned above. This patch is based in Bruno's hack present in patch #5454. Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com> Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix up eth_mac and ath_eep supportJohn Crispin2014-06-022-167/+182
| | | | | | | | this patch got messed up by the last rebase Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix ARV7510PW22 etopJohn Crispin2014-06-021-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix ARV4518 etopJohn Crispin2014-06-022-2/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: strip FCS from received ethernet frames on XRX200Felix Fietkau2014-05-071-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: support loading the dsl firmware from a flash partition as a raw ↵Felix Fietkau2014-05-061-5/+27
| | | | | | | | gzipped tarfile Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B - overlayfs on top of ubiJohn Crispin2014-04-224-4/+33
| | | | | | | | BT Home Hub 2B: use overlayfs on top of ubi. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix vr9_phy22f_a2x.bin firmware linkingJohn Crispin2014-04-221-2/+3
| | | | | | | | vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix maximum ethernet header lengthJohn Crispin2014-04-221-0/+22
| | | | | | | | | | | The total ethernet frame length should be written to the hardware register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This patch fixes network issues on various Danube boards, especially when VLAN tagging is enabled. Signed-off-by: Matti Laakso <malaakso at elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ARV7519RW22: several fixesJohn Crispin2014-04-164-127/+99
| | | | | | | | | | - Fix ethernet ports. - Clean DTS files. - WiFi is lantiq based (not supported yet), remove ath9k. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: enable switch on td8970John Crispin2014-04-121-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ARV7519RW imagesJohn Crispin2014-04-121-6/+6
| | | | | | | | This patch moves ARV7519RW definitions to VR9 section from the AR9 section and removes a whitespace that breaks jffs2 image generation. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.36Gabor Juhos2014-04-127-28/+20
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add an extra partition to the TDW8970 flash that can be used to ↵John Crispin2014-04-111-1/+6
| | | | | | | | store the vdsl firmware Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: more vdsl related cleanupsJohn Crispin2014-04-112-10/+23
| | | | | | | | | | | * atm module needs to be loaded before linux-atm * use absolute firmware paths * extended validation * add a script for mounting an optional firmware partition Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: move the dsl-modem config to network.@dsl-modem[-1]John Crispin2014-04-101-0/+32
| | | | | | | | make sure uci_defaults generates a proper uci config for the v/adsl modem Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make dsl_notify.sh executableJohn Crispin2014-04-091-0/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: there is a V2 of VG3503J that needs a newer fe phy firmwareJohn Crispin2014-04-075-161/+186
| | | | | | | | | this should really be auto detected by the kernel, lets used this workaround until the real solution is ready Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40418 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove unmaintained codeJohn Crispin2014-04-064-36/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: cleanup the dsl control scriptsJohn Crispin2014-04-052-0/+305
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: nand fixesJohn Crispin2014-04-032-0/+223
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - userspaceJohn Crispin2014-04-032-0/+12
| | | | | | | | Basic userspace configuration for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - board supportJohn Crispin2014-04-035-2/+306
| | | | | | | | Board support patch for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - jedec probeJohn Crispin2014-04-032-0/+39
| | | | | | | | | Lantiq nor patch. Adds support for jedec probing if cfi probing fails. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make td8970 wifi led workJohn Crispin2014-04-032-7/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix vr9 ubi handlingJohn Crispin2014-04-037-24/+66
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lntiq: add support for Astoria ARV7519RW.John Crispin2014-03-306-0/+319
| | | | | | | | | | | | | | | These patches add support for the Astoria ARV7519RW aka Livebox 2.1 The PCI and PCIe interfaces have been disabled. Also, because there are two revisions of this board with different GPHY firmwares, two targets were defined. V2: rewrote partitions to work with an u-boot specifically made for these boards. Signed off by: Esteban Benito <estebanjbs@gmail.com> Signed off by: Carles Gadea <carlesgrg@gmail.com> Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)John Crispin2014-03-301-4/+13
| | | | | | | | | | | | | | | | | | | | ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in flash as big-endian, but the driver needs it in little-endian format. We have to swab it before handing it over. This requires my earlier patch for busybox. Funnily enough, ARV752DPW works also with the incorrect eeprom, but undoubtedly unoptimally. I have a hunch that also the final remaining Lantiq board would require this swabbing, but I'm not sure, so I just swab it in the three boards that I know about. v2: * Swab also on ARV7510PW22 based on feedback from Alvaro Rojas * Fix the offset with bs=2 Signed-off-by: Matti Laakso <malaakso at elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add esiJohn Crispin2014-03-302-1/+8
| | | | | | | | http://patchwork.openwrt.org/patch/3703/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix mtd_split for brnboot firmware imagesJohn Crispin2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | The existing code only tries to split a parition with name "rootfs" while actually looking for kernel+rootfs, where usually "firmware" is used as a partition name. This doesn't make sense, as even if there was a partition 'rootfs' given by mtdparts or via device-tree, this code would lead to another partition called 'rootfs' being created which would not be properly distinguished in the current user-space code. While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make that configurable, the lack of users of brnboot and the fact that we can freely decide the partition name made me simply change the hard-coded string constant from "rootfs" to "firmware". (I'm going to add support for ARV7506PW which run brnboot and needs this change) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fixup ath5k supportJohn Crispin2014-03-301-0/+55
| | | | | | | | http://patchwork.openwrt.org/patch/4417/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix initial VLAN conf for P2601HNFXJohn Crispin2014-03-301-2/+3
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: P2601HNFX dts update for STP and buttonsJohn Crispin2014-03-301-3/+6
| | | | | | | | | - Set correct AltSel for STP pins - Set front button to rfkill Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for Arcadyan ARV7519PWJohn Crispin2014-03-305-1/+238
| | | | | | | | | | | This patch adds almost full support for this board. - WiFi is still not working - USB will not power up. According to some reports, it may be a passive port Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: reset gphys on rebootJohn Crispin2014-03-301-0/+19
| | | | | | | | If gphys are not reset upstream uboot can not use them anymore. Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for ZyXEL P2812HNUFXJohn Crispin2014-03-304-0/+332
| | | | | | | | | | | This patch adds almost full support for this board. WiFi is still not working. The FXS ports are not functional due to missing support for the TAPI driver on VR9 SoC. Signed-off-by: Antonios Vamporakis <ant@area128.com> Tested-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add ubifs support in image MakefileJohn Crispin2014-03-301-0/+43
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add ubifs to FEATURESJohn Crispin2014-03-302-2/+2
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: xrx200: add ubi support in the kernelJohn Crispin2014-03-301-0/+17
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40314 3c298f89-4303-0410-b956-a3cf2f4a3e73