Commit graph

535 commits

Author SHA1 Message Date
Hauke Mehrtens
7ad663dda6 brcm47xx: bcma: fix null pointer
SVN-Revision: 31789
2012-05-18 15:46:30 +00:00
Hauke Mehrtens
b4ecf522cd brcm47xx: ssb: recognize ARM Cortex M3
SVN-Revision: 31788
2012-05-18 15:45:51 +00:00
Hauke Mehrtens
7be88d2ad8 brcm47xx: some fixes for the USB driver
SVN-Revision: 31787
2012-05-18 15:44:25 +00:00
Hauke Mehrtens
273797f15a kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
SVN-Revision: 31772
2012-05-17 13:22:38 +00:00
Hauke Mehrtens
3491d8c017 brcm47xx: remove support for kernel 3.2
SVN-Revision: 31771
2012-05-17 13:20:10 +00:00
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Hauke Mehrtens
482b99a660 brcm47xx: generate image for Linksys WRT610N V1
SVN-Revision: 31696
2012-05-13 00:16:57 +00:00
Hauke Mehrtens
5acb0b72be brcm47xx: fix tg3 ssb patch
Now tg3 works with the Ethernet core of the Linksys WRT610N v1 (again).

SVN-Revision: 31694
2012-05-12 23:59:12 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Hauke Mehrtens
d30f8da466 brcm47xx: add gpio_request_one()
This fixes a compile error with kernel 3.3.

SVN-Revision: 31635
2012-05-06 20:44:37 +00:00
Hauke Mehrtens
8c352ff853 brcm47xx: update target to kernel 3.3
SVN-Revision: 31599
2012-05-05 12:53:37 +00:00
Hauke Mehrtens
22b2e3fbb9 brcm47xx: add support for kernel 3.3
SVN-Revision: 31573
2012-05-03 20:18:41 +00:00
Hauke Mehrtens
d7b7b99d6e brcm47xx: BCMA - Modified PCI CFG space access
The existing code (prior to the patch) does an "ioremap_nocache" on a
subset of a memory region that I think has already been mapped, and then
un-maps that smaller region when it is finished.

Thanks Nathan Hintz for the patch

SVN-Revision: 31481
2012-04-25 20:32:17 +00:00
Hauke Mehrtens
e90d3f1663 brcm47xx: A couple of other (inconsequential) BCMA patches
Noticed these while reviewing the code.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 31471
2012-04-24 21:56:42 +00:00
Hauke Mehrtens
b07998cf11 brcm47xx: b44 fix workaround detection on some brcm47xx boards
Because of api change of nvram_getenv, the workaround failed to detect the hardware.

Based on patch by b.sander

Fixes #11268.

SVN-Revision: 31470
2012-04-24 20:35:46 +00:00
Jonas Gorski
22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Jonas Gorski
a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
ee4c47a134 kernel: update linux 3.2 to 3.2.15
SVN-Revision: 31335
2012-04-17 12:50:54 +00:00
Hauke Mehrtens
7475bb3dc6 brcm47xx: fix a bug in the sprom handling of bcma, this broke all bcma based SoCs.
bcma: use fallback sprom if no on chip sprom is available

SVN-Revision: 31285
2012-04-14 12:12:22 +00:00
Hauke Mehrtens
6af575967c kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
SVN-Revision: 31278
2012-04-13 19:35:40 +00:00
Hauke Mehrtens
c75e700d42 brcm47xx: remove support for kernel 3.0
SVN-Revision: 31276
2012-04-13 16:53:16 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Jonas Gorski
d87efd8c3c kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Hauke Mehrtens
de0527a354 brcm47xx: fix memory leak, backport from the mainline kernel
SVN-Revision: 31143
2012-03-29 15:44:06 +00:00
Hauke Mehrtens
9992ce3a51 brcm47xx: add missing breaks into the nvram read code in the switch case statements
SVN-Revision: 31142
2012-03-29 15:43:16 +00:00
Hauke Mehrtens
13b6ec1d05 brcm47xx: update flash drivers
SVN-Revision: 31126
2012-03-28 17:03:18 +00:00
Hauke Mehrtens
2f6e19e203 brcm47xx: BCMA - Consolidate/reduce code in bcma_device_name
Eliminate unneeded procedure by incorporating code into bcma_device_name

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 31120
2012-03-28 09:36:50 +00:00
Hauke Mehrtens
a31a9b8650 brcm47xx: BCMA - Always map 4 bytes
This probably doesn't matter, but reads/writes are always 4 bytes, so always map 4 bytes.

