Commit graph

86 commits

Author SHA1 Message Date
John Crispin
7f77870c19 Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43987
2015-01-17 07:07:15 +00:00
John Crispin
9d7d29439b lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43878
2015-01-08 20:25:41 +00:00
John Crispin
b796ff6ef3 lantiq: generate unique ARV7519RW22 firmware
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 42183
2014-08-18 13:09:11 +00:00
John Crispin
1179d4f924 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>

SVN-Revision: 41474
2014-07-02 16:37:23 +00:00
John Crispin
d219e055be 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>

SVN-Revision: 41312
2014-06-24 18:12:52 +00:00
John Crispin
aca708e4e6 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>

SVN-Revision: 41310
2014-06-24 18:12:41 +00:00
John Crispin
432f7e52db 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>

SVN-Revision: 41270
2014-06-19 14:13:04 +00:00
John Crispin
575127fe1c 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>

SVN-Revision: 41236
2014-06-17 15:38:54 +00:00
John Crispin
f2b0a6365e 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>

SVN-Revision: 40495
2014-04-12 21:22:08 +00:00
John Crispin
858b972e66 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>

SVN-Revision: 40418
2014-04-07 15:10:22 +00:00
John Crispin
709cab91d2 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>

SVN-Revision: 40370
2014-04-03 14:26:54 +00:00
John Crispin
58eccdac4f lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40364
2014-04-03 14:26:24 +00:00
John Crispin
e36568e74b 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>

SVN-Revision: 40329
2014-03-30 10:02:30 +00:00
John Crispin
e733242a23 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>

SVN-Revision: 40319
2014-03-30 09:16:15 +00:00
John Crispin
9531390aad 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>

SVN-Revision: 40317
2014-03-30 09:16:06 +00:00
John Crispin
9b78e13aa3 lantiq: add ubifs support in image Makefile
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40316
2014-03-30 09:16:02 +00:00
John Crispin
053d596297 lantiq: Add support for Astoria ARV7510PW22
This board is pretty similar to ARV752DPW22.

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

SVN-Revision: 39303
2014-01-15 19:16:51 +00:00
John Crispin
1a368e8616 lantiq: fix td-w8970 initramfs generation
https://dev.openwrt.org/ticket/14417

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

SVN-Revision: 38667
2013-11-07 12:45:44 +00:00
John Crispin
ae225124c6 lantiq: fix fritz image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38326
2013-10-07 15:02:52 +00:00
John Crispin
4f3797386f 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>

SVN-Revision: 38266
2013-09-30 20:48:46 +00:00
Luka Perkov
d2ad87885d lantiq: style fixes
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38051
2013-09-19 00:50:49 +00:00
Luka Perkov
43f1a47430 lantiq: add initial support for Siemens GIGASX76X
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38050
2013-09-19 00:50:48 +00:00
Luka Perkov
3b33adeb99 lantiq: add support for ZyXEL P2601HNFX
SVN-Revision: 38049
2013-09-19 00:50:46 +00:00
Luka Perkov
7d2c5682b9 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38048
2013-09-19 00:50:44 +00:00
John Crispin
18b76c66fb lantiq: add a subtarget for the xrx200 SoC family
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38029
2013-09-17 21:46:00 +00:00
John Crispin
94666dad1c lantiq: fix TD-W8970 image generation to work with the new tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37727
2013-08-06 16:25:45 +00:00
John Crispin
d13cbb04ad lantiq: add support for tplink images to .../image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37722
2013-08-06 12:31:25 +00:00
Luka Perkov
27fa640548 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>

SVN-Revision: 37712
2013-08-06 10:17:16 +00:00
John Crispin
54b4074074 lantiq: add TP-Link TDW8970 image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37543
2013-07-25 20:29:24 +00:00
John Crispin
313636c1e4 lantiq: fix initramfs image generation for lzmaloader based images
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37540
2013-07-25 20:29:10 +00:00
Luka Perkov
1a3ad5a037 lantiq: add device tree support for arv4519pw
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37178
2013-07-05 07:44:42 +00:00
Luka Perkov
14b6674b39 lantiq: fix initramfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37143
2013-07-03 09:17:15 +00:00
John Crispin
157c86371f lantiq: move dts files to thir own folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36443
2013-04-25 19:03:32 +00:00
John Crispin
d3d18ae812 lantiq: make lzma-loader based images for VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36440
2013-04-25 19:03:21 +00:00
John Crispin
a46acc80e4 lantiq: update VG3503J.dts to match new partition layout
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36439
2013-04-25 19:03:17 +00:00
John Crispin
46306c2e47 lantiq: add lzma-loader source
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36438
2013-04-25 19:03:13 +00:00
John Crispin
d5f87e193c 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>

SVN-Revision: 36315
2013-04-11 19:18:07 +00:00
John Crispin
4d5860cdd6 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>

SVN-Revision: 36030
2013-03-14 18:43:54 +00:00
John Crispin
0dbe4f502d fix buttons on vr9 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36029
2013-03-14 18:43:49 +00:00
John Crispin
0f7f1f3347 fix fritzbox 3370 partitions/memory/cmdline
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36027
2013-03-14 18:43:39 +00:00
John Crispin
5452dbad61 build jffs images for nand based fritzbox
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36026
2013-03-14 18:43:34 +00:00
John Crispin
48a4b3a0cd 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>

SVN-Revision: 35992
2013-03-12 13:53:08 +00:00
John Crispin
e3a6ea65e1 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>

SVN-Revision: 35990
2013-03-12 13:52:54 +00:00
John Crispin
0b881eea72 unbreak dgn3500 spi-gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35989
2013-03-12 13:52:47 +00:00
John Crispin
0183df8ed9 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>

SVN-Revision: 35354
2013-01-28 17:43:35 +00:00
John Crispin
3534757bb9 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>

SVN-Revision: 35353
2013-01-28 17:43:25 +00:00
John Crispin
5eb43d4cf8 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>

SVN-Revision: 35352
2013-01-28 17:42:59 +00:00
John Crispin
64910f4490 fixes USB reset on ARV7518
SVN-Revision: 35077
2013-01-10 06:44:58 +00:00
John Crispin
ce57efa3ea fixes usb port on arv 4518
SVN-Revision: 34935
2012-12-30 12:38:40 +00:00
John Crispin
efe3225e2b ar9 did not load atm driver properly
SVN-Revision: 34840
2012-12-22 10:16:52 +00:00