Commit Graph

831 Commits (9473673ae33c0d856124ffcb10fefefdc61c82e7)

Author SHA1 Message Date
Jonas Gorski b519908e84 brcm63xx: update development kernel to linux 3.14
Now that 3.13 will be EOL soon, switch to 3.14.

Known issues:
 * 74x164 is not available because upstream dropped non-DT support
 * jffs2 breaks with SMP

Unknown issues:
 * probably plenty

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 40380
10 years ago
Gabor Juhos 627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
10 years ago
Jonas Gorski 0d120f42da brcm63xx: add preliminary support for 3.13
Add support for 3.13 as a development kernel. Mostly untested, only net
booted. If flashed may brick your router or kill your cat.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39746
11 years ago
Gabor Juhos b5fdd769f0 brcm63xx: update LINUX_VERSION to 3.10.32
Missed from the previous comit.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39708
11 years ago
Gabor Juhos f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
11 years ago
Jonas Gorski b8ed6534ca brcm63xx: fix RG100A/DB120 usb port number
Set usbh ports to 2 to fix #15007.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39681
11 years ago
Jonas Gorski 4a2f87bce0 brcm63xx: fix number of usb ports for HW556 variants
Don't only fix up the fallback board, but also all three variants.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39680
11 years ago
Jonas Gorski ece12908a8 brcm63xx: add initial support for BCM963268BU_P300 reference board
Only netboot tested, so no images or now.
GbE ports are only working in FE mode, and leds do not work.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39679
11 years ago
Jonas Gorski f6c4b1eb29 brcm63xx: add VW6339GU support
Completely untested except for booting from network; wan port
only works in 10/HD, lan1 only in 100/FD.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39678
11 years ago
Jonas Gorski 60edb75e47 brcm63xx: fix number of switch ports for BCM63168/63268
BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268
has two additional RGMII ports, making it 8.
Fix this by checking the chip variant and applying an appropriate
limit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39677
11 years ago
Jonas Gorski edbfb81b56 brcm63xx: F@ST2504n board support (image, base-files)
Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4730/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39676
11 years ago
Jonas Gorski 84dc1f1209 brcm63xx: F@ST2504n board support
Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4729/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39675
11 years ago
Jonas Gorski ce655b93cd brcm63xx: add support for Asmax AR 1004g router
Support for Asmax AR 1004g router

