Weijie Gao [Sat, 18 Feb 2017 14:32:49 +0000 (22:32 +0800)]
ar71xx: fix vlan settings for some boards
For AR71XX devices, GMAC1 always connects port 0 of the built-in switch,
as the CPU port.
This patch sets correct vlan for some devices with wrong settings:
a) mark port 0 as CPU port, tagged
b) reverse port order, marking these ports untagged
Signed-off-by: Weijie Gao <hackpascal@gmail.com>
Thibaut VARENE [Sun, 19 Feb 2017 16:19:08 +0000 (17:19 +0100)]
ar71xx: Add more boards to the routerboard serial detection patch
This patch enables serial console on the 435 series and the 953gs.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Hsing-Wang Liao [Sat, 18 Feb 2017 06:40:58 +0000 (14:40 +0800)]
kernel: add Chinese codepages
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
Alexandru Gagniuc [Wed, 1 Feb 2017 19:21:24 +0000 (11:21 -0800)]
uboot-omap: Update to u-boot v2017.01
Specifying USE_PRIVATE_LIBGCC is no longer needed, as it is the
default.
Patch 001 is removed, since it was already merged upstream. Patches
100 and 101 are removed because they do not appear to be needed
anymore, and they do not conform with the sign-off and commit message
procedures.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Alexandru Gagniuc [Sat, 26 Nov 2016 00:52:41 +0000 (16:52 -0800)]
uboot-omap: Do not hide bootloader packages
Because they were hidden, there was no way to disable the uboot
targets in menuconfig, so they had to be built every time. The omap
target is the only one to hide uboot packages. To be consistent with
the other targets, and have more control over the build, un-hide the
u-boot packages.
Note that the default behavior remains unchanged, as uboot will be
built unless explicitly disabled.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Thomas Roberts [Mon, 13 Feb 2017 17:29:34 +0000 (17:29 +0000)]
ar71xx: add support for TL-WR802N Version 2
This patch adds support for the TP-Link TL-WR802N Version 2.
Specification:
- SoC: Qualcomm Atheros QCA9533 (560 MHz, MIPS 24Kc)
- RAM: 32 MiB
- Storage: 4 MiB of FLash on board
- Wireless: Built into QCA9533 (Honey Bee), PHY modes b/g/n
- Ethernet: 1x100M (port0)
Installation through OEM Web Interface:
- Connect to TL-WR802N by Ethernet or Wi-Fi
- Go to http://192.168.0.1 (default user is "admin" & password is "admin)
- Go to "System Tools -> Firmware Upgrade"
- Browse for firmware "*.factory-us.bin" or "*.factory-eu.bin" for eu model
- Click upgrade
Installation through tftp:
Note: T_OUT, T_IN and GND on the board must be connected to USB TTL
Serial Configuration 115200 8n1
- Boot the TL-WR802N
- When "Autobooting in 1 seconds" appears type "tpl" followed by enter
- Connect to the board Ethernet port
(IPADDR: 192.168.1.1, ServerIP: 192.168.1.10)
- tftpboot 0x80000000 <Firmware Image Name>
- Record the result of "printenv bootcmd"
- Enter "erase <Result of 'printenv bootcmd'> +0x3c0000"
(e.g erase 0x9f020000 +0x3c0000)
- Enter "cp.b 0x80000000 <Result of 'printenv bootcmd'> 0x3c0000"
(e.g cp.b 0x80000000 0x9f020000 0x3c0000)
- Enter "bootm <Result of 'printenv bootcmd'>"
(e.g bootm 0x9f020000)
Signed-off-by: Thomas Roberts <tom.p.roberts@gmail.com>
Jo-Philipp Wich [Sun, 19 Feb 2017 19:45:11 +0000 (20:45 +0100)]
sdk: emit proper tag references for base URLs
Properly resolve symbolic tag names when constructing the base feed Git url
and avoid emitting "HEAD" references when building from detached commits.
Fixes #495, #501.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 16 Feb 2017 16:36:47 +0000 (17:36 +0100)]
opkg: switch to own fork to improve memory usage
Switch to our own fork of opkg to significantly reduce the required amount
of memory when updating lists or installing packages.
Preliminary tests showed a usage drop of about 90% during these operations,
from ~3.7MB with unmodified opkg to ~360KB with our custom fork.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 17 Feb 2017 09:49:14 +0000 (10:49 +0100)]
libubox: add host build
Our opkg fork requires libubox to build, so add a host build for it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 19 Feb 2017 18:04:09 +0000 (19:04 +0100)]
firewall3: update to Git head to support xtables API level > 11
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Felix Fietkau [Sun, 19 Feb 2017 14:28:01 +0000 (15:28 +0100)]
gen-dependencies.sh: fix handling variations in "file" output
On some systems, file adds ", with debug info" after "not stripped"
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Sun, 19 Feb 2017 13:02:38 +0000 (14:02 +0100)]
rstrip.sh: fix handling variations in "file" output
On some systems, file adds ", with debug info" after "not stripped"
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Mathias Kresin [Fri, 17 Feb 2017 22:29:46 +0000 (23:29 +0100)]
lantiq: fix warning if ltq_atm modules are missing
Fixes the following warning on first boot if the ltq_atm modules are
not included in the image:
ls: /lib/modules/4.4.49/ltq_atm*: No such file or directory
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Fri, 17 Feb 2017 21:16:01 +0000 (22:16 +0100)]
lantiq: set the internet led interface according to wan interface
Use the nas0 interface for the netdev trigger as default. Use the ptm0
interface for xRX200 boards to match the default wan interface set in
02_network.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Fri, 17 Feb 2017 21:04:12 +0000 (22:04 +0100)]
lantiq: introduce lantiq_is_vdsl_system
Move the code to check if the current system is a system with vdsl
support to a dedicate function to make it reusable.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 2 Feb 2017 23:59:16 +0000 (00:59 +0100)]
lantiq: fix ARV7519RW22 switch port indexing
Fixes FS#454.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Hans Dedecker [Fri, 17 Feb 2017 14:45:08 +0000 (15:45 +0100)]
odhcp6c: fix PKG_MIRROR_HASH
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Felix Fietkau [Fri, 17 Feb 2017 13:21:47 +0000 (14:21 +0100)]
uhttpd: use sha256 when generating certificates with openssl (FS#512)
Patch from attachment to FS#512
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 17 Feb 2017 09:04:16 +0000 (10:04 +0100)]
libpcap: remove feature dependencies on kmod-* packages
USB support could be built into the kernel as well
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stijn Tintel [Fri, 17 Feb 2017 11:18:58 +0000 (12:18 +0100)]
dropbear: bump PKG_RELEASE
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Felix Fietkau [Fri, 17 Feb 2017 10:51:42 +0000 (11:51 +0100)]
ar71xx: fix ethernet PLL configuration for QCA956x
QCA956x is configured like AR934x, not like the older chips.
Should fix ethernet hangs when using the WAN port without SGMII
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Henryk Heisig [Thu, 16 Feb 2017 14:22:49 +0000 (15:22 +0100)]
ar71xx: fix lan ports on archer C59 and C60
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
David Woodhouse [Wed, 15 Feb 2017 17:27:45 +0000 (17:27 +0000)]
x86: Set default baud rate on Geode images to 115200
Prior to commit
1496b95a0 ("x86: clean up default grub baudrate
settings") we had three different baud rates for the Geode targets:
19200 for net5501, 38400 for alix2, and 115200 for Geos.
It doesn't seem that there's a very good reason for varying from our
default 115200 baud, so let's make the Geode target do that instead.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse [Wed, 15 Feb 2017 16:11:12 +0000 (16:11 +0000)]
x86: Add Geos profile for Geode subtarget
This makes the Geode images actually useful again. The Geos profile
should include the relevant hardware for that board, and the Default
profile adds the via-rhine adapter which seems to have been present in
the net5501 and alix targets killed in commit
9e0759ea265 ("x86: merge
all geode based subtargets into one").
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Karol Dudek [Sun, 12 Feb 2017 17:34:36 +0000 (18:34 +0100)]
ar71xx: add support for 8devices Lima board
Lima is a module for the (IoE) internet of everything applications,
based on Qualcomm/Atheros QCA4531.
Specification:
- 650/600/216 MHz (CPU/DDR/AHB)
- 64 MB of RAM (DDR2)
- 32 MB of FLASH
- 2T2R 2.4 GHz
- 2x 10/100 Mbps Ethernet
- USB 2.0 Host
- PCIe
- UART for serial console
- 14x GPIO
Flash instruction:
1. Download lede-ar71xx-generic-lima-squashfs-sysupgrade.bin
and rename it to 8dev_recovery.bin
2. Binary file copy to USB stick and plug into slot USB
3. Press S2 (reset) button
4. Press and hold the S1 button by 5 seconds
5. Wait ~40 seconds to complete recovery
Tested on:
- Lima development kit
Signed-off-by: Karol Dudek <karoiz@sli.pl>
John Crispin [Thu, 16 Feb 2017 19:15:52 +0000 (20:15 +0100)]
mediatek: add more missing symbols
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Thu, 16 Feb 2017 11:25:25 +0000 (12:25 +0100)]
ipq806x: add v4.9 support
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Thu, 16 Feb 2017 13:13:39 +0000 (14:13 +0100)]
mediatek: add config file for v4.9
Signed-off-by: John Crispin <john@phrozen.org>
Felix Fietkau [Mon, 6 Feb 2017 10:46:48 +0000 (11:46 +0100)]
mvebu: add linux 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Günther Kelleter [Wed, 15 Feb 2017 09:36:49 +0000 (10:36 +0100)]
ar8216: flush ARL table during reset after init_globals
commit
33b72b8e0faf7a39faabece584fd6da61cd8f8df
"ar8216: adjust ATU flushing in case of link changes"
introduced portwise flushing on link down events. Now the ARL table could
be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped
forever (depending on the entries collected while booting).
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
John Crispin [Thu, 16 Feb 2017 08:53:03 +0000 (09:53 +0100)]
mediatek: bump to v4.9
Signed-off-by: John Crispin <john@phrozen.org>
Furong Xu [Thu, 16 Feb 2017 03:10:28 +0000 (11:10 +0800)]
ramips: fix the number of uarts for MT7688
Same as MT7621 and MT7628, MT7688 allows up to 3 uarts
Signed-off-by: Furong Xu <xfr@outlook.com>
Furong Xu [Thu, 16 Feb 2017 02:00:48 +0000 (10:00 +0800)]
ramips: fix PWM pin mux conflict in dtsi
GPIO18 and GPIO19 on OMEGA2(+) should be GPIO mode, enable PWM lead to a conflict
[ 0.290633] rt2880-pinmux pinctrl: pin io18 already requested by pinctrl; cannot claim for
10005000.pwm
[ 0.299722] rt2880-pinmux pinctrl: pin-18 (
10005000.pwm) status -22
[ 0.305729] rt2880-pinmux pinctrl: could not request pin 18 (io18) from group pwm0 on device rt2880-pinmux
[ 0.315131] mtk-pwm
10005000.pwm: Error applying setting, reverse things back
Keep PWM disabled.
Signed-off-by: Furong Xu <xfr@outlook.com>
Cezary Jackiewicz [Wed, 15 Feb 2017 18:06:04 +0000 (19:06 +0100)]
ugps: fix typo
Removing redundant spaces from the name of the option. Without fix:
root@LEDE:~# opkg install ugps
Installing ugps (2016-10-24-
32a6b2b7-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mips_24kc/base/ugps_2016-10-24-
32a6b2b7-1_mips_24kc.ipk
Configuring ugps.
uci: Parse error (invalid character in name field) at line 3, byte 23
uci: Parse error (invalid character in name field) at line 3, byte 23
sh: out of range
root@LEDE:~# uci show gps
uci: Parse error (invalid character in name field) at line 3, byte 23
With this fix:
root@LEDE:~# uci show gps
gps.@gps[0]=gps
gps.@gps[0].tty='ttyACM0'
gps.@gps[0].adjust_time='1'
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
Felix Fietkau [Thu, 16 Feb 2017 06:43:27 +0000 (07:43 +0100)]
build: fix the toolchain rebuild check
- Check for changes in toolchain/ only
- Only replace the stamp file if it was changed
- Fix dependencies for staging dir prepare
- Move the stamp file to TOOLCHAIN_DIR
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Hauke Mehrtens [Wed, 15 Feb 2017 23:36:29 +0000 (00:36 +0100)]
kernel: update kernel 4.4 to version 4.4.49
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Wed, 15 Feb 2017 20:54:37 +0000 (21:54 +0100)]
kernel: update kernel 4.9 to version 4.9.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Mirko Parthey [Tue, 14 Feb 2017 21:38:17 +0000 (22:38 +0100)]
brcm47xx: fix button inversion for Asus WL-500W
The Asus WL-500W buttons are active high,
but the software treats them as active low.
Fix the inverted logic.
Signed-off-by: Mirko Parthey <mirko.parthey@web.de>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Mirko Parthey [Tue, 14 Feb 2017 14:05:09 +0000 (15:05 +0100)]
brcm47xx: fix USB driver choice for Asus WL-500W
BCM4704 SoC has only USB 1.1 core:
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x03, vendor 0x4243)
but this device actually comes with two USB 2.0 ports.
It appears embedded controller isn't used but instead there are two PCI
attached controllers (next to the BCM4321 wireless card):
1106:3038 VT82xx/62xx UHCI USB 1.1 Controller
1106:3104 USB 2.0
Choose a set of USB drivers which actually support this hardware.
Signed-off-by: Mirko Parthey <mirko.parthey@web.de>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Felix Fietkau [Wed, 15 Feb 2017 14:15:46 +0000 (15:15 +0100)]
toolchain: force a full rebuild on buildbot if the toolchain changed
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 15 Feb 2017 13:00:24 +0000 (14:00 +0100)]
qos-scripts: fix module load commands (FS#438)
fq_codel is built-in, and xt_CONNMARK is provided by the xt_connmark
module
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 15 Feb 2017 11:34:52 +0000 (12:34 +0100)]
build: skip headers install and config on make target/linux/prepare
This simplifies working with quilt on the kernel tree
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 15 Feb 2017 11:33:03 +0000 (12:33 +0100)]
kernel: fix crashes on MIPS when loading kernel modules under memory pressure
When memory is tight, modules may need to be loaded into vmalloc()
space. The code then has to generate jump trampolines which enable
relocations between vmalloc space and physical address space.
The code had a bug that was freeing these trampolines even when the
module was successfully loaded.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rafał Miłecki [Wed, 15 Feb 2017 10:46:57 +0000 (11:46 +0100)]
mdns: update and rename package to the umdns
This update includes numerous small fixes for:
1) Interfaces setup
2) Packets parsing
3) Sending replies
Without this there were multiple problems with exchanging information
between (u)mdns and other implementations (including (u)mdns as well).
This also follows project rename to umdns which was required to avoid
confusion with Apple's mdnsd from mDNSResponder project.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Thibaut VARENE [Fri, 10 Feb 2017 19:36:50 +0000 (20:36 +0100)]
ar71xx: add preliminary kernel support for several RB SPI NOR devices
The cAP 2nD, mAP 2nD and wAP 2nD apparently all share the same QCA953x/SPI-NOR
platform.
This patch adds preliminary kernel support based on init data used in
Mikrotik's linux-3.3.5 kernel patch. Since this is totally experimental and
untested, the necessary glue in base-files has not been added, the code is
provided as a starting point in case somebody with that hardware wants to help
getting it supported.
The cAP lite (cAPL 2nD) should also be supported once it is determined whether
or not it uses the same board identifier as the mAP lite.
Code has been successfully built and has no side effect (no impact on already
supported devices).
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Thibaut VARENE [Fri, 10 Feb 2017 15:53:34 +0000 (16:53 +0100)]
ar71xx: add new SPI NOR RB devices to the list of serial-enable patch
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Thibaut VARENE [Thu, 9 Feb 2017 22:07:23 +0000 (23:07 +0100)]
ar71xx: add support for RB750r2
This patch adds support for the MikroTik RouterBOARD hEX lite
https://routerboard.com/RB750r2
Specifications:
- SoC: Qualcomm QCA9531 (850MHz)
- RAM: 64MB
- Storage: 16MB NOR SPI flash
- Ethernet: 5x100M (1 PoE in)
This ethernet router is based on the same platform as the hEX PoE lite (it
shares the same board identifier), but has no USB and no PoE out.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Thibaut VARENE [Thu, 9 Feb 2017 21:50:08 +0000 (22:50 +0100)]
ar71xx: add support for RB750UPr2
This patch adds support for the MikroTik RouterBOARD hEX PoE lite
https://routerboard.com/RB750UPr2
Specifications:
- SoC: Qualcomm QCA9531 (650MHz)
- RAM: 64MB
- Storage: 16MB NOR SPI flash
- Ethernet: 5x100M (1 PoE in, 1 PoE out)
- USB: Type A
This ethernet router is based on the same platform as the wireless router hAP.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Thibaut VARENE [Tue, 7 Feb 2017 18:10:04 +0000 (19:10 +0100)]
ar71xx: add support for RB951Ui-2nD
This patch adds support for the MikroTik RouterBOARD hAP
https://routerboard.com/RB951Ui-2nD
Specifications:
- SoC: Qualcomm QCA9531 (650MHz)
- RAM: 64MB
- Storage: 16MB NOR SPI flash
- Wireless: builtin QCA9531, 2x2:2
- Ethernet: 5x100M (1 PoE in, 1 PoE out)
- USB: Type A
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Thibaut VARENE [Tue, 7 Feb 2017 14:23:30 +0000 (15:23 +0100)]
ar71xx: provide support for RB-941-2nD via mach-rbspi.c
This patch implements support for the hAP lite in mach-rbspi.c
hAP lite was supported via mach-rb941.c, so this file is removed
as well as the corresponding build bits.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Thibaut VARENE [Tue, 7 Feb 2017 11:06:33 +0000 (12:06 +0100)]
ar71xx: add support for RB mAP L-2nD
This patch adds support for the MikroTik RouterBOARD mAP lite
https://routerboard.com/RBmAPL-2nD
Specifications:
- SoC: Qualcomm QCA9533 (650MHz)
- RAM: 64MB
- Storage: 16MB NOR SPI flash
- Wireless: builtin QCA9533, 2x2:2
- Ethernet: 1x100M
This is another 16M SPI NOR mikrotik device. The machine file is named
mach-rbspi.c because I plan to add support for several of the other spi-based
RouterBOARD devices in subsequent patches: they share most of the hardware
and thus the same codebase.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Ansuel Smith [Fri, 10 Feb 2017 15:18:47 +0000 (16:18 +0100)]
ebtables: update to last commit
Refreshed patches
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Jo-Philipp Wich [Tue, 14 Feb 2017 17:35:57 +0000 (18:35 +0100)]
feeds: add option to force feed update despite modified files
Implement a new flag "-f" for the feeds update command which causes the
script to fall back to a more agressive git update strategy in case there
are locally modified files in the feeds directory.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
John Crispin [Wed, 15 Feb 2017 08:59:46 +0000 (09:59 +0100)]
procd: update to latest git HEAD
5f91241 procd: add cancel_timeout on rc scripts when a runtime_timeout is specified
961dc69 procd: stop service using SIGKILL if SIGTERM failed to do so
Signed-off-by: John Crispin <john@phrozen.org>
Daniel Albers [Sun, 12 Feb 2017 19:23:20 +0000 (20:23 +0100)]
hostapd: mv netifd.sh hostapd.sh
same name for the file on the host and target
Signed-off-by: Daniel Albers <daniel.albers@public-files.de>
Denis Osvald [Tue, 14 Feb 2017 16:08:49 +0000 (17:08 +0100)]
procd: fix default timeout for reload trigger actions
Default trigger action timeout was added to procd.sh in commit
f88e3a4c0
(procd: add default timeout for reload trigger actions)
However, the timeout value was not placed under the correct JSON-script
array nesting level and thus did not apply.
To fix this and make the timeout actually apply to the reload triggers,
we place it in the correct scope, that is the per-trigger array.
Fixes: f88e3a4c0abb60bb76a7678dd30dfdc8a808a2f1
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
Daniel Golle [Tue, 14 Feb 2017 13:08:59 +0000 (14:08 +0100)]
ramips: replace remaining instances of ralink, port-map
Some boards were apparently forgotten when ralink,portmap was renamed
to mediatek,portmap -- probably because they used the long obsolete
ralink,port-map attribute.
If this commit breaks ethernet wan/lan assignment, this is because
the port-map attribute wasn't actually parsed, you'll have to replace
"wllll" by "llllw" in the dts file belonging to that board (and send
a patch doing that!)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
John Crispin [Wed, 15 Feb 2017 08:11:41 +0000 (09:11 +0100)]
ramips: fix mt7621 ethernet support for v4.9
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Wed, 15 Feb 2017 08:11:11 +0000 (09:11 +0100)]
kernel: add missing symbol for v4.9
Signed-off-by: John Crispin <john@phrozen.org>
Chris Blake [Mon, 13 Feb 2017 08:01:14 +0000 (02:01 -0600)]
x86: Add board configs for the PC Engines APU2
This adds the default LED and network settings for the PC Engines APU2
when running under the x86 target.
[dwmw2: Change Ethernet port setup]
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
David Woodhouse [Mon, 13 Feb 2017 13:38:33 +0000 (13:38 +0000)]
x86: Enable DIAG LED on Geos
Based on a patch from Chris Blake <chrisrblake93@gmail.com>, except let's
do it by using the LED configuration instead of hard-coding it for each
board type. And try using /bin/board_detect to do the default behaviour,
on the first boot where the config hasn't yet been generated.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Chris Blake [Mon, 13 Feb 2017 08:01:13 +0000 (02:01 -0600)]
x86: Move Traverse Geos configs into x86 base-files
This change moves the files in
657418d to the root of the x86 target.
This is done in preperation for adding more devices under other
subtargets.
CC: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
Giuseppe Lippolis [Tue, 14 Feb 2017 13:12:24 +0000 (14:12 +0100)]
ramips: export slic IRQ line in dwr-512
The DWR-512 embeds the hw slic device si3210. This device have the IRQ line
attached to the gpio1. This patch export the gpio1 with proper name and
parameters to the sysfs.
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
Furong Xu [Tue, 14 Feb 2017 13:25:01 +0000 (21:25 +0800)]
tools: patch-image: fix file descriptor leak.
Maybe this is committed by mistake, fix it.
Signed-off-by: Furong Xu <xfr@outlook.com>
John Crispin [Wed, 15 Feb 2017 05:36:21 +0000 (06:36 +0100)]
octeon: only copy sysupgrade file if present
this caused
'mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory'
when running sysupgrade -n
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Mon, 13 Feb 2017 17:05:24 +0000 (18:05 +0100)]
octeon: bump to v4.9
Signed-off-by: John Crispin <john@phrozen.org>
Felix Fietkau [Tue, 14 Feb 2017 11:24:07 +0000 (12:24 +0100)]
build: add buildbot specific config option for setting defaults
This can be used to tweak the buildbot behavior without having to change
buildbot's configuration.
It will also allow us to add more aggressive clean steps (e.g. on
toolchain changes), which would break developers' workflows if enable
by default.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 14 Feb 2017 12:47:21 +0000 (13:47 +0100)]
ramips: revert faulty 4.4 config change from
9c242270907
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 14 Feb 2017 12:14:38 +0000 (13:14 +0100)]
ar71xx: fix DEFAULT_PACKAGES for mikrotik devices
Include packages from the default profile for NAND devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Alexandru Gagniuc [Fri, 3 Feb 2017 05:01:36 +0000 (21:01 -0800)]
ar71xx: Add support for D-Link EBR-2310 Rev. C
Add support for the EBR-2310, which is almost identical to the DIR-615
rev E4, without the wifi.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Alberto Bursi [Sun, 12 Feb 2017 11:08:06 +0000 (12:08 +0100)]
uboot-kirkwood: fix usb of nsa310b u-boot
fixes issue "nsa 310b u-boot can initialize usb but cannot
use usb storage so it cannot load files from usb"
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Piotr Dymacz [Fri, 10 Feb 2017 12:44:06 +0000 (13:44 +0100)]
ar71xx: add support for TP-Link TL-WA850RE v2
TP-Link TL-WA850RE v2 is a wall-plug N300 Wi-Fi range extender,
based on Qualcomm/Atheros QCA9533 v2.
Short specification:
- 550/391/195 MHz (CPU/DDR/AHB)
- 1x 10/100 Mbps Ethernet
- 32 MB of RAM (DDR1)
- 4 MB of FLASH
- 2T2R 2.4 GHz
- 2x internal antennas (embedded on PCB)
- 9x LED (all can be turned off with GPIO15), 2x button
- UART (J3) header on PCB
Flash instruction: use "factory" image directly in vendor GUI.
Warning: this device does not include any kind of recovery mechanism
in the bootloader and disassembling process is not trivial.
You can access vendor firmware over serial line using:
- login: root
- password: sohoadmin
Image was tested only in US version of the device, but should work
also with the same device version sold in other countries.
Available FLASH space, with LEDE trunk, is only 240 KB.
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Furong Xu [Tue, 14 Feb 2017 09:25:08 +0000 (17:25 +0800)]
ramips: Clean duplicated status property for Omega2 WMAC in dtsi
At the tail of dtsi, wmac is enabled twice, clean the first one
Signed-off-by: Furong Xu <xfr@outlook.com>
Giuseppe Lippolis [Mon, 13 Feb 2017 10:36:41 +0000 (11:36 +0100)]
ramips: fixed sms led polarity into dwr-512 DT
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
Thibaut VARENE [Sun, 12 Feb 2017 16:11:08 +0000 (17:11 +0100)]
ramips: WN3000RPv3: do not setup switch
The WN3000RPv3 is a repeater with a single ethernet port. Setting up the
switch, even to disable it, is unnecessary and possibly confusing.
Configure LAN as eth0 instead.
Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Pavel Kubelun [Fri, 10 Feb 2017 11:13:10 +0000 (14:13 +0300)]
ath10k-firmware: update qca9984 firmware
Bump qca9984 firmware.
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Sven Eckelmann [Fri, 3 Feb 2017 08:14:57 +0000 (09:14 +0100)]
ar71xx: Add missing device package om-watchdog for MR1750
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:39:06 +0000 (09:39 +0200)]
ar71xx: add OpenMesh A40 to OpenMesh A60 profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:40:10 +0000 (09:40 +0200)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh A40 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:38:34 +0000 (09:38 +0200)]
package/uboot-envtools: add OpenMesh A40 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:38:10 +0000 (09:38 +0200)]
package/om-watchdog: add OpenMesh A40 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:37:44 +0000 (09:37 +0200)]
ar71xx: enable sysupgrade for the OpenMesh A40
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:36:43 +0000 (09:36 +0200)]
ar71xx: add user-space support for the OpenMesh A40
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Fri, 23 Sep 2016 07:36:10 +0000 (09:36 +0200)]
ar71xx: add kernel support for the OpenMesh A40 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:10:16 +0000 (16:10 +0200)]
ar71xx: create profile and build image for the OpenMesh A60 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:12:06 +0000 (16:12 +0200)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh A60 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:02:39 +0000 (16:02 +0200)]
package/uboot-envtools: add OpenMesh a60 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:01:50 +0000 (16:01 +0200)]
package/om-watchdog: add OpenMesh A60 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:00:55 +0000 (16:00 +0200)]
ar71xx: enable sysupgrade for the OpenMesh A60
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:08:01 +0000 (16:08 +0200)]
scripts/om-fwupgradecfg-gen.sh: add support for the A60
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 14:06:45 +0000 (16:06 +0200)]
ar71xx: add user-space support for the OpenMesh A60
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Tue, 9 Aug 2016 13:58:08 +0000 (15:58 +0200)]
ar71xx: add kernel support for the OpenMesh A60 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Thu, 2 Jun 2016 09:33:13 +0000 (11:33 +0200)]
package/uboot-envtools: add OpenMesh OM2Pv4/-HSv4 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Thu, 2 Jun 2016 09:31:47 +0000 (11:31 +0200)]
package/om-watchdog: add OpenMesh OM2Pv4/-HSv4 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Thu, 2 Jun 2016 09:29:23 +0000 (11:29 +0200)]
ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Thu, 2 Jun 2016 09:25:00 +0000 (11:25 +0200)]
ar71xx: add user-space support for the OpenMesh OM2Pv4/-HSv4
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Thu, 2 Jun 2016 09:23:21 +0000 (11:23 +0200)]
ar71xx: add kernel support for the OpenMesh OM2Pv4/-HSv4
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Sven Eckelmann [Thu, 2 Jun 2016 09:06:39 +0000 (11:06 +0200)]
ar71xx: Remove the v2/v3 from the OpenMesh profile names
The list of v2/v3 devices is getting longer and makes reading the names of
the profiles unnecessary hard.
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
John Crispin [Mon, 13 Feb 2017 11:38:27 +0000 (12:38 +0100)]
ramips: add v4.9 support
NAND support is missing
Signed-off-by: John Crispin <john@phrozen.org>
Ulrich Weber [Fri, 10 Feb 2017 13:28:09 +0000 (14:28 +0100)]
ppp: honor ip6table for IPv6 PPP interfaces
as we do for IPv4 PPP interfaces. When we create the
dynamic IPv6 interface we should inherit ip6table from
main interface.
Signed-off-by: Ulrich Weber <ulrich.weber@riverbed.com>