Commit Graph

10940 Commits (14581e00f75714ae3a24f5dcb0fba1755684acb9)

Author SHA1 Message Date
John Crispin 14581e00f7 adds timer unit to ifxmips tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 22:14:08 +00:00
Gabor Juhos 24ec778ec2 [adm5120] IRQ code cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 17:46:52 +00:00
Gabor Juhos efe4d40c93 [tools] firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 15:05:53 +00:00
Gabor Juhos 845d7e156e [adm5120] switch to 2.6.25.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 14:30:18 +00:00
Gabor Juhos 7e9b27206f [rdc] sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 14:01:07 +00:00
Gabor Juhos f7854edabf [x86] sync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 14:00:25 +00:00
Gabor Juhos 478b3b32f4 [kernel] upgrade to 2.6.25.7, and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 12:57:04 +00:00
Gabor Juhos 14b8ea6a1a [adm5120] fix compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 10:50:06 +00:00
Andy Boyett 122b365ce4 linux-uvc: Upgrade to revision 215
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 05:39:05 +00:00
Andy Boyett 5c81e7e2de [uci] remove empty /etc/uci-defaults/ in base-files, not needed after last commit.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 00:48:45 +00:00
Andy Boyett 2e55610300 [uci] Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano.
- Fixes the use of CONFIG_UCI_PRECONFIG under git; git does not track empty directories.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 00:44:10 +00:00
Yuji Mano e97e5b9907 set file executable permissions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 23:17:44 +00:00
Felix Fietkau 149fde8c7b use file descriptors 8 and 9 for build system internal log messages, as apparently bash does not like fds greater than 9 in shell commands on some systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 21:57:57 +00:00
Yuji Mano 61f1780d41 Add the PS3 specific utility bl-option, a helper sctipt
to get and set bootloader options in flash memory.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:48:54 +00:00
Yuji Mano e8dd2b2fbf Revert previous bad commit r11512
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:37:00 +00:00
Yuji Mano 75a04f0984 Add the PS3 specific utility bl-option, a helper sctipt
to get and set bootloader options in flash memory.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:14:13 +00:00
Yuji Mano f2a1a23ae7 Add a system config option to allow syslogd to log to a file.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:06:21 +00:00
Peter Denison 6b2276f3e3 [brcm47xx] Fix TG3 build. Thanks Hauke Mehrtens
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:06:14 +00:00
Yuji Mano 61b097c195 Update the PS3 target README with some installation tips, and
the PS3 image Makefile to create openwrt-ps3-vmlinux.elf.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 19:04:07 +00:00
Florian Fainelli 537682b3c3 his patch mainly fixes the huge delay when we ping from the RDC device to another host (160-230 ms).
r6040_rx() was rewritten.
Further changes:
- fix a bug in hex2str(), which overwrote the source with a zero
- removed rx_free_desc counter; allocate skb inside r6040_rx() on the fly
- r6040_rx: don't take the error from the MLSR register (may be too late) but from the descriptor (we may have to allow these errors (via MCR0) there
- r6040_alloc_rxbufs() may fail due to lack of skb, added a return value
- changed some debugs
- more defines
- version: 0.18 -> 0.19