Signed-off-by: Adrian Feliks <mexit@o2.pl>
Patchwork: http://patchwork.openwrt.org/patch/4464/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39674
11 years ago
Jonas Gorski fa26229e8b brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
This adds profile and build image for Sagemcom F@st2704, using b43
driver.
For WiFi to work properly BCMA fallback SPROM support patch must
be applied (http://git.io/z1Ki8A).

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4212/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39673
11 years ago
Jonas Gorski fe37b14fca brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
This adds userspace support for Sagemcom F@st 2704 router.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4215/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39672
11 years ago
Jonas Gorski f92b2a956b brcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router
This adds kernel support support for Sagemcom F@st 2704 wireless ADSL
router.
It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+
modem equipped with 64 MiB RAM and 8 MiB flash.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4266/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39671
11 years ago
Florian Fainelli 87f8092629 brcm63xx: fix warning in Redboot code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39404
11 years ago
Gabor Juhos a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
11 years ago
Florian Fainelli a747611fe3 brcm63xx: enable support for BCM63268
Support for the BCM63268 is usable, enable it by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39364
11 years ago
Florian Fainelli eaa3e9ec6e brcm63xx: add support for BCM963269BHR board
Add kernel support for the BCM963269BHR board, USB and Ethernet switch,
LEDs and buttons are working.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39363
11 years ago
Florian Fainelli fed4b02a68 brcm63xx: improve BCM63268 support
Allow using the HSSPI controller since it works just fine, as well as
the integrated switch core, since that one works too.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39362
11 years ago
Jonas Gorski d513c07d2f brcm63xx: fix typo breaking build in r39325
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39326
11 years ago
Jonas Gorski 66ec204935 brcm63xx: set usb host port number for some devices
Update a few devices with their actual port numbers, especially those
with two ports.

Should allow properly using the second port on the Neufboxen and HW553
and HW556.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39325
11 years ago
Jonas Gorski ef81c6a268 brcm63xx: allow setting the number of usb host ports for boards
Allow setting the number of available usb host ports for boards with
additional sanity checks to allow using the second port on devices
where it is available.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39324
11 years ago
Jonas Gorski 6b3e1c8de6 brcm63xx: add USB support for BCM63268
Add and enable USB support for the BCM63268 family of SoCs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39323
11 years ago
Jonas Gorski 33f426c795 brcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too
USB will fail to work if compiling with BCM6318 only if BCM63XX_HAS_EHCI
and BCM63XX_HAS_OHCI are not selected.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39322
11 years ago
Jonas Gorski 52b7f55cb3 brcm63xx: prevent usb clock state inconsistency on BCM6318
Return the same clock for usbh and usbd on BCM6318 to prevent the clock
getting disabled despite being supposed to be enabled, e.g. by the
following sequence:

	clk_enable(usbh); <- usbh->usage = 1, enabled
	clk_enable(usbd); <- usbd->usage = 1, enabled (no effect)
	clk_disable(usbd); <- usbd->usage = 0,  -> disabled!

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39321
11 years ago
Florian Fainelli 0650ce9ec4 brcm63xx: do not add twice the same field to board
Changeset r39302 updated a board section and added twice .has_ehci0,
this is not necessary, so fix it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39304
11 years ago
Florian Fainelli bf4f1feb7a brcm63xx: add USB support to BCM6318
BCM6318 has a special initialization sequence which involves touching
PLL control registers in the USBH_PRIV register space, as well as
toggling a bit the Simulation control register.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39302
11 years ago
Florian Fainelli 3114410a13 brcm63xx: fix BCM96318MVWG LEDs
Power LED is not active low, and ppp-fail is red, not green.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39294
11 years ago
Florian Fainelli 1f7edcf637 brcm63xx: remove config-3.11
This was not supposed to be committed, remove it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39293
11 years ago
Florian Fainelli bd540554a4 brcm63xx: 96368MVWG supports USB gadget, enable it
Enable the use of the USB gadget device at the board level so we can use
bcm63xx_udc on this board.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39292
11 years ago
Florian Fainelli 092a7105ec brcm63xx: replace gadget driver build fix with upstream submission
Also fixing a build warning due to a misplaced parenthesis in the
previous submission.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39291
11 years ago
Florian Fainelli 01f465df05 brcm63xx: add support for the BCM96318REF_P300 board
Very similar to the BCM96318REF board except for the name and the
SDRAM/DDR configuration which is totally transparent for us.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39286
11 years ago
Florian Fainelli 6f48336dc4 brcm63xx: enable 6318 support
BCM6318 support is usable enough to be enabled by default, turn it on.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39284
11 years ago
Florian Fainelli 93ab8adef2 brcm63xx: add basic support for the BCM96318REF board
Add basic support for the BCM96318REF board which is comprised of:
- HS-SPI flash support
- Ethernet switch support
- USB slave device support

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39283
11 years ago
Florian Fainelli 0ecdc42f60 brcm63xx: improve BCM6318 support
Provide clock toggling for the USB host and slave controller as well as
for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use
request_mem_region() as the Roboswitch register overlaps with the
Roboswitch IUDMA channels, hence making the driver return -EBUSY. A
future fix might be to use variable size RSET_ENETSW sizes depending on
the chip we are targetting.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39282
11 years ago
Florian Fainelli 7951993efd brcm63xx: package the USB gadget module (bcm63xx_udc)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39281
11 years ago
Florian Fainelli 8bdc92f5d6 brcm63xx: target supports USB gadget devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39280
11 years ago
Florian Fainelli fb8ae05760 brcm63xx: fix USB gadget build failure after 6345 Ethernet
While adding support for BCM6345 Ethernet, some changes in the macros
ENETDMA{C,S} where introduced which now make the bcm63xx USB gadget
driver fail to build. Fix this.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39279
11 years ago
Florian Fainelli a6425f8437 brcm63xx: allow HSSPI registration on 6318
A missing condition check in dev-hsspi.c prevented the controller from
being registered on 6318 where it is fully functional.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39278
11 years ago
Florian Fainelli 49ae212eee brcm63xx: fix build failure on varid
varid might both unused and unitialized when building for e.g: bcm6318,
fix these two warnings turned into errors.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39277
11 years ago
Jonas Gorski e83c1ec61c brcm63xx: fix ohci frame number offset
BCM63XX's ohci controller does not need the frame number shift, but that
was guarded with a PPC symbol. Fix this by making the no-fix generally
available.

This is a regression from the previous conversion to ohci platform driver.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39274
11 years ago
Jonas Gorski 1315058bda brcm63xx: fix spi flash setup on (at least) some reference boards
CFE seems to leave the SPI flash mapping in an invalid state after
loading the kernel on some reference boards, so fix it up on boot.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39273
11 years ago
Jonas Gorski 4aa92df0d8 brcm63xx: add initial support for BCM6318
Add inital support for BCM6318, but keep it disabled for now until
most things are supported.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39272
11 years ago
Jonas Gorski 3bdcf040aa brcm63xx: add initial support for BCM63268
Add initial support for the BCM63268 family of SoCs, but keep it
disabled for now as most things don't work yet.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39271
11 years ago
Jonas Gorski ab8897045c brcm63xx: fix the pcie window size
The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big,
not 16 MiB.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39270
11 years ago
Jonas Gorski 76164e1a36 brcm63xx: add support for chip variants
Some SoCs have variants which are mostly the same, but use a different
chip id (or not). Add code for detecting them and handling them as
their standard counterparts.

This adds support for e.g. BCM6369.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39269
11 years ago
Jonas Gorski db36359f48 brcm63xx: remove non runtime detect and refresh affinity patches
Remove the non runtime detect code since its effectiveness is dubious
and almost never used.
Also update affinity patches to work on top of it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39268
11 years ago
Jonas Gorski d8ac24b325 brcm63xx: update bmips patches with upstream submission
Update bmips cleanup patches with upstream submission and backport a few
bmips fixes.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39267
11 years ago
Jonas Gorski d9a20b6f46 brcm63xx: spi flash on legacy spi controller needs the workaround
Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs
additional fixes for M25P80, so it remains broken for now.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39266
11 years ago
Jonas Gorski af7e570c3b brcm63xx: fix legacy spi tranfers >= 256 bytes
Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes
are not affected.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39265
11 years ago
Jonas Gorski f08f0cafc2 brcm63xx: update HSSPI driver with upstream submission
Update the HSSPI driver with the upstream submitted one that has a
workaround for the auto cs down issue.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39264
11 years ago
Gabor Juhos 0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
11 years ago
Hauke Mehrtens 952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
11 years ago
Gabor Juhos f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
11 years ago
Gabor Juhos 35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
11 years ago
Gabor Juhos b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
11 years ago
Hauke Mehrtens 81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
11 years ago
Gabor Juhos 9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
11 years ago
Hauke Mehrtens c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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

SVN-Revision: 38198
11 years ago
Gabor Juhos 554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
11 years ago
Jonas Gorski f8cd14921d brcm63xx: drop linux 3.9 support
It is EOL since quite a while, so no need to keep it around.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37911
11 years ago
Jonas Gorski dc028776f0 brcm63xx: switch to linux 3.10
3.10 is stable enough, and 3.9 is EOL since a while.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37910
11 years ago
Gabor Juhos 043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
11 years ago
Gabor Juhos 6a5b4ec7dc kernel: update 3.9 to 3.9.11
Also refresh 3.9 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37501
11 years ago
Jonas Gorski 7ef37c8e3e brcm63xx: add linux 3.10 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37481
11 years ago
Felix Fietkau 9a9d97b749 bcm63xx: update ralink wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37337
11 years ago
Hauke Mehrtens e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
11 years ago
Jonas Gorski 0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37103
11 years ago
Jonas Gorski 6a4e78dca6 brcm63xx: Fixes and additions to the GPIO assignment of Huawei HW556 leds
- 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
11 years ago
Jonas Gorski 7d1cd9dfab bcm63xx: Improve CFE version mod patch.
Fix "cfe-" string length copy.
Check if there's an extra byte a.b.c-d.e / a.b.c-d.e-f.
Add support for Huawei CFE versions ("cfe-vd").

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3766/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37101
11 years ago
Jonas Gorski 6df83c3f89 bcm63xx: enable all SoCs for both subtargets
Now that SMP kernels also work on older SoCs, also enable them for SMP.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37100
11 years ago
Jonas Gorski e7d93889d7 bcm63xx: make smp kernels boot on older SoCs
Enhance BMIPS support so SMP kernels work on older chips.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37099
11 years ago
Jonas Gorski 66f8f30f47 bcm63xx: update patches
Update patches with their upstream versions.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37098
11 years ago
Florian Fainelli 6a4f2922f6 targets: prepare for supporting normal and initramfs images
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
11 years ago
Jonas Gorski 9a077f70de bcm63xx: fix DSL-274xB F1 default network config
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37032
11 years ago
John Crispin 67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
11 years ago
John Crispin e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
11 years ago
Florian Fainelli 4ef56823e0 brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
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
11 years ago
Florian Fainelli 28535aad38 brcm63xx: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36958
11 years ago
Florian Fainelli a9d4bdee43 brcm63xx: provide a default sane MAC address for Cable Modem devices
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
11 years ago
Florian Fainelli 8ae2b1155d brcm63xx: create initramfs HCS images
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
11 years ago
Florian Fainelli 0ce75bc440 brcm63xx: simplify HCS image creation
$(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
11 years ago
Florian Fainelli 78a66975d6 brcm63xx: remove support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36948
11 years ago
Florian Fainelli d2894412d8 brcm63xx: switch to 3.9 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36947
11 years ago
Florian Fainelli f03bbaf065 brcm63xx: fix missing antislash in BCM6345 ethernet patch
This would cause build failure when disabling support for particular
CPUs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36946
11 years ago
Florian Fainelli 2b9d084af9 brcm63xx: add user-space support for Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36877
11 years ago
Florian Fainelli 42e69f45c7 brcm63xx: add kernel space and image support for the Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36876
11 years ago
Florian Fainelli 966d47989b brcm63xx: add Broadcom cable modem firmware format header
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36875
11 years ago
Florian Fainelli 600b59642e brcm63xx: add support for BCM3368
Add support for the Broadcom BCM3368 cable modem chipset, includes:
- Ethernet
- SPI
- UARTs
- GPIOs
- PCI

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36874
11 years ago
Jonas Gorski 1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
11 years ago
Gabor Juhos 46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
11 years ago
Jonas Gorski 4d0fcd0c49 kernel: add some missing symbols/move them to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36670
11 years ago
Jonas Gorski 0a62b7c148 bcm63xx: add 3.9 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36660
11 years ago
Jonas Gorski 1f4e5f77a0 bcm63xx: Simplify CFE detection.
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
11 years ago
Jonas Gorski 526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
11 years ago
Jonas Gorski ed06d2ad5c bcm63xx: don't build CRAMFS
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
11 years ago
Jonas Gorski ccd7fbba87 led and buttons support for board DWV-S0
Signed-off-by: Gianluca Agliozzo <gianluca05@hotmail.it>
[jogo@openwrt.org: fixup patch so it actually applies]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36615
11 years ago
Jonas Gorski 0a907fdb8a bcm63xx: remove defconfig support
All boards use uci-defaults, no need to keep defconfig support.

SVN-Revision: 36610
11 years ago
Gabor Juhos e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
11 years ago
Jonas Gorski 24636fcabf bcm63xx: split into two subtargets, generic and SMP
Make SMP a subtarget, since it only supports BCM6362 and BCM6368.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36527
11 years ago
Jonas Gorski d11efa1428 bcm63xx: add SMP support for BCM6362 and BCM6368
BCM6358 requires further work due to its shared TLB.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36526
11 years ago
Jonas Gorski a80a4f3ec2 bcm63xx: fix hsspi flash registration for BCM6362
Use busnum 1 for HSSPI so it won't conflict on chips having both SPI
controllers.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36524
11 years ago
Jonas Gorski 999a956f4c bcm63xx: fix/enable livebox minipci
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

SVN-Revision: 36523
11 years ago
Gabor Juhos 8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
11 years ago
Florian Fainelli db02b0e4ee brcm63xx: fix typo and missing BCM6328 check in BCM6345 ethernet patch
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
11 years ago
Florian Fainelli 292368409e brcm63xx: add missing binary operands to BCM6345 ethernet patch
Thanks to Emilio Arias for reporting it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36505
11 years ago
Florian Fainelli 6f48ccea02 brcm63xx: remove 3.7 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36504
11 years ago
Gabor Juhos f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
11 years ago
Gabor Juhos 36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
11 years ago
Jonas Gorski 90986b5581 bcm63xx: update patches with upstream submissions
SVN-Revision: 36407
11 years ago
Jonas Gorski 2a1a16d2d5 bcm63xx: switch to linux 3.8
SVN-Revision: 36406
11 years ago
Gabor Juhos 604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
11 years ago
Florian Fainelli b412a81524 brcm63xx: fix LED names for various boards
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35880
11 years ago
Gabor Juhos 23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
11 years ago
Jonas Gorski ff20c0e1fc bcm63xx: Fix sysupgrade for tag-version 7 and 8
Fix sysupgrade for tag-version 7 and 8.

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

SVN-Revision: 35724
12 years ago
Florian Fainelli d7092aceb8 brcm63xx: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35661
12 years ago
Gabor Juhos 3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
12 years ago
Jonas Gorski 485e52e1d8 bcm63xx: make nvram checksum failures non fatal
fixes #12982.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35605
12 years ago
Gabor Juhos 162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
12 years ago
Gabor Juhos bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
12 years ago
Jonas Gorski 200359a520 bcm63xx: handle huawei nvram layout
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
12 years ago
Florian Fainelli 6b0da6db6a remove support for 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35506
12 years ago
Florian Fainelli e22926a46b make default version 3.7.6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35505
12 years ago
Florian Fainelli 57803a98ec remove superfluous calls to /lib/brcm63xx.sh
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
12 years ago
Florian Fainelli 84d306d23c remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35503
12 years ago
Mirko Vogt ec19a23bae fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
SVN-Revision: 35501
12 years ago
Mirko Vogt f460388ce2 add support for board named RTA770W
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
12 years ago
Jonas Gorski 8506964e6d bcm63xx: add support for linux 3.8
Based on 3.8-rc6

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35482
12 years ago
Jonas Gorski 3b4fced67d bcm63xx: add support for linux 3.7
Based on 3.7.6.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35481
12 years ago
Jonas Gorski a15e1a950d bcm63xx: refresh 3.6 patches
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35477
12 years ago
Jonas Gorski ce8b226046 bcm63xx: replace kmod-switch with swconfig in default package set
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35407
12 years ago
Jonas Gorski 8411e5c06e bcm63xx: switch to b53 and swconfig
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
12 years ago
Jonas Gorski 17d51121a6 bcm63xx: expose the internal switch to b53
Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35306
12 years ago
Jonas Gorski 3e998d9cf9 bcm63xx: move bcm63xx-spi into the kernel
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
12 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
Jonas Gorski e952eaa112 bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35011
12 years ago
Jonas Gorski 0e58173fa5 bcm63xx: Fix caldata partition mtd patch
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
12 years ago
Jonas Gorski 10fc07daac bcm63xx: remove 3.3 support
3.6 is tested enough to be considered stable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35009
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
Gabor Juhos 44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
12 years ago
Gabor Juhos 2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
12 years ago
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
12 years ago
Florian Fainelli d9d0814fc2 Fix Comtrend AR-5381u Power LED
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34471
12 years ago
Gabor Juhos c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34404
12 years ago
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
12 years ago
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
12 years ago
Florian Fainelli 0588d13a3e Fix typo in 96338GW power LED.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34396
12 years ago
Jonas Gorski 60e0e0d6e6 bcm63xx: Add a fixup for rt2x00 devices.
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
12 years ago