Commit Graph

157 Commits (4a6795409d1520fd3da3e909a8bcf9d7fd0927bb)

Author SHA1 Message Date
Mathias Kresin d07f924978 ltq-vmmc: disable for falcon
The module fails to compile with falcon. Remove the falcon depends from
the module to not (try to) compile it for falcon any longer.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin bd523d4573 ltq-ptm: mark AmazonSE support as broken
Albeit ltq-ptm is supported on AmazonSE, the package fails to compile.
Mark the AmazonSE variant as broken to not mark it unnecessary harder
to fix (and test) the compile error.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin fe36f7b0a6 ltq-vdsl-mei: revert disable optimized firmware download
This reverts commit b428f45c062dc8ca8c2f35f491fa467dc5b85519.

If the optimized firmware download is disabled, the xdsl subsystem
hangs in the "idle request" state after physically disconnecting and
reconnecting the xdsl modem from the line.

It might fix the failing line init on boot as well.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Mathias Kresin 36fd53f9a9 ltq-vdsl-mei: disable optimized firmware download
With ltq-vdsl-mei 1.5.17.6 an optimized firmware download was added and
enabled by default. As soon as the optimized firmware download is
enabled, a watchdog based reboot is trigger between 24h to 48h of
uptime if the board isn't connected to a xdsl line.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Martin Schiller f1ae982f8d ltq-vdsl: fix PM thread suspend and resume handling
This is a backport form drv_dsl_cpe_api-4.18.10 and fixes some PM
thread handling issues which lead to high system load and watchdog
trigger within 1h of uptime for boards not connected to a xdsl line.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
7 years ago
Daniel Golle 289d190f66 lantiq: ltq-ptm: fix ADSL showtime handler
commit 2d6c7c2526 introduced a reference to g_xdata_addr which isn't
defined in that context. Use xdata_addr here instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years ago
Martin Schiller 2d6c7c2526 lantiq: ltq-atm/ltq-ptm: fix showtime handling on driver load
This is needed to be able to load the ltq-atm/ltq-ptm driver
from a notify script during synchronization, because the line can
reach showtime state before the driver is fully loaded.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
7 years ago
Florian Eckert 4482063c34 treewide: add license tags
Add licence tags where missing.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
7 years ago
Tino Reichardt 5ca2033d33 lantiq: fix lantiq_mei.c and amazonse.dsti for adsl modem firmware
The ltq-adsl-mei package is used for 3 lantiq device types:
danube, amazon-se and ar9.

These different SoC's need also different definitions.

Signed-off-by: Tino Reichardt <milky-lede@mcmilk.de>
[fix LTQ_USB_OC_INT for AR9 to match documentation]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Tino Reichardt 743be70d5b lantiq: fix ifxmips_atm_amazon_se.c
Remove 6 defines, which were defined already some lines above.

Signed-off-by: Tino Reichardt <milky-lede@mcmilk.de>
7 years ago
Stefan Koch 49acec5b5f lantiq: align falcon code with ar9-vr9 code
Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
7 years ago
Stefan Koch 001a50d314 lantiq: cleanup code ar9-vr9 parts
- remove unused code within 500-ar9_vr9.patch
- fixed return of IFX_ERROR (solves SIGSEGV in asterisk at failure)
- align it a bit with 400-falcon.patch
- remove 600-kernel-4.9.patch since changed parts
  are removed during cleanup

Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
7 years ago
Stefan Koch aadd629c07 lantiq: remove residual watchdog parts from ltq-vmmc
modify 500-ar9_vr9.patch from
commit 29367aac42 ("lantiq: ltq-vmmc add support for ar9-vr9")

- remove unused dependencies to external watchdog functions
  (wdog setup is already disabled)
- using header file from kernel (asm/vpe.h) instead patched file (vpe.h)
- cleanup whitspace warning

Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
7 years ago
Hauke Mehrtens 2eed1179be ltq-ptm: use netif_trans_update() only for kernel >= 4.7
This fixes a bug introduced in commit c7ce9908bd
"ltq-ptm: fix build with kernel 4.9"

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens ca9b9969fb ltq-vmmc: fix build with kernel 4.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens c7ce9908bd ltq-ptm: fix build with kernel 4.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Hauke Mehrtens 4af4f21492 ltq-vmmc: mark VOICE_CPE_VMMC_PMC as broken
We do not have the needed platform support for VOICE_CPE_VMMC_PMC. The
vmmc driver will not compile with this option activated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 years ago
Felix Fietkau 720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Mathias Kresin 57d36e5bdd ltq-hcd: drop package
Since ffd7c15500 it isn't used anymore on
any supported target.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
dpeddi 4649a92901 lantiq: disable VMMC_COEF for non FALCON device
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
8 years ago
Stefan Koch a7672fa5b4 lantiq: added xrx200 as plattform for ltqvmmc
Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
8 years ago
Stefan Koch 8c08ccc937 lantiq: added xrx200 as plattform for ltqtapi
Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
8 years ago
Stefan Koch 04cf9443c5 lantiq: fix vmmc build
(required not-distributable firmware blob - dump it by yourself from original firmware)

