Commit graph

2208 commits

Author SHA1 Message Date
Florian Fainelli
7d81c1b6cc If the *.img file is larger than 0x1e8000 loading it with flash -s 0x100000 -d 0xffe08000 -l <length>
on the bootloader prompt will destroy the bootloader and brick the device. The attached patch tries to implement a size check and renames the image into *.img.too_big. It applies to svn r11401.
Signed-off-by: Joerg Albert <jal2@gmx.de>

SVN-Revision: 11662
2008-07-05 13:38:19 +00:00
Hamish Guthrie
34d362d1a7 First stage of update for at91 devices to 2.6.25.10 kernel
SVN-Revision: 11631
2008-07-04 16:05:00 +00:00
Matteo Croce
385bcf948b fix typo
SVN-Revision: 11630
2008-07-04 00:58:46 +00:00
Florian Fainelli
180526a910 Put the files created by the lzma decompressor patch in the files/ directory. Add some early_printk debugging to the lzma decompressor to help track down problems when upgrading from one kernel version to another
SVN-Revision: 11627
2008-07-03 11:09:37 +00:00
Imre Kaloz
44a4ddcab3 update config, make 2.6.26-rc8 the default for ixp4xx
SVN-Revision: 11625
2008-07-03 00:21:58 +00:00
Imre Kaloz
255cff5cc6 update kernel config
SVN-Revision: 11624
2008-07-02 23:27:00 +00:00
Imre Kaloz
163b7288ff swap uart numbering on Pronghorn
SVN-Revision: 11622
2008-07-02 23:20:33 +00:00
Imre Kaloz
e830b48f67 oops, commited wrong version
SVN-Revision: 11621
2008-07-02 23:19:50 +00:00
Imre Kaloz
6154833d2c rename patch
SVN-Revision: 11620
2008-07-02 21:38:43 +00:00
Imre Kaloz
5ec09dd287 ixp4xx patches cleanup, round one
SVN-Revision: 11619
2008-07-02 21:37:46 +00:00
John Crispin
979fb5a23e fixes mdio, adds runtime board configuration for ifxmips
SVN-Revision: 11609
2008-06-29 14:56:45 +00:00
John Crispin
e2a5ae841b lots of ifxmips cleanups
SVN-Revision: 11607
2008-06-29 00:42:45 +00:00
John Crispin
8c3c0d38b8 make the serial poirt used by prom.c configurable for ifxmips
SVN-Revision: 11606
2008-06-28 22:01:37 +00:00
John Crispin
5cfd1038bc ifxmips should build uboot by default
SVN-Revision: 11605
2008-06-28 21:51:43 +00:00
John Crispin
537b6126ec rename some ifxmips files
SVN-Revision: 11603
2008-06-28 21:26:03 +00:00
John Crispin
f086a123c9 fixes ifxmips watchdog driver
SVN-Revision: 11602
2008-06-28 21:18:51 +00:00
Felix Fietkau
783bb0e81c move ifxmips uboot to package/
SVN-Revision: 11601
2008-06-28 19:53:41 +00:00
Felix Fietkau
2b5ce63303 x86: don't attempt to compile grub on darwin
SVN-Revision: 11599
2008-06-28 17:54:44 +00:00
John Crispin
ebc9555b5e add proper ebu locking to ifxmips
SVN-Revision: 11597
2008-06-28 17:28:31 +00:00
John Crispin
185ca444e3 lots of ifxmips cleanups
SVN-Revision: 11596
2008-06-28 16:56:04 +00:00
Florian Fainelli
8c4a4415d9 Finally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version
SVN-Revision: 11595
2008-06-28 11:08:52 +00:00
Florian Fainelli
097d9cd367 Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version
SVN-Revision: 11594
2008-06-28 11:08:01 +00:00
Florian Fainelli
310c6108cd Put back 2.6.24 files as well
SVN-Revision: 11593
2008-06-28 11:07:07 +00:00
Florian Fainelli
9e151671a9 Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing
SVN-Revision: 11592
2008-06-28 11:06:32 +00:00
Imre Kaloz
5553c4da8c ignore the bootloader's commandline on orion
SVN-Revision: 11591
2008-06-27 18:15:46 +00:00
Imre Kaloz
88dcf36525 generate webuploadable image for the wnr854t
SVN-Revision: 11589
2008-06-27 12:19:20 +00:00
Imre Kaloz
ddd357ff14 use mtdblock1 as rootfs
SVN-Revision: 11587
2008-06-27 12:13:37 +00:00
Imre Kaloz
bca5ac2479 the wnr854t needs flash width 2
SVN-Revision: 11586
2008-06-27 12:13:02 +00:00
Imre Kaloz
dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
2008-06-26 14:28:16 +00:00
Imre Kaloz
3465540af9 ixp4xx 2.6.26 support
SVN-Revision: 11583
2008-06-26 13:59:15 +00:00
Imre Kaloz
a425a7506c add preliminary Netgear WNR854T support
SVN-Revision: 11582
2008-06-26 13:53:27 +00:00
Imre Kaloz
cef5e994b3 move some config options into the generic one
SVN-Revision: 11581
2008-06-26 13:51:17 +00:00
Matteo Croce
ac30398668 avr32: fix a bug in the MMC driver
SVN-Revision: 11580
2008-06-26 13:02:02 +00:00
John Crispin
2cc35a5235 cleanup ifxmips and add support for both ttyS
SVN-Revision: 11578
2008-06-25 23:05:50 +00:00
Imre Kaloz
a3236bc99d upgrade orion to 2.6.26-rc8
SVN-Revision: 11577
2008-06-25 22:56:49 +00:00
Imre Kaloz
50f6031afc generate orion images differently
SVN-Revision: 11576
2008-06-25 22:41:50 +00:00
Imre Kaloz
16967b41f1 sync with the orion git tree
SVN-Revision: 11575
2008-06-25 22:39:39 +00:00
Imre Kaloz
4add77fb4b add arm mach_types update again
SVN-Revision: 11574
2008-06-25 22:33:38 +00:00
John Crispin
965a8a12ef cleanup ifxmips headers
SVN-Revision: 11573
2008-06-24 19:24:22 +00:00
John Crispin
6e266198e9 lots of code cleanup for ifxmips
SVN-Revision: 11570
2008-06-23 20:31:34 +00:00
Imre Kaloz
81af6da037 upgrade orion to 2.6.26-rc7
SVN-Revision: 11569
2008-06-23 15:07:52 +00:00
John Crispin
5eda098fa7 move files, rename defines for ifxmips
SVN-Revision: 11565
2008-06-22 20:40:36 +00:00
Gabor Juhos
1a7f41506d generate firmware images for the ZyXEL P-334WT/P-335WT devices
SVN-Revision: 11562
2008-06-22 19:10:37 +00:00
Gabor Juhos
465a60a463 use __raw_{readl,writel} routines in the uart driver as well
SVN-Revision: 11561
2008-06-22 19:09:42 +00:00
Gabor Juhos
3cc6f9bd75 use __raw_{readl,writel} routines in the GPIO code
SVN-Revision: 11560
2008-06-22 19:08:19 +00:00
John Crispin
496bdd9eb7 fixes several compile errors, reserves memory for second core, adds u-boot env parsing for ifxmips
SVN-Revision: 11558
2008-06-22 19:01:14 +00:00
Andy Boyett
1af378601e x86: Sync kernel config
SVN-Revision: 11557
2008-06-22 18:41:42 +00:00
Gabor Juhos
34698e9b9e swap I/O space if running in big-endian mode
SVN-Revision: 11552
2008-06-22 12:37:40 +00:00
Gabor Juhos
1d56e2e1d4 generic-2.6: update IMQ patch to the official version for 2.6.25, refresh patches
SVN-Revision: 11551
2008-06-22 06:28:12 +00:00
Felix Fietkau
cbea377252 fix ifxmips image file name (thx, nix)
SVN-Revision: 11540
2008-06-19 14:11:50 +00:00
Andy Boyett
573d7af53d generic-2.6: Backport netfilter includes fix from 2.6.26 to 2.6.25 - Fixes compilation of numerous packages
SVN-Revision: 11539
2008-06-19 08:05:08 +00:00
John Crispin
e2b679fd3f cleanup ifxmips pci code
SVN-Revision: 11531
2008-06-17 22:44:38 +00:00
John Crispin
18ad6da063 adds timer unit to ifxmips tree
SVN-Revision: 11530
2008-06-17 22:14:08 +00:00
Gabor Juhos
cb076ccb14 IRQ code cleanup
SVN-Revision: 11528
2008-06-17 17:46:52 +00:00
Gabor Juhos
13bb189a15 switch to 2.6.25.7
SVN-Revision: 11526
2008-06-17 14:30:18 +00:00
Gabor Juhos
2ccf25789e sync kernel config
SVN-Revision: 11525
2008-06-17 14:01:07 +00:00
Gabor Juhos
d95fa260a3 sync kernel config
SVN-Revision: 11524
2008-06-17 14:00:25 +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
Gabor Juhos
3415b8c044 fix compiler warning
SVN-Revision: 11521
2008-06-17 10:50:06 +00:00
Yuji Mano
ac909fc5c0 set file executable permissions
SVN-Revision: 11516
2008-06-16 23:17:44 +00:00
Yuji Mano
08bc751971 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>

