Commit Graph

84 Commits (0496c6a597a344e0a8e513dfb96d91e0962b38e8)

Author SHA1 Message Date
John Crispin 56bcd680bd lantiq: generate unique ARV7519RW22 firmware
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
2014-08-18 13:09:11 +00:00
John Crispin 3fff418f14 lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files
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
2014-07-02 16:37:23 +00:00
John Crispin b73720eae8 lantiq: remove deprecated jffs2_nand configuration
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
2014-06-24 18:12:52 +00:00
John Crispin fb4e44b207 lantiq: ubinize autoresize flag for rootfs_data
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
2014-06-24 18:12:41 +00:00
John Crispin c4fae68f13 lantiq: copy rootfs-overlay.ubi to bin/lantiq
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
2014-06-19 14:13:04 +00:00
John Crispin 7911faae00 lantiq: DGN3500 (all known variants) factory and sysupgrade image building 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
2014-06-17 15:38:54 +00:00
John Crispin e3dfb167cc Fix ARV7519RW images
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
2014-04-12 21:22:08 +00:00
John Crispin e720d5f69d lantiq: there is a V2 of VG3503J that needs a newer fe phy firmware
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
2014-04-07 15:10:22 +00:00
John Crispin 8d8017f979 lantiq: BT Home Hub 2B support - board support
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
2014-04-03 14:26:54 +00:00
John Crispin 42d3266aa8 lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:24 +00:00
John Crispin d2b1dccc38 lntiq: add support for Astoria ARV7519RW.
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
2014-03-30 10:02:30 +00:00
John Crispin cbc606f1f7 lantiq: add support for Arcadyan ARV7519PW
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
2014-03-30 09:16:15 +00:00
John Crispin 4a3d655e10 lantiq: add support for ZyXEL P2812HNUFX
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
2014-03-30 09:16:06 +00:00
John Crispin 8f230ce464 lantiq: add ubifs support in image Makefile
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:02 +00:00
John Crispin ac3caf5ea4 lantiq: Add support for Astoria ARV7510PW22
This board is pretty similar to ARV752DPW22.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 19:16:51 +00:00
John Crispin 41d072938e lantiq: fix td-w8970 initramfs generation
https://dev.openwrt.org/ticket/14417

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:45:44 +00:00
John Crispin 92fb741190 lantiq: fix fritz image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:52 +00:00
John Crispin b82a60cc69 lantiq: add support for VGV7519 KPN Experia box v8
Signed-off-by: Maikel Bloemendal <mbloemendal@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:46 +00:00
Luka Perkov 3794485996 lantiq: style fixes
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:49 +00:00
Luka Perkov e39787b0fd lantiq: add initial support for Siemens GIGASX76X
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:48 +00:00
Luka Perkov 5e8d7e5382 lantiq: add support for ZyXEL P2601HNFX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:46 +00:00
Luka Perkov 73a4aa94e7 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:44 +00:00
John Crispin f0b23cd6d3 lantiq: add a subtarget for the xrx200 SoC family
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:46:00 +00:00
John Crispin b431cd831e lantiq: fix TD-W8970 image generation to work with the new tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 16:25:45 +00:00
John Crispin c1fe405c08 lantiq: add support for tplink images to .../image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 12:31:25 +00:00
Luka Perkov 38c3bb5bc1 lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:17:16 +00:00
John Crispin 1a37fdca66 lantiq: add TP-Link TDW8970 image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-25 20:29:24 +00:00
John Crispin bc92ef47ec lantiq: fix initramfs image generation for lzmaloader based images
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-25 20:29:10 +00:00
Luka Perkov 1206a04577 lantiq: add device tree support for arv4519pw
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-05 07:44:42 +00:00
Luka Perkov ef8be8bc19 lantiq: fix initramfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 09:17:15 +00:00
John Crispin d88043aa65 lantiq: move dts files to thir own folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:32 +00:00
John Crispin bf46e96234 lantiq: make lzma-loader based images for VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:21 +00:00
John Crispin b40108b0d0 lantiq: update VG3503J.dts to match new partition layout
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:17 +00:00
John Crispin c69c086dfb lantiq: add lzma-loader source
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:13 +00:00
John Crispin 0aa4ffad7a [lantiq] add VG3503J support
this adds basic support. the bootloader on these units is locked down.

until we have a replacement we can do basic testing with these env variables in uboot.

set update_openwrt erase 0xb0020000 0xb073ffff \;tftp 0x81000000 openwrt-lantiq-xway-VG3503J-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize)
set bootcmd cp.b 0xb0020000 0x80002000 0x400000\; go 0x80002000

unfortunatley the bootloader ignores the bootcmd, so autobooting is not possible yet. you need to call "run bootcmd" by hand after each power cycle.

please note that the vdsl firmware is non redistributable. you can find it in the GPL drop that BT provides.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 19:18:07 +00:00
John Crispin 762628c216 [lantiq] ACMP252: fix USB-enable GPIO and use default PCI configuration for now
EEPROM is an actial serial EEPROM on the WiFi module, therefore we can remove
ralink_eep from the dts.
USB power-enable GPIO turned out to be GPIO #3 (found via probing/brute-force).
PCI works with default settings as long as the vendor bootloader is used.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:54 +00:00
John Crispin 6bead98ab0 [lantiq] fix buttons on vr9 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:49 +00:00
John Crispin 3750d2ab0a [lantiq] fix fritzbox 3370 partitions/memory/cmdline
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:39 +00:00
John Crispin 1a11814aec [lantiq] build jffs images for nand based fritzbox
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:34 +00:00
John Crispin 92c75fe5c3 [lantiq] fixes NO_XIP on CFI0001 flash
This patch disables the execute-in-place (XIP) support for flash on
lantiq. This has to be disabled since the bus which flash is connected
to does not support unaligned accesses. Resolves data bus errors on
Lantiq routers with Intel command set flash.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:53:08 +00:00
John Crispin 0d45d11435 [lantiq] add support for AudioCodes AC-252
user-space support for extracting the EEPROM for the RaLink WiFi is still
missing. Besides this, it's all working.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:54 +00:00
John Crispin c1d133c6d7 [lantiq] unbreak dgn3500 spi-gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:47 +00:00
John Crispin 1c3c233117 [lantiq] Fix ARV7518 USB
This patch correctly fixes USB on Lantiq ARV7518.
There was a failed attempt on fixing this on r35077 (https://dev.openwrt.org/changeset/35077/).

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:35 +00:00
John Crispin 33fa22f868 [lantiq] Add ath9k eeprom and pci fixup support
Add ath9k eeprom and pci fixup support (again) for linux 3.7.

On linux 3.3, the fixup forced the regdomain to 0x67, causing low TX power.
This patch only corrects checksum, the rest of the EEPROM isn't changed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:25 +00:00
John Crispin b2873fb2ed [lantiq] Add support for ARV4518PW R01 and rename R01A.
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.

This fixes: https://dev.openwrt.org/ticket/12884

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:42:59 +00:00
John Crispin d54e68a196 [lantiq] fixes USB reset on ARV7518
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 06:44:58 +00:00
John Crispin 4a54ead634 [lantiq] fixes usb port on arv 4518
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 12:38:40 +00:00
John Crispin 6ee5434d24 [lantiq] ar9 did not load atm driver properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 10:16:52 +00:00
John Crispin 9e6f0ec839 [lantiq] minor tweaks to WBMR image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:54 +00:00
John Crispin f0eac14112 [lantiq] fix typo inside fritz3370 devicetree file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:30 +00:00