Commit Graph

152 Commits (e1079c515a1d2ff08d829e11de6827741d2154f7)

Author SHA1 Message Date
Felix Fietkau 20937ce81a (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>

SVN-Revision: 11470
2008-06-15 11:10:43 +00:00
Felix Fietkau 9621d872ca (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>

SVN-Revision: 11468
2008-06-15 11:10:13 +00:00
Felix Fietkau f9ad520e37 (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>

SVN-Revision: 11467
2008-06-15 11:09:49 +00:00
Peter Denison 473d5705bd Include missing part of r11275. Fix fw_argX from CFE
SVN-Revision: 11340
2008-06-03 19:29:53 +00:00
Peter Denison c9f6d43927 Don't nuke fw_argX from CFE - Thanks jhansen
SVN-Revision: 11275
2008-05-27 15:01:07 +00:00
Gabor Juhos 8932b397b8 refresh kernel patches
SVN-Revision: 11214
2008-05-19 13:45:06 +00:00
Travis Kemen 0d25337129 This patch lets netconfig support the asus wl-500w. Signed-off-by: Ben Pfountz <netprince@vt.edu>
SVN-Revision: 11070
2008-05-08 01:30:14 +00:00
Andy Boyett 0ed1824fa1 Add a generic Broadcom USB profile.
SVN-Revision: 10695
2008-03-31 08:05:30 +00:00
Andy Boyett a2ccc5b790 Change WL500gP profile to use uhci-iv (#1589)
SVN-Revision: 10694
2008-03-31 08:05:13 +00:00
Andy Boyett c15de3860c Add support for the WL-500gP v2
SVN-Revision: 10693
2008-03-31 08:04:56 +00:00
Felix Fietkau 85a1127f2d add wrt350n image file
SVN-Revision: 10205
2008-01-16 03:39:59 +00:00
Florian Fainelli a4ca693c7e Add back Sitecom WL-105b support
SVN-Revision: 10142
2008-01-08 14:27:48 +00:00
Felix Fietkau 178721f76b 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
SVN-Revision: 10137
2008-01-06 19:28:07 +00:00
Imre Kaloz f031f4c7dc bump version numbers of Linksys images
SVN-Revision: 10097
2008-01-03 21:28:56 +00:00
Florian Fainelli dc36fccfdc Add bcm5354 patch from #2754
SVN-Revision: 9684
2007-12-09 15:51:45 +00:00
Felix Fietkau bf0dd24627 create broadcom initramfs images and move the lzma decompressor area a bit further
SVN-Revision: 9556
2007-11-16 03:11:17 +00:00
Felix Fietkau 1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
Felix Fietkau fe6294e21c update wrt54g3g pattern version, add wrt54g3g-em pattern (#2663)
SVN-Revision: 9523
2007-11-10 15:45:38 +00:00
Jens Muecke fcdf364d10 fix missing CONFIG_USB_BLUETOOTH issue
SVN-Revision: 9494
2007-11-03 22:32:54 +00:00
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
2007-09-29 14:27:54 +00:00
Gabor Juhos a3c80a1e6e fix vlan configuration on Dell TrueMobile 2300
SVN-Revision: 9015
2007-09-25 08:34:30 +00:00
Nicolas Thill 1e758b6e05 refresh brcm-2.4 kconfig
SVN-Revision: 8949
2007-09-22 15:06:15 +00:00
Felix Fietkau 236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
2007-09-19 20:58:16 +00:00
Florian Fainelli 1d7dc11649 Add preliminary support for sysupgrade on brcm
SVN-Revision: 8718
2007-09-09 19:18:02 +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 75f1024d48 fix pci init for brcm-2.4 with atheros wifi cards
SVN-Revision: 8690
2007-09-08 13:39:34 +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
Mike Baker 7ab328b133 workaround for timer glitch on some boards
SVN-Revision: 8483
2007-08-25 13:18:58 +00:00
Mike Baker c6e6780624 fix wan configuration on wr850g v2/v3
SVN-Revision: 8482
2007-08-25 12:27:01 +00:00
Florian Fainelli be8bb854f9 Add usb-keyspan modules (#2229)
SVN-Revision: 8450
2007-08-21 09:42:25 +00:00
Felix Fietkau c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Felix Fietkau 114b9a8fb6 add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment
SVN-Revision: 7870
2007-07-04 04:35:44 +00:00
Felix Fietkau 5e7cb507cd 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
SVN-Revision: 7810
2007-06-30 21:09:02 +00:00
Felix Fietkau 7e4f2dbf66 make the broadcom firmware image code more sane and also fix jffs2-256k related bugs (#1888)
SVN-Revision: 7731
2007-06-25 15:36:31 +00:00
Felix Fietkau 8c41e51e92 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
SVN-Revision: 7722
2007-06-25 08:32:25 +00:00
Florian Fainelli 1c7ab50199 Really apply the esfq patch
SVN-Revision: 7623
2007-06-13 19:12:44 +00:00
Florian Fainelli 027b61b790 Resync brcm-2.4 kernel config and enable syncookies (#1876)
SVN-Revision: 7622
2007-06-13 18:50:51 +00:00
Imre Kaloz f9699632f1 enable image generation for the WRT150N
SVN-Revision: 7486
2007-06-04 09:26:40 +00:00
Felix Fietkau 84b235140c fix pcmcia/pccard build defaults
SVN-Revision: 7275
2007-05-19 16:16:48 +00:00
Felix Fietkau 63300d3d91 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.

SVN-Revision: 7253
2007-05-15 18:41:48 +00:00
Mike Baker 3fda1fbf87 cleanup the broadcom preinit.arch
SVN-Revision: 7176
2007-05-10 16:29:15 +00:00
Felix Fietkau e1e6f5489f minor cleanup
SVN-Revision: 7174
2007-05-10 14:43:52 +00:00
Mike Baker 4a41439c46 unified preinit environment
SVN-Revision: 7173
2007-05-10 14:37:47 +00:00
Felix Fietkau bd65c8b91a broadcom: rename the OpenWrt partition to rootfs_data
SVN-Revision: 7171
2007-05-10 12:38:31 +00:00
Felix Fietkau 5b554fa8a4 bring up the ethernet driver before loading the switch drivers on broadcom (fixes #1520)
SVN-Revision: 7126
2007-05-07 17:37:05 +00:00
Felix Fietkau 0c83ec7fc2 revert to the previous version of the flash map driver - committed the wrong one in [7092]
SVN-Revision: 7118
2007-05-06 18:30:53 +00:00
Felix Fietkau ca7a815602 use hotplug2 for serializing hotplug events on 2.6
SVN-Revision: 7097
2007-05-05 18:33:18 +00:00
Felix Fietkau c855d322c0 add wl-hdd ide workaround from #272
SVN-Revision: 7093
2007-05-04 22:14:14 +00:00
Felix Fietkau 833bb8f485 convert brcm-2.4 to the new target structure
SVN-Revision: 7092
2007-05-04 22:13:42 +00:00
Felix Fietkau 4c6c987f09 Improved autorebuild for kernel related stuff. - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
SVN-Revision: 6998
2007-04-18 12:28:38 +00:00
Florian Fainelli 4e7c9df1ae Build usbnet modules for brcm targets (#1481)
SVN-Revision: 6955
2007-04-15 14:47:40 +00:00
Florian Fainelli e5da8a2d73 Add kmod-usb-uhci instead of ohci as defaults for WL500GP (#1589)
SVN-Revision: 6954
2007-04-15 14:10:39 +00:00
Florian Fainelli 2266aad2ec Limit the number of hotplug childrens
SVN-Revision: 6804
2007-04-01 18:30:32 +00:00
Mike Baker 4a5cb10be3 more devfs related bugs
SVN-Revision: 6543
2007-03-09 18:39:34 +00:00
Felix Fietkau 65e59861ba fix up the netconfig script after the devfs=>hotplug2 migration
SVN-Revision: 6542
2007-03-09 18:20:54 +00:00
Felix Fietkau 275ff405d8 more hotplug2/mdev/devfs related fixups, this time for broadcom
SVN-Revision: 6519
2007-03-04 23:55:07 +00:00
Felix Fietkau aabda0f133 reorder target profiles
SVN-Revision: 6514
2007-03-04 20:43:39 +00:00
Felix Fietkau a44c286fdb nuke mdev and replace it with hotplug2 :)
SVN-Revision: 6512
2007-03-04 20:31:53 +00:00
Felix Fietkau 5acf90187b fix mdev for broadcom 2.6
SVN-Revision: 6484
2007-03-03 22:40:28 +00:00
Felix Fietkau 7b0de4ae45 replace some hardcoded /dev/mtdblock/* references with calls to find_mtd_part()
SVN-Revision: 6477
2007-03-03 19:22:41 +00:00
Tim Yardley 03beb39e5f split out profile definitions from Makefiles
structure is as follows:
target/linux/<arch>/profiles/<profilename>.mk

These files are included by a blob match in the target Makefile

The files should be labeled based on their profile Name in the definition

SVN-Revision: 6468
2007-03-02 23:02:38 +00:00
Tim Yardley 484609eeb0 commit profile support for base-files... patches still need to be done
SVN-Revision: 6465
2007-03-02 18:17:40 +00:00
Felix Fietkau a256c81dd9 move mtd rootfs split patch to generic-2.6, disabled for broadcom targets until the flash map driver is updated and tested
SVN-Revision: 6449
2007-03-01 23:52:19 +00:00
Felix Fietkau 653f61fb3e clean up a few things in image build makefiles and fix unnecessary grub rebuilds
SVN-Revision: 6360
2007-02-25 18:20:34 +00:00
Felix Fietkau 2bcaa1fecd add missing config files
SVN-Revision: 6338
2007-02-22 03:44:37 +00:00
Felix Fietkau e78fb96964 Reorganize kernel configs - target/linux/*/config is now a directory. ./config/default will replace the old config and config-diff (format is like config-diff, the full kernel config is no longer kept in the build system) This commit removes all the kernel config stuff, the next one will add the replacement - there's no way to do this atomically with svn.
SVN-Revision: 6337
2007-02-22 03:44:15 +00:00
Felix Fietkau 8e88bb54ba port [6229] to kamikaze
SVN-Revision: 6275
2007-02-08 01:25:18 +00:00
Felix Fietkau 2fb06d46d9 Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
2007-01-20 12:35:00 +00:00
Felix Fietkau 84a0696c1e add descriptions to the broadcom target profiles and export them to the target metadata (not presented in menuconfig yet)
SVN-Revision: 6137
2007-01-20 02:30:36 +00:00
Felix Fietkau e564537749 remove bogus part of the broadcom target descriptions
SVN-Revision: 6109
2007-01-16 02:16:03 +00:00
Felix Fietkau ee54f19d41 move several instances of DEFAULT:=y to profile preselections (easier for the image builder to pick up)
SVN-Revision: 6096
2007-01-14 17:56:42 +00:00
Felix Fietkau d99f9e599a bump version numbers of linksys images, because the linksys firmware often refuses to downgrade
SVN-Revision: 6074
2007-01-11 09:54:51 +00:00
Felix Fietkau 040e093439 don't exit from failsafe mode after the console shell quits (some devices don't have /dev/console)
SVN-Revision: 6020
2007-01-07 17:38:29 +00:00
Felix Fietkau 5d22a52440 add a netconfig override for the wl-500g (fixes #1116)
SVN-Revision: 6016
2007-01-07 15:41:47 +00:00
Felix Fietkau 16ab10a683 move brcm-2.6/image to brcm-2.4, to reduce the cross-dependencies between those two. symlink will be added in the next commit (i don't think svn can do that change atomically)
SVN-Revision: 6013
2007-01-07 15:25:26 +00:00
Florian Fainelli 5cb9b304ae Add Intel/VIA usb-uhci support (#1098)
SVN-Revision: 5913
2006-12-28 00:56:39 +00:00
Felix Fietkau 35bccdd4ba store the default kernel version for our ports in a single place (target makefiles can still override it if necessary)
SVN-Revision: 5899
2006-12-25 09:12:57 +00:00
Felix Fietkau 51078ecdac better network config support for bcm94704
SVN-Revision: 5775
2006-12-12 23:55:14 +00:00
Felix Fietkau e11101fcea disable broadcom jffs2 images by default
SVN-Revision: 5773
2006-12-12 23:20:05 +00:00
Florian Fainelli 116c345130 Enable msdos fs support and package it
SVN-Revision: 5741
2006-12-09 19:47:32 +00:00
Mike Baker c3c4dfb57b move target/image/platform to target/linux/platform/image platform directories are now self contained
SVN-Revision: 5669
2006-11-28 20:14:41 +00:00
Felix Fietkau 953147eafb fix brcm-2.4 target profiles
SVN-Revision: 5658
2006-11-27 05:25:42 +00:00
Felix Fietkau beaeecbb9f add a workaround for a race-condition in the wl driver (triggered by ap+sta mode in a bridge)
SVN-Revision: 5635
2006-11-24 01:48:23 +00:00
Felix Fietkau 3b9654520c upgrade to linux 2.4.33.4
SVN-Revision: 5634
2006-11-24 00:56:51 +00:00
Felix Fietkau 37362df7ea move platform specific base-files into target/linux/<targetname>
SVN-Revision: 5621
2006-11-22 23:27:29 +00:00
Felix Fietkau 80ff6a1d25 autodetect atm, pci, usb, pcmcia features from kernel config file
SVN-Revision: 5586
2006-11-19 20:30:11 +00:00
Felix Fietkau 0a2540a313 reorganize nat helper packages, move ftp and irc nat to a package that is enabled by default, for security reasons - see #917 for more information
SVN-Revision: 5581
2006-11-19 01:03:47 +00:00
Felix Fietkau ebae27c573 add a few missing exports
SVN-Revision: 5547
2006-11-17 04:01:56 +00:00
Felix Fietkau 6995dcc331 upgrade to broadcom wl driver version 4.80.53.0 (from wrt350n release)
SVN-Revision: 5546
2006-11-17 03:54:33 +00:00
Felix Fietkau 9f9ac067a4 add mini_fo
SVN-Revision: 5541
2006-11-17 02:50:09 +00:00
Felix Fietkau d9c1b66c3a reorder variables
SVN-Revision: 5513
2006-11-12 05:09:56 +00:00
Felix Fietkau 105a602ecf implement target profiles in menuconfig
SVN-Revision: 5512
2006-11-12 05:06:56 +00:00
Felix Fietkau cf4e7af392 make target/linux/* directories self-contained, use the selected kernel version for the toolchain, autogenerate menuconfig and makefile code for target selection
SVN-Revision: 5498
2006-11-11 23:11:02 +00:00
Felix Fietkau c9dcbd5531 port new diag driver to kamikaze
SVN-Revision: 5426
2006-11-03 21:58:08 +00:00
Felix Fietkau 2665d7f09e cleanup/rewrite of the kernel build process
SVN-Revision: 5226
2006-10-19 06:20:55 +00:00
Felix Fietkau 87e6a7e4f2 cleanup
SVN-Revision: 5224
2006-10-19 05:01:04 +00:00
Felix Fietkau 5884dd6254 fix parallel build of brcm-2.4
SVN-Revision: 5207
2006-10-18 18:52:26 +00:00
Felix Fietkau 52f3d46c78 move sched_use_tsc patch to generic-2.4
SVN-Revision: 5187
2006-10-17 15:05:49 +00:00