Jo-Philipp Wich [Mon, 25 Apr 2016 12:09:05 +0000 (14:09 +0200)]
uml: revert accidentally committed change
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Apr 2016 11:41:43 +0000 (13:41 +0200)]
tools: fix make_ext4fs build with recent glibc
Update to latest make_ext4fs Git HEAD to fix build with recent glibc version
which does not implicitely includes sysmacros.h anymore.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Álvaro Fernández Rojas [Sun, 24 Apr 2016 11:03:39 +0000 (13:03 +0200)]
brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sun, 24 Apr 2016 11:00:11 +0000 (13:00 +0200)]
brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sun, 24 Apr 2016 10:56:07 +0000 (12:56 +0200)]
kernel: fix ip6_tunnel compilation
Replace undefined iph for ip_hdr(skb)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sun, 24 Apr 2016 09:32:17 +0000 (11:32 +0200)]
kernel: update kernel 4.4 to version 4.4.8
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Jo-Philipp Wich [Sat, 23 Apr 2016 12:03:50 +0000 (14:03 +0200)]
opkg: fix use-after-free with duplicate packages on the command line
When the same package file is specified multiple times on the opkg install
command line, the name pointer on the argv array becomes stale after the
package structures have been merged, leading to invalid memory accesses
upon install.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 22 Apr 2016 10:22:57 +0000 (12:22 +0200)]
imagebuilder: use correct package directory when bundling kmods and libc
The libc and kernel package files moved since the introduction of shared
packages and the changed output directory layout. This causes the generated
ImageBuilder archive to lack the necessary "libc" and "kernel" meta packages,
leading to opkg install errors later on.
Use the FeedPackageDir macro to figure out the proper source directory to use.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 22 Apr 2016 10:20:47 +0000 (12:20 +0200)]
package: fix toolchain ipk flags
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 22 Apr 2016 10:02:53 +0000 (12:02 +0200)]
include: remove unused FeedPackageDir macro arguments
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 21 Apr 2016 14:39:59 +0000 (16:39 +0200)]
linux: kmod-e100: use preconverted firmware files
Instead of converting the firmware files ourselves, use the files
generated during the normal kernel build process. This fixes packaging
kmod-e100 in the SDK environment.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 21 Apr 2016 14:34:39 +0000 (16:34 +0200)]
sdk: bundle required firmware files
Bundle all firmware files which have been built along with the kernel to fix
packaging of kmods in the SDK environment that rely on in-tree firmwares,
specifically kmod-e100.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
John Crispin [Tue, 19 Apr 2016 14:08:18 +0000 (16:08 +0200)]
include: bin/ dir was not created
explicitly create the bin dir
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Tue, 19 Apr 2016 18:42:34 +0000 (20:42 +0200)]
base-files: remove ununsed login.sh
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Tue, 19 Apr 2016 08:07:35 +0000 (10:07 +0200)]
base-files: Allow to disable failsafe mode
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
John Crispin [Mon, 18 Apr 2016 19:53:07 +0000 (21:53 +0200)]
image / basefiles: make console password configurable
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Mon, 11 Apr 2016 09:58:57 +0000 (11:58 +0200)]
base-files: fix error message during boot
preinit spews out this message
"cat: can't open '/proc/device-tree/model': No such file or directory"
Signed-off-by: John Crispin <john@phrozen.org>
Jo-Philipp Wich [Mon, 18 Apr 2016 10:28:16 +0000 (12:28 +0200)]
sdk: do not exclude ccache executable
Change tar exclude pattern to skip ccache directory contents but not the
ccache executable itself.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 17 Apr 2016 19:50:31 +0000 (21:50 +0200)]
sdk: fix generation of base feed url
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 17 Apr 2016 17:55:09 +0000 (19:55 +0200)]
target: globally remove ARCH_PACKAGES overrides
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 17 Apr 2016 17:50:53 +0000 (19:50 +0200)]
include/target.mk: disambiguate package architecture
Add $ARCH and $CPU_SUBTYPE to the package architecture strings to differentiate
low and big endian targets as well as extended instructions sets like NEON
or DSP2.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Christian Lamparter [Thu, 7 Apr 2016 16:26:51 +0000 (18:26 +0200)]
brcm2708: implement sysupgrade image check
Implement a crude but functioning sysupgrade image check for the
Raspberry Pi. The code only checks if the master boot record boot
signature (0x55aa) is present in the first 512-bytes at the correct
location. This can prevent the odd bricking of a system when flashing
the wrong file.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Álvaro Fernández Rojas [Sat, 16 Apr 2016 09:27:56 +0000 (11:27 +0200)]
brcm2708-gpu-fw: improve package version and release
Use git revision as package release and date for package version.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sat, 16 Apr 2016 09:25:56 +0000 (11:25 +0200)]
brcmfmac43430-firmware: improve package version and release
Use git revision as package release and date for package version.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sat, 16 Apr 2016 09:23:56 +0000 (11:23 +0200)]
brcm2708: add missing config symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Jo-Philipp Wich [Fri, 15 Apr 2016 08:26:36 +0000 (10:26 +0200)]
include: fix nonshared flag handling
Fix nonshared flag handling to properly deal with source packages defining
both kmod and non-kmod ipks.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 15 Apr 2016 05:40:31 +0000 (07:40 +0200)]
openssl: fix wrong build target strings
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 14 Apr 2016 16:27:12 +0000 (18:27 +0200)]
uclibc++: add hack to fix failing patch
One of the patched files, include/unwind-cxx.h, contains windows newlines
which lead to the following failure:
Applying ./patches/006-eabi_fix.patch using plaintext:
patching file include/typeinfo
patching file include/unwind-cxx.h
Hunk #1 FAILED at 173 (different line endings).
Hunk #2 FAILED at 181 (different line endings).
Add a fixup command to the prepare phase which normalizes the line endings
before applying source patches.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 12 Apr 2016 23:46:09 +0000 (01:46 +0200)]
imagebuilder: fix standalone operation
Fix standalone ImageBuilders after the package layout rework.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 6 Apr 2016 20:38:47 +0000 (22:38 +0200)]
package: flag essential components as nonshared
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 6 Apr 2016 20:37:58 +0000 (22:37 +0200)]
include/kernel.mk: flag kmod packages as nonshared by default
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 12 Apr 2016 22:31:15 +0000 (00:31 +0200)]
include/version.mk: rework repository url handling
- Add %A placeholder for substituting the package architecture
- Change %U placeholder to refer to the toplevel repository URL
- Construct package feed URLs relative to the toplevel one to match new layout
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 6 Apr 2016 19:55:44 +0000 (21:55 +0200)]
include: choose package output directory based on repository info
Use the new repository metadata field to choose the output directory of the
final package archives.
Non-sharable packages will be placed in the per-target package directory
while the rest will be placed in a per-repository sub directory within the
$OUTPUT_DIR/packages/$CPU_TYPE/ prefix.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 13 Apr 2016 15:24:12 +0000 (17:24 +0200)]
global: introduce ALL_NONSHARED symbol
Introduce a new symbol ALL_NONSHARED which selects all non-sharable packages
by default. This option is mainly intented for buildbot setups to build the
target dependant software subset only.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 13 Apr 2016 13:38:17 +0000 (15:38 +0200)]
scripts: remove "Package-Subdir" metadata handling
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 13 Apr 2016 13:37:34 +0000 (15:37 +0200)]
include: remove now unused PACKAGE_SUBDIR variable
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 13 Apr 2016 13:33:53 +0000 (15:33 +0200)]
scripts: metadata: use the new "Repository" field
Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 13 Apr 2016 13:28:13 +0000 (15:28 +0200)]
include/package-dumpinfo.mk: introduce Repository values
Introduce a new dumpinfo field "Repository" which contains the name of the
shared repository where the package will be hosted in. The name is chosen
according to the following rules:
- Name of the feed directory for any feed package, e.g. "Repository: luci" for
"feeds/luci/applications/luci-app-firewall/Makefile"
- The value "base" for any other, sharable package
- Unset for any package flagged PKG_FLAGS:=nonshared
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 6 Apr 2016 19:53:19 +0000 (21:53 +0200)]
include/target.mk: default to CPU_TYPE for the package architecture
Use the more specific CPU_TYPE designation as default package architecture
and only fall back to ARCH if no specific CPU_TYPE is set.
This means that e.g. ar71xx packages will use "74kc" as architecture,
not "mips" which is a precondition for sharing packages between targets.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 6 Apr 2016 19:49:15 +0000 (21:49 +0200)]
rules.mk: introduce new variable OUTPUT_DIR
Introduce a new variable OUTPUT_DIR which refers to the parent bin/ directory
without the architecture specific component.
Also construct the BIN_DIR variable based on OUTPUT_DIR now and add both target
and subtarget components to it to prevent different subtargets from
overwriting each others files in bin/.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 6 Apr 2016 19:47:04 +0000 (21:47 +0200)]
scripts: metadata: add CONFIG_TARGET_SUBTARGET symbol
Add a new string symbol "CONFIG_TARGET_SUBTARGET" which contains the name of
the chosen subtarget or "generic" if there are no subtargets available.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Álvaro Fernández Rojas [Thu, 7 Apr 2016 19:25:10 +0000 (21:25 +0200)]
brcm2708: update to latest version
As usual these patches were extracted from the raspberry pi repo:
https://github.com/raspberrypi/linux/commits/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Thu, 7 Apr 2016 19:25:01 +0000 (21:25 +0200)]
brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Fri, 1 Apr 2016 11:37:33 +0000 (13:37 +0200)]
brcm2708-gpu-fw: update to latest version
This update also adds individual download of firmware files instead of fetching
every file on the repository (10-MiB vs 100+MiB).
Also copy Linux license from kernel directory instead of using the rpi-firmware
one.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sun, 3 Apr 2016 20:05:55 +0000 (22:05 +0200)]
brcmfmac43430-firmware: use @GITHUB download alias
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Álvaro Fernández Rojas [Sun, 3 Apr 2016 20:02:46 +0000 (22:02 +0200)]
download: add @GITHUB download facility
Define a new alias (@GITHUB) for downloading raw files from github repos.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Jo-Philipp Wich [Thu, 31 Mar 2016 13:26:42 +0000 (15:26 +0200)]
busybox: fix setting the kernel timezone
The settimeofday() syscall wrapper provided by musl filters out the timezone
argument, breaking the ability to set the kernel timezone through the function.
Adjust busybox patch to issue the syscall directly in order to circumvent the
problem.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hans Dedecker [Thu, 31 Mar 2016 10:18:29 +0000 (12:18 +0200)]
netifd: Send DHCP release when client exits
Let DHCP client send a release when it exists so the DHCP server is
informed the IP address is released and allowing to clean up IP/mac
state info in intermediate devices.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Jo-Philipp Wich [Thu, 31 Mar 2016 00:09:53 +0000 (02:09 +0200)]
uci: commit through symlinks
Update to latest HEAD in order to not clobber symlinks in /etc/config on
uci commit.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 30 Mar 2016 22:05:02 +0000 (00:05 +0200)]
netifd: fix default ip rules
Update to latest HEAD in order to remove the faulty "prelocal" ip rule leading
to unexpected policy rule precedence.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 30 Mar 2016 01:19:23 +0000 (03:19 +0200)]
x86: search PARTUUID in any block device
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 30 Mar 2016 01:10:51 +0000 (03:10 +0200)]
x86: make sysupgrade work without partx
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
John Crispin [Thu, 24 Mar 2016 21:40:13 +0000 (22:40 +0100)]
branding: add LEDE branding
Signed-off-by: John Crispin <blogic@openwrt.org>
John Crispin [Thu, 24 Mar 2016 21:14:12 +0000 (22:14 +0100)]
scripts/getver.sh: generate revision relative to the reboot tag
Signed-off-by: John Crispin <blogic@openwrt.org>
John Crispin [Tue, 26 Apr 2016 11:44:36 +0000 (11:44 +0000)]
ar71xx: Add support for the OMYlink OMY-G1
https://wiki.openwrt.org/toh/omylink/omy-g1
http://www.omylink.com/
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 49258
John Crispin [Tue, 26 Apr 2016 11:44:29 +0000 (11:44 +0000)]
zynq: Add Zybo device support
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49257
John Crispin [Tue, 26 Apr 2016 11:44:26 +0000 (11:44 +0000)]
Zynq: Add Zedboard device support
Tested-by: Joe Zhang <jz21082@gmail.com>
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49256
John Crispin [Tue, 26 Apr 2016 11:44:22 +0000 (11:44 +0000)]
zynq: Remove rdinit patch
This is not required as long as CONFIG_TARGET_INIT_CMD is correctly
configured.
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
SVN-Revision: 49255
John Crispin [Tue, 26 Apr 2016 11:44:17 +0000 (11:44 +0000)]
lantiq: use dwc2 by default on all ar9 boards
The dwc2 USB driver now works on Lantiq ar9, but the
default is still ltq-hcd-ar9. This patch switches to
dwc2 by default.
v2: all ar9 boards (v1 was just for BTHOMEHUBV3A and WBMR)
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 49254
John Crispin [Tue, 26 Apr 2016 11:44:13 +0000 (11:44 +0000)]
lantiq: install uboot-envtools by default on BTHOMEHUBV3A
The only way to access the u-boot console on the BTHOMEHUBV3A
is by soldering a serial console onto some really tiny pads.
To enable installation without soldering it would be helpful
to be able to modify the uboot environment from within
the ramdisk image used as part of the installation process.
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 49253
John Crispin [Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)]
dnsmasq: run as dedicated UID/GID
Running dnsmasq in a dedicated user/group allows matching its outgoing
traffic more easily using iptables' owner match.
Add UID/GID to the package metadata and append the user/group
parameters to the init script.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 49252
John Crispin [Tue, 26 Apr 2016 11:44:07 +0000 (11:44 +0000)]
mac80211: ath9k: add GPIO support for AR9280 chip
Enable access to GPIO on Atheros wireless chip AR9280.
Support for 9280 is added to existing 9285/9287 subsystem
because these 3 chips differ only in number of GPIO pins.
Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
SVN-Revision: 49251
John Crispin [Tue, 26 Apr 2016 11:44:03 +0000 (11:44 +0000)]
lantiq: remove read-only flag on two partitions on BTHOMEHUBV3A
Remove read-only flag on two partitions on BTHOMEHUBV3A:
uboot-config - otherwise fw_setenv command cannot be used.
ath9k-cal - so that ath9k calibration data can be copied
to the partition on a newly installed board.
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 49250
John Crispin [Tue, 26 Apr 2016 11:44:00 +0000 (11:44 +0000)]
cns3xxx: set both MPS 'and' MRSS to 128
Fixes some DMA issues with this platform. Because this isn't currently accepted,
and can potentially disrupt other platforms (as read in commit log), I will
leave this cns3xxx specific.
Original Patch: https://patchwork.ozlabs.org/patch/600024/
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 49249
John Crispin [Tue, 26 Apr 2016 11:43:57 +0000 (11:43 +0000)]
cns3xxx: backport pci fix for cns3xxx_write_config
Fix is required to properly set pci config bits.
Original Patch: https://patchwork.ozlabs.org/patch/596170/
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 49248
John Crispin [Tue, 26 Apr 2016 11:43:53 +0000 (11:43 +0000)]
ramips: Add support for the Netgear WNDR3700v5
https://wiki.openwrt.org/toh/netgear/wndr3700
wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC.
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 49247
John Crispin [Tue, 26 Apr 2016 11:43:49 +0000 (11:43 +0000)]
usbutils: Update USB IDs list and drop gzip compression
Change mirror to Github (Gentoo repo) and drop the gzip compression.
Worst case there's about 4kbyte increase in size but most images ends up
beign somewhere between 4-100kbyte smaller due to the lzma compression.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
SVN-Revision: 49246
John Crispin [Tue, 26 Apr 2016 11:43:45 +0000 (11:43 +0000)]
ar71xx: Add TP-Link TL-WR740N v6 support to trunk
This patch adds support for the TP-Link TL-WR740N v6 into OpenWrt trunk. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds.
Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE settings.
Signed-off by: Stijn Segers <francesco.borromini@inventati.org>
[1]: https://forum.openwrt.org/viewtopic.php?pid=318704
SVN-Revision: 49245
John Crispin [Tue, 26 Apr 2016 11:43:42 +0000 (11:43 +0000)]
ar71xx: simplify patch 613 and add missing error handling
Dynamic allocation of label can be simplified.
Also add error handling to deal with failed memory allocation.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 49244
John Crispin [Tue, 26 Apr 2016 11:43:38 +0000 (11:43 +0000)]
mediatek: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 49243
John Crispin [Tue, 26 Apr 2016 11:43:31 +0000 (11:43 +0000)]
lantiq: Fix typo in LED diag script.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Acked-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49242
John Crispin [Tue, 26 Apr 2016 11:43:28 +0000 (11:43 +0000)]
lantiq: use new image build process for brnImages
LZMA compress the kernel without dictionary, otherwise brnboot fails to
uncompress the kernel.
The filesystem parameter of mkbrncmdline was dropped since the used
filesystem isn't exported in the kernel build step and at least in my
tests everything works without the parameter. If the parameter is
required for some reason, the static keyword "squashfs" can be used.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49241
John Crispin [Tue, 26 Apr 2016 11:43:24 +0000 (11:43 +0000)]
include: add a no dict version of lzma to new image build code
Required to compress kernels in a brnboot compatible way.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49240
John Crispin [Tue, 26 Apr 2016 11:43:21 +0000 (11:43 +0000)]
lantiq: remove orphaned tp-link image build steps
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49239
John Crispin [Tue, 26 Apr 2016 11:43:18 +0000 (11:43 +0000)]
lantiq: build sysupgrade images for lantiqImage
Tested with VGV7510KW22NOR.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49238
John Crispin [Tue, 26 Apr 2016 11:43:15 +0000 (11:43 +0000)]
lantiq: new image build process - fix kernel entry address
Set the kernel entry address to the same value as it is used for the old
image build build process.
Fixes boot of uImages on VGV7510KW22NOR and others.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49237
John Crispin [Tue, 26 Apr 2016 11:43:11 +0000 (11:43 +0000)]
lantiq: uboot-envtools on BTHOMEHUBV3A
Generate fw_env.config for BTHOMEHUBV3A.
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 49236
John Crispin [Tue, 26 Apr 2016 11:43:06 +0000 (11:43 +0000)]
ramips: add support for Planex MZK-EX300NP
MZK-EX300NP is MT7620A based wifi repeater.
Built-in power supply.
64MiB RAM, 8MiB SPI Flash, non Wired Ethernet.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49235
John Crispin [Tue, 26 Apr 2016 11:43:01 +0000 (11:43 +0000)]
ramips: add support for Planex CS-QR10
CS-QR10 is MT7620A based IP Camera.
the camera and sound does not work with kernel 4.4.
- camera chip is sn9c291.
- sound chip is wm8960.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49234
Rafał Miłecki [Tue, 26 Apr 2016 09:23:12 +0000 (09:23 +0000)]
kernel: backport support for accelerated SPI flash read
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49233
Rafał Miłecki [Tue, 26 Apr 2016 09:22:49 +0000 (09:22 +0000)]
bcm53xx: backport BCM5301X DT patch specifying SPI controller
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49232
Jo-Philipp Wich [Mon, 25 Apr 2016 15:54:35 +0000 (15:54 +0000)]
fstools: respect mount flags for /overlay mounts
Respect user configured mount flags such as "ro" or "sync" when processing
external overlay mount points.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
SVN-Revision: 49223
Rafał Miłecki [Mon, 25 Apr 2016 15:32:20 +0000 (15:32 +0000)]
mac80211: add brcmfmac regression ("NULL pointer dereference") fix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49222
Hauke Mehrtens [Sun, 24 Apr 2016 22:17:38 +0000 (22:17 +0000)]
ramips: fix build of target
Makes the patches apply again by fixing the white space broken patch.
This problem was introduced in r49212.
Closes #22248 and #22259
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49221
Luka Perkov [Sun, 24 Apr 2016 16:42:14 +0000 (16:42 +0000)]
oxnas: add missing semicolon
A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts
caused the build to break. Add it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 49219
John Crispin [Thu, 21 Apr 2016 19:47:26 +0000 (19:47 +0000)]
xtables-addons: build: fix configure compatiblity with POSIX shells
Fixes build with /bin/sh pointing to certain versions of dash (for example
on Void Linux).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49218
John Crispin [Thu, 21 Apr 2016 19:47:22 +0000 (19:47 +0000)]
ar71xx: build TP-LINK Archer C7 images with US region code
Since December 2015, the Archer C7 comes with an US-specific firmware. This
firmware will only allow upgrades with images that contain the US region
code in the firmware header.
The "universal" firmware distributed in the rest of the world doesn't care
about the region code, so we can just unconditionally set the region to US
for now. When other region-specific firmwares appear, we'll need to create
a factory image for each of them.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49217
John Crispin [Thu, 21 Apr 2016 19:47:19 +0000 (19:47 +0000)]
ar71xx: fix giving extra arguments to Build/mktplinkfw
The build command will always get the whole argument string in $(1),
regardless of whitespace. We need to use word/wordlist to split the string
after the first word.
Whitespace and quotation will be given to the command verbatim (make will
ignore it), so to give multiple arguments, no quotation marks may be used.
Fixes: r47174 ("ar71xx/image: add options argument to mktplinkfw step")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49216
John Crispin [Thu, 21 Apr 2016 19:47:15 +0000 (19:47 +0000)]
tools: firmware-utils: add region code support to mktplinkfw
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49215
John Crispin [Thu, 21 Apr 2016 19:47:12 +0000 (19:47 +0000)]
tools: firmware-utils: clean up mktplinkfw
Remove the whole board list from mktplinkfw, as OpenWrt doesn't use it and
it was severely out of sync with the list of built images for ar71xx.
Also:
* fix -Wall warnings
* add const where appropriate
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 49214
John Crispin [Thu, 21 Apr 2016 19:47:08 +0000 (19:47 +0000)]
ramips: Add support for ZBT WG3526
The WG3526 is the follow-up to the 2626 and is mostly the same, with the
excaption that the mt7602 has been replaced with the mt7603. The internal wifi
setup has also changed slightly. Based on my tests, everything that worked on
the 2626 works on the 3526 and with roughly the same performance.
v1->v2:
* Remove some references to 2626 that I had missed in the dts.
v2->v3:
* Update patch to match new file structure.
* Removed SD driver to be consistent with other MT7621 targets.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
SVN-Revision: 49213
John Crispin [Thu, 21 Apr 2016 19:47:02 +0000 (19:47 +0000)]
ramips: awake rt305x USB controller
Because of Ralink uboot set USB controller into sleep mode [1]
we check it and awake controller before any registers access.
Fix ticket #21396 [2]
[1] http://marc.info/?l=linux-usb&m=
137398626102108&w=2
[2] https://dev.openwrt.org/ticket/21396
Signed-Off-By: Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 49212
John Crispin [Thu, 21 Apr 2016 19:46:59 +0000 (19:46 +0000)]
ramips: add support for ELECOM WRH-300CR
ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB
DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but
easy-to-access) UART.
it also has internal USB hub and USB card reader which provide one USB
port, one SD card slot, and one microSD card slot.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
SVN-Revision: 49211
John Crispin [Thu, 21 Apr 2016 19:46:53 +0000 (19:46 +0000)]
lantiq: use new image build process for some images
This adds for some easy images the new build process.
This was only tested on some TP-Link devices, please test.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49210
John Crispin [Thu, 21 Apr 2016 19:46:49 +0000 (19:46 +0000)]
ramips: update DTS file for Planex DB-WRT01
update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49209
Rafał Miłecki [Wed, 20 Apr 2016 18:14:01 +0000 (18:14 +0000)]
bcm53xx: bump maximum TRX size for devices with serial flash
It was already increased for NAND devices so do the same for the ones
with serial memory.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 49207
John Crispin [Wed, 20 Apr 2016 17:19:08 +0000 (17:19 +0000)]
feeds.conf.default: remove the commented ancient feeds
Cleanup feeds.conf.default by removing the old commented-out feeds:
* x-wrt has not been updated for years and targets WhiteRussian/Kamikaze.
No currect code base available anywhere
* six old feeds from svn.openwrt.org/feeds. These feeds have not been
updated for 4-5 years and their code is currently unavailable
(in svn.openwrt.org)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 49206
John Crispin [Wed, 20 Apr 2016 17:19:05 +0000 (17:19 +0000)]
ramips: fix support Planex MZK-750DHP.
fix script for Planex MZK-750DHP.
modification of the GPIO definition.
add Profile.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 49205
John Crispin [Wed, 20 Apr 2016 17:19:00 +0000 (17:19 +0000)]
ramips: rt3352 usbphy fix in dts-file
Add missing rt3352 usb phy. Fix ticket #20499.
Signed-Off-By:Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 49204
Hauke Mehrtens [Tue, 19 Apr 2016 20:18:50 +0000 (20:18 +0000)]
curl: remove file accidentally committed in r49197
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49199