Changes since v1: Moved changes to new patch file (234-bcma-always-map-4-bytes.patch).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 31119
2012-03-28 09:35:01 +00:00
Hauke Mehrtens
a5abb08100 brcm47xx: update sprom patches like they are in the mainline kernel
SVN-Revision: 31093
2012-03-27 17:07:28 +00:00
Hauke Mehrtens
6fd915ba37 brcm47xx: update usb driver to the version send for mainline kernel integartion
SVN-Revision: 31089
2012-03-27 15:38:56 +00:00
Gabor Juhos
c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Felix Fietkau
db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
2012-03-19 09:58:13 +00:00
Hauke Mehrtens
cee31ca238 brcm47xx: add support for NAND flash on devices using bcma
This patch add support for the NAND flash on BCM5357 based devices like the WNR3500Lv2.

Thank you Tathagata Das <tathagata@alumnux.com> for the patch

SVN-Revision: 30943
2012-03-14 22:59:39 +00:00
Hauke Mehrtens
7fee567dc0 brcm47xx: move and rename the patches
The patches are now grouped by the part what they are doing and are using three digest numbers.

This does not remove or adds anything

SVN-Revision: 30942
2012-03-14 21:48:23 +00:00
Hauke Mehrtens
067a065305 brcm47xx: make patch apply
SVN-Revision: 30876
2012-03-11 13:36:46 +00:00
Hauke Mehrtens
7dcdf69388 brcm47xx: BCMA - Find names of non BCM cores
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 30875
2012-03-11 12:55:20 +00:00
Hauke Mehrtens
d6d40b2d60 BCMA - Account for variable PCI memory base/size
Thank you Nathan Hintz for the patch

SVN-Revision: 30874
2012-03-11 12:52:43 +00:00
Hauke Mehrtens
bbf739a59f BCMA - Reorder SPROM fill
The SPROM is initialized in bcm47xx_fill_sprom, so move the call to bcm47xx_fill_sprom_ethernet after it.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 30873
2012-03-11 11:50:59 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Hauke Mehrtens
12537aa190 brcm47xx: use kernel 3.2 by default
SVN-Revision: 30751
2012-02-28 20:12:46 +00:00
Hauke Mehrtens
5dec9dd3b2 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.

SVN-Revision: 30639
2012-02-18 23:21:47 +00:00
Hauke Mehrtens
1122b231f9 brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9.
It also adds sprom from nvram support for devices on the bcma bus.

SVN-Revision: 30638
2012-02-18 23:08:26 +00:00
Hauke Mehrtens
30408f1cc4 brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
SVN-Revision: 30488
2012-02-12 22:41:20 +00:00
Hauke Mehrtens
e7bd7f7e85 brcm47xx: activate config bug to show warnings
SVN-Revision: 30487
2012-02-12 22:40:01 +00:00
Hauke Mehrtens
fa21aef5ab brcm47xx: refresh patches
SVN-Revision: 30481
2012-02-12 16:45:27 +00:00
Hauke Mehrtens
838c363886 brcm47xx: update usb driver for brcm47xx.
SVN-Revision: 30480
2012-02-12 16:38:10 +00:00
Hauke Mehrtens
295a154f2f brcm47xx: print the chip id and rev found by ssb and bcma
SVN-Revision: 30428
2012-02-10 22:42:43 +00:00
Hauke Mehrtens
4e332227d0 brcm47xx: update bcm5354 support patch
SVN-Revision: 30423
2012-02-10 17:22:26 +00:00
Jonas Gorski
e67f4477bb kernel: update linux 3.0 to 3.0.18
SVN-Revision: 29965
2012-01-31 09:43:53 +00:00
Hauke Mehrtens
d1c07b3657 brcm47xx: add fix for cardbus host controller
These devices have two devices on the bus, the host controller itself and the device.

SVN-Revision: 29923
2012-01-27 20:10:51 +00:00
Hauke Mehrtens
26d4e1876c brcm47xx: add support for pcie host controller on bcma based SoCs.
This also adds minimal support for the BCMA43224 pcie wireless card.

