Commit Graph

858 Commits (54e980aa36522de91ba8c4a187cbaef8be6c710a)

Author SHA1 Message Date
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
Hauke Mehrtens 0490c57e31 brcm47xx: remove support for older for kernel
SVN-Revision: 20492
2010-03-26 19:53:30 +00:00
Gabor Juhos e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Markus Wigge 47f29ede08 added feature "pcmcia"
SVN-Revision: 20268
2010-03-18 12:20:36 +00:00
Markus Wigge a5ebd1656a fix yenta_socket driver
Disable some calls the WRT54G3G implementation does not like
and enable interrupts to allow hotplugging.

SVN-Revision: 20240
2010-03-16 10:41:26 +00:00
Markus Wigge 8bfc53f675 fix PCI resouce allocation for SSB PCI host bridge
The defined offset is wrong and the fixup-code overrides it
later on so that it never gets used for most PCI devices.
Unfortunately the yenta-socket allocates its own resources
and crashes because of the wrong mem_offset.

It seems that the offset and fixup code came from 2.4 where
resource allocation was handled differently.

This patch removes the unneeded parts and thus enables
the yenta_socket on the WRT54G3G platform.

It was tested on Asus WL500G-Premium (v1 and v2), Linksys
WRT54G3G, Netgear WGT634U

Signed-off-by: Michael Buesch <mb@bu3sch.de>

SVN-Revision: 20239
2010-03-16 10:39:37 +00:00
Nicolas Thill e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Hauke Mehrtens 3f0dc5c30f brcm47xx: fix commit r18413 "128MB ram problem"
The patch commited in r18413 was wrong.
This patch prevents prom_init_mem from scanning over 128MB ram.
This is from #6765 and #3177

Refresh all patches

SVN-Revision: 20072
2010-03-08 22:03:00 +00:00
Hauke Mehrtens d29c671202 brcm47xx: add CONFIG_CMDLINE again
Fix for r19955
this patch was suggested by tripolar

SVN-Revision: 19967
2010-03-03 20:32:41 +00:00
Hauke Mehrtens 141d53ad07 brcm47xx: add support for kernel 2.6.33
Thanks to acoul and tripolar

SVN-Revision: 19955
2010-03-02 21:16:18 +00:00
Florian Fainelli 23b5d2b743 explicitely enable shared interrupt 2 for any core that did not a dedicated IRQ
Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
Also remove a bogus comment.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 19895
2010-02-28 11:09:44 +00:00
Hauke Mehrtens d503a25c83 remove unneeded patch
SVN-Revision: 19891
2010-02-28 10:21:04 +00:00
Hauke Mehrtens 0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Hauke Mehrtens 7524480b82 Fix build warnings
SVN-Revision: 19782
2010-02-20 19:31:34 +00:00
Hauke Mehrtens 046c32e6bf refresh patches
SVN-Revision: 19781
2010-02-20 19:31:13 +00:00
Travis Kemen 9afc4a1109 fix mistake, thanks xMff
SVN-Revision: 19620
2010-02-13 01:05:31 +00:00
Travis Kemen 2dc489505e sync kernel config, closes #6675
SVN-Revision: 19619
2010-02-13 00:53:21 +00:00
Travis Kemen f05d9d2e8e update brcm47xx to .32, thanks tripolar
SVN-Revision: 19592
2010-02-12 01:14:56 +00:00
Imre Kaloz 825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Imre Kaloz 0a52bc58f8 re-sort all target and subtarget config files
SVN-Revision: 19580
2010-02-11 08:55:15 +00:00
Felix Fietkau 863e3c739a replace the hostapd-mini preselection in profiles with wpad-mini
SVN-Revision: 19503
2010-02-03 03:45:38 +00:00
Felix Fietkau 2aa0d20756 replace the hostapd preselection with a wpad preselection to enable proper client mode support in the default images
SVN-Revision: 19293
2010-01-23 17:21:18 +00:00
Michael Büsch c97341b761 bcm47xx: Add basic 2.6.32 support.
SVN-Revision: 19062
2010-01-07 16:06:05 +00:00
Imre Kaloz 1fe38ff73b switch ixp4xx and ubicom32 to 2.6.30, get rid of 2.6.28 files
SVN-Revision: 18952
2009-12-27 21:28:02 +00:00
Florian Fainelli a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Felix Fietkau fa0396c530 kernel: move CONFIG_MIPS_FPU_EMU to generic kernel config
SVN-Revision: 18603
2009-11-29 14:31:55 +00:00
Hauke Mehrtens 6384a68295 Remove patches already applied in generic and refresh patches.
This fixes #6200

