Commit Graph

271 Commits (bd2731afb91e67a35d3b56a833d864c1109c9f36)

Author SHA1 Message Date
Hauke Mehrtens a7b7ba5ace 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:35:59 +00:00
Hauke Mehrtens 0436bd78c7 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:31:05 +00:00
Hauke Mehrtens 502ee787f9 brcm47xx: this patch went upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-16 19:26:55 +00:00
Hauke Mehrtens 738117eb86 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 16:07:21 +00:00
Hauke Mehrtens e508b3c1c9 brcm47xx: do not read from CFE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:20:26 +00:00
Hauke Mehrtens a3239da586 brcm47xx: backport patch from kernel 2.6.37
Backport patches from r24162
  brcm47xx: reorder patches like they were commitet upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:19:50 +00:00
Hauke Mehrtens 91e32e19b5 brcm47xx: use on common files dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 18:34:58 +00:00
Hauke Mehrtens d0757421a7 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 21:27:54 +00:00
Hauke Mehrtens bdbecf3d94 brcm47xx: remove support for old kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 14:08:04 +00:00
Hauke Mehrtens 45eb335e69 brcm47xx: use kernel 2.6.36.1 as new default kernel for this target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 14:05:31 +00:00
Hauke Mehrtens dda4cd04a8 brcm47xx: reorder patches like they were commitet upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-27 22:47:11 +00:00
Alexandros C. Couloumbis b81b083038 linux/brcm47xx: sync yhe BCM4710 fix with the upcoming upstream patch.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 16:41:34 +00:00
Alexandros C. Couloumbis 3a8a1fbdef linux/brcm47xx: add missing patch on r24112
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 14:12:42 +00:00
Alexandros C. Couloumbis c23334b19f linux/brcm47xx: Broadcom BCM4710 does not belong in the BMIPS4KC family.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 14:08:41 +00:00
Alexandros C. Couloumbis f79f7db679 linux/brcm47xx: properly fix r24096
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 18:16:55 +00:00
Alexandros C. Couloumbis 747f25570e 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 17:17:15 +00:00
Alexandros C. Couloumbis c7dfea4b17 linux/brcm47xx: include a missing 2.6.37 file (thank you hauke)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-11 08:49:52 +00:00
Hauke Mehrtens 60d9f14774 brcm47xx: missing in r23949
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-10 19:12:49 +00:00
Hauke Mehrtens c30285638d brcm47xx: CONFIG_HAMRADIO=n makes no sense
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-10 19:11:24 +00:00
Alexandros C. Couloumbis 9c90dce828 linux/brcm47xx: add preliminary 2.6.37 kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-10 19:01:07 +00:00
Hauke Mehrtens b9454a94c5 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-07 13:44:48 +00:00
Florian Fainelli cea547a185 Revert "[brcm47xx] Add support for cores with slow WDT clock (bcm5354)"
This reverts commit 7467fdab387f451082c15d17ce9ae4d91d74b6ca.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-19 07:07:10 +00:00
Florian Fainelli 3cf8112104 [brcm47xx] Add support for cores with slow WDT clock (bcm5354)
Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 19:49:48 +00:00
Alexandros C. Couloumbis 108f9953b7 linux/brcm47xx: fix an initialization issue on 2.6.36 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-11 12:37:16 +00:00
Hauke Mehrtens 1e0d2eaad3 brcm47xx: add patches for kernel 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 20:11:03 +00:00
Imre Kaloz 4bf29e323c [kernel]: upgrade kernel versions to the latest stable ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 10:40:41 +00:00
Florian Fainelli 7a32d5d9e3 [kernel] update to 2.6.34.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:08:37 +00:00
Hauke Mehrtens 3de7c99eb3 kernel: update kernel version to 2.6.34.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 13:26:06 +00:00
Hauke Mehrtens 2f75adb302 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15 18:23:17 +00:00
Alexandros C. Couloumbis c0f1d81367 brcm47xx/patches-2.6.35: Allow SSB EHCI/OHCI drivers to co-exist (thank you Steve Brown)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-15 16:30:00 +00:00
Hauke Mehrtens 93f455155a brcm47xx: do not generate image for wgr614_v8 as long as we did not get any positive reports with that device.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 22:50:58 +00:00
Hauke Mehrtens c9d8571734 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 20:21:32 +00:00
Hauke Mehrtens 40174d507d 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 20:35:53 +00:00
Hauke Mehrtens 9f9c679032 brcm47xx: some checkpatch fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 10:06:05 +00:00
Hauke Mehrtens 87eeb0b179 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 10:05:29 +00:00
Hauke Mehrtens 43aabdf185 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 21:19:49 +00:00
Markus Wigge 520b6d0ce0 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 15:37:37 +00:00
Hauke Mehrtens 66c0bfc0f2 brcm47xx: now hopfully realy commit the right things from r22385
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-25 16:10:51 +00:00
Hauke Mehrtens 09b2a7e5da brcm47xx: add missing part from r22385
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-25 16:07:40 +00:00
Hauke Mehrtens 1e15a46d4e brcm47xx: fill the whole sprom with data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 23:25:06 +00:00
Hauke Mehrtens 9b5ae82f49 brcm47xx: fix for boardflags by xMff
and checkpatch.pl fixes


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 19:41:17 +00:00
Hauke Mehrtens d51f2bc4b0 brcm47xx: write boardflags correct into sprom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 21:45:29 +00:00
Hauke Mehrtens df0e3483ac brcm47xx: prepare brcm47xx patches for sending to mainline.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 20:25:20 +00:00
Hauke Mehrtens 2610484840 brcm47xx: remove kernel 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 20:07:24 +00:00
Hauke Mehrtens 20a234a7d7 brcm47xx: activate swap again and run make oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 20:01:46 +00:00
Daniel Dickinson de82c5a782 [brcm47xx]: target (base-files): Fixed failsafe mode by adding back insmod diag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 02:46:03 +00:00
Hauke Mehrtens 422138d2f3 brcm47xx: use kernel 2.6.34.1 as default kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:40:45 +00:00
Felix Fietkau 8f413218ba brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 12:17:41 +00:00
Felix Fietkau b446b881a9 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 00:48:37 +00:00
Markus Wigge 36b02072c5 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 16:26:24 +00:00