SVN-Revision: 29843
2012-01-21 22:39:20 +00:00
Hauke Mehrtens
034cf5643f brcm47xx: add support for kernel 3.2
SVN-Revision: 29756
2012-01-15 21:18:34 +00:00
Hauke Mehrtens
c3d134af12 brcm47xx: run kernel_oldconfig
SVN-Revision: 29755
2012-01-15 14:53:32 +00:00
Hauke Mehrtens
d5bc3a994b brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.

SVN-Revision: 29734
2012-01-13 20:11:23 +00:00
Jonas Gorski
e49d3e1d5b kernel: update linux 3.0 to 3.0.17
SVN-Revision: 29725
2012-01-13 14:10:44 +00:00
Hauke Mehrtens
11125d68ed brcm47xx: fix usb on more recent bcma based devices.
SVN-Revision: 29605
2011-12-23 17:21:52 +00:00
Hauke Mehrtens
0cd03df3b1 brcm47xx: remove patch starting adding brcm4716 to ssb
brcm4716 is supported by bcma now we do not need this patch

SVN-Revision: 29576
2011-12-19 23:55:20 +00:00
Hauke Mehrtens
5b8686c303 brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.

SVN-Revision: 29575
2011-12-19 23:39:13 +00:00
Hauke Mehrtens
1aa5a61754 kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
SVN-Revision: 29574
2011-12-19 23:33:03 +00:00
Hauke Mehrtens
91d0ef6f19 brcm47xx: remove support for kernel 2.6.39
There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.

SVN-Revision: 29573
2011-12-19 23:26:15 +00:00
Jonas Gorski
6e2ae90f4a linux: update 3.0 to 3.0.12
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
Jonas Gorski
8bac0df4ae linux: update 3.0 to 3.0.9
SVN-Revision: 29264
2011-11-19 18:39:12 +00:00
Jo-Philipp Wich
de7cae82e9 brcm47xx: revert accidentially added EARLY_PRINTK symbol from previous commit
SVN-Revision: 28585
2011-10-25 16:19:52 +00:00
Jo-Philipp Wich
a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
2011-10-25 16:18:36 +00:00
Florian Fainelli
3802769ea1 add vlan definitions for Siemens SE505v2
Hi,

this patch adds the correct vlan definitions for the Siemens SE505v2. It
applies to trunk as well as backfire (please apply here too). On
backfire this also patches brcm-2,4, because brcm47xx base-files is just
symlinked to brcm-2.4.

It also fixes two whitespace issues.

Tested with brcm47xx on both trunk and backfire branch and works as
expected.

Signed-off-by: Manuel Munz <freifunk@somakoma.de>