SVN-Revision: 18597
2009-11-29 12:09:42 +00:00
Jo-Philipp Wich 318140c209 add missing CONFIG_MIPS_FPU_EMU to kernel config
SVN-Revision: 18477
2009-11-22 14:54:26 +00:00
Hauke Mehrtens 30f859403a fix problem with 128MB ram.
This patch is out of broadcoms official source code

SVN-Revision: 18413
2009-11-13 20:32:47 +00:00
Imre Kaloz 6b280112f2 some more Kconfig symbol move..
SVN-Revision: 18371
2009-11-11 11:52:41 +00:00
Imre Kaloz 1d62d9a95c another round of kernel config cleanups
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Imre Kaloz ef42fb4c13 sort all target config files
SVN-Revision: 18367
2009-11-11 09:27:13 +00:00
Travis Kemen 72c103416c fix my typo
SVN-Revision: 18219
2009-10-30 01:08:11 +00:00
Travis Kemen a1021e8e64 add WRT350Nv1 target, thanks sn9
SVN-Revision: 18218
2009-10-30 01:05:37 +00:00
Florian Fainelli d4b251bdb8 update to 2.6.30.9
SVN-Revision: 18126
2009-10-23 12:10:25 +00:00
Andy Boyett c85a89348f move IMAGE_CMDLINE_HACK default to generic from targets
SVN-Revision: 17905
2009-10-05 17:05:34 +00:00
Gabor Juhos 054c54512f kernel: upgrade to 2.6.30.8 and refresh patches
SVN-Revision: 17804
2009-10-01 10:07:32 +00:00
Hauke Mehrtens 48d6cee53b remove deprecated warning
SVN-Revision: 17761
2009-09-27 13:52:14 +00:00
Hauke Mehrtens 99c3549ea3 Remove patches already included in mainline kernel.
SVN-Revision: 17735
2009-09-26 11:51:26 +00:00
Hauke Mehrtens 8673372e20 add patches for kernel 2.6.31
This is completly untested. Only a compile tests with the default config was done!