Signed-Off by Joerg Albert <jal2@gmx.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:25:14 +00:00
Florian Fainelli 1894163cbf This patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied) and fixes the following issues:
- re-added the parent parameter to specify a netdevice to steal the MAC address from (optional).
- fixed null pointer access in r6040_rx() (lp->dev init. was missing)
- fixed "scheduling while atomic" endless loop if tx_timeout() was called (caused by the re-allocs of the buffers)
- fixed tx timeouts (tx irq weren't re-enabled on rx irq) 

It adds some defines and cleans the code a bit (IMHO).

Signed-Off by Joerg Albert <jal2@gmx.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:24:41 +00:00
Florian Fainelli 74ac396acd Hi,
this is the first of three patches to fix the ethernet driver of RDC R32xx applied to svn r10754.

It adds debugs and make some procedures (r6040_*) global symbols in order to help with debugging kernel oops. Version is increased from 0.16 to 0.18 to avoid conflicts with the driver variant metioned in the X-WRT forum (call 0.17.3) Tested on a Sitecom WL-153.

Signed-Off-By: Joerg Albert <jal2@gmx.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:24:09 +00:00
Imre Kaloz cd1e2dd664 backport mv643xx ethernet changes from the Marvell git repo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:20:10 +00:00
Imre Kaloz 20df78baaf enable AMD flash support and physmap on orion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:18:58 +00:00
Gabor Juhos eec1548bc9 [kernel] generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 13:17:52 +00:00
Gabor Juhos c5eeb74688 [kernel] generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:57:56 +00:00
Imre Kaloz a6446b3529 libnl: backport memleak fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:43:16 +00:00
Imre Kaloz 760db75247 fix libnl compile with older kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:42:36 +00:00
Imre Kaloz fc166d1224 refresh generic 2.6.22 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:40:48 +00:00
Imre Kaloz 368fcbcee7 fixup machid workaround, generate uImage manually
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 12:38:55 +00:00
Ralph Hempel 62023555c7 added unsquashfs-lzma, usefull for debugging of existing fs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 11:32:13 +00:00
Felix Fietkau 056d99b65f fix the path to the x-wrt feed (svn:// is broken on berlios.de at the moment)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 20:41:41 +00:00
Felix Fietkau 06d1bc5f5d add another check to the dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:50:41 +00:00
Felix Fietkau fa5af5e580 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:49:00 +00:00
Felix Fietkau 415cc1c3db add some sanity checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:34:00 +00:00
Felix Fietkau 1a598982c4 remove some unused crap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:15:35 +00:00
Felix Fietkau 567993fa4c (6/6) bcm57xx: package
This is the bcm57xx package.  I have tested default vlan functions,
but I dont have the equipment to test more advanced setups.  The default
vlan setup seems to be working fine.  I also added the activate_gpio
parameter which will make the driver activate the switch via gpio before
probing for it.

I'm not sure which method is best for autoload.  For the wrt350n, I
need the activate_gpio parameter.  But its probably not a good idea
to add that to the autoload file.  On a system without a bcm57xx switch,
isn't it a bad idea to mess with the gpios looking for the switch? Ideally,
wouldn't it be best to load the bcm57xx module from broadcom-diag, after
it has determined which router its on?  I tried using 'request_module' from
there, but had no success.  For now, I am relying on preinit to load
the bcm57xx module with activate_gpio param, after it has failed to load
switch_robo and switch_adm.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:11:28 +00:00
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 ec81fa9d4e (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered
This patch prevents switch-robo.c from attempting robo_probe on a port
that is already registered.  robo_probe will adjust kernel reference counts
if it detects a switch on the port.  If this patch wasn't applied, the
wrt350n would hang on reboot, waiting for the network driver reference count
to reach zero indefinitely.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:27 +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
Felix Fietkau 7886efab9d (1/6) bcm57xx: init from diag
I've been working to finish up the bcm57xx module package nbd
posted a few months ago.  I am no expert, just had some spare
time and some motivation.  Here is the background:

https://dev.openwrt.org/ticket/2744

This first patch disables the bcm57xx gpio setup in broadcom-diag.
The switch needs to be initialized by the driver so the driver can
then reset the switch ASAP.  If the switch isn't reset quickly enough,
it will forward packets between the WAN and LAN, which will cause
problems with modems that only allow one mac to access the internet.

Tested on wrt350n.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:09:27 +00:00
Peter Denison ef3c293536 Remove ssb headers from mac80211 to avoid conflict with in-kernel ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 21:05:26 +00:00
Felix Fietkau cab05bb905 remove accidentally committed swap file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 15:29:07 +00:00
Felix Fietkau 2fb4a47e9a create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 15:28:31 +00:00
Imre Kaloz 3a02933ef3 temporary hack to fixup the mach id for the wrt350nv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:58:28 +00:00
Imre Kaloz e48fee7183 openwrt partition map for the wrt350nv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:14:39 +00:00
Imre Kaloz 99af7f0cff workaround bogus CFI version for the wrt350nv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:14:01 +00:00
Imre Kaloz 91aa7be624 upgrade orion and sync to 2.6.26-rc6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:12:34 +00:00
Felix Fietkau 8697eb8993 another patch fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 08:56:06 +00:00