cshore
4e7d8aa302
[ar71xx] dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 14:17:12 +00:00
nbd
6cd281447f
ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 11:17:29 +00:00
nbd
9d164b87ca
ar71xx: fix WP543 image builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 10:21:21 +00:00
juhosg
f74bd75daa
ar71xx: merge machine support patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:28 +00:00
juhosg
e9a522de9e
ar71xx: register the NAND controller device on the RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:26 +00:00
juhosg
39bdbbc7fc
ar71xx: add device registration code for the AR934x NAND flash controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:25 +00:00
juhosg
8788b410ee
ar71xx: package the AR934x NAND driver module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:23 +00:00
juhosg
ce47c98d07
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:22 +00:00
juhosg
e96ea88268
ar71xx: define NAND controller base address and register size for AR934X/QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:06:38 +00:00
juhosg
29f447b9fd
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:38:01 +00:00
juhosg
e1ee097247
ar71xx: fix QCA955X_EHCI_SIZE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:32:54 +00:00
jow
20856122c5
[ar71xx] fix description of nand/Ath5k profile ( #12149 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:40:26 +00:00
juhosg
4b7be33ba5
ar71xx: add initial support for RB2011UAS-2HnD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:32 +00:00
juhosg
25dbd4639c
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:30 +00:00
juhosg
d0d14675bb
ar71xx: add RouterBoot related helper routines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:28 +00:00
juhosg
4834938a89
ar71xx: define MTD partitions for RB2011
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:24 +00:00
juhosg
775e69dfac
ar71xx: add preliminary support for Mikrotik RB2011L
...
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.
[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:22 +00:00
juhosg
527f8049cd
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:20 +00:00
juhosg
c4b6e540e4
ar71xx: add dynamic MDIO clock calculation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:17 +00:00
juhosg
3868d762d1
ar71xx: use the RLE library for RB751
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
juhosg
6142d590e3
ar71xx: add library code for RLE decoding
...
It will be used for the MikroTik boards.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
juhosg
41be3a0bd3
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
juhosg
6f0a45267a
ar71xx: refresh kernel patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
cshore
60244743f9
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 18:15:26 +00:00
juhosg
34d7147aef
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:26:50 +00:00
juhosg
b4336504ba
ar71xx: add rssileds to package set in profile for devices which got them.
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:51 +00:00
juhosg
311f77fe3e
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
...
That was based on assumptions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:55 +00:00
juhosg
32b0679079
ar71xx: all0315n: fix ethernet according to vendor info
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:54 +00:00
juhosg
ddc3f6ec51
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:53 +00:00
juhosg
80cd7e164b
ar71xx: image: fix Profile name for TL-WA701 ( closes #12094 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:30 +00:00
juhosg
1631af0254
ar71xx: Buffalo WZR-HP-AG300H LED support
...
An improved LED support for Buffalo WZR-HP-AG300H.
There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.
[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:11:55 +00:00
juhosg
8bdd622adf
ar71xx: add profile for Allnet devices
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:38 +00:00
juhosg
54b8dcd696
ar71xx: generate image for ALL0315N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:37 +00:00
juhosg
cedfbc3c41
ar71xx: sysupgrade for the ALL0315N
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:36 +00:00
juhosg
61de747998
ar71xx: rename all0258n.sh to allnet.sh
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:35 +00:00
juhosg
9432be698b
ar71xx: detect ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:32 +00:00
juhosg
2065e21ba2
ar71xx: add support for the Allnet ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:31 +00:00
juhosg
aec6c8f610
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:26 +00:00
juhosg
dbf3c1bc27
ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
...
Commit 4878806326
(r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.
The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.
Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:
for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
grep -q ,$i, Makefile || echo $i;
done > missing-boards.new
Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 08:15:11 +00:00
juhosg
c76c0db809
ar71xx: image: fix TL-WR1043ND board id ( #12079 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 06:30:37 +00:00
juhosg
a67ed5995a
ar71xx: image: group and sort {Single,Multi}Profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:17:47 +00:00
juhosg
069b91b062
ar71xx: image: group and sort mtdlayout definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:14:35 +00:00
juhosg
9b5adee41c
ar71xx: image: use the MultiProfile helper for the Madwifi profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:11:25 +00:00
juhosg
435453d8a3
ar71xx: image: automatically build a list of SingleProfiles
...
Use that for Default/Minimal profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:08:15 +00:00
juhosg
c867446b4a
ar71xx: image: use the new helpers for the ZyXEL images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:05:05 +00:00
juhosg
4f6630ddb2
ar71xx: image: use the new helpers for the Zcomax images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:01:55 +00:00
juhosg
3645b6d44e
ar71xx: image: use the new helpers for the WRT400 images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:58:45 +00:00
juhosg
072e9e5744
ar71xx: image: use the new helpers for the WZRHPG30XNH images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:55:35 +00:00
juhosg
fe826b8e2c
ar71xx: image: use the new helpers for the WHRHPG300N images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:52:25 +00:00
juhosg
41d5b181ae
ar71xx: image: use the new helpers for the UBNTXM images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:49:15 +00:00