SVN-Revision: 17734
2009-09-26 11:48:48 +00:00
Hauke Mehrtens 6247141e78 refresh patches
SVN-Revision: 17733
2009-09-26 11:42:43 +00:00
Felix Fietkau 7a74903bba brcm47xx: switch to 2.6.30.7
SVN-Revision: 17732
2009-09-26 09:33:44 +00:00
Felix Fietkau 71595d7ce8 brcm47xx - add cache workarounds to 2.6.28 (merged from 2.6.30), fixes #4293, should fix #2374
SVN-Revision: 17710
2009-09-24 21:20:44 +00:00
Gabor Juhos 47c0d7419f kernel: get rid of the simple_prom_emulator, it is not really useful
SVN-Revision: 17567
2009-09-10 18:30:20 +00:00
Gabor Juhos d59f5b3a98 kernel: add generic image_cmdline hack to MIPS targets
SVN-Revision: 17563
2009-09-10 18:30:01 +00:00
Michael Büsch 2b71a6167f bcm47xx: Fix EHCI/OHCI dependencies
SVN-Revision: 17536
2009-09-06 21:15:12 +00:00
Michael Büsch daa3c84109 bcm47xx: Fix EHCI/OHCI dependencies
SVN-Revision: 17535
2009-09-06 20:55:01 +00:00
Michael Büsch caa8d2f9dc Fix merge error
SVN-Revision: 17534
2009-09-06 20:43:44 +00:00
Michael Büsch 1941a86b15 bcm47xx: Port usb fixes to .30
SVN-Revision: 17533
2009-09-06 20:25:11 +00:00
Michael Büsch bf95da61ac bcm47xx: Apply bcm5354 USB fix
SVN-Revision: 17531
2009-09-06 19:49:07 +00:00
Michael Büsch 82f1314a35 bcm47xx: Clean up USB patches
SVN-Revision: 17530
2009-09-06 19:31:14 +00:00
Hauke Mehrtens e59c6a8af2 refresh patches
SVN-Revision: 17268
2009-08-15 08:37:45 +00:00
Felix Fietkau f9df014859 add the 2.6.30 port of the cache workaround patch from #4293 (thx, acoul)
SVN-Revision: 16917
2009-07-19 11:44:54 +00:00
Imre Kaloz e01651285f rfkill config cleanup
SVN-Revision: 16471
2009-06-15 07:13:00 +00:00
Hauke Mehrtens af0d813825 refresh patches
SVN-Revision: 16445
2009-06-14 09:45:59 +00:00
Hauke Mehrtens 74705fe7eb Port to kernel 2.6.30.
There is an error in the unlzma system in the kernel.
A lzma compressed squashfs filesystem does not work for me.
This should compile and works for me on my Asus WL-500GP, please test it on more systems.

