Commit Graph

53 Commits (b28cf847f900886bb49871a9a104d869ee7ec74b)

Author SHA1 Message Date
Florian Fainelli ef1ff562c1 Fix card_idx calculation, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 15:08:34 +00:00
Florian Fainelli a9a2a5146a Reinstate rdc bootability and force it to use init=/etc/preinit, thus the remove the hackish SetInitramfs actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 13:42:36 +00:00
Florian Fainelli 11d0acf450 Remove 2.6.23 files, we will stick to 2.6.24 for rdc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-26 18:49:26 +00:00
Florian Fainelli 1c2ca693a8 Stick to 2.6.24 on rdc for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-08 11:28:37 +00:00
Imre Kaloz 27dcc5a45b update targets to 2.6.25.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05 16:52:15 +00:00
Florian Fainelli 2b7ce0aaed 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-05 13:38:19 +00:00
Florian Fainelli e3ef3e2823 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-03 11:09:37 +00:00
Florian Fainelli 334363d1c2 Finally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 11:08:52 +00:00
Florian Fainelli 83d6e44ce0 Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 11:08:01 +00:00
Florian Fainelli 43ace503ee Put back 2.6.24 files as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 11:07:07 +00:00
Florian Fainelli b3aa2640a3 Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-28 11:06:32 +00:00
Imre Kaloz baa12995a7 upgrade to 2.6.25.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-26 14:28:16 +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 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
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
Florian Fainelli 2efd587b18 Use 2.6.25.6 for rdc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 08:07:08 +00:00
Florian Fainelli af60e16a61 Use 2.6.25 for rdc321x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 16:38:37 +00:00
Gabor Juhos a19157e8ba [rdc] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-19 12:11:46 +00:00
Gabor Juhos 6e01507c1f [kernel] upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 20:12:54 +00:00
Nicolas Thill 60ef52b3f1 enable proper PCI & USB support detection at config-time by disabling CONFIG_PCI & CONFIG_USB entries in generic/config and enabling them on targets where appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 17:08:51 +00:00
Imre Kaloz 9053c9678e naming convention
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 16:28:29 +00:00
Imre Kaloz f0c04a90e6 upgrade to 2.6.24.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 10:23:36 +00:00
Nicolas Thill f9967ea05f properly disable CONFIG_CRYPTO_HW
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 12:31:50 +00:00
Travis Kemen 952c0753cd add missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-25 13:02:20 +00:00
Florian Fainelli 338e0a12fb Use an update r6040 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 07:50:45 +00:00
Florian Fainelli 12f2d17a7b Fix bzImage copy with 2.6.24 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 11:08:38 +00:00
Florian Fainelli d315f17d40 Upgrade rdc to 2.6.24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-13 14:35:18 +00:00
Imre Kaloz 884aca7088 upgrade & standardize kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-11 10:50:40 +00:00
Florian Fainelli 96746d4510 Also generate http uploadable images for Airlink AR525w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-21 14:11:01 +00:00
Florian Fainelli 8300810d10 Upgrade rdc to 2.6.23.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-21 13:26:48 +00:00
Florian Fainelli ff2afa0c9c Add support for the gpio connected reset button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-11 15:19:13 +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
Florian Fainelli d0b5834db8 We are now at .23.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 08:13:12 +00:00
Florian Fainelli 8258760166 Resync kernel config, do not enable the setup file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 17:26:27 +00:00
Florian Fainelli bb44a3c06d Typo on PCI ids
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 17:04:34 +00:00
Florian Fainelli b8d4702826 Add the RDC PCI ids for a fancier PCI device table.Return the system name on boot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 16:13:25 +00:00
Florian Fainelli f4e6737ed1 Fix profile/image generation for dir450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 15:12:14 +00:00
Florian Fainelli dfb47af844 Upgrade rdc to 2.6.23, fix the r6040 driver printk's
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-12 11:21:59 +00:00
Florian Fainelli 73bf41af85 Clean up the r6040 driver using checkpatch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 08:01:30 +00:00
Florian Fainelli 30b9dbe50f RDC is not broken with trunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 14:00:36 +00:00
Florian Fainelli 87997b15ff Led is not active low by default, register the watchdog
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 13:50:21 +00:00
Florian Fainelli e9b26c54be Use PCI for rdc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:24:51 +00:00
Florian Fainelli 6ec7dc5bc7 RDC vendor id is unknown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:24:17 +00:00
Florian Fainelli 0c04efed14 Build all firmware until we put back profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:23:43 +00:00
Florian Fainelli 324c4009be Rewrite platform code to be smarter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:23:27 +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
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 f2d76dbb81 Add support for the D-Link DIR-450, thanks to Macpaul Lin !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-16 10:57:29 +00:00