Ben Greear [Mon, 17 Oct 2016 20:59:05 +0000 (13:59 -0700)]
ath10k-ct: Update to latest 4.7 CT ath10k driver.
Adds Sebastian's 160Mhz support (un-tested), remove DMA32 change that
broke some x86 systems, allow setting 10.1 CT firmware keepalive watchdog
timeout, support QCA 9887 hardware, and some other tweaks.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Rafał Miłecki [Tue, 4 Oct 2016 10:32:13 +0000 (12:32 +0200)]
kernel: add package for usbport LED trigger
This is upstream alternative for LEDE's ledtrig-usbdev. It's main
advantages are:
1) Support for assigning more than 1 USB port to the LED
2) Setting proper state when activating with device already connected
3) FWIW it's an upstream driver
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Felix Fietkau [Tue, 18 Oct 2016 07:29:50 +0000 (09:29 +0200)]
ipq806x: add back end-of-UBI marker for a few factory images (FS#228)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Henryk Heisig [Thu, 6 Oct 2016 21:46:38 +0000 (23:46 +0200)]
ar71xx: Add support to TP-Link EAP120
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Pierre Lebleu [Thu, 13 Oct 2016 10:52:05 +0000 (12:52 +0200)]
procd: Allow initscripts to start one daemon instance at a time
Signed-off-by: Pierre Lebleu <pierre.lebleu@technicolor.com>
Alberto Bursi [Sun, 16 Oct 2016 15:21:42 +0000 (17:21 +0200)]
xfsprogs: install path consistent with fs tools
changed install path from /sbin to /usr/sbin to be consistent with other filesystem tools
ext2-3-4 and f2fs tools are in /usr/sbin, for example
Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
Koen Vandeputte [Mon, 17 Oct 2016 10:58:15 +0000 (12:58 +0200)]
kernel: update kernel 4.4 to version 4.4.25
Refresh patches for all targets that support kernel 4.4.
compile/run-tested on cns3xxx & imx6.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Felix Fietkau [Mon, 17 Oct 2016 10:18:25 +0000 (12:18 +0200)]
mac80211: backport some upstream a-msdu tx fixes
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 17 Oct 2016 09:16:30 +0000 (11:16 +0200)]
iperf: used an updated renamed tarball instead of main upstream URL
iperf upstream added some bugfixes to the already released 2.0.9 version
without changing the filename. This conflicts with old mirrored files
and the hash that we previously used.
To avoid conflict, use a renamed tarball from mirror2.openwrt.org
containing the new upstream changes
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 17 Oct 2016 08:57:43 +0000 (10:57 +0200)]
mac80211: fix build error in ath10k with hwmon enabled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stijn Tintel [Sat, 15 Oct 2016 16:14:07 +0000 (19:14 +0300)]
busybox: add upstream patch to fix send_to_from
This fixes ntpd when queries are sent to secondary IPv4 IP addresses.
See https://bugs.busybox.net/show_bug.cgi?id=9146
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Stijn Tintel [Sat, 15 Oct 2016 16:06:11 +0000 (19:06 +0300)]
busybox: update to version 1.25.1
Dropped upstream patches:
000-busybox-1.25.0-gzip.patch
000-busybox-1.25.0-ip.patch
000-busybox-1.25.0-ntpd.patch
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Matthias Schiffer [Sat, 15 Oct 2016 17:09:56 +0000 (19:09 +0200)]
ar71xx: set EU region code for TP-Link TL-WA901ND v4
There is no US firmware for the TL-WA901ND v4 yet, so we'll just
unconditionally set the EU region for now.
This makes LEDE flashable on these devices again. The format of the region
string is slightly different from the one used on the Archer C7 that is
generated by mktplinkfw (the second half of the region string is missing),
but it's similar enough to make it work.
Tested-by: Jannis Pinter <jannis@pinterjann.is>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Hauke Mehrtens [Sat, 15 Oct 2016 15:56:23 +0000 (17:56 +0200)]
procd: update sha256sum
Commit
f5c741b5e02 updated procd to a more recent version, but did not
change the hash of the tar. Update it to the one matching the file on
the download servers.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Mathias Kresin [Sat, 15 Oct 2016 14:29:36 +0000 (16:29 +0200)]
ltq-adsl-mei: fix build error
The file to patch doesn't exists. Due to the fact that a src directory
exists, the patch was never applied.
With
28502a9 the behaviour was changed and revealed the issue.
Signed-off-by: Mathias Kresin <dev@kresin.me>
John Crispin [Fri, 14 Oct 2016 23:38:56 +0000 (01:38 +0200)]
procd: update to latest git HEAD revision
Signed-off-by: John Crispin <john@phrozen.org>
Daniel Engberg [Fri, 30 Sep 2016 23:36:11 +0000 (01:36 +0200)]
scripts/freebsd.sh: Remove script
This is outdated and bad practice, general dependencies should be documented and leave the rest up to the user.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Alexandru Ardelean [Thu, 6 Oct 2016 06:40:51 +0000 (09:40 +0300)]
boot/rbcfg: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:39:52 +0000 (09:39 +0300)]
kernel/wrt55agv2-spidevs: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:39:20 +0000 (09:39 +0300)]
kernel/w1-gpio-custom: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:39:01 +0000 (09:39 +0300)]
kernel/trelay: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:38:42 +0000 (09:38 +0300)]
kernel/spi-gpio-custom: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:38:25 +0000 (09:38 +0300)]
kernel/rtc-rv5c386a: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:37:38 +0000 (09:37 +0300)]
kernel/rotary-gpio-custom: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:37:24 +0000 (09:37 +0300)]
kernel/lantiq/ltq-*: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:35:12 +0000 (09:35 +0300)]
kernel/i2c-gpio-custom: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:34:46 +0000 (09:34 +0300)]
kernel/gpio-button-hotplug: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:34:17 +0000 (09:34 +0300)]
kernel/button-hotplug: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:33:38 +0000 (09:33 +0300)]
kernel/avila-wdt: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:28:30 +0000 (09:28 +0300)]
network/utils/maccalc: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:27:59 +0000 (09:27 +0300)]
network/utils/rssileds: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:27:27 +0000 (09:27 +0300)]
network/utils/resolveip: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:27:08 +0000 (09:27 +0300)]
network/utils/owipcalc: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:26:34 +0000 (09:26 +0300)]
network/ipv6/map: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:25:56 +0000 (09:25 +0300)]
network/utils/iwcap: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:24:49 +0000 (09:24 +0300)]
network/services/ead: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:24:31 +0000 (09:24 +0300)]
network/ipv6/6rd: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:24:10 +0000 (09:24 +0300)]
network/config/swconfig: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:23:28 +0000 (09:23 +0300)]
system/mtd: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:22:45 +0000 (09:22 +0300)]
libs/gettext: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:21:58 +0000 (09:21 +0300)]
utils/spidev_test: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:21:44 +0000 (09:21 +0300)]
utils/otrx: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:21:17 +0000 (09:21 +0300)]
utils/usbreset: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:20:21 +0000 (09:20 +0300)]
utils/px5g-standalone: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:20:01 +0000 (09:20 +0300)]
utils/oseama: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:19:34 +0000 (09:19 +0300)]
utils/nvram: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:19:15 +0000 (09:19 +0300)]
utils/fbtest: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:17:49 +0000 (09:17 +0300)]
libs/libiconv: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Thu, 6 Oct 2016 06:14:34 +0000 (09:14 +0300)]
libs/libnl-tiny: drop Build/Prepare rule in favor of default one
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Wed, 5 Oct 2016 14:42:47 +0000 (17:42 +0300)]
network/services/hostapd: move whole files outside of patches and drop Build/Prepare rule in favor of default one
This more of a demo for the previous commit that comes with
this one, where I added support for copying source from 'src' to
the build dir(s).
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Alexandru Ardelean [Wed, 5 Oct 2016 14:28:46 +0000 (17:28 +0300)]
build: copy contents of 'src' folder to build dirs (if present)
The normal Prepare step for a build is unpack, apply patches.
But for certain packages, patches contain whole files, which
would be nice to have separately and copied over as a last step
in the Prepare phase.
We need it for some other packages + patches, but I think
the 'hostapd' package can be used as a test for this.
As a quick note:
the reason the condition is being evaluated as
`[ ! -d ./src/ ] || $(CP) ./src/* $(HOST_BUILD_DIR)`
and not with
`[ -d ./src/ ] && $(CP) ./src/* $(HOST_BUILD_DIR)`
is that the latter would translate in a build failure if the `src`
folder is not present (the exit code would be 1).
The first one, succeeds for both cases (if `src` present or not).
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Jan-Tarek Butt [Fri, 14 Oct 2016 18:32:22 +0000 (20:32 +0200)]
busybox: prevent globbing, word splitting
Double quote to prevent globbing and word splitting.
Signed-off-by: Jan-Tarek Butt <tarek@ring0.de>
Dirk Neukirchen [Wed, 12 Oct 2016 12:07:44 +0000 (14:07 +0200)]
uboot-ar71xx: make reproducible
OpenWrt uses ancient u-boot thats not reproducible.
There are multiple upstream changes that introduce
reproducible builds like:
859e92b775fd8ebcfacc591eaf621b677c95b6f7
(not used here - the CMD_DATE/TIMESTAMP functionality
seems to be disabled by config)
70d39f57146a6cb94736db39c770c3d95e07bedb
f3f431a712729a1af94d01bd1bfde17a252ff02c
2d9efa1227262249d381ed5d9d341cbdba76e62d
Instead of changing the Makefile too much
this changeset just tries to use the
changes in Makefile from current upstream git
f5fd45f
*Should* fix issue reported by reproducible lede page:
https://tests.reproducible-builds.org/lede/lede.html
Compile tested only
(verified w. hexdump & md5sum)
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Yousong Zhou [Mon, 26 Sep 2016 13:14:50 +0000 (21:14 +0800)]
build: fix cleaning configured stamp file
We have packages with their own parts appended to standard STAMP_CONFIGURED
(mostly with an underscore character). This will render the current
STAMP_CONFIGURED_WILD setting invalid and the build system may miss a rebuild
on config change
1. Build with config A
2. Build with config B, yet .configured_A_xx did not get cleaned
3. Return to config A, but rebuild will not happen because stamp file
of config A still exists
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Karl Palsson [Wed, 12 Oct 2016 13:51:23 +0000 (13:51 +0000)]
scripts: case insensitive sort device names
When selecting devices from the Target Devices menu, the brand choices
of naming makes it confusing to find particular devices by name, as the
sorting is case sensitve. AirTight came after ALFA, and devolo and
jjPlus both came after Zyxel.
This does _not_ apply to the Target Profile list, as that includes
"Default - all profiles" inside the profile list.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Karl Palsson [Wed, 12 Oct 2016 13:51:22 +0000 (13:51 +0000)]
scripts: add help text for some generated KConfigs
TARGET_MULTI_PROFILE and TARGET_PER_DEVICE_ROOTFS get some help text to
try and clarify their behaviour.
Signed-off-by: Karl Palsson <karlp@etactica.com>
YuheiOKAWA [Mon, 10 Oct 2016 01:24:42 +0000 (10:24 +0900)]
ramips: add support for Planex VR500.
SOC: MT7621A
RAM: 256MiB
NOR: MX25L51245G
Non Wireless Router.
Issue: soft reboot problem. SPI Flash do not exit 4byte address mode.
Signed-off-by: Yuhei Okawa <tochiro.srchack@gmail.com>
David Woodhouse [Fri, 7 Oct 2016 14:02:13 +0000 (15:02 +0100)]
ltq-ptm: Support 1508-byte MTU for RFC4638
Tested with VDSL on TP-Link WD8970, I see full 1500-byte PPP data
frames, which end up being 1526 byte Ethernet frames (including
Ethernet+VLAN headers) on the wire.
Fixes: FS#210
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Zefir Kurtisi [Wed, 12 Oct 2016 15:50:56 +0000 (17:50 +0200)]
scripts: fix build warning when overriding packages
If core packages are overridden, CONFIG_OVERRIDE_PKGS is set
based on the scan order of packages, which eventually causes
that config value to be modified on each build and with
that causes the build process to warn for configuration
being out of sync.
This commit changes the CONFIG_OVERRIDE_PKGS to be sorted
and prevents that false warning.
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Petr Štetiar [Fri, 14 Oct 2016 08:33:17 +0000 (10:33 +0200)]
imx6: inittab: Use login.sh wrapper so we can configure console password
In
dc92917 there was introduced login.sh wrapper which allows
configuration of console passwords via UCI system ttylogin config
option.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Daniel Engberg [Tue, 11 Oct 2016 12:14:48 +0000 (14:14 +0200)]
target/imagebuilder: Switch to xz compression instead of bz2
Switch to xz compression instead of using bz2.
Saves about 20% of total size (ar71xx)
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sun, 9 Oct 2016 21:57:30 +0000 (23:57 +0200)]
package/libs/libreadline: Update to 7.0
Update libreadline to 7.0
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sun, 9 Oct 2016 21:46:41 +0000 (23:46 +0200)]
package/libs/libconfig: Update to 1.5
Update libconfig to 1.5
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Wed, 5 Oct 2016 22:02:16 +0000 (00:02 +0200)]
package/utils/e2fsprogs: Update to 1.43.3
Updates e2fsprogs to 1.43.3
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Tue, 4 Oct 2016 13:21:30 +0000 (15:21 +0200)]
tools/libressl: Update to 2.5.0 and use mirrors
Updates LibreSSL to 2.5.0 and switches from main site to mirrors as primary source.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sun, 9 Oct 2016 21:50:16 +0000 (23:50 +0200)]
package/libs/libnftnl: Update to 1.0.6
Update libnftnl to 1.0.6
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Fri, 7 Oct 2016 20:37:17 +0000 (22:37 +0200)]
package/network/services/lldpd: Update to 0.9.5
Updates lldpd to 0.9.5
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sat, 8 Oct 2016 21:43:06 +0000 (23:43 +0200)]
package/libs/libtool: Switch to xz tarball
Switch to xz tarball, there's no point pulling two different tarballs of the same source code (tools/libtool uses xz).
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sat, 8 Oct 2016 21:35:08 +0000 (23:35 +0200)]
package/libs/nettle: Update to 3.3
Update to 3.3
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sat, 8 Oct 2016 18:58:41 +0000 (13:58 -0500)]
package/libs/libnl: Update to 3.2.28
Update to 3.2.28
Remove patch as its in upstream
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Sat, 8 Oct 2016 18:46:08 +0000 (13:46 -0500)]
package/libs/libmnl: Update to 1.0.4
* Update to 1.0.4
* Remove patch as it's upstreamed
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Fri, 7 Oct 2016 20:49:52 +0000 (22:49 +0200)]
packages/network/utils/wpan-tools: Update to 0.7
* Updates to 0.7
* Switches tarball to xz
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Fri, 7 Oct 2016 20:43:12 +0000 (22:43 +0200)]
package/network/utils/ipset: Update to 6.29
Updates to 6.29
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Thu, 6 Oct 2016 20:10:14 +0000 (22:10 +0200)]
usbutils: Switch to xz tarball, update db to 2016-07-21
Switch to xz tarball
Update USB ID-database to snapshot 2016-07-21
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
John Crispin [Thu, 6 Oct 2016 21:59:34 +0000 (23:59 +0200)]
mtd: fix up error messages
remove the "Error fixing up TRX header" message which is misleading.
Signed-off-by: John Crispin <john@phrozen.org>
Christian Lamparter [Wed, 5 Oct 2016 12:53:11 +0000 (14:53 +0200)]
ar71xx: add support for the Airtight C-60
This patch adds support for the Airtight C-60.
SOC: Atheros AR9344 rev 2 (CPU:560.000MHz)
RAM: 128 MiB
NOR: MX25L3205D 4MiB
NAND: ST Micro NAND 32MiB 3,3V 8-bit
SW-NET: AR8327N (2 Ports)
WLAN1: Dual-Band AR9340 Rev:2 (built-in SoC)
WLAN2: Dual-Band AR9300 Rev:4 PCIe Chip
The switch is setup for an accesspoint:
LAN1: (gigabit) is the wan-port.
LAN2: (fast ethernet) is bridged with the br-lan.
Flashing Guide (via initramfs):
1. Connect a PC to the serial port of the C-60.
power up the C-60.
Enter u-boot command prompt:
#> nand erase
#> setenv bootcmd "bootm 0x9f060000"
#> saveenv
#> setenv ipaddr 192.168.1.1
#> setenv netmask 255.255.255.0
#> setenv serverip 192.168.1.100
#> setenv bootfile lede-ar71xx-nand-c-60-initramfs-kernel.bin
#> tftpboot
#> bootm
2. Wait for the C-60 to boot LEDE.
On the root prompt. Enter:
# ubiformat /dev/mtd4
# ubiattach -p /dev/mtd4
3. After that copy the sysupgrade.tar onto the router and run:
# sysupgrade sysupgrade.tar
to flash the image.
Special thanks to Chris Blake <chrisrblake93@gmail.com>. He provided
a C-60 unit and he helped with debugging the switch, LEDs and platfrom
support.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Christian Lamparter [Wed, 5 Oct 2016 13:19:34 +0000 (15:19 +0200)]
generic: ar8216: improve ar8xxx_is_possible check
The commit "generic: ar8216: add sanity check to ar8216_probe"
(
774da6c7a40320a320b28d71291c0e61fcf7bc8a) stated that PHY IDs
should be checked at address 0-4. However, the PHY 4 was
never check by the loop. This patch extends the check to be
similar to the Atheors SDK. It tries all 4 ports and skips
unconnected PHYs if necessary. If it cannot find any familiar
PHYs, it will prevent the phy driver from initializing.
This patch is necessary for the C-60. It doesn't have a
PHY at port 3, so this caused the check in ar8xxx_is_possible
to fail. As a result, the ethernet ports on the C-60 didn't
work.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Henryk Heisig [Sun, 2 Oct 2016 19:34:50 +0000 (21:34 +0200)]
ipq806x: C2600: change leds colour name
Signed-off-by: Henryk Heisig hyniu@o2.pl
Henryk Heisig [Fri, 30 Sep 2016 19:36:50 +0000 (21:36 +0200)]
ipq806x: add support for indicating the boot and upgrade state using four leds
Signed-off-by: Henryk Heisig hyniu@o2.pl
Mathias Kresin [Fri, 14 Oct 2016 04:27:14 +0000 (06:27 +0200)]
lantiq: use wpad-mini for WBMR boards
The WBMR boards are the only ones in the whole tree selecting the wpad
and hostapd-utils package by default.
Remove the wps uci-default script as well, there is no obvious reason
why the wps config need to be set only for this board.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Wed, 12 Oct 2016 07:09:07 +0000 (09:09 +0200)]
lantiq: fix ARV452CQW keys
Fix the typo in the gpio-keys-polled compatible string.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Mon, 26 Sep 2016 18:56:13 +0000 (20:56 +0200)]
ramips: use rfkill for wps button on wlan only boards
All of the touched boards don't have an ethernet port. Allow to use the
wps button on these boards to enable the wireless radio after boot.
The force enabled wireless for the DCH-M225 is removed. It is reckless
to bring up an unencrypted wireless network by default these days.
Using the wps button to bring up the radio seam to me the better
approach.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Sun, 2 Oct 2016 19:00:22 +0000 (21:00 +0200)]
ramips: use rootfs splitter and new image build code for BR-6475ND
Use the edimax uImage splitter instead of the fixed size rootfs
partition.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 27 Sep 2016 05:38:08 +0000 (07:38 +0200)]
ramips: move edimax images to the new build code
Images installed via TFTP recovery or the Edimax webinterface of the
3g-6200n(l) are writting with the edimax header to flash.
Use only one image type for these boards. The migration to the
factory only images need to be done via TFTP recovery.
Use the same start address for the 3g-6200n(l) factory images as the
stock firmware images.
Thanks to Jan Dostrasil for reporting all the issues of the 3g-6200nl
and the patient testing of all changes.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 29 Sep 2016 17:28:13 +0000 (19:28 +0200)]
kernel: mtdsplit_uimage: fix Edimax parser
According to the author the code was added to in preparation for adding
support for a new board. The patch for the board was never send and the
code never really tested.
The edimax header starting with the edimax magic is put in front of the
uImage header. There is no special uImage header used. Means, default
magic and the type field is set to kernel as usual.
Signed-off-by: Mathias Kresin <dev@kresin.me>
edimax parser fix
Mathias Kresin [Sun, 2 Oct 2016 17:18:56 +0000 (19:18 +0200)]
kernel: mtdsplit_uimage: fix rootfs offset
The return value of the find_header function need to be added to the
uimage_size, otherwise mtd_find_rootfs_from() might search for a rootfs
within a custom header and fails.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 27 Sep 2016 05:16:16 +0000 (07:16 +0200)]
ramips: improve edimax 6200n/nl support
Assign the reset functionality to the wps/reset buttons. Use the wlan
switch of the 6200n to enable/disable wlan.
Add the internet led of the 6200nl and use the led for boot status
indication
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Fri, 9 Sep 2016 19:12:49 +0000 (21:12 +0200)]
ramips: fix edimax 6200nl switch config
With
3a9752bbd2bc00e407b5dcad21789720f40abf0e and later changes to
ramips_set_preinit_iface() the default vlan config applied during
preinit was changed. These changes were made without updating the
default network config to ensure that vlan interfaces used for lan/wan
are still configured.
Fix the issue by using the default all LAN portmap and disabling not
connected switch ports using portdisable device tree parameter.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Wed, 12 Oct 2016 17:04:08 +0000 (19:04 +0200)]
ramips: tag the CPU switch port
With
de5102651501e51c036f88fe9c4dbf6974e5158a the explicit tagging of
the CPU port was removed. This leads to a not working default network
config, with vlans enabled but disabled CPU tagging, for boards where
all switch ports are having the same role.
In case the ports are having different roles set, tagging is is set
implicit for the CPU port by ucidef_add_switch().
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Wed, 12 Oct 2016 17:24:41 +0000 (19:24 +0200)]
ramips: remove fixed lan/wan interface for switch configs
Don't set the lan/wan interface when using ucidef_add_switch. This
results into a wan interface albeit all ports a annotated as lan ports.
ucidef_add_switch takes care of setting the correct lan/wan interface
according to the annotation of the ports.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Kevin Darbyshire-Bryant [Wed, 12 Oct 2016 10:42:15 +0000 (11:42 +0100)]
mbedtls: enable NIST curves optimisation.
luci using ustream-mbedtls is extremely slow vs ustream-polarssl.
polarssl alias mbedtls v1 is configured to use NIST prime speed
optimisation, so no longer disable the default optimisation for
mbedtls v2.
Compile & run tested: Archer C7v2
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
[Jo-Philipp Wich: refresh patch to use common format]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Neukirchen [Wed, 12 Oct 2016 14:14:45 +0000 (16:14 +0200)]
gettext-full: update to 0.19.8.1
- unify configs of host/target
- disable stuff to decrease build time
- disable interactive gettextize: see
http://lists.busybox.net/pipermail/buildroot/2014-April/093394.html
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Dirk Neukirchen [Wed, 12 Oct 2016 14:14:44 +0000 (16:14 +0200)]
autotools: use correct version for gettext FIXUP
0.19.8.1 gettext-full uses "archive-version" of 0.19.8
to replace makros, leading to breakage of PKG_FIXUP:=gettext-version
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Dirk Neukirchen [Wed, 12 Oct 2016 14:14:43 +0000 (16:14 +0200)]
gettext: fix whitespace
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Álvaro Fernández Rojas [Thu, 13 Oct 2016 17:01:41 +0000 (19:01 +0200)]
brcm2708: fix image generation with imagebuilder
COPYING is not present in $(LINUX_DIR) on imagebuilder and prevents a
successful image creation.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Felix Fietkau [Sat, 8 Oct 2016 11:53:14 +0000 (13:53 +0200)]
mac80211: update to wireless-testing 2016-10-08
Signed-off-by: Felix Fietkau <nbd@nbd.name>
diizzyy [Mon, 3 Oct 2016 16:56:49 +0000 (18:56 +0200)]
package/devel/binutils: Update to 2.27
Updates binutils to 2.27
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Mon, 10 Oct 2016 09:27:48 +0000 (04:27 -0500)]
toolchain/binutils: Add binutils 2.27
Add binutils 2.27 to toolchain
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [refresh patches]
Hans Dedecker [Fri, 7 Oct 2016 14:30:19 +0000 (16:30 +0200)]
odhcpd: Upstep to git HEAD version
Adds per-host leasetime support
Various bugfixes :
-Prioritize ifname resolving via ubus
-Free interface if ifindex cannot be resolved
-...
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [update mirror sha256]
Hauke Mehrtens [Sun, 2 Oct 2016 23:21:13 +0000 (01:21 +0200)]
build: use CXXFLAGS if defined
Instead of using TARGET_CFLAGS and EXTRA_CFLAGS in cmake and scons
build use the TARGET_CXXFLAGS and EXTRA_CXXFLAGS like it is done for
normal make and configure. configure used TARGET_CXXFLAGS and
EXTRA_CFLAGS for the CXXFLAGS. The package-default.mk sets
"EXTRA_CXXFLAGS = $(EXTRA_CFLAGS)" so using EXTRA_CXXFLAGS flags should
be save.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>