1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 19:11:53 +02:00
Commit Graph

1567 Commits

Author SHA1 Message Date
juhosg
ad01160aa2 ar71xx: image: build initramfs images for more boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:13 +00:00
juhosg
bba495fb6f ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:11 +00:00
juhosg
3b5a6363a0 ar71xx: image: pass mtdlayout variables by value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:10 +00:00
juhosg
9f6d45184a ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:08 +00:00
juhosg
32fd04f49a ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:07 +00:00
juhosg
514a769538 ar71xx: remove the built-in MTD map of the PB92 board
Pass the mtd_layout via the kernel command line instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:05 +00:00
juhosg
5ca96e340c ar71xx: remove the built-in MTD map of the Zcomax devices
Pass the mtd_layout via the kernel command line instead.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:04 +00:00
juhosg
5ba8709ee9 ar71xx: reclaim the 'user_property' partition on WHR-* boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:02 +00:00
juhosg
e27017a728 ar71xx: remove the built-in MTD maps of several boards
We are passing the MTD layout via the kernel command line, so
it makes no sense to duplicate it in mach-* files. The patch
removes the built-in MTD maps of the following boards:

 * AP113
 * ALFA N2/N5
 * DIR-600
 * DIR-615
 * DIR-825
 * TEW-6{3,5}2BRP
 * TEW-673GRU
 * WHR-G301N
 * WHR-HP-GN
 * WHR-HP-G300N

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:01 +00:00
juhosg
603bb2bb6e ar71xx: use modules for LED triggers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:59 +00:00
juhosg
52b72cdab7 ar71xx: disable CONFIG_{I2C,SPI}_GPIO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:53 +00:00
juhosg
6891d42521 ar71xx: sync 3.3 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:52 +00:00
juhosg
70b0829237 ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:51 +00:00
juhosg
3a64a2209c linux: refresh patches against 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:07 +00:00
juhosg
281c1076f3 ar71xx: fix IRQ number for the AR7240 OHCI controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:02:48 +00:00
juhosg
77ec3b2de9 kernel: update linux 3.2 to 3.2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
juhosg
36a8c139f1 ar71xx: disable unused file system drivers in the nand subtarget
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:07 +00:00
juhosg
6c06680875 ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:06 +00:00
juhosg
fd48e871d0 ar71xx: add initial support for RB750GL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:04 +00:00
juhosg
c8aab4b6c2 ar71xx: make rb750_latch_change 'static void'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:03 +00:00
juhosg
58ce76e6b5 ar71xx: add latch_change field to rb750_led_platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:01 +00:00
juhosg
e929396e19 ar71xx: add platform data for the RB750 NAND driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:56:59 +00:00
juhosg
bbdc83e3fc ar71xx: use a different pll value on DB120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:22 +00:00
juhosg
1a9e33b337 ar71xx: add AR934x specific interface speed setup for ge0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:20 +00:00
juhosg
912934742d ar71xx: remove static MTD maps from AP121/DB120 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:19 +00:00
nbd
c746848b47 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
juhosg
1430d7ad5e ar71xx: use AR8327 on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:58 +00:00
juhosg
9db5393790 ar71xx: add profile and generate image for the JA76PF2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:40 +00:00
juhosg
be8e44bc68 ar71xx: add support for the jjPlus JA76PF2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:34 +00:00
juhosg
aaa7c394a3 ar71xx: change LED name prefix on the jjplus boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:26 +00:00
juhosg
263a705cc6 ar71xx: move micrel PHY driver to the generic linux target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:53 +00:00
juhosg
1d9a77e99f ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:38 +00:00
juhosg
0fced5df74 ar71xx: ag71xx: start aneg on switch PHYs after reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:37 +00:00
juhosg
9d0c4ce009 ar71xx: ag71xx: poll PHY status of all available switch ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:36 +00:00
juhosg
d2b8246b44 ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:34 +00:00
juhosg
f9450e76b1 ar71xx: reset the switch on AR934x before ethernet device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:33 +00:00
juhosg
4501ad5f3b ar71xx: fix a typo in ar71xx_regs.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:31 +00:00
juhosg
510f76eab5 ar71xx: use a dummy callback for interfaces with fixed speed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:58 +00:00
juhosg
710f4ecdd1 ar71xx: merge ar934x_bo_ddr_flush patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:57 +00:00
juhosg
da951178da ar71xx: enable UART function for early_printk/console
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 17:32:39 +00:00
juhosg
c385265566 ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:57 +00:00
juhosg
918793b48a ar71xx: fix Compex WPE72 detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:56 +00:00
juhosg
5539c13cff ar71xx: stop image building if a loader is missing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 14:03:28 +00:00
juhosg
c9de293cbb ar71xx: add watchdog driver to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 09:00:17 +00:00
juhosg
f69d75cd5e ar71xx: fix WPS button polarity on TL-WR2543N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 19:50:53 +00:00
juhosg
d32129c110 ar71xx: ag71xx: fix get_port_link callback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:35 +00:00
juhosg
4a420c6fa2 ar71xx: ag71xx: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:34 +00:00
juhosg
d5161a8aa9 ar71xx: refresh patches against 3.3-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 14:10:29 +00:00
juhosg
78859ab57d ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:05 +00:00
juhosg
57b73bf423 kernel: update linux 3.2 to 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
juhosg
ebeffb64e9 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 20:41:38 +00:00
nbd
70862d497d ar71xx: switch to kmod-gpio-button-hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:48 +00:00
juhosg
8930617368 ar71xx: fix image signature for UBNT-XM boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:52 +00:00
juhosg
a0ef5265a1 ar71xx: remove duplicated define from the D-Link profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 09:03:27 +00:00
cshore
10724eda20 [ar71xx] Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:45:28 +00:00
cshore
5e4fce2233 [ar71xx] d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:38:33 +00:00
cshore
d24315ad26 [ar71xx] Fix partitions for Cameo-based boards; kernel 3.2 is bigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:29:26 +00:00
cshore
1a609bdce0 [ar71xx] image: For Cameo-based board fix adding mtd layout to kernel commandline)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:24:45 +00:00
juhosg
3c97dc485a ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:58 +00:00
juhosg
a433c026e5 ar71xx: add model detection for TL-WR842N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:57 +00:00
juhosg
5d13bee59c ar71xx: zero partition parser data in m25p80
Ths fixes parsing of RedBoot partitions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 20:19:06 +00:00
juhosg
314c3a2a09 ar71xx: fix platform description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:27:49 +00:00
juhosg
ee8624ffde ar71xx: ag71xx: add BQL support
It will be usable only from linux-3.3.