SVN-Revision: 16441
2009-06-13 21:20:53 +00:00
Florian Fainelli b1a364acca include ubsec_ssb in the WGT634U profile
SVN-Revision: 16440
2009-06-13 20:38:24 +00:00
Florian Fainelli 9000ed3e5c fix ssb irq setup, allows ubsec_ssb devices on Asus WL500GP and Netgear WGT634U to work, no side effects noticed on other devices
SVN-Revision: 16416
2009-06-11 07:57:53 +00:00
Jo-Philipp Wich 73eee8e138 add patches to workaround dcache realted fuse problems (#5186)
SVN-Revision: 16412
2009-06-11 02:10:41 +00:00
Florian Fainelli 03b7eda3c0 add watchdog driver (#5238)
SVN-Revision: 16381
2009-06-08 14:15:25 +00:00
Nicolas Thill b7ae5e7b7c brcm47xx: make input support modular (closes: #5174)
SVN-Revision: 16143
2009-05-28 15:54:18 +00:00
Felix Fietkau 5e8a99b2b8 brcm47xx: initialize mtd bankwidth to fix problems with DIR-320 and others (patch from #4729)
SVN-Revision: 15959
2009-05-21 12:01:44 +00:00
Imre Kaloz e965c02820 even more config file cleanup
SVN-Revision: 15913
2009-05-18 13:21:25 +00:00
Imre Kaloz 91e866f383 config cleanups
SVN-Revision: 15861
2009-05-15 10:40:04 +00:00
Imre Kaloz a9c958c2de make kernels use /etc/preinit by default
SVN-Revision: 15840
2009-05-14 10:20:53 +00:00
Hauke Mehrtens 81ebf13b9e Activate CONFIG_USB_EHCI_HCD_SSB and CONFIG_USB_OHCI_HCD_SSB only on brcm47xx.
SVN-Revision: 15807
2009-05-12 22:02:19 +00:00
Imre Kaloz e9b397805d some more kernel config cleanup.. last for today :)
SVN-Revision: 15606
2009-05-04 20:57:02 +00:00
Imre Kaloz 0f2b1d070a more cleanup
SVN-Revision: 15605
2009-05-04 20:31:47 +00:00
Imre Kaloz a614251e6c cleanup MTD option handling
SVN-Revision: 15602
2009-05-04 19:13:43 +00:00
Imre Kaloz 38c5311047 move MFD stuff to the generic kernel configs
SVN-Revision: 15587
2009-05-04 13:51:29 +00:00
Imre Kaloz 64fbade939 refresh patches
SVN-Revision: 15581
2009-05-04 11:35:08 +00:00
Imre Kaloz 86a4a6edb9 upgrade to newest stable kernel versions
SVN-Revision: 15575
2009-05-03 16:58:06 +00:00
Florian Fainelli 35fd7d6d20 use vmalloc instead of kmalloc when reserving space for the lzma initramfs (#3488)
SVN-Revision: 15534
2009-05-01 09:23:31 +00:00
Felix Fietkau 4f88f8de81 brcm47xx: remove 2.6.25 support
SVN-Revision: 15448
2009-04-27 15:47:46 +00:00
Jo-Philipp Wich d607443fdb add nvram to default packages
SVN-Revision: 15438
2009-04-27 13:00:27 +00:00
Felix Fietkau a0c097720d brcm47xx: 2.6.28 was accidentally committed with the old (and conceptually broken) b44 phy fix. replace it with my cleaned up version from 2.6.25 (thx, netprince)
SVN-Revision: 15351
2009-04-23 14:27:16 +00:00
Florian Fainelli a9f97c3def correctly set mapbase while registering the UART (#4622)
SVN-Revision: 15255
2009-04-19 13:43:00 +00:00
Florian Fainelli e88aa94e42 finally fix boot failures on buffalo devices, tested on WHR-HP-G54 and WRT54GS v1.1 with no side effects (#4061)
SVN-Revision: 15232
2009-04-17 09:22:02 +00:00
Florian Fainelli 4bd65101ad do not override CONFIG_CONFIGFS_FS in a few places, and make gpiommc be selectable with the spio-gpio-old module (#4659)
SVN-Revision: 15215
2009-04-12 12:54:38 +00:00
Felix Fietkau 908e5f64bf b44: use netdev_alloc_skb
SVN-Revision: 15159
2009-04-08 16:57:52 +00:00
Hauke Mehrtens 62595883fb update to kernel version 2.6.28.9
SVN-Revision: 15017
2009-03-24 15:06:53 +00:00
Michael Büsch 7ddf197c26 bcm47xx: Fix compilation on non-PCI configs.
SVN-Revision: 14919
2009-03-17 16:45:23 +00:00
Imre Kaloz af65816d5d update other 2.6.28.7 targets to 2.6.28.8, too
SVN-Revision: 14917
2009-03-17 12:53:22 +00:00
Hauke Mehrtens 4c548fbaca refresh patches and configuration
SVN-Revision: 14722
2009-03-01 20:19:55 +00:00
Felix Fietkau 745ccfb97e nuke some wgt634u specific crap that was introduced upstream
SVN-Revision: 14619
2009-02-22 17:14:28 +00:00
Felix Fietkau 11014b5cea disable all kernel config options that are set to =m
SVN-Revision: 14611
2009-02-22 04:44:24 +00:00
Hauke Mehrtens 3f085cd501 update to 2.6.28.7 and 2.6.27.19
SVN-Revision: 14601
2009-02-21 18:53:05 +00:00
Markus Wigge 5585f5fe56 new upstream kernel 2.6.28.6
SVN-Revision: 14551
2009-02-18 17:37:54 +00:00
Michael Büsch e996ce246c Fix bcm47xx GPIO dirin/dirout API return codes.
SVN-Revision: 14509
2009-02-14 20:22:31 +00:00
Markus Wigge 7b6340f016 changed default kernel to 2.6.28.5, it at least runs on Asus WL-500g Premium. The earlier version 2.6.28.4 is also running on WRT54G3G so I don't expect any trouble here.
SVN-Revision: 14501
2009-02-13 17:37:57 +00:00
Michael Büsch 93e6c7a1db bcm47xx: Implement the remaining parts of PMU init.
SVN-Revision: 14394
2009-02-03 18:18:15 +00:00
Michael Büsch 629188123c bcm47xx: Rename all SSB_PLLRES_ to SSB_PMURES_
SVN-Revision: 14374
2009-02-02 20:04:22 +00:00
Michael Büsch 5e48d8268e bcm47xx: Implement 4312 and part of 4325 PLL init.
SVN-Revision: 14373
2009-02-02 20:00:04 +00:00
Michael Büsch 9494e946a9 bcm47xx: Implement the remaining PMU resource inits.
SVN-Revision: 14350
2009-02-01 20:20:49 +00:00
Michael Büsch d070eb4c91 bcm47xx: Add support for the 5354 PMU.
SVN-Revision: 14347
2009-02-01 18:55:36 +00:00
Felix Fietkau 4f5b45e3c2 b44: fix misalignment and space-saving in rx packet handling (significant throughput and cpu load improvement)
SVN-Revision: 13946
2009-01-09 03:06:37 +00:00
Felix Fietkau 64c35d0942 nuke old 2.6.23 code for brcm47xx
SVN-Revision: 13910
2009-01-06 22:38:38 +00:00
Felix Fietkau c2b878a384 add initial 2.6.28 support for brcm47xx target
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 13909
2009-01-06 22:36:41 +00:00
Andy Boyett 9f8c82da09 Add hostapd-mini to default images where applicable
SVN-Revision: 13819
2009-01-02 05:12:46 +00:00
Florian Fainelli c35ed149b9 Fix the default negotiation to be 10Mbits HD on some devices (#4224)
SVN-Revision: 13610
2008-12-12 00:59:47 +00:00
Imre Kaloz a695fa76a4 move THERMAL symbols into the generic config
SVN-Revision: 13346
2008-11-25 13:52:25 +00:00
Gabor Juhos 88cda758c3 update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patch by Hauke Mehrtens * closes #4193
SVN-Revision: 13192
2008-11-12 17:49:01 +00:00
Florian Fainelli ce1ab6d41c Build b43, b43legacy and ath9k for kernels >= 2.6.27 from mac80211. Include b43legacy by default in the Generic bcm47xx profile (#4179)
SVN-Revision: 13164
2008-11-09 22:42:36 +00:00
Gabor Juhos d35bad03e3 update to 2.6.25.19, and refresh patches
SVN-Revision: 13137
2008-11-07 08:44:56 +00:00
Felix Fietkau 541ee4ea5e turn the wrtsl54gs workaround into a more generic fix and reduce the chance of it introducing any breakage
SVN-Revision: 13098
2008-11-02 23:08:42 +00:00
Gabor Juhos 0b31ea9d82 fix boot failure on some boards
SVN-Revision: 13013
2008-10-20 06:31:04 +00:00
Felix Fietkau 1e570a9288 change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
SVN-Revision: 13010
2008-10-18 21:43:30 +00:00
Peter Denison 3edacc961c Add workaround for eth0/1 PHY on WRTSL54GS
SVN-Revision: 12829
2008-10-02 22:22:46 +00:00
Andy Boyett c514c50057 create a profile for brcm47xx and ixp4xx
SVN-Revision: 12744
2008-09-27 20:16:16 +00:00
Andy Boyett 74a598a426 make b43 the default profile
SVN-Revision: 12743
2008-09-27 20:15:51 +00:00
Gabor Juhos 821170133f update to 2.6.26.5 and 2.6.25.17
SVN-Revision: 12718
2008-09-26 18:46:53 +00:00
Nicolas Thill 3029c2fd53 disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable it on targets where USB is supported
SVN-Revision: 12690
2008-09-24 19:28:53 +00:00
Gabor Juhos 184c6b06f2 update to 2.6.26.3 and 2.6.25.16
SVN-Revision: 12371
2008-08-22 15:37:19 +00:00
Gabor Juhos 0f18ecf43e refresh 2.6.23 patches
SVN-Revision: 12311
2008-08-14 18:05:37 +00:00
Florian Fainelli 2e71a90347 Now we have b43 working in master mode, include b43 in the profile (#3827)
SVN-Revision: 12301
2008-08-13 19:42:07 +00:00
Gabor Juhos e5fa05d788 update to 2.6.25.15 and 2.6.26.2
SVN-Revision: 12242
2008-08-07 16:52:52 +00:00
Gabor Juhos 104b3386a2 update to 2.6.25.12
SVN-Revision: 11933
2008-07-26 10:53:23 +00:00
Gabor Juhos e6baf82abd fix compile error (closes #3799)
SVN-Revision: 11907
2008-07-22 11:22:41 +00:00
Michael Büsch 204728376c Update gpiommc to use configfs
SVN-Revision: 11887
2008-07-20 19:34:09 +00:00
Florian Fainelli 5cdb5c0c6f Disable ubsec ssb by default on WGT634U until it gets fixed
SVN-Revision: 11846
2008-07-16 09:58:52 +00:00
Florian Fainelli 651a729a9c Include ubsec ssb in the WGT634U profile
SVN-Revision: 11842
2008-07-15 17:15:58 +00:00
Peter Denison 571e979829 On embedded devices we must not route the interrupts through the PCI core, if our host-bus is not PCI Reported-by: Steve Brown <sbrown@cortland.com> Signed-off-by: Michael Buesch <mb@bu3sch.d>
SVN-Revision: 11750
2008-07-08 17:50:40 +00:00
Imre Kaloz 492ba57b56 update targets to 2.6.25.10
SVN-Revision: 11667
2008-07-05 16:52:15 +00:00
Imre Kaloz dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
2008-06-26 14:28:16 +00:00
Gabor Juhos 4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
2008-06-17 12:57:04 +00:00
Peter Denison d92a009382 Fix TG3 build. Thanks Hauke Mehrtens
SVN-Revision: 11510
2008-06-16 19:06:14 +00:00
Imre Kaloz 2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Peter Denison 79d7e096c7 Update 2.6.25 config
SVN-Revision: 11349
2008-06-03 21:44:25 +00:00
Peter Denison 4ac8341734 Build against 2.6.25.4
SVN-Revision: 11347
2008-06-03 21:43:20 +00:00
Peter Denison 3f229c3415 Remove obsolete CFE workaround, now proper fix went in r11275
SVN-Revision: 11276
2008-05-27 15:08:34 +00:00
Florian Fainelli 420a402048 Add a WL500GPv1 profile (#3395)
SVN-Revision: 11243
2008-05-22 20:29:47 +00:00
Peter Denison 7cf7b7a1a8 Revert last 3 commits made in error. Proper versions will come later
SVN-Revision: 11229
2008-05-20 21:38:04 +00:00
Peter Denison 888d46ac87 Build brcm47xx against 2.6.25.1
SVN-Revision: 11228
2008-05-20 21:21:29 +00:00
Peter Denison 19f15b44ea Update generic-2.6 and brcm47xx 2.6.25 configs
SVN-Revision: 11227
2008-05-20 21:21:23 +00:00
Gabor Juhos 4da0e6f235 refresh kernel patches
SVN-Revision: 11200
2008-05-19 08:08:23 +00:00
Peter Denison a9a321d21c Fix kmap_coherent use on 2.6.25 kernels
SVN-Revision: 11191
2008-05-18 21:31:41 +00:00
Gabor Juhos f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
2008-05-18 20:12:54 +00:00
Peter Denison 79aed699d7 Remove files now present upstream in files-2.6.25 (This is mostly just drivers/ssb and include/linux/ssb) [brcm47xx] Regenerate patches against 2.6.25.1 kernel+files set Default is still to build against 2.6.23.16
SVN-Revision: 11155
2008-05-16 19:25:20 +00:00
Nicolas Thill e3a42b23c6 enable proper PCI & USB support detection at config-time by disabling CONFIG_PCI & CONFIG_USB entries in generic/config and enabling them on targets where appropriate
SVN-Revision: 11097
2008-05-09 17:08:51 +00:00
Gabor Juhos 9b7ea0451a fix GENERIC_GPIO support
SVN-Revision: 11004
2008-05-02 07:24:24 +00:00
Andy Boyett dd7e10d541 Disable CONFIG_CONNECTOR in config-2.6.23 - Unused, disabling precludes Kconfig prompt for CONFIG_W1_CON
SVN-Revision: 10994
2008-05-01 16:07:29 +00:00
Nicolas Thill c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
2008-04-27 12:31:50 +00:00
Peter Denison b6b6155ec8 First step to upgrade of brcm47xx to kernel version 2.6.25
SVN-Revision: 10939
2008-04-25 20:49:40 +00:00
Andy Boyett 903bb917fc Fix b44 phyaddr by applying the PHY-address mask. Closes #3712 - Adapted from patch by Michael Buesch on the linux-netdev mailing list.
SVN-Revision: 10649
2008-03-23 04:27:04 +00:00
Michael Büsch 12b5a779b9 linux-2.6: Add a driver to run an MMC or SD card over a GPIO based SPI interface.
SVN-Revision: 10637
2008-03-21 16:52:27 +00:00
Michael Büsch 2aefffe565 bcm47xx: Fix warning arch/mips/bcm947xx/irq.c: In function 'pcibios_map_irq': arch/mips/bcm947xx/irq.c:78: warning: passing argument 1 of 'pci_name' discards qualifiers from pointer target type
SVN-Revision: 10626
2008-03-19 11:55:31 +00:00
Michael Büsch c7ac9d3282 bcm47xx: Register a GPIODEV platform device to allow GPIO access via /dev/gpio
SVN-Revision: 10623
2008-03-19 10:35:56 +00:00
Michael Büsch d3cf33a4ae bcm47xx: Fix GPIO data direction output bit assignment
SVN-Revision: 10605
2008-03-15 20:52:02 +00:00
Michael Büsch 17a2ed51cc Update cleanups of ssb-gige
SVN-Revision: 10597
2008-03-13 14:46:27 +00:00
Michael Büsch 53d0423381 SSB-GigE: Fix IRQ routing. This makes the device work. Yay! :)
SVN-Revision: 10532
2008-02-28 11:34:36 +00:00
Michael Büsch a9cddc69ec Fix the roboswitch code for the WRT350N
SVN-Revision: 10531
2008-02-27 22:35:41 +00:00
Michael Büsch 3243f7af8c More SSB GigE fixes.
SVN-Revision: 10521
2008-02-23 19:07:12 +00:00
Michael Büsch 19477a56a9 bcm47xx: Add driver for the SSB Gigabit Ethernet core. It doesn't work, yet, but let's commit what we have.
SVN-Revision: 10509
2008-02-20 17:56:24 +00:00
Michael Büsch e7e5ebd0c2 ssb: Fix the horrible crash of innocent cardbus cards.
No Animals were harmed in the production of this patch.

SVN-Revision: 10497
2008-02-19 16:50:12 +00:00
Michael Büsch faa14263f5 ssb: Make the GPIO API reentrancy safe.
SVN-Revision: 10496
2008-02-19 15:22:17 +00:00
Michael Büsch 66dec6d8a1 ssb: Update the GPIO API
SVN-Revision: 10495
2008-02-19 13:52:57 +00:00
Michael Büsch 27e288859c SSB: Update the watchdog fix to the patch version that will go upstream.
SVN-Revision: 10494
2008-02-19 11:58:20 +00:00
Michael Büsch d3c63338b7 ssb: Move the generic ssb fixes patch to the generic kernel.
This should fix SSB for people using a b43 card on a non-47xx machine.

SVN-Revision: 10492
2008-02-19 01:43:02 +00:00
Michael Büsch 6119a6dfed ssb: Workaround: Need subsys_initcall to be able to register a PCI bus.
This needs a different fix, but use this workaround for now.

SVN-Revision: 10491
2008-02-19 01:32:06 +00:00
Michael Büsch c57ca284ce ssb: Update to latest upstream version of ssb.
SVN-Revision: 10490
2008-02-19 01:24:18 +00:00
Andy Boyett 7b2430f271 Patch for extif watchdog support. Thanks b.sander. Closes #2363 #2814 and #3141
SVN-Revision: 10489
2008-02-19 00:26:12 +00:00
Michael Büsch 1d699f3198 ssb: Fix serial console on new 47xx devices.
SVN-Revision: 10485
2008-02-18 20:41:17 +00:00
Michael Büsch 5aeceaa296 bcm47xx: We can use the ssb-invariants callback now, as was changed to be called late enough.
SVN-Revision: 10476
2008-02-17 13:06:45 +00:00
Michael Büsch f116c50a80 bcm47xx: Remove FIXME We don't want to move the board time init into SSB. It's just fine as-is. Remove the FIXME.
SVN-Revision: 10474
2008-02-17 11:59:28 +00:00
Michael Büsch 37a2dfbcf5 bcm47xx: Extract all available information from NVRAM into the sprom data structure.
SVN-Revision: 10473
2008-02-16 23:35:31 +00:00
Michael Büsch 939ceadf76 Fix support for PCI devices behind a SSB->PCI bridge.
SVN-Revision: 10468
2008-02-16 17:09:50 +00:00
Imre Kaloz 3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
2008-02-11 10:50:40 +00:00
Felix Fietkau c9125a8bf5 add brcm47xx patch by crazy_imp to fix a patch chunk for drivers/Makefile
SVN-Revision: 10279
2008-01-27 14:49:55 +00:00
Florian Fainelli cf1c2554e7 Enable SSB ohci driver (#2828)
SVN-Revision: 9699
2007-12-10 10:14:53 +00:00
Florian Fainelli 17bd097fcc Add bcm5354 patches from #2757
SVN-Revision: 9685
2007-12-09 16:11:52 +00:00
Felix Fietkau 6874422e54 fix wl-700gE ide init (patch by biblbroks, fixes #2686)
SVN-Revision: 9560
2007-11-16 03:11:30 +00:00
Felix Fietkau 1a92f058ca add lzma compressed initramfs for bcm947xx
SVN-Revision: 9559
2007-11-16 03:11:27 +00:00
Florian Fainelli 72f30a2ea0 Add bcm5354 fixes from #2611
SVN-Revision: 9547
2007-11-13 07:38:39 +00:00
Felix Fietkau 1eb35dd1c8 add b43 fixes from #2677
SVN-Revision: 9535
2007-11-11 11:44:59 +00:00
Florian Fainelli 486492b407 We are now at .23.1
SVN-Revision: 9415
2007-10-23 08:13:12 +00:00
Felix Fietkau a3c1000f0f fix i2c-gpio
SVN-Revision: 9309
2007-10-14 05:04:23 +00:00
Felix Fietkau fd811bf54c sync ssb with upstream
SVN-Revision: 9302
2007-10-14 02:47:36 +00:00
Felix Fietkau 465ae7a447 Finally fix the annoying BCM4704 segfault issues (#2035) - tested with WL-500gP Thanks to jhansen and Wolfram Joost for the fixes and to ryd for the test hardware. Seems like the user space segfaults actually came from this patch: http://lkml.org/lkml/2006/12/12/158
SVN-Revision: 9285
2007-10-13 10:02:27 +00:00
Felix Fietkau 30777ac989 add patches for 2.6.23 on brcm47xx (not enabled yet)
SVN-Revision: 9279
2007-10-13 02:04:37 +00:00
Nicolas Thill 5f0272d618 move crypto support to a seperate crypto.mk file, split modules into multiple packages and adjust dependencies, sync crypto options in kconfigs.
SVN-Revision: 8980
2007-09-23 15:12:12 +00:00
Nicolas Thill fec4d9ee3c add missing 2.6 conntrack/nat helpers, add 2.6 conntrack/nat helper for RTSP (closes: #2297, thanks to aorlinsk), sync 2.4 / 2.6 kconfigs.
SVN-Revision: 8955
2007-09-22 18:37:24 +00:00
Felix Fietkau 236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
2007-09-19 20:58:16 +00:00
Felix Fietkau 87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau 22742b2d7e remove some obsolete files
SVN-Revision: 8654
2007-09-06 16:40:36 +00:00
Felix Fietkau 56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00