SVN-Revision: 11514
2008-06-16 19:48:54 +00:00
Yuji Mano
0b5f602421 Revert previous bad commit r11512
SVN-Revision: 11513
2008-06-16 19:37:00 +00:00
Yuji Mano
5ee48c0b00 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>

SVN-Revision: 11512
2008-06-16 19:14:13 +00:00
Yuji Mano
f17fc3d98d Add a system config option to allow syslogd to log to a file.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

SVN-Revision: 11511
2008-06-16 19:06:21 +00:00
Peter Denison
d92a009382 Fix TG3 build. Thanks Hauke Mehrtens
SVN-Revision: 11510
2008-06-16 19:06:14 +00:00
Yuji Mano
d2abb8a833 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>

SVN-Revision: 11509
2008-06-16 19:04:07 +00:00
Florian Fainelli
0d40a2f95b 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>

SVN-Revision: 11508
2008-06-16 13:25:14 +00:00
Florian Fainelli
01e594e704 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>

SVN-Revision: 11507
2008-06-16 13:24:41 +00:00
Florian Fainelli
368f07fc97 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>

SVN-Revision: 11506
2008-06-16 13:24:09 +00:00
Imre Kaloz
1f5166a1f0 backport mv643xx ethernet changes from the Marvell git repo
SVN-Revision: 11504
2008-06-16 13:20:10 +00:00
Imre Kaloz
c444c0f4ae enable AMD flash support and physmap on orion
SVN-Revision: 11503
2008-06-16 13:18:58 +00:00
Gabor Juhos
8b0bf5d650 generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
SVN-Revision: 11502
2008-06-16 13:17:52 +00:00
Gabor Juhos
3663d2ea77 generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
SVN-Revision: 11501
2008-06-16 12:57:56 +00:00
Imre Kaloz
2f4fa6de74 refresh generic 2.6.22 patches
SVN-Revision: 11498
2008-06-16 12:40:48 +00:00
Imre Kaloz
e147bf8fa3 fixup machid workaround, generate uImage manually
SVN-Revision: 11497
2008-06-16 12:38:55 +00:00
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
Imre Kaloz
983b22aa95 temporary hack to fixup the mach id for the wrt350nv2
SVN-Revision: 11459
2008-06-13 12:58:28 +00:00
Imre Kaloz
957626ff72 openwrt partition map for the wrt350nv2
SVN-Revision: 11458
2008-06-13 12:14:39 +00:00
Imre Kaloz
111f11d91f workaround bogus CFI version for the wrt350nv2
SVN-Revision: 11457
2008-06-13 12:14:01 +00:00
Imre Kaloz
354d78404a upgrade orion and sync to 2.6.26-rc6
SVN-Revision: 11456
2008-06-13 12:12:34 +00:00
Matteo Croce
d1c097e3d0 ar7: refresh patches
SVN-Revision: 11452
2008-06-12 22:33:48 +00:00
Matteo Croce
e8a8d5811d avr32: clean and refresh patch
SVN-Revision: 11451
2008-06-12 22:24:27 +00:00
Matteo Croce
b0fa59bef2 avr32: upgrade to 2.6.25.6
SVN-Revision: 11450
2008-06-12 21:13:40 +00:00
Florian Fainelli
31d9bcc1fc Use 2.6.25.6 for rdc
SVN-Revision: 11447
2008-06-12 08:07:08 +00:00
Florian Fainelli
23d1a5bd88 Use 2.6.25 for rdc321x
SVN-Revision: 11439
2008-06-11 16:38:37 +00:00
Imre Kaloz
057b87f685 upgrade orion to 2.6.26-rc5
SVN-Revision: 11436
2008-06-11 11:59:45 +00:00
Imre Kaloz
2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Imre Kaloz
4a0631658c refresh patch
SVN-Revision: 11434
2008-06-11 11:37:08 +00:00
Imre Kaloz
02a4a8019e add newer, fixed IMQ patch for 2.6.25 and 2.6.26
SVN-Revision: 11433
2008-06-11 11:35:49 +00:00
Gabor Juhos
306910e5d1 generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
SVN-Revision: 11427
2008-06-10 08:20:19 +00:00
Felix Fietkau
4c665e6ca4 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
2008-06-09 15:38:45 +00:00
Felix Fietkau
21e09858f1 add missing fix for etrax compile without axis toolchain
SVN-Revision: 11413
2008-06-09 15:38:27 +00:00
Felix Fietkau
b014357704 set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
SVN-Revision: 11410
2008-06-09 10:31:46 +00:00
John Crispin
a59821735c remove proc and char dev from ifxmips gpio driver
SVN-Revision: 11406
2008-06-08 08:21:20 +00:00
John Crispin
b3331b3d03 adds gpiodev support to ifxmips
SVN-Revision: 11405
2008-06-08 08:07:14 +00:00
Gabor Juhos
2fdfd541da add packages required by failsafe support to defaults
SVN-Revision: 11404
2008-06-08 06:43:21 +00:00
Gabor Juhos
e5ad400330 add initial failsafe support
SVN-Revision: 11403
2008-06-08 06:38:26 +00:00
Gabor Juhos
11b8dfe86c add button devices to several boards
SVN-Revision: 11402
2008-06-08 06:37:31 +00:00