This patch enables retrieving the wifi calibration data from an MTD partition.
Try to copy mac address from ethernet before generating a random one.
This fixes DGN3500 ath9k support.
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 37087
Trying to load the DEU modules results in unresolved symbols. This
provides them. This requires the previous patch to be applied first.
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 37086
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37049
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.
Signed-off-by: Felix Kaechele <felix@fetzig.org>
SVN-Revision: 37027
This patch sets the cflags -mtune=34kc -mdsp only in XWAY subtarget, while the others remain with mtune=mips32r2.
Although the Danube has a Mips 24KEc core performs well with the above cflags.
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
SVN-Revision: 37006
Set mips16 support in XWAY subtarget.
This patch is based in changeset #36600
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37005
Fix EBU leds by removing req2 and gnt2 from pinmux.
Fix rfkill button gpio.
Enable reset button.
Fix power led activation status.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 37004
We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36979
Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36957
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36954
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36949
Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 36901