Commit Graph

35016 Commits (24a7ccb0562a867e363a10ebdc64e3aaa6f01cd2)
 

Author SHA1 Message Date
Daniel Engberg 6e7403e1e6 iw: Use URL alias
Remove hardcoded URL and use alias instead.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years ago
Jo-Philipp Wich 52836866c9 kirkwood: add missing kernel symbol
The query for ARMADA_THERMAL is stalling the kconfig process and as long as we
do not package it, simply disable the symbol.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich f6785e33a0 jsonfilter: allow empty paths
Allow path specifications to refer to just '@' or '$' which is useful for
exporting the keys or array indizes of the toplevel object to the shell.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Dario Ernst 4d1c75c601 dropbear: Fix incorrect CONFIG_TARGET_INIT_PATH.
Fix a „semantic typo“ introduced in b78aae793e,
where TARGET_INIT_PATH was used instead of CONFIG_TARGET_INIT_PATH.

Signed-off-by: Dario Ernst <Dario.Ernst@riverbed.com>
8 years ago
Jo-Philipp Wich 1012701014 x86: generalize partition discovery for sysupgrade
Generalize the partition discovery in sysupgrade in order to fix sysupgrade
and config backup/recovery on MMC block devices which use a different naming
scheme compared to mtdblock or sd* devices.

The change also adds the find applet to the ramdisk utilities so that upgrade
code can rely on it.

The commit is based on the initial submission by Russell Senior at
http://patchwork.ozlabs.org/patch/625440/ .

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Hannu Nyman 3193053df7 Centralize setting of all version info to include/version.mk
Centralize setting all version information in include/version.mk
* Set RELEASE env variable in include/version.mk instead of toplevel.mk.
  Stop exporting the variable.
* Remove hardcoded release name from /etc/banner

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 years ago
Hans Dedecker 6707d9750a busybox: sysntpd - Support for NTP servers received via DHCP(v6)
The busybox ntpd utility currently uses ntp servers specified in uci.
This patch allows the ntpd utility to use NTP servers received via DHCP(v6)
Following uci parameters have been added:
    use_dhcp : enables NTP server config via DHCP(v6)
    dhcp_interface : use NTP servers received only on the specified DHCP(v6) interfaces; if empty all interfaces are considered

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
8 years ago
Daniel Dickinson 2ac21bd793 dnsmasq: Set the default dhcp lease file and resolv file
Instead of making assumptions about the leasefile and resolv file make sure
we use what the user configures, but fall back to defaults if no configuration
is specified

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
8 years ago
Daniel Dickinson d79f8909c1 sdk: Allow to change ALL* package settings in SDK
It is desirable to be able to use ./scripts/feeds install -a
when in the SDK without being forced to build a great number
of packages that are not actually wanted.

We therefore add the option of changing the various ALL package
build options so that we can default to packages not being built
unless we select them.

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
8 years ago
Daniel Engberg 76d8f6c41f usbutils: Use github alias
Instead of hardcoding URL to Github use alias.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years ago
Kevin Darbyshire-Bryant a6e96998fb dnsmasq: update to dnsmasq v2.76
Update to dnsmasq2.76.  Refresh patches.  Add new patch to fix musl
'poll.h' location warning.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years ago
Alin Năstac 0cc58a0f98 conntrack: enable support for netfilter conntrack zones
Storage of such zones is provided by a nf_ct_ext struct, hence conntrack
memory foot print will not be increased if zones are not used.

Signed-off-by: Alin Năstac <alin.nastac@gmail.com>
8 years ago
Cezary Jackiewicz af1e70b4a7 ramips: Add status led for Xiaomi MiWiFi Nano
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
8 years ago
John Crispin bf6634339a ramips: fix timing issues when using MT7621 spi
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Petr Štetiar e0b241bb48 scripts/download.pl: Use CDN for kernel downloads
More info at https://www.kernel.org/introducing-fastly-cdn.html

Signed-off-by: Petr Štetiar <ynezz@true.cz>
8 years ago
Dirk Neukirchen 4c4497ec0d package: spidev_test: update location for >Kernel 4.5
- document indirect source code fixup affecting spidev_test

v2: check against old Kernel versions

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Claudio Leite 35782e104a mvebu: configure switch on WRT1200AC and WRT1900ACv2/S
Also collapses the three identical configurations into one block.

