Jonas Gorski
b723119385
brcm63xx: replace nvram_buf with a properly initialized array
...
Use an empty nvram_header to tell wl that there is no nvram buf.
wl else might try to allocate huge amount of memory because the
bcm63xx's nvram does not match the expected structure and contains
random values.
Fixes the following warning on load of wl:
[ 9.152000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x4c/0xc0()
[ 9.160000] Modules linked in: wl(P+) wl_glue ipv6 gpio_keys_polled input_polldev button_hotplug input_core
[ 9.168000] CPU: 0 PID: 366 Comm: kmodloader Tainted: P 3.10.49 #1
[ 9.176000] Stack : 00000000 00000000 00000000 00000000 8034b77a 00000042 81ac9af0 c02e0000
[ 9.176000] 8028bf70 802df31b 0000016e 8034af28 81ac9af0 c02e0000 c02e0000 81b39810
[ 9.176000] 0000002d 8002c9d4 00000003 8002a3c8 802937a0 c02e0000 8028e528 81ab398c
[ 9.176000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9.176000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 81ab3918
[ 9.176000] ...
[ 9.212000] Call Trace:
[ 9.216000] [<800224b8>] show_stack+0x48/0x70
[ 9.220000] [<8002a538>] warn_slowpath_common+0x78/0xa8
[ 9.224000] [<8002a5f0>] warn_slowpath_null+0x18/0x24
[ 9.228000] [<8008145c>] kmalloc_slab+0x4c/0xc0
[ 9.236000] [<80097258>] __kmalloc+0x20/0x10c
[ 9.240000] [<80e23b90>] osl_malloc+0x24/0x6c [wl]
[ 9.244000] [<80e15288>] nvram_init+0x54/0x164 [wl]
[ 9.252000] [<80e08668>] si_pci_fixcfg+0x60c/0x9e8 [wl]
[ 9.256000]
[ 9.260000] ---[ end trace b5c4dbb046cf3c83 ]---
Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41861
10 years ago
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
11 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
Jonas Gorski
7ef37c8e3e
brcm63xx: add linux 3.10 support
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 37481
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
12 years ago
Jonas Gorski
0a62b7c148
bcm63xx: add 3.9 support
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36660
12 years ago
Jonas Gorski
90986b5581
bcm63xx: update patches with upstream submissions
...
SVN-Revision: 36407
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
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
Florian Fainelli
8d69af7c9f
add preliminary support for 3.6 kernel
...
SVN-Revision: 33936
12 years ago
Florian Fainelli
52bae2d2bd
fix watchdog and rng drivers section mismatch ( #11767 )
...
SVN-Revision: 32522
13 years ago
Jonas Gorski
e19ed52fd1
bcm63xx: add a fixup for ath9k devices
...
SVN-Revision: 31880
13 years ago
Jonas Gorski
e34018cc9e
bcm63xx: add support for the HSSPI controller
...
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.
SVN-Revision: 31879
13 years ago
Jonas Gorski
099d5eec06
bcm63xx: add preliminary support for bcm6328
...
SVN-Revision: 31878
13 years ago
Jonas Gorski
7dbb132c88
bcm63xx: add flash type detection
...
SVN-Revision: 31877
13 years ago
Florian Fainelli
5d9b44d110
use a define for the poll and debounce interval
...
SVN-Revision: 31550
13 years ago
Gabor Juhos
cbfce53831
kernel: update linux 3.3 to 3.3.4
...
SVN-Revision: 31541
13 years ago
Jonas Gorski
c7ae2fccb6
bcm63xx: add initial support for bcm6368 boards
...
SVN-Revision: 31132
13 years ago
Jonas Gorski
44d546290a
bcm63xx: reorder patches
...
Reorder patches for a clearer distinction between the purposes of
the different patches.
SVN-Revision: 31127
13 years ago
Florian Fainelli
07486c4d96
remove udc patch since it is unused
...
SVN-Revision: 30920
13 years ago
Jonas Gorski
778e5d4fa5
brcm63xx: add support for linux 3.3
...
SVN-Revision: 30027
13 years ago
Jonas Gorski
3883e71097
brcm63xx: add support for linux 3.2
...
SVN-Revision: 29731
13 years ago
Jonas Gorski
6b5f483efa
bcm63xx: add support for linux 3.1-rc1
...
SVN-Revision: 27941
13 years ago
Florian Fainelli
11c4128770
improve BCM6345 support
...
- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control
SVN-Revision: 27880
13 years ago
Florian Fainelli
426dccd019
bcm63xx: Add support for Linux 3.0-rc3
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27192
14 years ago
Florian Fainelli
590c82cec1
bcm63xx: Add support for 2.6.38
...
Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27018
14 years ago
Florian Fainelli
762885081a
renumber patches accordingly
...
SVN-Revision: 27013
14 years ago
Florian Fainelli
2785e3fc12
renumber board patches
...
SVN-Revision: 27012
14 years ago
Florian Fainelli
94a22b91fc
add support for 2.6.37, patches from KanjiMonster
...
SVN-Revision: 25629
14 years ago
Daniel Dickinson
e5ca4d81f4
Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
...
SVN-Revision: 24302
14 years ago
Florian Fainelli
7bf5647070
refresh 2.6.35 patches
...
SVN-Revision: 23652
14 years ago
Florian Fainelli
265bf2ccb0
refresh patches
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
SVN-Revision: 23502
14 years ago
Florian Fainelli
fab2e77357
refresh 2.6.35 patches
...
SVN-Revision: 23034
14 years ago
Florian Fainelli
2e343d9760
add 2.6.35 support
...
SVN-Revision: 22800
14 years ago
Jo-Philipp Wich
abdf25b045
add required exports for wl.ko
...
SVN-Revision: 22174
15 years ago