Signed-off-by: Eddi De Pieri <eddi@depieri.net>

(cherry picked from commit 47b1ff965b0cb57013b40fbe2bcd7f3c6eb6b606)

Modified after cherry-pick:
FW_MD5SUM in Makefile

Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
8 years ago
Stefan Koch 29367aac42 lantiq: ltq-vmmc add support for ar9-vr9
(required not-distributable firmware blob - dump it by yourself from original firmware)

Signed-off-by: Eddi De Pieri <eddi@depieri.net>

(cherry picked from commit ea9e61b8eb61a2e362a50541f03466dc7d087947)
Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
8 years ago
Mathias Kresin 18bb1c9391 ltq-adsl-mei: fix build error
The file to patch doesn't exists. Due to the fact that a src directory
exists, the patch was never applied.

With 28502a9 the behaviour was changed and revealed the issue.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Alexandru Ardelean 28502a928c kernel/lantiq/ltq-*: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
8 years ago
David Woodhouse 8a2a20e71e ltq-ptm: Support 1508-byte MTU for RFC4638
Tested with VDSL on TP-Link WD8970, I see full 1500-byte PPP data
frames, which end up being 1526 byte Ethernet frames (including
Ethernet+VLAN headers) on the wire.

Fixes: FS#210

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
8 years ago
Hauke Mehrtens 7ecbc27951 ltq-vdsl: update to version 4.17.18.6
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
8 years ago
Hauke Mehrtens 3a4db8548f ltq-vdsl-mei: update mei driver to version 1.5.17.6
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
8 years ago
Martin Schiller 070edfd92f ltq-deu: fix cra_priority
With the default priority of 0, the DEU algos would be overlapped
by the generic algos (if available).

To fix this, set the cra_priority of the hardware algos to the
recommended value of 300/400.

Signed-off-by: Martin Schiller <mschiller@tdt.de>
8 years ago
Martin Schiller 9391661394 ltq-deu: fix handling of data blocks with sizes != AES/DES block size
This fix is a backport from the lantiq UGW-6.1.1-MR1

Signed-off-by: Martin Schiller <mschiller@tdt.de>
8 years ago
Martin Schiller 8dba24cfc2 ltq-deu: fix aes initialization vector handling
This fix is a backport from the lantiq UGW-6.1.1-MR1

Signed-off-by: Martin Schiller <mschiller@tdt.de>
8 years ago
Mathias Kresin 14e0f057c8 ltq-hcd: fix xway dependency
Due to missing parameter the package wasn't build for the xway target.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Mathias Kresin ac1cc30cdf lantiq: ltq-atm: fix xrx200 depends
This one was missed by abc346db0e.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
John Crispin abc346db0e package/lantiq: make lantiq kernel modules work with xway_legacy
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Daniel Gimpelevich 8333a6d0ba lantiq: Reduce ugliness of ugly hack
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
8 years ago
John Crispin b8ab6af1a9 global: change my email address
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Jo-Philipp Wich b04a25491f package: flag further target specific packages as nonshared
Add nonshared flag to package depending on specific targets or subtargets as
there's no guarantee otherwise that they'll be available in the shared repo.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Hauke Mehrtens 93c59ac892 ltq-vdsl-mei: activate format security checks
This activates the format warnings in this package and that makes it
possible to activate format-security checks.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48785
8 years ago
Felix Fietkau fc8a7051cd lantiq: ltq-deu: Remove the "DEU test manager"
Remove the "DEU test manager" code which has not been used for more than
two years (as the kernel module is not installed anymore since r38731).
This fixes compilation on kernel 4.3, which removes
aead_request_set_assoc (and newer kernels).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48308
8 years ago
Felix Fietkau 95699dd312 lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer
Upstream linux 4.2 commit 84be456f883c4685680fba8e5154b5f72e92957e
"remove <asm/scatterlist.h>" requires us to include linux/scatterlist.h
instead. This also works with older kernels (at least 4.1, thanks to
Hauke Mehrtens for testing).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48282
8 years ago
John Crispin e0019b33a4 lantiq: ltq-vmmc: Fix compilation with linux 4.4
gpio.h needs the linux/ prefix with linux 4.4.

SVN-Revision: 48057
8 years ago
John Crispin 11115d8e2c lantiq: ltq-adsl-mei: fix typo
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47995
9 years ago
John Crispin 45b6eec9fc lantiq: ltq-ptm: set carrier status
Principal purpose is to prevent the error message

  ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime

which is printed at least once per second to the serial console, if the
ptm interface is not in showtime, but a processes already sends
packages over that interface. This happens for adsl as well as vdsl
over ptm.

It's pppd which sends packages over the ptm device before in showtime.
As far as I can see, pppd is started unconditionally since netif can
not gather the link status of the ptm network interface.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47917
9 years ago
John Crispin ee0091ebed lantiq: ltq-atm: set carrier status
This prevents the unconditionally start of pppd since netifd will be
triggered if the device goes into showtime. The same applies to lost
showtime as well.

In compare to the ptm driver, this changeset isn't strictly required,
since the "not in showtime" message is limited to the debug loglevel.
But it reduces the amount of ppp related messages significant.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47916
9 years ago
John Crispin 0938233fcd lantiq: get rid of ltq-vdsl-fw
Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to
download a dsl firmware at runtime.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 47851
9 years ago
Felix Fietkau ee7f0ec473 lantiq: ltq-vdsl-mei: enable vectoring support
Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47784
9 years ago
John Crispin 091b668f1a lantiq: ltq-vdsl: update to version 4.16.6.3
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47635
9 years ago
John Crispin 5d236c4dd0 lantiq: ltq-vdsl-mei: update to version 1.4.8.5
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47634
9 years ago
John Crispin ca541cffd0 lantiq: ltq-vdsl-mei: register char device automatically
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47633
9 years ago
John Crispin 9b5140bd71 lantiq: ltq-vdsl-mei: add mei_cpe_drv_test application
This application helps to debug some internal problems in the MEI driver.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47632
9 years ago
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
9 years ago
Luka Perkov 75078acd93 cosmetic: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47197
9 years ago
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
9 years ago
Matteo Croce cf89e6a1b8 lantiq: fix gcc 5 build
SVN-Revision: 47106
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
John Crispin 243d347a6d lantiq: Make ltq-ifxos compile with kernel 4.1
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 46217
9 years ago
John Crispin 0a0cca5fdb ltq-hcd: remove ar10 and vr9 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44858
9 years ago
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
9 years ago
Felix Fietkau 6cfad3ca21 ltq-adsl: fix bugs in linux 3.18 compatiblity change
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44844
9 years ago
Felix Fietkau 4568e73396 ltq-vdsl-fw: fix md5sum for new firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44770
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
John Crispin 64f9626963 lantiq: fix dsl drivers for 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44346
9 years ago
Jo-Philipp Wich e0daabc8ec ltq-vmmc: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43934
9 years ago
Jo-Philipp Wich 18fd9db4e3 ltq-tapi: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43933
9 years ago
Jo-Philipp Wich cb01d94199 ltq-ifxos: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43932
9 years ago
Jo-Philipp Wich d6beac80f8 ltq-adsl: fix broken autoconf invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43931
9 years ago
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
10 years ago
Felix Fietkau 8a450a93a5 lantiq: remove the useless ltqtapi.mk include file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42778
10 years ago
John Crispin 50d313f409 lantiq: revert vr9 driver update as it causes problems
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42556
10 years ago
John Crispin e9dab2de72 lantiq: update to a newer versions of the vr9 drivers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42478
10 years ago
John Crispin f7dc428d4b ltq-deu: fix compile for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42477
10 years ago
John Crispin 81dcf41e65 lantiq: more PKG_CHECK_FORMAT_SECURITY fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41473
10 years ago
John Crispin 325cdf8091 lantiq: more PKG_CHECK_FORMAT_SECURITY related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41456
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau 0b89008f7f ltq-vdsl: force shell to bash to avoid compile errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40713
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin c9d0738645 ltq-vdsl: fix MIPS16 compile breakage
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40308
10 years ago
Felix Fietkau 956ea1cefc ltq-vdsl-mei: disable mips16 support (fixes #15284)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39944
10 years ago
Felix Fietkau 9c48c7a7dc ltq-vmmc: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39876
10 years ago
Felix Fietkau f23a50dff9 ltq-tapi: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39875
10 years ago
Felix Fietkau 0c5809fb91 ltq-adsl: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39874
10 years ago
Felix Fietkau f577d6f336 ltq-adsl: disable mips16 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39873
10 years ago
John Crispin 384a662e05 lantiq: fix unaligned access in vdsl firmware extractor
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39356
10 years ago
John Crispin bdb1865236 lantiq: fix atm compile
https://dev.openwrt.org/ticket/14633

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

SVN-Revision: 39226
10 years ago
John Crispin becac1abaf lantiq: dont install deu test manager
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38731
11 years ago
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
11 years ago
John Crispin c1316c09a1 lantiq: fix ltq_ptm compile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38329
11 years ago
John Crispin 5799adc238 lantiq: fix bug in hcd gpio detetcion code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38043
11 years ago