Signed-off-by: Claudio Leite <leitec@staticky.com>
8 years ago
Alexander Couzens bf27ac019c ar71xx/cpe510: use second wifi calibration table
The cpe510 has two calibration tables. The first calibration
table requires to modify ath9k driver to work (patched tx gain table).

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Alexander Couzens c5ff273d85 ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510
Split profile into 2GHz and 5GHz. The 5GHz devices are
quite "special". The 2 GHz works perfect.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years ago
Felix Fietkau ce63c38ef5 image.mk: remove obsolete SUBTARGETS variable
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Sven Eckelmann f21de7d9a8 ar71xx: add MR1750v2 to the MR1750 profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann c4e3706533 ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 3f508fce77 package/uboot-envtools: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann e1357c09d4 package/om-watchdog: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 77cb985022 ar71xx: enable sysupgrade for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 58dc285cd6 ar71xx: add user-space support for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann f7719dca71 ar71xx: add kernel support for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 634f681da4 ar71xx: add OM2P-HSv3 to the OM2P profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 00943e0931 package/uboot-envtools: add OpenMesh OM2P-HSv3 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann f3ac61850d package/om-watchdog: add OpenMesh OM2P-HSv3 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 222dfb3d6a ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann e10d12411c ar71xx: add user-space support for the OpenMesh OM2P-HSv3
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 8010e8a370 ar71xx: add kernel support for the OpenMesh OM2P-HSv3
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 823cea2d5d ar71xx: Allow OpenMesh CE images with more than 3 files
The CE image format used by OpenMesh can contain extra blocks which
are not used for flashing. Only the first three embedded images
(fwupgrade.cfg, kernel, rootfs) are required in this order to successfully
flash an image via sysupgrade. All extra embedded images should be ignored
for the available devices.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann d1b4a8cfcf ar71xx: Move OpenMesh image target validation into subfunction
The platform_check_image_openmesh function used break statements to signal
that the board name matched the image target. This worked because the
sysupgrade binary checked the image inside a loop. The break statement
stopped the loop and skipped any additional check.

Instead the check should be done without such sideeffects by simply
combining the board names and image targets. Only a mismatch should cause a
negative result for the caller and skipping of the additional checks.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 6150c15ad1 ar71xx: Generate sysupgrade images for OpenMesh devices
Some OpenWrt based firmwares like Gluon expect that a sysupgrade image
exists when a device firmware can be updated via sysupgrade. This image
wasn't created until now because OpenMesh devices use the same image for
factory and sysupgrade flash. Copying the image from *factory.bin to
*sysupgrade.bin is therefore enough to make the sysupgrade functionality
visible.

Reported-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Sven Eckelmann 9b6b75d09d ar71xx: Add support for initramfs images for OpenMesh devices
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Felix Fietkau f85e5e6778 ar71xx: move nand device image definitions to a separate file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau dcc2ea3cf5 ar71xx: move generic device image definitions to a separate file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 054df4fda4 ar71xx: split ubnt image building code into a separate file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 736fc38d33 ar71xx: split legacy image building code into a separate file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 64b8bb3b69 ar71xx: split tp-link image building code into a separate file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Russell Senior 0fd183c155 x86_64: enable mmc to support booting off sd
Improved support for PCEngines APU

Signed-off-by: Russell Senior <russell@personaltelco.net>
8 years ago
Russell Senior f89a20a89a ath25: update kernel from 3.18 to 4.4
Summary of changes:
	* moved config-3.18 to config-4.4 and patches-3.18 to patches-4.4
	* removed most of the first two patches, that seem to be upstream already
	* changed deprecated/removed IRQF_DISABLED to zero following examples in upstream kernel patches
	* added config line to disable device-tree to satisfy kernel configuration
	* add new image generation code

Build tested and run tested on an Accton MR3201A.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin c7efbd7dbb ramips: Add specific compatible properties for esw
Currently, for RT5350 and MT7628, esw is marked as compatible with
"ralink,rt3050-esw". While this is true, the switches within RT5350
and MT7628 actually support more functionality than the RT3050 switch.

One such example is per-VLAN untagging, which is an important feature.

RT3352 is another example of this, but it already has an additional
compatible property, which allows to differentiate it from RT3050.

This commit adds such more specific properties for RT5350 and MT7628
as well.

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
8 years ago
John Crispin f5f173e2b7 mediatek: update patches
* fixes NAND
* adds latest ethernet patches

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin a39ac242cc base-files: fix some failsafe issues
* if the shell was closed booting continued

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 5dc80cbcff fstools: update to latest git version
* adds support for ACL mount flags
* adds vfat fsck support

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 12a24b6564 procd: update to latest head
fixes /dev/console handling during early boot

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Mathias Kresin abfdddfb3c lantiq: VG3503J - use the 11G firmware
Use the 11G firmware for the phys as the oem firmware does.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago