John Crispin
c4bbe3698d
lantiq: ltq-ifxos: fix build warnings
...
This makes the build script use the same configure options as used by
Lantiq UGW and fixes some warnings and cleans up some of the patches.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
SVN-Revision: 47630
2015-11-24 20:39:59 +00:00
Luka Perkov
75078acd93
cosmetic: remove trailing whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47197
2015-10-15 22:12:13 +00:00
John Crispin
f457ae99f2
lantiq: fix use of IRQF_DISABLED in lantiq kmods
...
The IRQF_DISABLED flag was removed in kernel 4.1 with commit
"genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1].
Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails.
[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47180
2015-10-11 16:24:43 +00:00
Matteo Croce
cf89e6a1b8
lantiq: fix gcc 5 build
...
SVN-Revision: 47106
2015-10-04 22:10:18 +00:00
Felix Fietkau
45b52d4581
kernel: remove lantiq specific ATM API hacks and their kernel space users ( fixes #20523 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46984
2015-09-17 09:45:34 +00:00
John Crispin
2c1d56af50
lantiq: Update to the latest DSL driver / application versions
...
Thanks to Sylwester Petela for testing my patch (successfully on an
ADSL connection) and for pointing out some configuration mistakes.
Others (including me) have also successfully tested this extensively
on VDSL connections.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46920
2015-09-14 20:09:22 +00:00
John Crispin
44c73a2fd2
lantiq: Fix ifxos driver on linux 4.1
...
request_mem_region returns NULL when requesting the region failed, and
a valid pointer when it was successful. Currently the condition is
inverted.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46452
2015-07-24 09:09:02 +00:00
John Crispin
4c8227539e
lantiq: Make ATM and PTM drivers compatible with kernel 4.1
...
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46218
2015-07-07 13:44:04 +00:00
John Crispin
243d347a6d
lantiq: Make ltq-ifxos compile with kernel 4.1
...
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46217
2015-07-07 13:43:54 +00:00
John Crispin
0a0cca5fdb
ltq-hcd: remove ar10 and vr9 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44858
2015-03-17 09:43:01 +00:00
Felix Fietkau
e1a8e41287
ltq-adsl-mei: fix bugs in linux 3.18 compatiblity change
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44845
2015-03-16 13:05:49 +00:00
Felix Fietkau
6cfad3ca21
ltq-adsl: fix bugs in linux 3.18 compatiblity change
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44844
2015-03-16 13:05:42 +00:00
Felix Fietkau
4568e73396
ltq-vdsl-fw: fix md5sum for new firmware
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44770
2015-03-15 07:57:55 +00:00
Felix Fietkau
603975efe8
ltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware ( fixes #19160 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44767
2015-03-15 06:51:45 +00:00
John Crispin
a7d3219b0c
lantiq: ltq-ptm-{ar9, ase, xway}: fix alloc_netdev for 3.18
...
buildbot complained about
ifxmips_ptm_adsl.c:1445:70: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup);
^
fix that similar to the change made to ltq_ptm_vdsl.c
compile tested only.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44632
2015-03-09 14:07:14 +00:00
John Crispin
0d414e1c78
lantiq: fix netdev setup in ltq-ptm-vdsl
...
The initial fix for 3.18 in r44346 wrongly treated the newly added
parameter of alloc_netdev to be another function pointer, causing
ether_config to be skipped during ptm netdev init.
Fix this by partially reverting r44346 and properly setting the newly
added macro parameter.
(Tested on VRX200 board)
A similar change might be needed for ltq-ptm-adsl as well.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44607
2015-03-05 20:25:18 +00:00
John Crispin
460b016ed0
lantiq: fix typo in script
...
Fix typo in firmware installer script.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 44351
2015-02-09 12:14:22 +00:00
John Crispin
64f9626963
lantiq: fix dsl drivers for 3.18
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44346
2015-02-09 12:12:52 +00:00
Jo-Philipp Wich
e0daabc8ec
ltq-vmmc: fix broken autoconf invocation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43934
2015-01-11 16:53:59 +00:00
Jo-Philipp Wich
18fd9db4e3
ltq-tapi: fix broken autoconf invocation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43933
2015-01-11 16:53:52 +00:00
Jo-Philipp Wich
cb01d94199
ltq-ifxos: fix broken autoconf invocation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43932
2015-01-11 16:53:45 +00:00
Jo-Philipp Wich
d6beac80f8
ltq-adsl: fix broken autoconf invocation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43931
2015-01-11 16:53:34 +00:00
John Crispin
1183af0c48
lantiq: vr9-vdsl-fw: properly write firmware to flash
...
Using a redirect to a non-empty mtd partition will not erase the
blocks prior to writing to them resulting in broken dsl_fw.
Fix this by piping to mtd write - /dev/mtdX instead.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43125
2014-10-31 11:00:42 +00:00
Felix Fietkau
8a450a93a5
lantiq: remove the useless ltqtapi.mk include file
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42778
2014-10-05 18:58:47 +00:00
John Crispin
50d313f409
lantiq: revert vr9 driver update as it causes problems
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42556
2014-09-15 16:19:33 +00:00
John Crispin
e9dab2de72
lantiq: update to a newer versions of the vr9 drivers
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42478
2014-09-11 18:22:31 +00:00
John Crispin
f7dc428d4b
ltq-deu: fix compile for 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42477
2014-09-11 17:50:03 +00:00
John Crispin
81dcf41e65
lantiq: more PKG_CHECK_FORMAT_SECURITY fixes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41473
2014-07-02 16:33:20 +00:00
John Crispin
325cdf8091
lantiq: more PKG_CHECK_FORMAT_SECURITY related fixes
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41456
2014-07-02 08:17:36 +00:00
John Crispin
2deeb3e2fa
ltq-vdsl-mei: disable PKG_CHECK_FORMAT_SECURITY
...
the build breaks when PKG_CHECK_FORMAT_SECURITY:=1
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41451
2014-07-01 18:05:09 +00:00
Felix Fietkau
030af00c2f
ltq-hcd: disable mips16 support
...
This patch disables mips16 support in the ltq-hcd driver because some
people reported slow speed and problems with usb storage devices, 3G
dongles and wireless usb adapters.
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
SVN-Revision: 40775
2014-05-18 21:12:55 +00:00
Felix Fietkau
f8b1de8bb8
ltq-vdsl-fw: vdsl_fw_install.sh: store firmware as tar.gz in flash
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40716
2014-05-06 21:06:27 +00:00
Felix Fietkau
0b89008f7f
ltq-vdsl: force shell to bash to avoid compile errors
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40713
2014-05-06 17:26:32 +00:00
Felix Fietkau
e68687c04b
ltq-vdsl-mei: force shell to bash to avoid compile errors
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40712
2014-05-06 17:26:27 +00:00
John Crispin
76e873a289
lantiq: cleanup vdsl driver bringup
...
config interface 'wan'
# a, b, j
option annex b
# a, b, av, bv
option tone b
# vdsl.bin
option firmware
# atm, ptm
option xfer_mode atm
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40437
2014-04-09 16:31:24 +00:00
John Crispin
aa1118c79b
lantiq: fix ptm crash under load
...
https://dev.openwrt.org/ticket/14581
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40335
2014-03-30 14:01:21 +00:00
John Crispin
3fbffbb7b0
ltq-adsl-mei: improve memory allocation
...
The ltq-adsl-mei driver allocates memory for the ADSL firmware in a
rather stupid way, leading to several 128k allocations, which fail when
many services are enabled. This patch tries to allocate 64 kiB chunks,
and only falls back to larger allocations if the returned pointers are
not correctly aligned. Fixes out-of-memory errors on Danube boards with
32 MiB RAM.
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 40325
2014-03-30 09:16:39 +00:00
John Crispin
c9d0738645
ltq-vdsl: fix MIPS16 compile breakage
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40308
2014-03-30 09:15:29 +00:00
Felix Fietkau
956ea1cefc
ltq-vdsl-mei: disable mips16 support ( fixes #15284 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39944
2014-03-18 12:11:05 +00:00
Felix Fietkau
9c48c7a7dc
ltq-vmmc: disable mips16 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39876
2014-03-11 13:20:07 +00:00
Felix Fietkau
f23a50dff9
ltq-tapi: disable mips16 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39875
2014-03-11 13:20:04 +00:00
Felix Fietkau
0c5809fb91
ltq-adsl: disable mips16 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39874
2014-03-11 13:20:01 +00:00
Felix Fietkau
f577d6f336
ltq-adsl: disable mips16 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39873
2014-03-11 13:19:56 +00:00
John Crispin
384a662e05
lantiq: fix unaligned access in vdsl firmware extractor
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39356
2014-01-21 09:51:16 +00:00
John Crispin
bdb1865236
lantiq: fix atm compile
...
https://dev.openwrt.org/ticket/14633
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39226
2014-01-12 12:06:47 +00:00
John Crispin
becac1abaf
lantiq: dont install deu test manager
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38731
2013-11-11 12:22:12 +00:00
Hauke Mehrtens
af32e63bae
lantiq: add some missing PKG_SOURCE_URLs
...
These URLs where missing and causes build failures.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38376
2013-10-12 22:33:55 +00:00
John Crispin
c1316c09a1
lantiq: fix ltq_ptm compile
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38329
2013-10-07 20:13:32 +00:00
John Crispin
5799adc238
lantiq: fix bug in hcd gpio detetcion code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38043
2013-09-18 16:31:49 +00:00
John Crispin
1878a3d6ab
lantiq: add v3.10 patches
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38031
2013-09-17 21:46:10 +00:00