Commit Graph

692 Commits (b04bb3eea71338214ed83671f026e3e2625d23e8)

Author SHA1 Message Date
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
10 years ago
Hauke Mehrtens 4a9acacf53 kernel: 3.14: update bcm47xxpart
It it used by brcm47xx and bcm53xx targets, so put patches in generic.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42212
10 years ago
Hauke Mehrtens 09739f8ba5 brcm47xx: image: build alternative TRX using less optimized LZMA
There is a group of devices that lzma-loader doesn't work with. They
simply hang at "Starting program at 0x80001000" which is really hard to
debug and we didn't find any solution for this for years.

Broadcom doesn't use lzma-loader on these devices anyway. They decided
to drop lzma-loader and use less optimal LZMA compression that can be
handled by CFE itself (it doesn't use dictionary).

So support these devices we will need kernel compressed with different
parameters and trx without a loader.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42205
10 years ago
Hauke Mehrtens 32b3f9cdc6 brcm47xx/bcm53xx: improve description
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42204
10 years ago
Hauke Mehrtens ade7d7ba8c brcm47xx: update to kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42202
10 years ago
Hauke Mehrtens ba0b904d0b brcm47xx: image: update list of Netgear WNR* firmwares
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42165
10 years ago
Hauke Mehrtens 254b4df66f brcm47xx: fix brcm47xx.legacy build
we should check for ssb here.

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

SVN-Revision: 42164
10 years ago
Hauke Mehrtens 47bab2b654 brcm47xx: fix reboot problem on BCM4705/BCM4785
This adds some code based on code from the Broadcom GPL tar to fix the
reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10
times and have never seen a problem. This reverts the changes in the
previous commit and adds the real fix as suggested by Rafał.

Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into
async mode.

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

SVN-Revision: 42088
10 years ago
Hauke Mehrtens 81c2466381 brcm47xx: fix reboot problem on BCM4705/BCM4785
This adds some code based on code from the Broadcom GPL tar to fix the
reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10
times and have never seen a problem. This reverts the changes in the
previous commit and adds the real fix as suggested by Rafał.

Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into
async mode.

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

SVN-Revision: 42083
10 years ago
Hauke Mehrtens c371e6de02 brcm47xx: activate high mem for mips74k in the config
It is still not working.

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

SVN-Revision: 42054
10 years ago
Hauke Mehrtens 4ec288bfa4 brcm47xx: 3.14: backport MIPS patches for early HIGHMEM support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42053
10 years ago
Hauke Mehrtens dc38211cff brcm47xx: 3.10: backport MIPS patches for early HIGHMEM support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42052
10 years ago
Hauke Mehrtens f7b3b7db7d brcm47xx: 3.14: update MIPS patches with versions sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41911
10 years ago
Hauke Mehrtens 3a82681e4f brcm47xx: 3.10: update MIPS patches with versions sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41910
10 years ago
Hauke Mehrtens 7a3b3b9d73 brcm47xx: don't create named switch_vlan sections
It doesn't seem to be used anywhere, it's incompatible with other
targets and can be confusing. People may think they need to update
section name every time they change VLAN ID (well, even I was doing
that).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41835
10 years ago
John Crispin ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
10 years ago
Hauke Mehrtens 7435b628c6 brcm47xx: fix switch detection with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41706
10 years ago
Hauke Mehrtens 1636bc6704 brcm47xx: remove kmod-bgmac from profile
bgmac will be compiled into the kernel since r41594.

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

SVN-Revision: 41667
10 years ago
Hauke Mehrtens f5955c2e6b brcm47xx: fix LEDs on WRT54GL 1.1
Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41666
10 years ago
Hauke Mehrtens 6f417d5b4b brcm47xx: fix special board handling for some devices
Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the
kernel board detection are removed now.

This should close: #17111, #16968, #13202

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

SVN-Revision: 41663
10 years ago
Hauke Mehrtens 7dbea92a9c brcm47xx: improve board detection for some devices
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41662
10 years ago
Hauke Mehrtens ba54356d49 brcm47xx: deactivate ssb and old phy code for new devices
This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

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

SVN-Revision: 41594
10 years ago
John Crispin 32e93efc73 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41571
10 years ago
John Crispin 0f76f8a16e target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41560
10 years ago
Hauke Mehrtens 0a5145e851 brcm47xx: make reboot a more reliable
A reboot is issued by setting the watchdog timer to a low value, when
the value is decreased from 1 to 0 by the hardware the system will
reboot. Setting this value to 1 does not work every time, it is a
little bit more reliable when setting it to 3. This timer runs with
some MHz or KHz so nobody will notice the increased waiting.

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

SVN-Revision: 41548
10 years ago
Hauke Mehrtens f42c36ea60 brcm47xx: add buttons support for Netgear WNR3500L
Ticket: #14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41547
10 years ago
Hauke Mehrtens 4632347879 brcm47xx: remove unneeded images from generic target
broadcom-wl now builds in the mips74k profile, so remove these chips
from the generic profile.

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

SVN-Revision: 41546
10 years ago
Hauke Mehrtens 3597b7d456 brcm47xx: image: legacy: take over old devices images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41530
10 years ago
Hauke Mehrtens 0eb3c26e7d brcm47xx: image: mips74k: take over some device images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41529
10 years ago
Hauke Mehrtens c3b3df1da8 brcm47xx: image: prepare for using mips74k subtarget
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41528
10 years ago
Hauke Mehrtens df8741f92b brcm47xx: fix bcm4705 rebooting when initializing the switch.
When the Ethernet controller is powered down and someone wants to
access the mdio bus like the witch driver (b53) the system crashed if
PCI_D3hot was set before. This patch deactivates this power sawing mode
when a switch driver is in use.

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

SVN-Revision: 41527
10 years ago
Hauke Mehrtens 356663cdc8 brcm47xx: add LEDs for Netgear WNR3500L
https://dev.openwrt.org/ticket/14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41520
10 years ago
Hauke Mehrtens 8e4efd42d9 brcm47xx: make it possible to unregister the adm switch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41517
10 years ago
Hauke Mehrtens 03e2310a38 brcm47xx: fix LEDs on WRTSL54GS
https://dev.openwrt.org/ticket/16991

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41516
10 years ago
Hauke Mehrtens 77dee19ab4 brcm47xx: increase fallback mac addresses by one
Now the mac address is increased by two for the first fallback mac
address. It could be that the address increased should be used for the
wan port.

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

SVN-Revision: 41515
10 years ago
Hauke Mehrtens 3fff38f93a brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.
The address prefix 00:90:4C is used by Broadcom in their initial
configuration. When a mac address with the prefix 00:90:4C is used
all devices from the same series are sharing the same mac address.
To prevent mac address collisions we replace them with a mac address
based on the base address.

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

SVN-Revision: 41513
10 years ago
Hauke Mehrtens 163fe41c75 brcm47xx: get switch name from swconfig first
Without this patch the switch config for the adm switch did not worked,
because hey are not names eth0.

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

SVN-Revision: 41512
10 years ago
Hauke Mehrtens 3f64bb8f8f brcm47xx: add LEDs for Asus RT-N15U and update RT-N66U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41501
10 years ago
Hauke Mehrtens 9467896172 brcm47xx: migrate basic network settings from old releases
Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41500
10 years ago
Hauke Mehrtens 5996160a66 brcm47xx: add CONFIG_LEDS_GPIO_REGISTER
CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

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

SVN-Revision: 41488
10 years ago
Hauke Mehrtens f95fc5b2d5 brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41487
10 years ago
Hauke Mehrtens ba1b49dbab brcm47xx: backport BCM47XX Linksys WRT54G series patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41486
10 years ago
John Crispin 994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
10 years ago
Felix Fietkau ad97acf46a brcm47xx: merge FEATURES lines in the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41053
10 years ago
Felix Fietkau c48140efb8 brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41052
10 years ago
Hauke Mehrtens ed7c73fbef brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.

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

SVN-Revision: 41050
10 years ago
Felix Fietkau 4b953aa267 brcm47xx: move the low_mem feature flag to the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41049
10 years ago
Hauke Mehrtens 717e8b6f3c brcm47xx: remove old gpio and nvram interfaces
These were only used by broadcom-diag any more.

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

SVN-Revision: 41048
10 years ago
Hauke Mehrtens cfa350ca39 brcm47xx: mips74k: optimize kernel config
This saves abount 15 kB of compressed kernel size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41043
10 years ago
Hauke Mehrtens 9dc5fb9103 bcm47xx: use eth0 for switch name
This fixes some strange problems with tg3. I assume that the Ethernet
driver was not brought up if the switch was named switch0.

This was reported and tested by ernesto (Faulp3lz).

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

SVN-Revision: 41042
10 years ago