Commit Graph

135 Commits (60cadb2baeccf8fd58c7a39cfabba9a328788657)

Author SHA1 Message Date
Felix Fietkau d6b78c826a (5/6) bcm57xx: bcm4785 incomplete reboot
I noticed my wrt350n would not reliably reboot after entering
the reboot command.  I found this code in the source for the
wrt600n.  It corrects the problem, and the wrt350n reboots
reliably now.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:43 +00:00
Felix Fietkau 0c1bbd505a (3/6) bcm57xx: preinit
This patch allows the bcm57xx module to work correctly with failsafe mode.

insmod doesn't return an error when a module loads but doesn't detect a switch.
I added the check_module function to load the module, then make sure
it doesn't just exit immediately.  This allows preinit to only attempt to
load the bcm57xx module when switch-robo and switch-adm dont detect a switch.

The activate_gpio parameter to bcm57xx simply instructs the module to attempt
to activate the switch via gpio before probing for the switch.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:13 +00:00
Felix Fietkau 7675a31a53 (2/6) bcm57xx: netconfig
Update the netconfig script to support boardtype 0x478.  I've tested this
on the wrt350n, hopefully it will match the 600n as well.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:09:49 +00:00
Peter Denison 1ec4775896 [brcm-2.4 and brcm47xx] Include missing part of r11275. Fix fw_argX from CFE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-03 19:29:53 +00:00
Peter Denison b5b0a21047 Don't nuke fw_argX from CFE - Thanks jhansen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-27 15:01:07 +00:00
Gabor Juhos f5dad7a7a9 [brcm-2.4] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 13:45:06 +00:00
Travis Kemen d62655369c This patch lets netconfig support the asus wl-500w. Signed-off-by: Ben Pfountz <netprince@vt.edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 01:30:14 +00:00
Andy Boyett 698aeff1cb Add a generic Broadcom USB profile.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-31 08:05:30 +00:00
Andy Boyett ceb7720c8d Change WL500gP profile to use uhci-iv (#1589)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-31 08:05:13 +00:00
Andy Boyett 1e63aa3206 Add support for the WL-500gP v2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-31 08:04:56 +00:00
Felix Fietkau 110dc41eb3 add wrt350n image file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-16 03:39:59 +00:00
Florian Fainelli e1826d74ea Add back Sitecom WL-105b support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-08 14:27:48 +00:00
Felix Fietkau 19887d557e update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom-wl to a contributed version (v4.150.10.5) - no bcm57xx support yet, will follow shortly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-06 19:28:07 +00:00
Imre Kaloz a194bf7f27 bump version numbers of Linksys images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 21:28:56 +00:00
Florian Fainelli 92368e2f85 Add bcm5354 patch from #2754
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 15:51:45 +00:00
Felix Fietkau 95145c4dd9 create broadcom initramfs images and move the lzma decompressor area a bit further
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:11:17 +00:00
Felix Fietkau 62ccdcedae make the image filenames a bit shorter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 23:08:11 +00:00
Felix Fietkau 6c83354576 update wrt54g3g pattern version, add wrt54g3g-em pattern (#2663)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 15:45:38 +00:00
Jens Muecke 3131f64f07 fix missing CONFIG_USB_BLUETOOTH issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-03 22:32:54 +00:00
Gabor Juhos 9233c3cdb9 get rid of per-profile base-files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 14:27:54 +00:00
Gabor Juhos 32c472cf55 [brcm-2.4] fix vlan configuration on Dell TrueMobile 2300
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-25 08:34:30 +00:00
Nicolas Thill c5ea115a4e refresh brcm-2.4 kconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 15:06:15 +00:00
Felix Fietkau dab23ede10 clean up jffs2 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 20:58:16 +00:00
Florian Fainelli a4e9788328 Add preliminary support for sysupgrade on brcm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 19:18:02 +00:00
Felix Fietkau 6665a2c1dc adapt profiles for subtarget changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 20:04:43 +00:00
Felix Fietkau 6bcd07afdd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Felix Fietkau 3db862b60e fix pci init for brcm-2.4 with atheros wifi cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 13:39:34 +00:00
Felix Fietkau 06f0f49199 remove some obsolete files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:40:36 +00:00
Felix Fietkau 92558d67a4 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00
Mike Baker 88cd2ada07 workaround for timer glitch on some boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 13:18:58 +00:00
Mike Baker 4585158028 fix wan configuration on wr850g v2/v3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 12:27:01 +00:00
Florian Fainelli f3636a68f5 Add usb-keyspan modules (#2229)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-21 09:42:25 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Felix Fietkau 5268bc8e01 add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-04 04:35:44 +00:00
Felix Fietkau a2a0717b73 move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 21:09:02 +00:00
Felix Fietkau 6e7133b948 make the broadcom firmware image code more sane and also fix jffs2-256k related bugs (#1888)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 15:36:31 +00:00
Felix Fietkau c209060116 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 08:32:25 +00:00
Florian Fainelli f8a6c0cdbd Really apply the esfq patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-13 19:12:44 +00:00
Florian Fainelli b4b5a416c7 Resync brcm-2.4 kernel config and enable syncookies (#1876)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-13 18:50:51 +00:00
Imre Kaloz 43a7635fcf enable image generation for the WRT150N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 09:26:40 +00:00
Felix Fietkau ae8db89239 fix pcmcia/pccard build defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-19 16:16:48 +00:00
Felix Fietkau e82efeea82 Fix broadcom squashfs images:
We switched over to appending the jffs2 eof mark to the squashfs images, 
but since the squashfs is not always aligned to eraseblocksize, the eof
mark landed in the wrong place. This commit adds an extra flag to the
trx utility that can append extra data to a partition with alignment.
This is used to place the jffs2 eof mark at the right offset.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15 18:41:48 +00:00
Mike Baker 46201c4ab4 cleanup the broadcom preinit.arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 16:29:15 +00:00
Felix Fietkau aae7ed7510 minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 14:43:52 +00:00
Mike Baker 09cdbc40d0 unified preinit environment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 14:37:47 +00:00
Felix Fietkau bf66a3b2cd broadcom: rename the OpenWrt partition to rootfs_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 12:38:31 +00:00
Felix Fietkau 16a69e7c50 bring up the ethernet driver before loading the switch drivers on broadcom (fixes #1520)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-07 17:37:05 +00:00
Felix Fietkau ca72256a5d revert to the previous version of the flash map driver - committed the wrong one in [7092]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-06 18:30:53 +00:00
Felix Fietkau 4e4050b160 use hotplug2 for serializing hotplug events on 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05 18:33:18 +00:00
Felix Fietkau c45e20eefa add wl-hdd ide workaround from #272
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-04 22:14:14 +00:00