Commit Graph

25595 Commits (0c5c12a042bbea9cc718e139f14eb98550da6028)
 

Author SHA1 Message Date
Luka Perkov 0c5c12a042 Config.in: add more options when it comes to including kernel image into rootfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38517
11 years ago
Luka Perkov 7938d16451 build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38516
11 years ago
Luka Perkov 86aff32701 imx6: enable SATA support
Enable SATA support (for IMX6D/IMX6Q) static in the kernel.  It seems there
are some issues causing the driver to not load properly when built as
a module which still need to be worked out.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38515
11 years ago
Luka Perkov 44ae9a2b7a imx6: enable cpufreq
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38514
11 years ago
Luka Perkov 70d75dc068 imx6: enable i2c-dev
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38513
11 years ago
Luka Perkov cdcce432d0 imx6: remove obsolete files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38512
11 years ago
Luka Perkov cd43416a78 imx6: pcie driver fixups
Add upstream patches needed for PCIe through a switch.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38511
11 years ago
Luka Perkov a0c9c711cd imx6: fix symlink of dtb files
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38510
11 years ago
Gabor Juhos 9e01011b5c ar71xx: rename 'nand' subtarget to 'mikrotik'
It is for Mikrotik devices only, rename the subtarget
to reflect that. Also fix the wget2nand script to use
the new image names.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38509
11 years ago
Gabor Juhos 757a6fdef9 ar71xx: change title and description for NAND subtarget
The nand subtarget supports Mikrotik boards only. Change
the title and the description to reflect that.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38508
11 years ago
Gabor Juhos a59934dbd0 ar71xx: remove 'Target/Description' from main Makefile
Ensure that menuconfig shows the correct help text for
subtargets.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38507
11 years ago
Gabor Juhos b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
11 years ago
Steven Barth d8d0e2c536 odhcp6c: filter similar RAs spammed by some ISPs
SVN-Revision: 38505
11 years ago
Steven Barth bb699867e0 firewall: Improve ubus support
* Use network.interface dump call instead of individual status calls
  to reduce overall netifd lookups and invokes to 1 per fw3 process.

* Allow protocol handlers to assign a firewall zone for an interface
  in the data section to allow for dynamic firewall zone assignment.

SVN-Revision: 38504
11 years ago
Steven Barth a54f104701 odhcpd: fix cleaning of configuration on reload
SVN-Revision: 38503
11 years ago
Hauke Mehrtens 6d2136c3f2 brcm47xx: b44: detect external phy by bit set in DevControl register
Without this patch we treated only phy addr 30 as an external phy, but
there is a register to check that. Now we do not have to try to reset
the switch to check for an external switch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38502
11 years ago
Gabor Juhos 5d4cc68b66 x86/generic: remove 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38501
11 years ago
Gabor Juhos b94f8452cb x86/generic: switch to 3.10.15
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38500
11 years ago
Gabor Juhos 921246f73b x86/generic: add kernel config for 3.10
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38499
11 years ago
Gabor Juhos 2a3df11af8 kernel/3.10: add missing config symbol
Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38498
11 years ago
Luka Perkov 38aefbfa8d imx6: make symlinks for dtb's
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38496
11 years ago
Steven Barth 1ff15bfe83 6relayd: reduce fallout of RA spamming a bit
SVN-Revision: 38488
11 years ago
Luka Perkov 2215ccf184 gmp: update to 5.1.3
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38487
11 years ago
Felix Fietkau 537e301fab ath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38486
11 years ago
Gabor Juhos 50458fb24c mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)
RSPRO has 16MiB of Flash, using the following layout:

[    2.930000] 0x000000000000-0x000000030000 : "RedBoot"
[    2.940000] 0x000000030000-0x000000130000 : "kernel"
[    2.950000] 0x000000130000-0x000000ff0000 : "rootfs"
[    2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory"
[    2.970000] 0x000000fff000-0x000001000000 : "RedBoot config"

Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 -
0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS
partitions and leave an extra 0xC0000 (768KiB) of space.

This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38484
11 years ago
Gabor Juhos 80a15fe8ad ar71xx: Fix sysupgrades for Allnet and OpenMesh devices
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to
change different settings in the uboot environment. uboot-envtools version
2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee
mutually exclusive access to the uboot environment. But the path /var doesn't
exist on the sysupgrade ramfs.

An upgrade on these devices fails since r36033 ("[package] uboot-envtools:
upgrade to version 2013.01.01") with following messages:

 Error opening lock file /var/lock/fw_printenv.lock
 failed to update U-Boot environment

Creating the "/var/lock" path before running fw_setenv is therefore a
requirement unless the locking functionality in fw_setenv is removed or
replaced with optional locking.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38483
11 years ago
Gabor Juhos 68e13de37d ar71xx: fix WLAN 5 GHz LED init on dir-825-c1
Fixes the 5 GHz LED.

The same function has no effect on the 2.4 GHz LED at all, so we might
as well remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38482
11 years ago
Felix Fietkau 39543ea6fc libubox: update to latest version, fixes ustream reuse and a few other minor issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38461
11 years ago
Steven Barth 91b173d231 netifd: Fix ifupdate events
SVN-Revision: 38458
11 years ago
Luka Perkov 11c7e45e8d cmake: upgrade to 2.8.12
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38457
11 years ago
Steven Barth 579e2df8c5 odhcpd: various bugfixes
SVN-Revision: 38454
11 years ago
Steven Barth c3bcdd59de netifd: various improvements
* Add ubus methods for global interface status
* Add ubus function to create nested interfaces
* Add protocol update notifications and hotplug legacy calls
* Fix: key to data elements point at wrong memory area
* Add support for source-restricted routes
* Add option "delegate" to toggle prefix delegation
* Reevaluate target routes also on interface update

SVN-Revision: 38453
11 years ago
Felix Fietkau bc3d7c2f1b rt2800usb: merge a fix to slow down tx status polling (#13523)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38452
11 years ago
Jo-Philipp Wich 4f1e282238 wpa_supplicant: fix beacon_int configuration option
wpa_supplicant expects beacon_int instead of beacon_interval in its config
file.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38451
11 years ago
Jo-Philipp Wich e855d498e3 x86: fix condition in base-files.mk
TARGET_x86_generic_Soekris48xx is not defined,
CONFIG_TARGET_x86_generic_Soekris48xx is

This changes makes it possible to override the network config for soekris net48xx
and net45xx targets.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38450
11 years ago
Jo-Philipp Wich 6da1c9d3ea iw: add patch to support 802.11j frequencies
A similar change was recently merged in iw commit
58b46da26ab9b5ff31c7033e175351eb1301d9af

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 38449
11 years ago
Jo-Philipp Wich c8e0c28c15 iwinfo: make 'type' visible in wrapped iwinfo
There are several cases within 'luci' that attempt to access the interface
'type' from within the 'type' specific meta tables; however, 'type' is not
currently available there.  Replicate the common metadata in the 'type'
specific meta tables.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38448
11 years ago
Luka Perkov 494bc1d026 uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38444
11 years ago
Luka Perkov 03ccf4eeb0 build: set owner root for all files on ubifs creation
When creating an image it makes no sense to have files owned by
the uid and gid on the host (and even creates a bug when for
example dropbear authorized_keys is included via env/files).

Signed-off-by: Joris de Vries <joris@apptrician.nl>

SVN-Revision: 38442
11 years ago
Luka Perkov ee5b7c2859 imx6: reorganize build system
Changes include:

 * switching to profiles
 * adding ubifs support
 * building image for GW54XX board

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38441
11 years ago
Steven Barth f22196e4e9 ipkg-make-index: use more backwards-compatible openssl call for SHA256
SVN-Revision: 38440
11 years ago
Luka Perkov 59eb6137dd build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38439
11 years ago
Felix Fietkau 0b57c1ccc6 x86: Update kernel for alix2 to 3.10.15
Without this patch, the patch
target/linux/generic/patches-3.10/770-bgmac-backport.patch
would not apply.

Signed-off-by: Tobias Steinicke <tsteinicke@net.t-labs.tu-berlin.de>

SVN-Revision: 38438
11 years ago
Steven Barth 56bc536713 netifd: rename customopts to sendopts for consistency
SVN-Revision: 38437
11 years ago
Steven Barth c759b49a4f Added 'customopts' dhcp protocol option, which is an array passed along to udhcpc as series of -x options.
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

SVN-Revision: 38436
11 years ago
Felix Fietkau 5b1e1eff73 gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38435
11 years ago
Luka Perkov 416d58a3d6 imx6: fix file names when building images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38434
11 years ago
Steven Barth 7e13c80b3d odhcp6c: fix parsing of IA_PD adverts
SVN-Revision: 38433
11 years ago
Luka Perkov 0102284bbd imx6: enable FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38432
11 years ago
Luka Perkov cc1b164634 build: add menuconfig option for building FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38431
11 years ago