Daniel Golle [Thu, 11 Aug 2016 09:36:08 +0000 (11:36 +0200)]
oxnas: set preinit network interface
set network interface for failsafe mode to eth0 for all boards
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Felix Fietkau [Thu, 11 Aug 2016 15:00:36 +0000 (17:00 +0200)]
ramips: fix legacy image build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 11 Aug 2016 15:02:32 +0000 (17:02 +0200)]
kernel: fix crashlog issues on highmem systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rafał Miłecki [Thu, 11 Aug 2016 10:17:06 +0000 (12:17 +0200)]
bcm53xx: add profiles for Buffalo devices
This generates proper images when using CONFIG_TARGET_MULTI_PROFILE and
CONFIG_TARGET_PER_DEVICE_ROOTFS.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Thu, 11 Aug 2016 09:59:28 +0000 (11:59 +0200)]
bcm53xx: include USB modules in images for devices with USB ports
This allows using USB out of the box.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Thu, 11 Aug 2016 06:59:54 +0000 (08:59 +0200)]
bcm53xx: add profiles for all other (SoftMAC) devices
Thanks to this images for SoftMAC devices don't get brcmfmac anymore and
b43 is added for devices with (quite poor) support only.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Ben Greear [Wed, 10 Aug 2016 22:46:16 +0000 (15:46 -0700)]
ath10k-firmware: Update to latest 99X0 CT firmware.
Among other things, this compiles out support for peer caching.
The feature did not seem to work well in my testing of AP mode,
and totally breaks my own special use of station mode.
Briefly tested on ea8500.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Ben Greear [Wed, 10 Aug 2016 22:45:53 +0000 (15:45 -0700)]
ath10k-ct: Fix loading 9980 firmware.
ath10k-ct driver was using bad defaults for 9980 if user
had not specified a fwcfg file to over-ride them.
Also, support configurable station-kickout-threshold,
which might work around issues with flakey connections.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix PKG_VERSION]
Mathias Kresin [Tue, 9 Aug 2016 06:22:24 +0000 (08:22 +0200)]
tools: flock: add NFSv4 compatibility
This patch fixes the LEDE build on mounted NFSv4 shares.
The lock file cannot be opened in read-write mode by default, because
then we cannot use flock(1) to lock executable files.
The read-write mode for lock files is necessary on NFSv4 where
flock(2) is emulated by by fcntl() -- this situation is possible to
detect by flock(2) EBADF error.
The patch consist of the following util-linux/flock commits
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=
eb742a1f66d5e3a7c5b43efce741c113f51bef3b
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=
caf1ba11a367ad702fb774653daf9ebdcca49d7b
without including the pre kernel 3.4 support.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [minor cleanup]
Matteo Croce [Fri, 15 Jul 2016 10:17:20 +0000 (12:17 +0200)]
gcc: optionally build gccgo compiler
Tested with eglibc on x86 and armv7 so far
Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
Matteo Croce [Wed, 22 Jun 2016 13:15:10 +0000 (15:15 +0200)]
kernel: add plan 9 fs package
9pfs is used by kvm to share files between host and guest,
add proper config option to enable it.
Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
Petko Bordjukov [Thu, 4 Aug 2016 23:10:00 +0000 (02:10 +0300)]
hostapd: Allow RADIUS accounting without 802.1x
RADIUS accounting can be used even when RADIUS authentication is not
used. Move the accounting configuration outside of the EAP-exclusive
sections.
Signed-off-by: Petko Bordjukov <bordjukov@gmail.com>
Felix Fietkau [Thu, 4 Aug 2016 10:39:06 +0000 (12:39 +0200)]
lantiq: fix some ethernet driver SMP issues
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rafał Miłecki [Thu, 11 Aug 2016 06:27:57 +0000 (08:27 +0200)]
bcm53xx: convert (disabled) Netgear R8500 image to own profile
It should be the last device with FullMAC chipset to convert.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Thu, 11 Aug 2016 05:45:19 +0000 (07:45 +0200)]
bcm53xx: add profile with brcmfmac for Netgear R7900
It's one more device with FullMAC that got forgotten in the previous
commit.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Wed, 10 Aug 2016 17:23:35 +0000 (19:23 +0200)]
bcm53xx: add profiles for devices with FullMAC chipsets
This allows building images for selected devices with brcmfmac only
(without b43 which is for SoftMAC devices).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Jo-Philipp Wich <jo@mein.io>
Chuanhong Guo [Wed, 10 Aug 2016 00:18:32 +0000 (02:18 +0200)]
ramips: Add support for Thunder Timecloud
Thunder Timecloud is a small NAS with MT7621A. It has 1 USB port and an
SD Card slot. There is no wireless cards.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Mathias Kresin [Sun, 7 Aug 2016 20:21:34 +0000 (22:21 +0200)]
preinit: use only the image config options
The pi_* variables and the fs_failsafe_wait_timeout variable are set by
the CONFIG_TARGET_PREINIT_* config options. No need to maintain the same
values twice.
All other fs_ variables were never used.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Sun, 7 Aug 2016 20:23:24 +0000 (22:23 +0200)]
ltq-hcd: fix xway dependency
Due to missing parameter the package wasn't build for the xway target.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 9 Aug 2016 06:11:45 +0000 (08:11 +0200)]
kernel: adm6996: set carrier status
Due to the missing carrier status set, the interface wasn't usable on a
BTHOMEHUB2B after ip link down and up as it is done in preinit.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Jimmy Zhong [Wed, 3 Aug 2016 17:58:01 +0000 (13:58 -0400)]
ramips: Add support for TEW-714TRU
Signed-off-by: Jimmy Zhong <mb300sd@mb300sd.net>
Mathias Kresin [Sat, 6 Aug 2016 08:34:53 +0000 (10:34 +0200)]
lantiq: enable cpu temp driver for selected boards
According to the author of the cpu temp driver, not all xrx200 boards
have a cpu temperature sensor. For that reason enable the sensor only
for tested boards.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 2 Aug 2016 20:27:16 +0000 (22:27 +0200)]
lantiq: board.d: set lan mac address only where necessary
Do not set the lan mac address for boards which having the lan mac
address already set in device tree source file.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 2 Aug 2016 20:26:02 +0000 (22:26 +0200)]
lantiq: drop duplicate and now unused "lantiq, eth-mac" binding
The device tree binding and the associated code duplicates functionality
already patched into the etop driver. The compatible string isn't used
any more. Therefore the whole code can be dropped.
The "mac-increment" property allowed to increment a mac address received
via kernel cmdline. This functionality isn't used by any device and
should be added as etop driver device tree property if required again.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 2 Aug 2016 20:26:01 +0000 (22:26 +0200)]
lantiq: use the etop driver DT bindings only
Use the generic mtd-mac-address dts property to get a mac address from
flash instead of the lantiq specific one.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 2 Aug 2016 20:26:00 +0000 (22:26 +0200)]
lantiq: fix mac address increments
Use the same mac address increment in device tree source file and
userspace.
Don't add a mac address increment to either the only mtd mac-address or
to all mac-addresses.
Fix a typo in the TDW89X0.dtsi file to add an increment.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 2 Aug 2016 20:25:59 +0000 (22:25 +0200)]
lantiq: drop orphaned eeprom-handling code branches
All device tree nodes are using the named properties now and the code
path handling the reg property isn't required any more.
The code related to the ath,eep-flash property has been reformatted to
be better readable.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Tue, 2 Aug 2016 20:25:58 +0000 (22:25 +0200)]
lantiq: use ath, eep-flash/mac-offset for ath eep nodes
No functional change, just easier to get what's the purpose of the hex
values.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Jo-Philipp Wich [Tue, 9 Aug 2016 15:23:56 +0000 (17:23 +0200)]
ath25: fix duplicate LZMA compression
The conversion to the new image building code accidentally caused the kernel
image to get compressed twice, leading to boot failures when kernel and rootfs
are flashed separately.
The sysupgrade images have been unaffected by this. Also restore the elf
kernel build artifact while we're at it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Felix Fietkau [Tue, 9 Aug 2016 05:17:58 +0000 (07:17 +0200)]
openssl: re-enable CMAC support
Needed by a few packages
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jo-Philipp Wich [Sat, 30 Jul 2016 13:41:10 +0000 (15:41 +0200)]
uclient: change SSL support error message
Change the error message about missing SSL support to be more explicit by
mentioning required package names.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jonas Gorski [Mon, 8 Aug 2016 09:27:04 +0000 (11:27 +0200)]
ramips: switch from 24kec to 24kc
Since the only difference between 24Kec and 24Kc is the addition of DSP
ASE support, and we don't use it anymore, there is no need to keep 24Kec
as a separate cpu type.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Petko Bordjukov [Sun, 7 Aug 2016 20:45:33 +0000 (23:45 +0300)]
mac80211: Update the regdb to master-2016-06-10
Changes include:
* Higher maximum transmit power in the 5170-5250 band of the BG
regdomain
* Introduction of the CU regdomain
* Introduction of the 5725-5875 band (short-range devices) in the DE
regdomain
* Introduction of 60 GHz channels 1-4 in the KR regdomain
* Introduction of the 5725-5875 band (short-range devices) in the NL
regdomain
Signed-off-by: Petko Bordjukov <bordjukov@gmail.com>
Felix Fietkau [Fri, 5 Aug 2016 12:08:47 +0000 (14:08 +0200)]
kernel: make the kernel build auto-clean the build dir like package builds
Previous behavior can be restored by using QUILT=1 on target/prepare
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Fri, 5 Aug 2016 09:02:50 +0000 (11:02 +0200)]
hostapd: remove unused hostapd-common-old package
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 10:21:37 +0000 (12:21 +0200)]
ath9k: improve powersave filter handling
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 10:21:27 +0000 (12:21 +0200)]
ath9k: improve performance in tx status handling
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 21:09:55 +0000 (23:09 +0200)]
Revert "kernel: remove long obsolete gpio spi controller driver patch"
This reverts commit
9e62a7668c4085563a907da51a08819c88d04f33.
Felix Fietkau [Thu, 4 Aug 2016 20:55:51 +0000 (22:55 +0200)]
ar71xx: add missing LZO support select for routerboard devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 20:42:28 +0000 (22:42 +0200)]
kernel: add -mtune=34kc to MIPS CFLAGS when building for mips32r2
This provides a good tradeoff across at least 24Kc-74Kc, while also
producing smaller code.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 18:29:45 +0000 (20:29 +0200)]
gcc: add a patch to generate better code with Os on mips
Also happens to reduce compressed code size a bit
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 17:23:47 +0000 (19:23 +0200)]
kernel: mark compression modules as hiddden to obsolete the compressor kconfig hack
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 17:19:17 +0000 (19:19 +0200)]
kernel: mark kmod-udptunnel as hiddden to replace the NET_UDP_TUNNEL kconfig hack
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 17:12:21 +0000 (19:12 +0200)]
kernel: remove unused morse led trigger driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 17:01:20 +0000 (19:01 +0200)]
kernel: remove long obsolete gpio spi controller driver patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 16:54:16 +0000 (18:54 +0200)]
kernel: remove a long obsolete unlzo decompressor fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 16:41:50 +0000 (18:41 +0200)]
kernel: remove obsolete slab tuning patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Thu, 4 Aug 2016 16:18:39 +0000 (18:18 +0200)]
kernel: remove esfq qdisc
It has been obsolete for years now
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Mathias Kresin [Tue, 2 Aug 2016 20:29:31 +0000 (22:29 +0200)]
sysupgrade: unmount filesystems before reboot
sysupgrade immediately reboots after flashing an image and doesn't
allow to unmount filesystems. At least in case the image used for
sysupgrade is stored on a FAT formatted usb flash drive, the following
warning is printed during the next mount of the flash drive:
FAT-fs (sda1): Volume was not properly unmounted. Some data may be
corrupt. Please run fsck.
Although a data corruption during read operations is unlikely, there is
no need to scare the users.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Sergey Ryazanov [Tue, 2 Aug 2016 13:29:44 +0000 (16:29 +0300)]
tools: lzma: reduce copyright noise
Move the copyright printing code to the usage printing function, to
reduce noise from regular execution but preserve information about
the author.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Daniel Golle [Tue, 2 Aug 2016 13:38:46 +0000 (15:38 +0200)]
base-files: remove dead code
/etc/init.d/boot tried to create /dev/root based on the kernel's
cmdline which won't work on any recent targets. Remove that code now
that fstools can detect the mounted rootfs based on
/proc/self/mountinfo and /dev/root was long gone anyway.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Felix Fietkau [Thu, 4 Aug 2016 09:12:27 +0000 (11:12 +0200)]
image: fix per-device rootfs build error when not all opkg package files are found
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 3 Aug 2016 17:55:02 +0000 (19:55 +0200)]
scripts/config: properly handle select on symbols with unmet direct dependencies
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 3 Aug 2016 17:47:34 +0000 (19:47 +0200)]
scripts/config: sync with latest linux upstream
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 3 Aug 2016 15:34:04 +0000 (17:34 +0200)]
kernel: clean up 260-crypto_test_dependencies.patch to get rid of some more kernel bloat
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 3 Aug 2016 15:07:32 +0000 (17:07 +0200)]
kernel: modularize bridge netfilter support a bit further to get rid of some kernel bloat
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 3 Aug 2016 14:38:04 +0000 (16:38 +0200)]
kernel: remove switch driver kmod packages
Targets that need switch drivers should select them in their kernel
config. This prevents some bloat from creeping into targets that don't
need switchdev/dsa
Signed-off-by: Felix Fietkau <nbd@nbd.name>
John Crispin [Wed, 3 Aug 2016 13:29:59 +0000 (15:29 +0200)]
ramips: enable nand support for mt7621
this makes sysupgrade work on the ERX
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Wed, 3 Aug 2016 00:30:12 +0000 (02:30 +0200)]
include/image.mk: allow image code to override uImage name
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Tue, 2 Aug 2016 17:48:17 +0000 (19:48 +0200)]
ramips: updated remaining profiles to the new image building code
Signed-off-by: John Crispin <john@phrozen.org>
Lucian Cristian [Sun, 31 Jul 2016 14:59:01 +0000 (17:59 +0300)]
x86: enable CPU frequency scaling
CPU frequency scaling enables the operating system to scale the CPU
frequency up or down in order to save power. CPU frequencies can be
scaled automatically depending on the system load, in response to ACPI
events, or manually by userspace programs.
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Lucian Cristian [Sun, 31 Jul 2016 12:42:53 +0000 (15:42 +0300)]
linux/modules: Add SCH5627 Super I/O chips
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Florian Eckert [Mon, 1 Aug 2016 09:10:42 +0000 (11:10 +0200)]
lantiq: add cpu temperatur sensor driver for xrx200
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
John Crispin [Tue, 2 Aug 2016 07:34:49 +0000 (09:34 +0200)]
rtc-rv5c386a: package does not build inside the SDK
the packages failed to build inside the SDK due to missing header
files.
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Tue, 2 Aug 2016 07:31:55 +0000 (09:31 +0200)]
uboot-lantiq: package does not build inside the SDK
the packages failed to build inside the SDK due to missing ethernet
firmware files.
Signed-off-by: John Crispin <john@phrozen.org>
Felix Fietkau [Wed, 3 Aug 2016 12:56:43 +0000 (14:56 +0200)]
build: remove MIPS dsp/dsp2 CPU_SUBTYPE
There does not seem to be any meaningful difference in generated code.
This will save some time and space on snapshot builds
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 3 Aug 2016 10:22:04 +0000 (12:22 +0200)]
build: move merged package directory from bin/ to staging_dir
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 11:54:40 +0000 (13:54 +0200)]
mkelfimage: remove package, it is a host tool that has been unused for years
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 11:51:13 +0000 (13:51 +0200)]
ar71xx: remove useless minimal/ath5k profiles
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 11:49:27 +0000 (13:49 +0200)]
uboot-ar71xx: fix default selection for NBG460N/550N/550NH
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 09:14:55 +0000 (11:14 +0200)]
mac80211: fix minor memleak on AP restart / warning on driver unload
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 11:07:46 +0000 (13:07 +0200)]
ath9k: fix sta initialization bug leading to stability issues
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 06:17:28 +0000 (08:17 +0200)]
omap: remove CONFIG_SND_DEBUG override
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Tue, 2 Aug 2016 06:16:44 +0000 (08:16 +0200)]
kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 1 Aug 2016 20:33:29 +0000 (22:33 +0200)]
feeds: switch from github to lede-project.org mirrors
GitHub seems to be a bit unreliable on feeds updates on the buildbot
lately, so hopefully our own mirror will be more reliable than that.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Hauke Mehrtens [Mon, 1 Aug 2016 20:25:54 +0000 (22:25 +0200)]
gdb: fix build with gcc 4.1.2 as host compiler
The additional warnings are causing compile errors on gcc version 4.1.2
as a host compiler.
cc -c -Wall -Wdeclaration-after-statement -Wpointer-arith
-Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement
-Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-
style-definition -Wformat-nonliteral -I. -I. -I./../../include
filter_host.c
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Wmissing-parameter-type"
cc1: error: unrecognized command line option "-Wold-style-declaration"
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Wmissing-parameter-type"
cc1: error: unrecognized command line option "-Wold-style-declaration"
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Mon, 1 Aug 2016 19:59:45 +0000 (21:59 +0200)]
scripts: fix remote-gdb with CONFIG_BUILD_SUFFIX
Fix the scripts/remote-gdb script when CONFIG_BUILD_SUFFIX is set.
CONFIG_BUILD_SUFFIX extends the name of the folder build_dir/target*
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Felix Fietkau [Mon, 1 Aug 2016 16:29:23 +0000 (18:29 +0200)]
lantiq: enable missing ath10k firmware for BT Home Hub 5A
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jo-Philipp Wich [Tue, 26 Jul 2016 13:08:19 +0000 (15:08 +0200)]
build: remove image specific checksum code
Now that we globally calculate sha256sums over the bin/ directory we can remove
the target image specific checksum handling.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 26 Jul 2016 13:05:35 +0000 (15:05 +0200)]
build: add checksum target
Add a new "checksum" make target which generates an sha256sums file over the
image files produced in bin/targets/ and automatically call it during make
world after the package index generation.
The advantage of this new target is that it is guaranteed to run after the
images, the SDK and the ImageBuilder archives have been generated to ensure
that they all end up in the checksum file. Fixes FS#51.
Uses sed to postprocess the OpenSSL digest output into an sha256sum command
compatible format.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 30 Jul 2016 13:43:35 +0000 (15:43 +0200)]
apm821xx: fix IB image building
Change the image build code to generate the DTB files as part of the kernel
build phase in order to fix the image build in the ImageBuilder environment.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Felix Fietkau [Mon, 1 Aug 2016 12:52:13 +0000 (14:52 +0200)]
base-files: increase vm.min_free_kbytes
Network drivers typically allocate memory in atomic context. For that to
be reliable, there needs to be enough free memory. Set the value
heuristically based on the total amount of system RAM.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 1 Aug 2016 11:36:03 +0000 (13:36 +0200)]
kernel: re-enable CONFIG_SND_VERBOSE_PROCFS (FS#66)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
diizzyy [Sun, 31 Jul 2016 20:46:29 +0000 (22:46 +0200)]
ar71xx: Make wget2nand look for LEDE project firmware files
Make wget2nand aware of the new file names
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
dissent1 [Sun, 31 Jul 2016 13:23:42 +0000 (16:23 +0300)]
ipq806x: fix MAC_POWER_SEL for Netgear R7800
Fixes instability/corruption on the ethernet interface connected to port0 on the switch on Netgear R7800 as well.
Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Florian Eckert [Fri, 22 Jul 2016 09:04:57 +0000 (11:04 +0200)]
uqmi: add metric option to interface config
It is now possible to add an metric option for the qmi proto in dhcp mode.
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
Florian Eckert [Fri, 22 Jul 2016 09:33:08 +0000 (11:33 +0200)]
uqmi: fix option ipv6
If option ist not set then ipv6 is still enabled on this Interface.
Check if variable is zero will fix this issue.
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
P.Wassi [Tue, 26 Jul 2016 04:45:25 +0000 (06:45 +0200)]
ramips: Rename TP-Link Archer C50 LEDs
Rename LEDs in TP-Link Archer C50 from [manufacturer name]
to [board name] ("tp-link" -> "c50")
Signed-off-by: P.Wassi <p.wassi@gmx.at>
P.Wassi [Tue, 26 Jul 2016 04:44:19 +0000 (06:44 +0200)]
ramips: Improve TP-Link Archer C20i support
Improve / finalise TP-Link Archer C20i support.
Signed-off-by: P.Wassi <p.wassi@gmx.at>
Felix Fietkau [Mon, 1 Aug 2016 09:55:53 +0000 (11:55 +0200)]
target/sdk: update README.SDK to explain dependency handling
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 1 Aug 2016 09:54:25 +0000 (11:54 +0200)]
target/sdk: ship toolchain and kernel module package
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 1 Aug 2016 09:13:11 +0000 (11:13 +0200)]
image: use the merged package directory to resolve dependencies for per-device rootfs
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 1 Aug 2016 09:12:15 +0000 (11:12 +0200)]
build: create a package feed directory containing all packages
Needed for proper dependency handling for per-device rootfs
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 1 Aug 2016 08:07:25 +0000 (10:07 +0200)]
build: fix tabs vs whitespace issue
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Daniel Gonzalez [Thu, 28 Jul 2016 20:33:26 +0000 (22:33 +0200)]
brcm63xx: fix CT-536p/CT-5621T support
Fix support for the Comtrend CT-536+, CT-5361 and CT-5621T routers support.
Currently the firmware is broken for these routers, because there is a missing
bar in the code at the DTS file avoiding to match with DTS stuff at the kernel. This
causes the router boots without ethernet connectivity. The status led also has a typo.
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Felix Fietkau [Sun, 31 Jul 2016 18:43:03 +0000 (20:43 +0200)]
kernel: silence a false positive uninitialized variable warning
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Jonas Gorski [Thu, 28 Jul 2016 16:08:35 +0000 (18:08 +0200)]
ipq806x: fix boot hang if cmdline contains words with r in the middle
The ATB DTB mangle code will enter an infinite loop if it encounters a
word in the command line that contains an r in the middle of the word.
Fix this by increasing ptr everytime before invoking strchr, ot avoid
finding the same r again.
This fixes booting at least on Netgear R7500v1, which contains
"ubi.mtd=rootfs" in its commandline, triggering the misbehaviour.
Fixes:
0ddcbee26151 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Felix Fietkau [Sun, 31 Jul 2016 18:30:08 +0000 (20:30 +0200)]
mvebu: fix NAND flash issues (FS#67)
Remove the previous PIO delay patch and add a revert patch for a faulty
upstream commit, which seems to have introduced this issue in the first
place
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Sun, 31 Jul 2016 17:27:15 +0000 (19:27 +0200)]
imx6: clean up / fix ventana image build code
Fix ubifs mkfs options
Use standard Build/* commands instead of doing everything in the hackish
ubi-boot-overlay template
Fix bootfs.tar.gz build error
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Sun, 31 Jul 2016 17:25:32 +0000 (19:25 +0200)]
build: add template for installing device .dtb files
Signed-off-by: Felix Fietkau <nbd@nbd.name>