- Some fixes for the incorrect GPIO assignment of leds on Huawei HW556.
- Addition of unassigned (LAN) leds which can be found on the back of the device.
Signed-off-by: Angga Reza Fardana <angga@norture.com>
Patchwork: http://patchwork.openwrt.org/patch/3744/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 37102
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
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
Check bootloader argument in mtd.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: split into two patches, one for detection,
one letting bcm63xxpart use it.]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36659
Don't build the CRAMFS file system module in the kernel, and save some bytes.
No bcm63xx board needs this obsolete file system, neither those ones using
the Redboot bootloader (liveboxes). Thus, there is no need to build it, since it has
been replaced long time ago by squashfs.
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
SVN-Revision: 36616
And while at it, also include a define check for BCM6328, thanks to
Gabor for spotting this.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36506
Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35533
The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35504
Actually this board is the very same as the rta770bw,
where the additional 'b' within the name just
indicates 'Annex B'. The ADSL Modem itself is able
to handle both, Annex A as well as Annex B -
the loaded firmware makes the only difference
SVN-Revision: 35500
Switch to using the B53 switch driver where appropriate.
Use a non-tagged default config where it isn't confirmed to be
working.
Remove the switch configuration in preinit as the switch will now
be configured by the driver to use port isolation to prevent leakage
between lan and wan.
While at it, also provide a switch config for Neufbox 6.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35307
The SPI driver is needed for supporting to boot from SPI flash on BCM6358
and BCM6368, and for SPI connected switches.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35304
Allow bcm63xxpart to receive a caldata offset if calibration data is contained in flash.
Tested-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 35010
This patch adds support for defining rt2x00 eeprom data.
This eeprom data can be extracted from flash or loaded directly from a firmware file.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34322
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34321
* Accept transfers without bits_per_word set.
* Work around the inability of the hardware of keeping CS asserted.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 34320
This reverts commit r34230, as it is causing build failures:
make[3] -C package/mtd compile
imagetag.c:35:32: fatal error: linux/bcm963xx_tag.h: No such file or directory
compilation terminated.
make[4]: *** [imagetag.o] Error 1
Any patches modifying exported kernel headers need to reside in generic
as toolchain/kernel-headers only applies generic patches.
SVN-Revision: 34255
Fixes the following error:
drivers/usb/host/ohci-bcm63xx.c: In function 'ohci_bcm63xx_start':
drivers/usb/host/ohci-bcm63xx.c:33:3: error: implicit declaration of function 'err' [-Werror=implicit-function-declaration]
Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34138
Some ath9k caldatas need to be "endian checked".
This patch allows selecting wether to enable endian check or not.
Endian check is disabled by default.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34105
Export bcm963xx_tag.h so mtd can use it without using kernel includes.
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
from original location, refresh patches, use a more matching patch
number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 34103