Gabor Juhos
21ef5a475e
ar71xx: rewrite SPI drivers for the RB4xx boards
...
* add a new SPI controller driver
* add SPI driver for the CPLD chip
* convert the NAND driver
* enable the mikroSD slot
* enable more LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:13:47 +00:00
Gabor Juhos
e20b541885
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 19:57:11 +00:00
Florian Fainelli
53fe275b46
[kernel] update to 2.6.32.20
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:07:37 +00:00
Gabor Juhos
8c2be2e3b5
ar71xx: don't override CONFIG_SWAP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:31 +00:00
Gabor Juhos
019a16cdd1
ar71xx: change mac address initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:28 +00:00
Felix Fietkau
f622088030
ar71xx: add a new driver for the ar7240 switch using swconfig.
...
hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway
switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested
fixes #7563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:21:57 +00:00
Gabor Juhos
ce27ec3f80
ar71xx: add eap7660d board to diag.sh and sysupgrade
...
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:31 +00:00
Alexandros C. Couloumbis
89bd7c0819
linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 07:48:05 +00:00
Jo-Philipp Wich
8f501d19cd
[ar71xx] add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on devices using the RTL8366s switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-13 19:29:51 +00:00
Felix Fietkau
9c66f092fd
ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:43 +00:00
Felix Fietkau
1e8591f79b
ar71xx: fix sysupgrade on the ubnt nanostation m
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-23 18:16:47 +00:00
Felix Fietkau
40134c73fc
ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528 , without the ethernet fifo cfg values)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 12:37:44 +00:00
Felix Fietkau
7a9d13a750
ar71xx: set default values for the fifo cfg registers on AR724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:11 +00:00
Imre Kaloz
0b47979d12
update kernel versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:34:03 +00:00
Gabor Juhos
e0afcb82f9
generic: move ath5k_platform.h from ar71xx to generic files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:58 +00:00
Gabor Juhos
20a0bba898
ar71xx: in-flash macs and eeprom for mach-eap7660d
...
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:52 +00:00
Felix Fietkau
bf6dfd437d
ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00
Felix Fietkau
e12c89f637
ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:15:08 +00:00
Felix Fietkau
d7965cb882
ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down
...
fixes boot time crashes under load reported by matteo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 01:31:33 +00:00
Gabor Juhos
ec990bbb44
ar71xx: fix leds-rb750 build failure on 2.6.34
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:06 +00:00
Jo-Philipp Wich
0db40a2692
[ar71xx] fix dir-825-b1 default network config after r21905
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis
9d0627a92d
fix commit r21993
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:35:12 +00:00
Gabor Juhos
22d4293bce
ar71xx: don't use vlan 0 for devices with rtl8366s switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:32 +00:00
Gabor Juhos
a069981ab9
ar71xx: add support for the Senao EAP7660D board
...
This patch adds support for the Senao EAP7660D board to trunk.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
Gabor Juhos
7c36cc3e6e
ar71xx: fix RB750 LED configuration
...
Patch-by: Ray Bellis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 09:24:26 +00:00
Gabor Juhos
8278f43ea1
ar71xx: avoid duplicated 'board' parameter in kernel command line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
Gabor Juhos
ddfd94c0f8
ar71xx: add default network config for the RB433UAH board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:41 +00:00
Gabor Juhos
122dca56e5
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
Gabor Juhos
93df402589
generic: move more common options to generic configuration
...
* CONFIG_ABX500_CORE
* CONFIG_ATOMIC64_SELFTEST
* CONFIG_BRIDGE_IGMP_SNOOPING
* CONFIG_CAIF
* CONFIG_CEPH_FS
* CONFIG_CRYSTALHD
* CONFIG_DEFAULT_SECURITY_SELINUX
* CONFIG_DEFAULT_SECURITY_SMACK
* CONFIG_DEFAULT_SECURITY_TOMOYO
* CONFIG_DT3155
* CONFIG_IP_MROUTE_MULTIPLE_TABLES
* CONFIG_L2TP
* CONFIG_LOGFS
* CONFIG_LPC_SCH
* CONFIG_MFD_JANZ_CMODIO
* CONFIG_MFD_RDC321X
* CONFIG_N_GSM
* CONFIG_RAMOOPS
* CONFIG_SERIAL_ALTERA_JTAGUART
* CONFIG_SERIAL_ALTERA_UART
* CONFIG_SERIAL_TIMBERDALE
* CONFIG_SM_FTL
* CONFIG_SQUASHFS_XATTRS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
Gabor Juhos
9ac326cb5e
generic: move some common symbols to generic configuration
...
* CONFIG_MUTEX_SPIN_ON_OWNER
* CONFIG_DEFAULT_HYDLA
* CONFIG_DEFAULT_VENO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00
Gabor Juhos
26eef8e23a
generic: standardize CONFIG_INLINE_* symbols usage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
Gabor Juhos
0b5b43eb42
ar71xx: sync kernel configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:36 +00:00
Gabor Juhos
b3c8b895aa
ar71xx: remove more config overrides
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 06:14:19 +00:00
Gabor Juhos
1743244300
ar71xx: fix phy_mask for the RB450
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
Gabor Juhos
8c2198b92b
ar71xx: don't override CONFIG_BRIDGE_* options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:32 +00:00
Gabor Juhos
a303d8a3df
ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:36 +00:00
Gabor Juhos
c876c55817
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis
64324927fb
ar71xx: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:45:47 +00:00
Gabor Juhos
afb03cb38c
ar71xx: add default network configuration file for the RB450/RB433 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:23 +00:00
Gabor Juhos
8048d214fb
ar71xx: enable the IP17xx driver for the nand subtarget
...
Also disable the old ICPlus driver.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:20 +00:00
Gabor Juhos
fd62d6e97a
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
Gabor Juhos
e61a8b2e88
ar71xx: fix 2.6.34 build errors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
Gabor Juhos
650572a2c8
ar71xx: add missing 2.6.34 config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:17:34 +00:00
Gabor Juhos
8c9776b550
ar71xx: build firmware images if Minimal profile is selected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:39 +00:00
Gabor Juhos
3859e97282
ar71xx: rename Minimal profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:34 +00:00
Felix Fietkau
891dbee64e
ar71xx: clarify the nand subtarget a bit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 11:55:49 +00:00
Gabor Juhos
d501f36856
generic: merge mips multi machine update to generic patches for 2.6.34
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:52 +00:00
Gabor Juhos
110d363959
generic: merge mips multi machine update to generic patches for 2.6.33
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:49 +00:00
Gabor Juhos
c60cbd2e61
generic: merge mips multi machine update to generic patches for 2.6.32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:46 +00:00
Alexandros C. Couloumbis
6210bf767f
ar71xx: fix rootfs mount issue ( closes #7319 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 08:49:57 +00:00
Daniel Dickinson
9de82160b1
ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:49 +00:00
Nicolas Thill
de002a7d39
update linux kernel to 2.6.32.14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 18:09:09 +00:00
Nicolas Thill
6598259ef5
target/linux: refresh 2.6.32 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:35:46 +00:00
Hauke Mehrtens
0710ef015d
kernel: update kernel to version 2.6.32.13 and 2.6.33.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
Gabor Juhos
dae241a475
ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
...
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).
Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:38:39 +00:00
Gabor Juhos
0eea4b85a2
ar71xx: fix nbg460n mtd partitions
...
This fixes the NBG460N/550N/550NH mtd partitions.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:37:58 +00:00
Felix Fietkau
cdea3cc534
ar71xx: remove madwifi from the default profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 20:06:50 +00:00
Felix Fietkau
b7aa34d796
ar71xx: use the lzma kernel and a proper size limit for pb92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 20:06:44 +00:00
Felix Fietkau
07c5b4cc79
ar71xx: remove some bogus kernel config overrides
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 16:20:37 +00:00
Felix Fietkau
aa319d87f6
ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 16:20:32 +00:00
Nicolas Thill
8b1974bdad
buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
Felix Fietkau
4d7ee4047a
ar71xx: add a new default profile containing all drivers for all boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 20:16:27 +00:00
Alexandros C. Couloumbis
9c40666ff7
sync to kernel 2.6.32.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 14:30:08 +00:00
Gabor Juhos
555fafafd6
ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex
...
boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:10 +00:00
Gabor Juhos
503f1bafb9
ar71xx: remove config partition from the mtd map on the MZK-W300NH board
...
This space can be used to extend the rootfs_data partition.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:04 +00:00
Gabor Juhos
ad82075821
ar71xx: fix firmware partition size on the MZK-W04NU board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:01 +00:00
Gabor Juhos
74b79f32db
ar71xx: build different firmware images for the DIR-825-Bx boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:58 +00:00
Gabor Juhos
6e8078fb7f
ar71xx: create smaller sysupgrade images for the WRT400N board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:54 +00:00
Gabor Juhos
8e9a9d267a
ar71xx: create firmware images for the TL-WR941ND v3 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:51 +00:00
Gabor Juhos
0656f01bd8
ar71xx: create separate 'factory' and 'sysupgrade' images for the WRT160NL
...
The 'factory' image requires the garbage at the end of the image.
Flashing from the original web interface does not work without that.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:27:47 +00:00
Felix Fietkau
fe2c15b6a5
ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason ( fixes #7236 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 16:39:13 +00:00
Felix Fietkau
ebfdeeb267
ar71xx: fix a wifi card stability issue
...
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 17:24:11 +00:00
Gabor Juhos
cdf16b5bb0
kernel: refresh patches for 2.6.34-rc5 and update md5sum
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:13:21 +00:00
Gabor Juhos
a0a67ed366
kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:12:09 +00:00
Gabor Juhos
0e3f38c6e1
ar71xx: reduce button threshold value on the NBG460 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:23 +00:00
Gabor Juhos
21d31612c3
ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:19 +00:00
Gabor Juhos
f4ab2a76d1
ar71xx: fix mtd_layout for the DIR-615-C1 and similar devices
...
* Thanks to Yury Polyanskiy for the report
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 08:07:25 +00:00
Gabor Juhos
b6bd0ef667
ar71xx: adding support for zyxel nbg460n/550n/550nh boards
...
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 16:24:12 +00:00
Felix Fietkau
4593e471af
ar71xx: fix up alignment handling
...
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary
tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 23:31:17 +00:00
Felix Fietkau
93c328b6ee
ar71xx: fix image builds (broken by r20834)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 18:01:46 +00:00
Nicolas Thill
9d42bb1a21
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
Felix Fietkau
a365e6ee56
ar71xx: add a profile for PB92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 16:50:20 +00:00
Gabor Juhos
c794abda1e
ar71xx: nuke clocksource init patches, it is not required since 2.6.27
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 13:33:03 +00:00
Gabor Juhos
00b93e1214
ar71xx: update phy masks for the Planex boards
...
This avoids probing of the AR8216 chip on the eth0 interface.
Cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:14 +00:00
Gabor Juhos
da7993d9f8
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:09 +00:00
Gabor Juhos
74f5972ab6
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:06 +00:00
Gabor Juhos
a325986fbb
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.
This fixes the header mangling of the AR8216 driver.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:38:46 +00:00
Felix Fietkau
6f4f5e06bc
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
fd27f8a1d9
[PATCH 1/2] Add support for the ar8316 switch.
...
This patch enhances the ar8216 driver with ar8316 support and fixes some minor
issues with the ar8216 driver itself. It should not break anything, but isn't
tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
Gabor Juhos
0f9fc9edba
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 13:59:08 +00:00
Felix Fietkau
aba9d83bea
ar71xx: fix pci on ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:37 +00:00
Felix Fietkau
159a5e0667
ar71xx: fix the wan port on pb92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:04 +00:00
Felix Fietkau
19f9c43c95
ar71xx: reset the mdio bus on ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:35:44 +00:00
Gabor Juhos
05f3bb99df
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
...
* patch by Otto Solares
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:40 +00:00
Gabor Juhos
79c06a8dc9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:36 +00:00
Gabor Juhos
55a949e0f7
ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:27 +00:00
Gabor Juhos
9fb9eaa98e
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:24 +00:00
Gabor Juhos
8db8756bc6
ar71xx: ag71xx: reorganize ag71xx_rx_packet function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:20 +00:00
Gabor Juhos
1f415dbfe9
ar71xx: ag71xx: Add netpoll support
...
This patch adds support for polling interrupts, used by
netconsole and the likes.
Tested on d-link dir-615 C1 using netconsole.
Signed-off-by: Pat Erley <pat-lkml@erley.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 13:05:17 +00:00
Felix Fietkau
e25d743cc3
ar71xx: add images for pb92 - no kernel size check yet, lzma images did not yet work in my tests
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:36:02 +00:00
Felix Fietkau
77ed8000f6
ar71xx: add basic kernel support for pb92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:52 +00:00
Felix Fietkau
ef287bc6c5
ar71xx: add support for ar7241 and ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:41 +00:00
Felix Fietkau
ecd4ce5546
ar71xx: fix pci link detection for ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:27 +00:00
Andy Boyett
94f7c6cc52
[ar71xx] wrt400n: lan ports don't need the ar8216 workaround
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 19:09:11 +00:00
Gabor Juhos
8e67ddaccc
kernel: update to 2.6.32.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
Gabor Juhos
8e17bf613a
ar71xx: Add basic WLAN LED control to TL-WR1043ND
...
* thanks to KillaB
* closes #6834
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 07:31:17 +00:00
Gabor Juhos
bb543b42c4
ar71xx: create smaller initramfs images for the TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 07:31:13 +00:00
Gabor Juhos
e3725ff115
ar71xx: use the RB411 setup for the RB411U
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 18:16:24 +00:00
Gabor Juhos
41b8423dc1
ar71xx: change PHY select logic, and update phy_masks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 18:16:07 +00:00
Gabor Juhos
bba572559e
ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:19 +00:00
Gabor Juhos
9fc4c21a43
ar71xx: optimize register access in ar71xx_pci.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:16 +00:00
Gabor Juhos
85332413ff
ar71xx: optimize register access in irq.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:13 +00:00
Gabor Juhos
a11dc0416a
ar71xx: optimize register access in ar724x_pci.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:10 +00:00
Gabor Juhos
c2ef5274ac
ar71xx: introduce global ar724x_pci_ctrl_base variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:07 +00:00
Gabor Juhos
3c75de37a8
ar71xx: add error handling to ar724x_pcibios_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:03 +00:00
Gabor Juhos
11f888b68e
ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:58 +00:00
Gabor Juhos
72ce25d04e
ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:54 +00:00
Gabor Juhos
27cb794c04
ar71xx: use set_irq_chained_handler for the PCI IRQs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:50 +00:00
Gabor Juhos
a63b2e9e7d
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:46 +00:00
Gabor Juhos
ed2826b023
ar71xx: remove unnecessary includes from setup.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:41 +00:00
Gabor Juhos
afdd5b2423
ar71xx: fix ar724x_pci_wr{,_nf} helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:36 +00:00
Gabor Juhos
9de158aa40
ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
...
* Thanks to Pascal Dornier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 19:53:25 +00:00
Gabor Juhos
f29068f97c
ar71xx: optimize GPIO code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 14:02:31 +00:00
Gabor Juhos
aa755504fc
ar71xx: fix defconfig script to work with ImageBuilder
...
* patch from #5722
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 13:29:16 +00:00
Gabor Juhos
7e31015103
ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:38 +00:00
Gabor Juhos
7edaae7476
ar71xx: build firmware image for the Fry's FR-54RTR board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:36 +00:00
Gabor Juhos
9441a246a3
ar71xx: don't break the existing network configuration in the wget2nand script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:33 +00:00
Gabor Juhos
68c1341586
ar71xx: change DIR-600-A1 image generation template, will be usable for other boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-15 11:03:31 +00:00
Felix Fietkau
3e2f215c02
ar71xx: fix oprofile support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:57 +00:00
Felix Fietkau
2e64f11f68
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
Alexandros C. Couloumbis
72c4802130
ar71xx: add 2.6.34 preliminary support (patches)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 12:25:50 +00:00
Alexandros C. Couloumbis
55770a36bd
ar71xx: add 2.6.34 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 11:57:21 +00:00
Nicolas Thill
f71d2a3f8e
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00
Gabor Juhos
a2672f48ce
ar71xx: create smaller sysupgrade files for the TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:52 +00:00
Gabor Juhos
51665a4cc1
ar71xx: fix sysupgrade on the LS-SR71 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:45 +00:00
Gabor Juhos
cc42486e2a
ar71xx: add default network configuration for the PB44 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:58 +00:00
Gabor Juhos
eba10e101f
ar71xx: add uci-defaults for the RB750 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:51 +00:00
Gabor Juhos
060132c3b8
ar71xx: override lan port names on the RB750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:48 +00:00
Gabor Juhos
f950ef6dca
ar71xx: allow overriding of the lan port names on AP91 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:45 +00:00
Gabor Juhos
9dc09bd52c
ar71xx: improve wget2nand script
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:42 +00:00
Gabor Juhos
cddeb0d7ed
ar71xx: fix a typo in the ar7240 dsa driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:39 +00:00
Gabor Juhos
0edfff7426
ar71xx: ag71xx: fix MAC address setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:36 +00:00
Gabor Juhos
e146a4a5fd
ar71xx: add missing protocol definitions to default network configurations
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:31 +00:00
Gabor Juhos
e7896246fe
ar71xx: simplify WP543 image generation, and fix rootfs offset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 15:32:48 +00:00
Gabor Juhos
519e7224c7
ar71xx: sync .33 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 14:38:46 +00:00
Gabor Juhos
f8c64b81d4
ar71xx: enable AR7240 DSA driver on 2.6.33 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 14:38:43 +00:00
Gabor Juhos
ce81c03f0e
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 13:00:23 +00:00
Gabor Juhos
961db2b910
ar71xx: add NAND driver for the RB750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:23 +00:00
Gabor Juhos
d980f74b2c
ar71xx: add ar71xx_gpio_function_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:14 +00:00
Gabor Juhos
0d9be72129
ar71xx: add LED driver for the RB750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:01 +00:00