Commit Graph

921 Commits

Author SHA1 Message Date
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
John Crispin
712dec1027 ramips: add missing profile for DIR-615-D
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40911
2014-06-02 12:43:07 +00:00
John Crispin
9b728bebfb ramips: fix not set lan/wan mac address
The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40910
2014-06-02 12:43:04 +00:00
John Crispin
813a7c3827 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40908
2014-06-02 12:42:52 +00:00
John Crispin
efd09832fe ramips: Support for Teltonika RUT5XX
Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>

SVN-Revision: 40907
2014-06-02 12:42:48 +00:00
John Crispin
583b908bc7 ralink: Enable Asus RT-N10+ in menuconfig targets
This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk).
Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org>

SVN-Revision: 40903
2014-06-02 12:41:45 +00:00
John Crispin
4a7a0d2536 ralink: add dir-645 to the eeprom hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40561
2014-04-23 07:52:56 +00:00
John Crispin
720a0a1df1 ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40557
2014-04-23 07:51:57 +00:00
John Crispin
cd5f3584e2 ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>

SVN-Revision: 40554
2014-04-22 08:08:51 +00:00
John Crispin
284ada8a3e ramips: build factory-compatible image for AR725W
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40552
2014-04-22 08:08:42 +00:00
John Crispin
cb91087991 ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40550
2014-04-22 08:08:35 +00:00
John Crispin
2b2d274bfa ramips: Add Airlink101 AR725W board support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40549
2014-04-22 08:08:31 +00:00
John Crispin
010dcd092f ralink: add port_init for rt2880
Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40504
2014-04-13 18:01:08 +00:00
John Crispin
7ae1d573ae Fix Asus rt-n15 board support
* gpio leds and buttons
* ethernet

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40494
2014-04-12 21:22:04 +00:00
John Crispin
3d6ba83fe4 rt2880 DT fixes
* add pinctrl
* fix ethernet port
* make wifi available by default

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40493
2014-04-12 21:22:00 +00:00
John Crispin
fa86c30538 Fix pinmux-rt2880
The last arg to FUNC() is count, not last pin.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40492
2014-04-12 21:21:56 +00:00
John Crispin
73160c1ad6 Add wmac clock for rt2880
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40491
2014-04-12 21:21:53 +00:00
John Crispin
72803e0e27 Don't try to generate whr-g300n image if it's going to be more than 4M
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 40489
2014-04-12 21:21:44 +00:00
Gabor Juhos
d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
John Crispin
f1e31f8266 ralink: fix WHR-300HP2 mtd size
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40419
2014-04-07 15:10:26 +00:00
Felix Fietkau
8f41856f1f ramips: fix regression from r39949 (#15382)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40391
2014-04-06 00:09:50 +00:00
John Crispin
5b6ceab69b ralink: fix chuncked-io module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40342
2014-03-30 19:03:55 +00:00
Gabor Juhos
627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
John Crispin
4835ea949f ralink: add missing OF node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39950
2014-03-18 19:22:13 +00:00
John Crispin
332b94fbd5 ralink: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39949
2014-03-18 19:21:56 +00:00
John Crispin
375e02ac3d ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39896
2014-03-12 19:33:01 +00:00
John Crispin
96fa58bafd ralink: add support for wrtnode
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39786
2014-03-07 09:54:59 +00:00
Gabor Juhos
f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
John Crispin
b56bef28d7 ralink: add support for na930
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39611
2014-02-18 13:33:25 +00:00
John Crispin
55383946dc ralink: add gpio_uartf mux group
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39610
2014-02-18 13:33:20 +00:00
John Crispin
363512b8c6 ralink: fix the gpio mode mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39609
2014-02-18 13:33:16 +00:00
Gabor Juhos
a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
John Crispin
ebaa3817a7 ralink: activate xhci config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39330
2014-01-19 17:27:31 +00:00
John Crispin
a818a3cf8f ralink: backport various fixes from linux-mti
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39329
2014-01-19 17:27:22 +00:00
John Crispin
a75b692557 ralink: add xhci driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39328
2014-01-19 17:27:13 +00:00
John Crispin
f3a243c3dd ramips: Add profile for the Edimax BR-6475nD
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39299
2014-01-15 18:29:51 +00:00
John Crispin
beb29461ff ramips: Add userspace support for the Edimax BR-6475nD
The rt2x00 wifi driver may still need updating to
function with this device.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39298
2014-01-15 18:29:44 +00:00
John Crispin
62dd252b86 ramips: rt3883: Fix a typo in rt3883.dtsi
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 39297
2014-01-15 18:29:03 +00:00
John Crispin
9821ce8ed6 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39248
2014-01-12 17:26:24 +00:00
John Crispin
03ef20ce6f ralink: fix eeprom loading
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39245
2014-01-12 14:03:15 +00:00
John Crispin
4282d796ea ralink: fix WHR-600D and WHR-300HP image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39241
2014-01-12 12:12:58 +00:00
John Crispin
a7f53759f5 ralink: fix WHR-600D pcie support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39240
2014-01-12 12:12:53 +00:00
John Crispin
3a64ddd0a1 ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39237
2014-01-12 12:07:40 +00:00
John Crispin
aa2be01076 ralink: switch to askconsole
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39236
2014-01-12 12:07:34 +00:00
John Crispin
665c51935e ralink: fix uartf memory range size
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39235
2014-01-12 12:07:30 +00:00
John Crispin
6278a892d8 ralink: honour memory@0 node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39234
2014-01-12 12:07:26 +00:00
John Crispin
0ac291d073 ralink: fix rt5350 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39233
2014-01-12 12:07:20 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
John Crispin
9715b61b3c ralink: fix tso regression in the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39168
2013-12-27 21:14:49 +00:00
John Crispin
9739a0b41b ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board

current support status:
usb        works
ethernet   works
buttons    reset, wps
leds       asus:blue:[usb|lan|wan|air|power]
i2c        not tested
uart       not tested
wifi       not yet

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39163
2013-12-25 17:04:50 +00:00