Based on a patch by Dave Taht <dave.taht@bufferbloat.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:47 +00:00
juhosg
2ffafb14db ar71xx: add dummy DQL helper functions for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:44 +00:00
juhosg
33ec8951f8 ar71xx: add preliminary support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:53:56 +00:00
nbd
d2514fe7ac ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:37 +00:00
nbd
f243888497 ar71xx: fix db120 board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:31 +00:00
juhosg
1d05b280c9 ar71xx: allow to build ag71xx w/o PCI support enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:10 +00:00
juhosg
8940cbc303 ar71xx: merge 3.2 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:33 +00:00
juhosg
d9077e15ae ar71xx: merge files-3.2 to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:31 +00:00
juhosg
a25bc14378 ar71xx: nuke 2.6.39 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:28 +00:00
juhosg
8fbe7bf211 ar71xx: switch to 3.2.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:27 +00:00
juhosg
7666a203c2 ar71xx: refresh 3.2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:25 +00:00
juhosg
821bbd90e1 ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 21:19:57 +00:00
nbd
3ca45835c8 ar71xx: fix ar934x usb reset handling on 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 20:39:41 +00:00
juhosg
808eca9375 ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 20:47:58 +00:00
juhosg
be2b898a91 ar71xx: 3.2: fix AHB clock name in rb4xx_spi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 20:47:56 +00:00
juhosg
d87e44f83c ar71xx: add profile and build image for the TEW-673GRU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:27 +00:00
juhosg
b99e4f9ccd ar71xx: add support for the TRENDNet TEW-673GRU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:25 +00:00
nbd
a5e6e41fc3 ar71xx: add usb on the pb92 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 09:44:51 +00:00
juhosg
efe78d1eeb ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 20:49:34 +00:00
juhosg
61fe64fa9d ar71xx: merge DIR-600 A1 and DIR-615 E4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:29 +00:00
juhosg
8be0cce7cc ar71xx: fix ethernet LEDs on the DIR-600-A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:24 +00:00
juhosg
01af86f6ed ar71xx: unify LED names on D-Link boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:15 +00:00
juhosg
65ca4389f1 ar71xx: support for D-LINK DIR-615 rev. E4
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:09 +00:00
juhosg
4bc970ba4f ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:01 +00:00
juhosg
796a085cac ar71xx: compress kernel binaries in Image/Prepare stage
The lzma compressed kernel is used by one of the loaders.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:54 +00:00
juhosg
41e9c172ba ar71xx: use dynamically allocated partitions in wrt160nl_part
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:51 +00:00
florian
ebbec463c7 [ar71xx] add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
florian
ccc47d58db [ar71xx] refresh 3.2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:43 +00:00
juhosg
8fcb797999 ar71xx: use 64k block size for WZR-HP-AG300H
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 10:42:41 +00:00
juhosg
406018ae4d ar71xx: fix sysupgrade image building of atheros boards after r29899
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 07:51:09 +00:00
juhosg
72a8cff4c1 ar71xx: create the temporary directory before building initramfs images
Thanks to Florian for reporting.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 21:28:34 +00:00
juhosg
b8f0111122 ar71xx: create a profile and build images for Compex WPE72
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:44 +00:00
juhosg
af63c6a4f8 ar71xx: add support for Compex WPE72/WPE72NX
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
juhosg
0bca69f7bf ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
juhosg
f662489883 ar71xx: TL-MR3020: fix GPIO polarity for button and switch
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:43 +00:00
juhosg
3f391b2e19 ar71xx: use the lzma loader on the Planex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:10 +00:00
juhosg
a805739180 ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:08 +00:00
juhosg
f2dce5bf3d ar71xx: fix the AP/Router LED definitons on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:38 +00:00
juhosg
280177d53b ar71xx: preset WLAN LED config on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
juhosg
c8f5aae9fd ar71xx: remove hardcoded MTD layout from planex files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:34 +00:00
juhosg
8b3aaef2dd ar71xx: pass mtdlayout to Planex boards via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:33 +00:00
juhosg
7fe033da7a ar71xx: remove an unused header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:31 +00:00
juhosg
3ea7ce5200 ar71xx: nuke fs_all variable in image/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:25 +00:00
juhosg
6c5c90403f ar71xx: create interim kernel files in a separate dir
This reduces the size of the ImageBuilder tarball a lot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:23 +00:00
juhosg
50e8ce781c ar71xx: prebuild all loaders in Image/Prepare stage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:22 +00:00
juhosg
71feb1ed02 ar71xx: 3.2: fix build errors if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:21 +00:00
juhosg
be456a1234 ar71xx: fix compiler warning if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:18 +00:00
juhosg
e0b80e41eb ar71xx: add initial support for 3.2
Tested on the following boards:
  ALFA AP96
  TL-MR3220 v1
  TL-WR1043ND v1
  TL-WR2543ND v1
  TL-WR703N v1
  TL-WR741ND v1
  TL-WR741ND v4
  WNDR3700 v1
  WZR-HP-G300NH

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:19 +00:00
juhosg
22b99f32a1 ar71xx: move arch specific files to files-2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
juhosg
b66dee35c3 ar71xx: build ALFA AP96 images with default profile as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:33:15 +00:00
juhosg
acc9c3cbf5 ar71xx: wrt160nl_part: include module.h and fix compiler warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:38 +00:00
juhosg
681c0cf274 ar71xx: tplinkpart: include module.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:36 +00:00
juhosg
523cf1638c ar71xx: rename vsc7385 spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:57 +00:00
juhosg
e3c5dcc5ee ar71xx: rename ap81 spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:56 +00:00
juhosg
047bbb085a ar71xx: rename rb4xx spi drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:54 +00:00
juhosg
d73151f6d4 ar71xx: rename the nxp_74hc153 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:52 +00:00
juhosg
3746d2ed29 ar71xx: change board id of the UniFi board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
juhosg
fa5eb96b17 ar71xx: include linux/module.h in the micrel phy driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:49 +00:00
juhosg
1b3efb3352 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
juhosg
74844fd50b ar71xx: disable ath79 in order to get rid of Kconfig warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
juhosg
6734a832bc ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
juhosg
7bb349bc59 ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00
juhosg
ddfc10f668 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:15 +00:00
juhosg
3e74da5245 ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:14 +00:00
juhosg
8e61fd2405 ar71xx: ar71xx_spi: save and restore regs from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:13 +00:00
juhosg
302dc3a936 ar71xx: ar71xx_wdt: add shutdown handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:11 +00:00
juhosg
0dad098602 ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:43 +00:00
juhosg
e1a6e8b311 ar71xx: add a profile and build images for the TL-WR2543N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:42 +00:00
juhosg
19be413163 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
juhosg
3e84f7b9f1 ar71xx: allow to specify max read size for m25p80
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
juhosg
54bc3d42c4 ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
juhosg
c2243d1fb9 generic: improve MIPS kexec support
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
juhosg
66663e2809 ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
juhosg
01c809eff1 ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
4c93839943 ar71xx: fix RB-750 network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
juhosg
c63a29ee7f ar71xx: fix sections mismatch warnings in the nand drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00
juhosg
978d04d680 ar71xx: fix LED configuration on the RB-750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
juhosg
6c8dc3bd72 ar71xx: create profile and build image for the ALFA AP96 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:57 +00:00
juhosg
b8e2e95b70 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
juhosg
3d14a486be ar71xx: specify console kernel parameter for the Compex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:59 +00:00
juhosg
86c95a9481 ar71xx: allow to use the command line hack on compex devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
juhosg
bf238aa8e9 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
juhosg
c96ab77e4e ar71xx: show correct model name on TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
juhosg
06483eda3d ar71xx: add profile and build image for the TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:54 +00:00
juhosg
342be7abf7 ar71xx: fix network configuration for the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
juhosg
9229d15c65 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
juhosg
28c6546050 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
juhosg
2b1cf2b32c ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00