Felix Fietkau
7806d479f3
swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ ( fixes #9765 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 19:27:01 +00:00
Felix Fietkau
7a010ef4d1
package/grub: fix stage2 link with recent binutils
...
We want the `_start's symbols to be at the very beginning of the `stage2'
binary's `.text' section. However, nothing enforces this requirement. With
recent binutils (ie. post 2.19.1), this results in a corrupt binary, as ld(1)
puts another symbol (eg. `journal_init') at the beginning of the section.
Fix this by providing a stripped down version of the default linker script
where we enforces the position of `_start' in the `.text' section.
Patch by Arnaud Lacombe (#10444 )
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:40:18 +00:00
Gabor Juhos
38dde1e79b
ramips: use GENERIC_{4,8}M image template for WR5123GN
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:47 +00:00
Gabor Juhos
ca116aa7d9
ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:46 +00:00
Hauke Mehrtens
ea12a991e1
brcm47xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:45:27 +00:00
Hauke Mehrtens
7c5cc15d84
brcm47xx: update usb driver for brcm47xx.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:38:10 +00:00
Felix Fietkau
eac4c19121
tools/genext2fs: do not include the host getline.h, it breaks the tool in subtle ways, and the source already has a getline replacement
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:12:08 +00:00
Felix Fietkau
4c6c0c2e6c
glibc: remove all previous (ancient) versions, add 2.14 (partially based on a patch and testing by WillieNL)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:12:01 +00:00
Felix Fietkau
e855777de2
broadcom-diag: fix WRT150N/WRT160N detection (patch from #10836 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 15:43:14 +00:00
Gabor Juhos
91cb3ccfdf
ramips: add initial support for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:14 +00:00
Gabor Juhos
a01fc48535
ramips: include 'linux/module.h' in the ramips_spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:13 +00:00
Gabor Juhos
ef90fcb865
ramips: rt288x: remove per-board physmap_flash_data instances
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:12 +00:00
Gabor Juhos
48d4c19885
ramips: rt305x: remove per-board physmap_flash_data instances
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:10 +00:00
Imre Kaloz
d976d07b41
[cns3xxx]: enable another l2 cache errate on newer kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 11:22:08 +00:00
Imre Kaloz
2c60c67c19
[toolchain/binutils]: enable 2.22 for unsupported archs if BROKEN is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:56:47 +00:00
Imre Kaloz
db6cb4a031
[toolchain/gcc]: upgrade vanilla gcc to 4.6.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:48:39 +00:00
Imre Kaloz
0200f4feb2
[toolchain/binutils]: use binutils 2.22 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:17:54 +00:00
Imre Kaloz
053f92de0c
[toolchain/uClibc]: use uClibc 0.9.33 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:15:29 +00:00
Imre Kaloz
2a65a2340e
[tolchain/gcc]: use Linaro GCC 4.6 by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 09:14:18 +00:00
Imre Kaloz
1f355ba283
[toolchain/gcc]: update to latest Linaro releases
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 08:50:18 +00:00
Gabor Juhos
9bccdcc428
ramips: load gpio-polled keys module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 20:37:34 +00:00
Gabor Juhos
1ec7090374
ramips: remove yet another CONFIG_MTD_PARTITION ifdef
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:11 +00:00
Gabor Juhos
0e7a5607b4
ramips: use gpio-keys-polled instead of gpio-buttons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:06 +00:00
Imre Kaloz
c92c2b1cee
[generic/3.3]: add some missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:38:28 +00:00
Gabor Juhos
a938ca31da
ramips: add MIPS platform file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:11 +00:00
Gabor Juhos
ae2e90bc13
generic/2.6.39: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:08 +00:00
Imre Kaloz
c2634162e3
[generic/3.3]: refresh patches to -rc3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 17:43:06 +00:00
Gabor Juhos
59a817f8aa
ramips: add MDIO bus support for RT288X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 16:49:56 +00:00
Imre Kaloz
523794c90a
[cns3xxx]: rename 3.1 patches directory as it will be used for newer kernels as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:59:23 +00:00
Imre Kaloz
aa4e0232b5
[cns3xxx]: rename 2.6.39 patches directory
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:58:14 +00:00
Gabor Juhos
e356b49dcd
ramips: fix Belkin F5D8235-v2 VLAN setup
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:31:18 +00:00
Gabor Juhos
bf98da9c80
ramips: raeth: make debugging messages configurable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:10 +00:00
Gabor Juhos
69e3d1bbc4
ramips: raeth: use device pointer in DMA API calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:08 +00:00
Gabor Juhos
110d4ac69d
ramips: raeth: add netdev pointer to private structure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:06 +00:00
Gabor Juhos
49ec435276
ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:05 +00:00
Gabor Juhos
03f6e838c1
ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:04 +00:00
Gabor Juhos
edf1212d0f
ramips: raeth: add rx_dma array to store the DMA address of the rx packets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:02 +00:00
Gabor Juhos
b527da9716
ramips: raeth: use dma_addr_t for the descriptors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:01 +00:00
Gabor Juhos
527df10ce9
ramips: raeth: unmap DMA memory when a packet is received
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:56 +00:00
Gabor Juhos
4ab419384e
ramips: raeth: add a temporary pktlen variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:55 +00:00
Gabor Juhos
8ecf5cdf0f
ramips: raeth: protect macro parameters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:50 +00:00
Gabor Juhos
9ab3461a35
ramips: raeth: indicate dropped packets in stats
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:49 +00:00
Gabor Juhos
6653e13884
ramips: raeth: use the NUM_TX_DESC for the tx_skb array
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:47 +00:00
Gabor Juhos
cba394b389
ramips: use uncached address in detect_mem_size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:45 +00:00
Gabor Juhos
7c64e707bb
ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:43 +00:00
Gabor Juhos
e26a25dade
ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:41 +00:00
Gabor Juhos
0fd6e54e2e
ramips: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:40 +00:00
Gabor Juhos
f42d3fde3b
ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
...
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19 .
This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210
It's also worth noting that this board has a GPIO line to control the
power to the USB port.
[juhosg:
- fix checkpatch warnings,
- reorder Kconfig entry,
- merge the sysupgrade patch,
- add GPL header]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:36 +00:00
Gabor Juhos
9933f03b4a
ramips: rt305x: merge duplicated mac address setup
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:34 +00:00
Gabor Juhos
393ae555fa
ramips: rt305x: add profile for the Belkin f5d8235v2
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:32 +00:00