Commit Graph

148 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
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
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
dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
2008-06-26 14:28:16 +00:00
Gabor Juhos
2ccf25789e sync kernel config
SVN-Revision: 11525
2008-06-17 14:01:07 +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
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
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
Gabor Juhos
7768b916fe refresh kernel patches
SVN-Revision: 11210
2008-05-19 12:11:46 +00:00
Gabor Juhos
f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
2008-05-18 20:12:54 +00:00
Nicolas Thill
e3a42b23c6 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
SVN-Revision: 11097
2008-05-09 17:08:51 +00:00
Imre Kaloz
e84649e578 naming convention
SVN-Revision: 10965
2008-04-28 16:28:29 +00:00
Imre Kaloz
68943e35c2 upgrade to 2.6.24.5
SVN-Revision: 10959
2008-04-28 10:23:36 +00:00
Nicolas Thill
c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
2008-04-27 12:31:50 +00:00
Travis Kemen
de4731935a add missing symbol
SVN-Revision: 10935
2008-04-25 13:02:20 +00:00
Florian Fainelli
ef62f5f24d Use an update r6040 driver
SVN-Revision: 10754
2008-04-07 07:50:45 +00:00
Florian Fainelli
704d0016de Fix bzImage copy with 2.6.24 kernels
SVN-Revision: 10574
2008-03-09 11:08:38 +00:00
Florian Fainelli
c592ef61b3 Upgrade rdc to 2.6.24
SVN-Revision: 10453
2008-02-13 14:35:18 +00:00
Imre Kaloz
3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
2008-02-11 10:50:40 +00:00
Florian Fainelli
8ee2e7a4a3 Also generate http uploadable images for Airlink AR525w
SVN-Revision: 10229
2008-01-21 14:11:01 +00:00
Florian Fainelli
6907b29d8f Upgrade rdc to 2.6.23.14
SVN-Revision: 10228
2008-01-21 13:26:48 +00:00
Florian Fainelli
e22d12ddfc Add support for the gpio connected reset button
SVN-Revision: 10173
2008-01-11 15:19:13 +00:00
Felix Fietkau
1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
Florian Fainelli
486492b407 We are now at .23.1
SVN-Revision: 9415
2007-10-23 08:13:12 +00:00
Florian Fainelli
e9d7dc5803 Resync kernel config, do not enable the setup file
SVN-Revision: 9329
2007-10-15 17:26:27 +00:00
Florian Fainelli
f61a627092 Typo on PCI ids
SVN-Revision: 9328
2007-10-15 17:04:34 +00:00
Florian Fainelli
9dc51096e6 Add the RDC PCI ids for a fancier PCI device table.Return the system name on boot.
SVN-Revision: 9327
2007-10-15 16:13:25 +00:00
Florian Fainelli
c1baf67fbf Fix profile/image generation for dir450
SVN-Revision: 9320
2007-10-14 15:12:14 +00:00
Florian Fainelli
4bc640743a Upgrade rdc to 2.6.23, fix the r6040 driver printk's
SVN-Revision: 9267
2007-10-12 11:21:59 +00:00
Florian Fainelli
e54eec19b7 Clean up the r6040 driver using checkpatch
SVN-Revision: 9184
2007-10-08 08:01:30 +00:00
Florian Fainelli
8c47e7b842 RDC is not broken with trunk
SVN-Revision: 9140
2007-10-05 14:00:36 +00:00
Florian Fainelli
9a6b4fa7da Led is not active low by default, register the watchdog
SVN-Revision: 9138
2007-10-05 13:50:21 +00:00
Florian Fainelli
af54509be8 Use PCI for rdc
SVN-Revision: 9097
2007-10-02 14:24:51 +00:00
Florian Fainelli
1ac2bcd422 RDC vendor id is unknown
SVN-Revision: 9096
2007-10-02 14:24:17 +00:00
Florian Fainelli
6278dd1093 Build all firmware until we put back profiles
SVN-Revision: 9095
2007-10-02 14:23:43 +00:00
Florian Fainelli
db7bf6f616 Rewrite platform code to be smarter
SVN-Revision: 9094
2007-10-02 14:23:27 +00:00
Gabor Juhos
438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
2007-09-29 14:27:54 +00:00
Felix Fietkau
236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
2007-09-19 20:58:16 +00:00
Florian Fainelli
8c612a1cdb Add support for the D-Link DIR-450, thanks to Macpaul Lin !
SVN-Revision: 8790
2007-09-16 10:57:29 +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
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