SVN-Revision: 28336
2011-09-30 12:55:33 +00:00
Felix Fietkau
24dfe525c2 brcm47xx: fix padding of trx images, padjffs2 does not work properly on empty files by default
SVN-Revision: 28125
2011-08-29 21:23:51 +00:00
Hauke Mehrtens
464539b074 kernel: update to version 3.0.3
SVN-Revision: 28043
2011-08-18 12:54:12 +00:00
Jo-Philipp Wich
ebb152295b fix the default network configuration for the ASUS WL-330gE (#8751)
SVN-Revision: 28024
2011-08-17 03:16:59 +00:00
Hauke Mehrtens
77218b0338 brcm47xx: fix flash detection on chipcommon less devices.
This closes #9906
Thank you for the report Kim

SVN-Revision: 27967
2011-08-12 16:37:22 +00:00
Hauke Mehrtens
51be984655 kernel: update to kernel version 3.0.1
SVN-Revision: 27918
2011-08-06 09:51:55 +00:00
Hauke Mehrtens
77966b81d8 brcm47xx: use kernel 3.0
As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.

SVN-Revision: 27906
2011-08-04 20:10:24 +00:00
Hauke Mehrtens
8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Hauke Mehrtens
4815eaa4c3 brcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
ssb_pcicore_fix_sprom_core_index accesses the sprom on the pci bus but
this causes a data bus error (oops) on a SoC.

SVN-Revision: 27758
2011-07-24 15:18:29 +00:00
Hauke Mehrtens
49f4d4217e brcm47xx: build bcma into the kernel
Now we can assume that every brcm47xx kernel has the bcma module build
into the kernel. This is not needed for this version as this does not
support bcma as system bus but kernel 3.0 will.

SVN-Revision: 27733
2011-07-23 11:19:58 +00:00
Hauke Mehrtens
b07b5fc7b6 brcm47xx: remove old kernel versions
SVN-Revision: 27724
2011-07-22 18:41:24 +00:00
Hauke Mehrtens
b988168906 brcm47xx: update bcma and ssb to master-2011-07-21
* add new patches for bcm4716 SoC
* add support for serial flash on bcma bus

SVN-Revision: 27723
2011-07-22 16:30:42 +00:00
Hauke Mehrtens
39f491e479 kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch

SVN-Revision: 27722
2011-07-22 16:04:25 +00:00
Hauke Mehrtens
8976fa2622 brcm47xx: deactivate wndr3400 for now as this device will not boot
SVN-Revision: 27316
2011-06-29 17:42:34 +00:00
Hauke Mehrtens
8c62c5d109 brcm47xx: generate image to flash on Netgear WNDR3400.
The image will not boot because serial flash support is missing this is only for experts.

SVN-Revision: 27302
2011-06-28 22:23:21 +00:00
Hauke Mehrtens
4c18da3df6 brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental.

SVN-Revision: 27301
2011-06-28 22:21:57 +00:00
Hauke Mehrtens
3f0eed15a2 kernel: refresh patches for kernel 3.0-rc5
SVN-Revision: 27300
2011-06-28 20:25:39 +00:00
Hauke Mehrtens
2af4f6f634 kernel: update ssb and bcma to linux-next next-20110628
SVN-Revision: 27299
2011-06-28 19:33:50 +00:00
Hauke Mehrtens
c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Hauke Mehrtens
4c392185a6 brcm47xx: update kernel to version 2.6.39
SVN-Revision: 27296
2011-06-27 21:29:20 +00:00
Hauke Mehrtens
ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Hauke Mehrtens
e439de144f brcm47xx: fix Linux-3.0 and fix clock rate detection.
SVN-Revision: 27294
2011-06-27 20:20:11 +00:00
Hauke Mehrtens
47e218c426 brcm47xx: refresh patches
SVN-Revision: 27219
2011-06-18 15:53:14 +00:00
Hauke Mehrtens
79a7343560 kernel: update to kernel 2.6.38.8
SVN-Revision: 27218
2011-06-18 15:52:15 +00:00
Hauke Mehrtens
75f9e0c615 brcm47xx: add support for kernel 3.0
SVN-Revision: 27217
2011-06-18 15:24:44 +00:00
Hauke Mehrtens
bf64ac730a bcm47xx: Remove kernel checks from image Makefile
2.4 isn't present anymore, so it will always be 2.6 (or newer). Since the
2.6 check will break with 3.0, remove it alltogether.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27185
2011-06-15 21:11:49 +00:00
Hauke Mehrtens
8137e35a5d brcm47xx: initial 2.6.39 support for brcm47xx
Thank you Peter Wagner for the patch

SVN-Revision: 27008
2011-05-25 19:27:08 +00:00
Hauke Mehrtens
f5f989e3fb brcm47xx: remove old kernel
SVN-Revision: 27006
2011-05-25 18:05:54 +00:00
Hauke Mehrtens
06166b01dd brcm47xx: fix partition layout on SimpleShare devices.
The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.

This fixes #9323

Thank you Will Holmes for the patch.

SVN-Revision: 27005
2011-05-25 17:46:34 +00:00
Hauke Mehrtens
732abc44cc brcm47xx: update patches
SVN-Revision: 26846
2011-05-07 12:49:17 +00:00
Hauke Mehrtens
fcb1557a3e brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
SVN-Revision: 26829
2011-05-05 14:05:21 +00:00
Hauke Mehrtens
54fb8868fa brcm47xx: fix typo in patch
SVN-Revision: 26828
2011-05-05 13:18:35 +00:00
Hauke Mehrtens
3dbb8c5088 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Hauke Mehrtens
8b837430f3 brcm47xx: upgrade to kernel 2.6.27.6.
This should be save now.

SVN-Revision: 26533
2011-04-08 15:12:08 +00:00
Hauke Mehrtens
340c6914a3 brcm47xx: add initial support for kernel 2.6.38
SVN-Revision: 26524
2011-04-07 21:38:41 +00:00
Hauke Mehrtens
8d75dcb4b8 brcm47xx: remove kmod-usb-ohci from WGT634U packages.
This package creates some error messages on startup

Thank you russell-- for reporting

SVN-Revision: 26240
2011-03-19 23:19:08 +00:00
Imre Kaloz
a8d84ae94d remove 2.6.34 support
SVN-Revision: 26229
2011-03-18 13:40:48 +00:00
Hauke Mehrtens
537c6017cc brcm47xx: add workaround for fuse again.
This closes #4754

SVN-Revision: 26141
2011-03-13 19:25:24 +00:00
Hauke Mehrtens
a08bd03fad ssb: update ssb to version from linux-next-20110311
SVN-Revision: 26127
2011-03-13 17:24:28 +00:00
Hauke Mehrtens
4226f1d373 kernel: update to kernel version 2.6.37.3
SVN-Revision: 26126
2011-03-13 17:14:08 +00:00
Hauke Mehrtens
425bf41b23 kernel: update to kernel version 2.6.34.8
SVN-Revision: 26125
2011-03-13 17:13:11 +00:00
Florian Fainelli
45c9f5e75e update to kernel 2.6.36.4
SVN-Revision: 25580
2011-02-19 12:44:07 +00:00
Imre Kaloz
2821101c92 platform specific patches don't belong here - take #2
SVN-Revision: 25085
2011-01-24 12:11:25 +00:00
Imre Kaloz
7c9d132d10 platform specific patches don't belong here
SVN-Revision: 25083
2011-01-24 11:01:38 +00:00
Gabor Juhos
541bebf4ec brcm47xx: add gpio_set_debounce function
SVN-Revision: 24968
2011-01-11 20:05:01 +00:00
Hauke Mehrtens
d6af00c555 brcm47xx: fix compile problem when serial is deactivated.
Thank you Andrey

SVN-Revision: 24885
2011-01-02 20:53:09 +00:00
Hauke Mehrtens
acb5e80846 kernel: add config option added in kernel 2.6.37-rc7 to generic and run make kernel_oldconfig for brcm47xx.
SVN-Revision: 24805
2010-12-22 19:44:54 +00:00
Hauke Mehrtens
4bee3672dd brcm47xx: refresh patches with kernel 2.6.37-rc7
The deleted patches went upstream in 2.6.37-rc7

SVN-Revision: 24803
2010-12-22 19:42:37 +00:00
Hauke Mehrtens
93e09b14eb brcm47xx: wgt634u mac address fix
The Netgear wgt634u uses minus between the hex digest of the mac
address and all other broadcom devices are using colons between the hex
digest. Now the mac address is correctly parsed also when minus is used.

SVN-Revision: 24749
2010-12-21 13:34:09 +00:00
Hauke Mehrtens
9daa5485ba brcm47xx: add ssb debug option.
This fixes a problem with wrt350n.
It boots only if this config option is set, otherwise it reboots after "Switching to clocksource MIPS"

Thank you sn9 for fixing this problem.

SVN-Revision: 24626
2010-12-16 19:35:59 +00:00
Hauke Mehrtens
1da5dcbb7a brcm47xx: add some missing pci ID for tg3 driver
Broadcom removed these pci id, but at least the wrt350n has a Ethernet
controller with a pci id of 14e4:1676

Thank you sn9 for fixing this problem.

SVN-Revision: 24625
2010-12-16 19:31:05 +00:00
Hauke Mehrtens
c58d8a369c brcm47xx: this patch went upstream
SVN-Revision: 24624
2010-12-16 19:26:55 +00:00
Hauke Mehrtens
b8ab3d34eb kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Hauke Mehrtens
2f7964de3e brcm47xx: do not read from CFE
SVN-Revision: 24267
2010-12-05 19:20:26 +00:00
Hauke Mehrtens
852f7b37ed brcm47xx: backport patch from kernel 2.6.37
Backport patches from r24162
  brcm47xx: reorder patches like they were commitet upstream

SVN-Revision: 24266
2010-12-05 19:19:50 +00:00
Hauke Mehrtens
7b1ae48645 brcm47xx: use on common files dir
SVN-Revision: 24264
2010-12-05 18:34:58 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Hauke Mehrtens
af2349b4bc brcm47xx: remove support for old kernel versions
SVN-Revision: 24168
2010-11-28 14:08:04 +00:00
Hauke Mehrtens
6f58cc20fc brcm47xx: use kernel 2.6.36.1 as new default kernel for this target.
SVN-Revision: 24167
2010-11-28 14:05:31 +00:00
Hauke Mehrtens
fb27da9487 brcm47xx: reorder patches like they were commitet upstream
SVN-Revision: 24162
2010-11-27 22:47:11 +00:00
Alexandros C. Couloumbis
8f94a9a224 linux/brcm47xx: sync yhe BCM4710 fix with the upcoming upstream patch.
SVN-Revision: 24116
2010-11-23 16:41:34 +00:00
Alexandros C. Couloumbis
16dd69760f linux/brcm47xx: add missing patch on r24112
SVN-Revision: 24113
2010-11-23 14:12:42 +00:00
Alexandros C. Couloumbis
40b5fad48d linux/brcm47xx: Broadcom BCM4710 does not belong in the BMIPS4KC family.
SVN-Revision: 24112
2010-11-23 14:08:41 +00:00
Alexandros C. Couloumbis
26df9231fa linux/brcm47xx: properly fix r24096
SVN-Revision: 24102
2010-11-22 18:16:55 +00:00
Alexandros C. Couloumbis
aab31771f8 linux/brcm47xx: mainline 2.6.37 602977b0d672687909b0cb0542ede134ed6ef858 commit broke CPU revision: 00024000, MIPS (cc 0x805, rev 0x00, vendor 0x4243) functionality. Revert that patch until we get a proper fix.
SVN-Revision: 24096
2010-11-22 17:17:15 +00:00
Alexandros C. Couloumbis
18dd104885 linux/brcm47xx: include a missing 2.6.37 file (thank you hauke)
SVN-Revision: 23955
2010-11-11 08:49:52 +00:00
Hauke Mehrtens
ce547cf748 brcm47xx: missing in r23949
SVN-Revision: 23950
2010-11-10 19:12:49 +00:00
Hauke Mehrtens
1652eb7863 brcm47xx: CONFIG_HAMRADIO=n makes no sense
SVN-Revision: 23949
2010-11-10 19:11:24 +00:00
Alexandros C. Couloumbis
f950840ec9 linux/brcm47xx: add preliminary 2.6.37 kernel support
SVN-Revision: 23945
2010-11-10 19:01:07 +00:00
Hauke Mehrtens
4e797b6278 brcm47xx: Fix boot problem with wgt634u.
Readd the workarround from the old version again which was removed in r22296 and refresh the patches.

This should close #7874

Thank you Russell Senior for testing.

SVN-Revision: 23911
2010-11-07 13:44:48 +00:00
Florian Fainelli
cb0e742bab Revert "[brcm47xx] Add support for cores with slow WDT clock (bcm5354)"
This reverts commit 7467fdab387f451082c15d17ce9ae4d91d74b6ca.

SVN-Revision: 23533
2010-10-19 07:07:10 +00:00
Florian Fainelli
c8c0d4d8e6 Add support for cores with slow WDT clock (bcm5354)
Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

SVN-Revision: 23516
2010-10-18 19:49:48 +00:00
Alexandros C. Couloumbis
9cb3333c0d linux/brcm47xx: fix an initialization issue on 2.6.36 kernel
SVN-Revision: 23392
2010-10-11 12:37:16 +00:00
Hauke Mehrtens
badd8ffee3 brcm47xx: add patches for kernel 2.6.36
SVN-Revision: 23278
2010-10-06 20:11:03 +00:00
Imre Kaloz
5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Florian Fainelli
69120f3f47 update to 2.6.34.5
SVN-Revision: 22768
2010-08-22 17:08:37 +00:00
Hauke Mehrtens
09e05d833d kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
Hauke Mehrtens
26f323dcf5 brcm47xx: do not read out cfe
Reading the CFE properties causes system hangs on some devices. With
this patch nvram read will be successful very time so cfe will no be
read out. This code is not really correct but it will work around some
problems for some people.

Related ticket: #7693

SVN-Revision: 22663
2010-08-15 18:23:17 +00:00
Alexandros C. Couloumbis
0780aa2278 brcm47xx/patches-2.6.35: Allow SSB EHCI/OHCI drivers to co-exist (thank you Steve Brown)
SVN-Revision: 22661
2010-08-15 16:30:00 +00:00
Hauke Mehrtens
09244c0811 brcm47xx: do not generate image for wgr614_v8 as long as we did not get any positive reports with that device.
SVN-Revision: 22522
2010-08-06 22:50:58 +00:00
Hauke Mehrtens
7640f89045 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
Hauke Mehrtens
86b209211e brcm47xx: ignore some parts of flash on some netgear devices. This space is used to store config values. When overwriting it the device will not start any more.
closes #7630

Thank you realopty for testing.

SVN-Revision: 22475
2010-08-03 20:35:53 +00:00
Hauke Mehrtens
3aca383c72 brcm47xx: some checkpatch fixes
SVN-Revision: 22425
2010-07-31 10:06:05 +00:00
Hauke Mehrtens
96911f6b58 brcm47xx: some fixes
* fix return codes of nvram_getenv. Now it behaves like cfe_getenv.
* also check cfe for kernel_args param.
* some style fixes

SVN-Revision: 22424
2010-07-31 10:05:29 +00:00
Hauke Mehrtens
da7493d8f9 mostly revert commit r22396
CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Markus Wigge
7a052dc799 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Hauke Mehrtens
763e011e70 brcm47xx: now hopfully realy commit the right things from r22385
SVN-Revision: 22388
2010-07-25 16:10:51 +00:00
Hauke Mehrtens
d67c25f592 brcm47xx: add missing part from r22385
SVN-Revision: 22387
2010-07-25 16:07:40 +00:00
Hauke Mehrtens
163b24d092 brcm47xx: fill the whole sprom with data
SVN-Revision: 22385
2010-07-24 23:25:06 +00:00
Hauke Mehrtens
ebeaea35fd brcm47xx: fix for boardflags by xMff and checkpatch.pl fixes
SVN-Revision: 22318
2010-07-20 19:41:17 +00:00
Hauke Mehrtens
c811398d00 brcm47xx: write boardflags correct into sprom
SVN-Revision: 22298
2010-07-19 21:45:29 +00:00
Hauke Mehrtens
49edb3c342 brcm47xx: prepare brcm47xx patches for sending to mainline.
SVN-Revision: 22296
2010-07-19 20:25:20 +00:00
Hauke Mehrtens
0799e77a8b brcm47xx: remove kernel 2.6.33
SVN-Revision: 22295
2010-07-19 20:07:24 +00:00
Hauke Mehrtens
2d87b1c1ee brcm47xx: activate swap again and run make oldconfig
SVN-Revision: 22266
2010-07-17 20:01:46 +00:00
Daniel Dickinson
17ba48cd90 target (base-files): Fixed failsafe mode by adding back insmod diag
SVN-Revision: 22186
2010-07-15 02:46:03 +00:00
Hauke Mehrtens
3310fdf6fa brcm47xx: use kernel 2.6.34.1 as default kernel
SVN-Revision: 22119
2010-07-10 22:40:45 +00:00
Felix Fietkau
9c8d55541a brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
SVN-Revision: 22116
2010-07-10 12:17:41 +00:00
Felix Fietkau
fbff44c98a Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.

SVN-Revision: 22110
2010-07-10 00:48:37 +00:00
Markus Wigge
25602743d1 brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP

SVN-Revision: 22019
2010-07-01 16:26:24 +00:00
Markus Wigge
114ce0bd4c renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.

SVN-Revision: 22013
2010-07-01 10:48:13 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Felix Fietkau
812f026323 add back the base-files/image code from brcm-2.4 to brcm47xx
SVN-Revision: 21945
2010-06-26 20:41:49 +00:00
Felix Fietkau
519b6a2f4c remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
SVN-Revision: 21944
2010-06-26 20:41:40 +00:00
Jo-Philipp Wich
5181a82334 change a typo in ath5k profile
SVN-Revision: 21853
2010-06-20 13:46:24 +00:00
Jo-Philipp Wich
af1eb7ec46 deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
SVN-Revision: 21852
2010-06-20 13:44:19 +00:00
Jo-Philipp Wich
da6e39e592 add a profile using proprietary wl instead of b43
SVN-Revision: 21851
2010-06-20 13:32:40 +00:00
Felix Fietkau
efa4f94436 brcm47xx: add some exports to be used by the new wl driver
SVN-Revision: 21793
2010-06-14 10:03:05 +00:00
Gabor Juhos
9bc1e548a1 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS

SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
4128c72275 generic: don't override CONFIG_DEBUG_FS
SVN-Revision: 21749
2010-06-10 10:45:42 +00:00
Gabor Juhos
2f328ce488 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO

SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
57c5fe2e7f generic: remove trailing whitespaces from kernel configs
SVN-Revision: 21747
2010-06-10 08:58:09 +00:00
Gabor Juhos
5cad9d5c73 generic: standardize CONFIG_INLINE_* symbols usage
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Alexandros C. Couloumbis
cfa9a1f6d6 brcm47xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21707
2010-06-08 16:58:06 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Hauke Mehrtens
7800ac4e58 brcm47xx: refresh patches
SVN-Revision: 21543
2010-05-23 13:17:56 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Lars-Peter Clausen
37a8f3522f Move CONFIG_LZMA_{DE,}COMPRESS to generic config
It is selected by CONFIG_JFFS2_LZMA which is set in the generic config.

SVN-Revision: 21437
2010-05-12 23:04:18 +00:00
Hauke Mehrtens
c96049615c brcm47xx: use tab instead of space
SVN-Revision: 21430
2010-05-12 20:28:39 +00:00
Hauke Mehrtens
bb8d84ce4e brcm47xx: ehci-ssb: some updates: * update pointers in struct hc_driver * make ssb_ehci_detach more look like the pci version * remove resume and suspend as they are never activated and not compiling * replace ssb_ehci_start with ehci_run as it only calls this method
SVN-Revision: 21427
2010-05-12 18:28:41 +00:00
Felix Fietkau
0f7864456a brcm47xx: adjust the brcm4710 cache workaround code so that it does not break bcm4716 (patch by Bernhard Loos)
SVN-Revision: 21395
2010-05-07 11:48:15 +00:00
Felix Fietkau
3ea657a3e9 kernel: bring ssb in sync with upstream (as of current wireless-testing)
SVN-Revision: 21269
2010-04-30 15:53:08 +00:00
Alexandros C. Couloumbis
09a1db3eea brcm47xx: update config-2.6.33 options
SVN-Revision: 21266
2010-04-30 11:10:04 +00:00
Alexandros C. Couloumbis
6a40947c31 brcm47xx: refresh 2.6.33 kernel patches
SVN-Revision: 21265
2010-04-30 11:05:40 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Alexandros C. Couloumbis
b7e21c6517 brcm47xx: add missing bits & bytes on r21119
SVN-Revision: 21145
2010-04-24 19:23:54 +00:00
Alexandros C. Couloumbis
d0883b82a4 brcm47xx: add sysfs attributes to ssb devices & new defines for registers and device ids (credits: Bernhard Loos)
SVN-Revision: 21119
2010-04-24 06:54:17 +00:00
Alexandros C. Couloumbis
819114e3f2 brcm47xx: fix phy isolation bit on Toshiba WRC-1000, Siemens SE505 v1, Askey RT-210W, RT-220W and alike boards (closes #6789)
SVN-Revision: 21108
2010-04-23 11:49:27 +00:00
Gabor Juhos
4be3c3e48c kernel: refresh patches for 2.6.34-rc5 and update md5sum
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Alexandros C. Couloumbis
bf12a75a87 brcm47xx: fix r21042, nuke (boardnum == 42 section)
SVN-Revision: 21047
2010-04-20 16:23:47 +00:00
Alexandros C. Couloumbis
bd97e88167 brcm47xx: fix ethernet link state (closes #7056)
SVN-Revision: 21042
2010-04-20 15:03:22 +00:00
Hauke Mehrtens
fa432efa8e brcm47xx: allow isdn on brcm47xx
SVN-Revision: 21001
2010-04-18 19:32:18 +00:00
Hauke Mehrtens
79075b8d13 brcm47xx: refresh patches
SVN-Revision: 20996
2010-04-18 18:22:50 +00:00
Hauke Mehrtens
03fd014069 brcm47xx: fix build of tg3 for kernel 2.6.34
SVN-Revision: 20994
2010-04-18 17:19:39 +00:00
Alexandros C. Couloumbis
e712ef386e brcm47xx: fix ide drive assignment (closes #7061)
SVN-Revision: 20924
2010-04-16 15:05:32 +00:00
Alexandros C. Couloumbis
598e0656c5 brcm47xx: add preliminary 2.6.34 support
SVN-Revision: 20888
2010-04-15 20:50:50 +00:00