openwrt/openwrt.git
10 years agorename the omap4 target to omap
Imre Kaloz [Fri, 8 Nov 2013 12:37:39 +0000 (12:37 +0000)]
rename the omap4 target to omap

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38691

10 years agobase-files: mtd_get_mac_ascii bugfix
Gabor Juhos [Fri, 8 Nov 2013 12:16:21 +0000 (12:16 +0000)]
base-files: mtd_get_mac_ascii bugfix

The mtd_get_mac_ascii utility function was broken. This fixes it.

  - Remove the superfluous include of /lib/functions.sh. The
    function is already in that file so it is pointless,
  - only use a variable if the whole key word matches,
  - don't try to process the MAC address if it is empty,
  - use 'tr' to canonicalize the MAC address,

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38690

10 years agoar71xx: ag71xx: fix a race involving netdev registration
Gabor Juhos [Fri, 8 Nov 2013 08:17:54 +0000 (08:17 +0000)]
ar71xx: ag71xx: fix a race involving netdev registration

In particular, phy_connect before register_netdev. This is because
register_netdev runs the netdev notifiers, which can race with the rest of
the initialization in ag71xx_probe. In my case this manifested in two ways:

1) If ag71xx is compiled as a module and inserted after netifd has started,
   netifd is notified by register_netdev before the call to
   ag71xx_phy_connect. netifd tries to bring the interface up, which calls
   ag71xx_open, which in turn enters ag71xx_phy_start. This keys off
   ag->phy_dev (which is still NULL) and thinks this is a fixed-link board,
   and enters ag71xx_link_adjust. This looks at ag->speed which is not yet
   initialized and hits the BUG() in the switch (ag->speed) in
   ag71xx_link_adjust.

   This is the wrong code path for ag71xx_phy_start - my board has PHYs that
   need to be brought up with phy_start. Doing ag71xx_phy_connect before
   register_netdev ensures that ag->phy_dev is non-NULL before
   ag71xx_phy_start is ever called.

2) When ag71xx is built into the kernel, and netconsole is enabled, there
   is a gap in the initial burst of replayed printks right after the netdev
   comes up. My assumption is that netconsole is also triggered by a netdev
   notifier, and part of this printk burst happens before the call into
   ag71xx_phy_connect, so part of the burst is lost while the PHY comes up.
   This patch fixes the gap - all the printks before eth0 comes up are bursted
   in full when netconsole initializes.

ag71xx_phy_connect_xxx no longer runs with a registered netdev, so the
logging has been adjusted accordingly to avoid "unregistered net_device" or
"eth%d" messages in dmesg.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38689

10 years agoar71xx: build image for the WD My Net Wi-Fi Range Extender
Gabor Juhos [Thu, 7 Nov 2013 22:31:54 +0000 (22:31 +0000)]
ar71xx: build image for the WD My Net Wi-Fi Range Extender

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
[juhosg:
  - remove the Image/Build/CyberTANLZMA/loader macro, it is not used
  - move the MYNETREXT SingleProfile definition to the correct place]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38688

10 years agoar71xx: add user-space support for the WD My Net Wi-Fi Range Extender
Gabor Juhos [Thu, 7 Nov 2013 22:31:53 +0000 (22:31 +0000)]
ar71xx: add user-space support for the WD My Net Wi-Fi Range Extender

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38687

10 years agoar71xx: add kernel support for the My Net Wi-Fi Range Extender device
Gabor Juhos [Thu, 7 Nov 2013 22:31:52 +0000 (22:31 +0000)]
ar71xx: add kernel support for the My Net Wi-Fi Range Extender device

This patch adds a new device definition for a
Western Digital device. The hardware seems to
be based on Qualcomm Atheros DB120 design.

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38686

10 years agotools: adapt addpattern for WD's Range Extender
Gabor Juhos [Thu, 7 Nov 2013 22:31:48 +0000 (22:31 +0000)]
tools: adapt addpattern for WD's Range Extender

A few things had to be changed to add support for these devices:
 - support code patterns with 8 characters
 - new board definition for the range extender device

Patchwork: http://patchwork.openwrt.org/patch/4280/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38685

10 years agomac80211: mark rt2x00 library packages as hidden, there's no point in allowing users...
Felix Fietkau [Thu, 7 Nov 2013 20:59:22 +0000 (20:59 +0000)]
mac80211: mark rt2x00 library packages as hidden, there's no point in allowing users to enable them without the packages that depend on them

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38684

10 years agoar71xx: image: add EOF marker to the WNDR4300 UBI image
Gabor Juhos [Thu, 7 Nov 2013 19:53:02 +0000 (19:53 +0000)]
ar71xx: image: add EOF marker to the WNDR4300 UBI image

Append EOF markers to the END of the UBI image
file. This forces the kernel to erase all blocks
after the marker even if those blocks are not
empty.

Additionally, the resulting image can be flashed
from the original web UI now, so use '-factory'
suffix for that.

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

10 years agotools/mtd-utils: add EOF marker support to libubigen/ubinize
Gabor Juhos [Thu, 7 Nov 2013 19:53:01 +0000 (19:53 +0000)]
tools/mtd-utils: add EOF marker support to libubigen/ubinize

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

10 years agokernel/3.10: add EOF marker support to the UBI layer
Gabor Juhos [Thu, 7 Nov 2013 19:53:00 +0000 (19:53 +0000)]
kernel/3.10: add EOF marker support to the UBI layer

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

10 years agoubox: fix extroot/extoverlay mounting by label and support mounting by device name
Jo-Philipp Wich [Thu, 7 Nov 2013 18:06:29 +0000 (18:06 +0000)]
ubox: fix extroot/extoverlay mounting by label and support mounting by device name

SVN-Revision: 38680

10 years agoubox: update to latest git head
John Crispin [Thu, 7 Nov 2013 15:31:44 +0000 (15:31 +0000)]
ubox: update to latest git head

support for specifying swap priority from the command line

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38679

10 years agoubus: update to latest git head
John Crispin [Thu, 7 Nov 2013 15:31:40 +0000 (15:31 +0000)]
ubus: update to latest git head

adds support for events in the lua binding

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38678

10 years agolantiq: fix TDW8970 lan/wan mac
John Crispin [Thu, 7 Nov 2013 12:46:24 +0000 (12:46 +0000)]
lantiq: fix TDW8970 lan/wan mac

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38677

10 years agobutton-hotplug: sync list of supported keys with gpio-button-hotplug
John Crispin [Thu, 7 Nov 2013 12:46:20 +0000 (12:46 +0000)]
button-hotplug: sync list of supported keys with gpio-button-hotplug

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38676

10 years agoau1000: make sysupgrade compatible with all file system types
John Crispin [Thu, 7 Nov 2013 12:46:16 +0000 (12:46 +0000)]
au1000: make sysupgrade compatible with all file system types

This patch adds support for all file system types as discussed earlier:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022109.html

This patch depends on a previous patch:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022111.html

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
SVN-Revision: 38675

10 years agoau1000: create sysupgrade binary for each file system type
John Crispin [Thu, 7 Nov 2013 12:46:12 +0000 (12:46 +0000)]
au1000: create sysupgrade binary for each file system type

This patch should prevent overriding of sysupgrade binaries in the bin directory
if we build images for more then one file system type.

Discussion:

https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022108.html

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
SVN-Revision: 38674

10 years agolantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices
John Crispin [Thu, 7 Nov 2013 12:46:08 +0000 (12:46 +0000)]
lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices

The switch is renamed to "switch0" in newer (3.10) linux kernels.
Configure the switch using vlans by default and only configure
the physical switch ports that are present.

Signed-off-by: Richard Mortimer <richm@oldelvet.org.uk>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38673

10 years agoutil-linux: cleanup description for swap-utils
John Crispin [Thu, 7 Nov 2013 12:46:04 +0000 (12:46 +0000)]
util-linux: cleanup description for swap-utils

swapon/swapoff are no longer provided by swap-utils, so remove them from
the description as well.

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

10 years agobusybox: don't enable swapon/swapoff by default
John Crispin [Thu, 7 Nov 2013 12:46:00 +0000 (12:46 +0000)]
busybox: don't enable swapon/swapoff by default

'swapon/swapoff' are now provided by 'block-mount'; enabling them by default in busybox is no longer required and adds unnecessary bloat.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38671

10 years agobase-files: Make /etc/init.d/boot restartable
John Crispin [Thu, 7 Nov 2013 12:45:57 +0000 (12:45 +0000)]
base-files: Make /etc/init.d/boot restartable

Only reload hostname and timezone config on /etc/init.d/boot restart.
Module loading and basic boot setup is only done during boot.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 38670

10 years agoralink: revert 38348 as it breaks network on the hame-mpr
John Crispin [Thu, 7 Nov 2013 12:45:52 +0000 (12:45 +0000)]
ralink: revert 38348 as it breaks network on the hame-mpr

https://dev.openwrt.org/changeset/38348
https://dev.openwrt.org/ticket/14403#comment:1

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38669

10 years agoralink: fix c&p error in gpio driver
John Crispin [Thu, 7 Nov 2013 12:45:48 +0000 (12:45 +0000)]
ralink: fix c&p error in gpio driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38668

10 years agolantiq: fix td-w8970 initramfs generation
John Crispin [Thu, 7 Nov 2013 12:45:44 +0000 (12:45 +0000)]
lantiq: fix td-w8970 initramfs generation

https://dev.openwrt.org/ticket/14417

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38667

10 years agolantiq: fix vdsl-app dependency
John Crispin [Thu, 7 Nov 2013 12:45:39 +0000 (12:45 +0000)]
lantiq: fix vdsl-app dependency

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38666

10 years agomark as broken (toolchain issues), bump kernel version
Imre Kaloz [Thu, 7 Nov 2013 09:27:52 +0000 (09:27 +0000)]
mark as broken (toolchain issues), bump kernel version

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38665

10 years agokirkwood: add support for dockstar
Luka Perkov [Wed, 6 Nov 2013 19:24:32 +0000 (19:24 +0000)]
kirkwood: add support for dockstar

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

10 years agofirmware-utils: remove the wndr3700 utility
Gabor Juhos [Wed, 6 Nov 2013 10:16:40 +0000 (10:16 +0000)]
firmware-utils: remove the wndr3700 utility

It is not used anymore.

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

10 years agoar71x: image: don't use the wndr3700 utility
Gabor Juhos [Wed, 6 Nov 2013 10:16:39 +0000 (10:16 +0000)]
ar71x: image: don't use the wndr3700 utility

Pass the uImage magic value directly to mkimage instead.

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

10 years agosunxi: drop CONFIG_DEVTMPFS option
Luka Perkov [Wed, 6 Nov 2013 08:19:31 +0000 (08:19 +0000)]
sunxi: drop CONFIG_DEVTMPFS option

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

10 years agokernel: add some config options
Luka Perkov [Wed, 6 Nov 2013 08:19:24 +0000 (08:19 +0000)]
kernel: add some config options

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

10 years agoar71xx: image: fix WNDR4300 initramfs image generation
Gabor Juhos [Tue, 5 Nov 2013 18:41:20 +0000 (18:41 +0000)]
ar71xx: image: fix WNDR4300 initramfs image generation

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

10 years agoar71xx: image: allow to use optional parameters for MkuImageLzma/initramfs
Gabor Juhos [Tue, 5 Nov 2013 18:41:18 +0000 (18:41 +0000)]
ar71xx: image: allow to use optional parameters for MkuImageLzma/initramfs

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

10 years agoupdate for 3.12 final
Imre Kaloz [Tue, 5 Nov 2013 17:46:18 +0000 (17:46 +0000)]
update for 3.12 final

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38657

10 years agobrcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500L
Hauke Mehrtens [Tue, 5 Nov 2013 17:09:19 +0000 (17:09 +0000)]
brcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500L

This closes #14367 and #14328.

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

10 years agoar71xx: generate recovery image for WNDR4300
Gabor Juhos [Tue, 5 Nov 2013 16:31:14 +0000 (16:31 +0000)]
ar71xx: generate recovery image for WNDR4300

Extended the Makefile to generate a working factory reset image
for Netgear WNDR4300. The image uses UBI with two volumes squashfs
(rootfs) and JFFS2 (rootfs_data). In order to make stock U-Boot
happy, a fake rootfs image is placed into the last erase block
of the kernel partition.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - restore the NetgearNAND/initramfs macro,
  - remove unused {Squash,Ubi}fsTemplate macros,
  - remove board specific mtd options from CONFIG_CMDLINE, append the
    board specific ubi.mtd parameter to the kernel command line instead,
  - increase kernel partition size to 2MiB,
  - use board specific ini file for ubinize,
  - put jffs2 eof mark into the rootfs_data ubi volume,
  - use KDIR_TMP for temporary images,
  - use the squashfs-raw image,
  - increase kernel partition size to 2MiB,
  - use a local ubinize macro,
  - fix macro parameter comments,
  - put the fake rootfs into the last erase block of the kernel
    partition,
  - move Image/Build/NetgearNAND/buildkernel macro before
    define Image/Build/NetgearNAND,
  - don't use the wndr3700 utility, use '-M' parameter of mkimage to set
    the uImage magic,
  - use '-recovery' suffix for the generated image, it is only usable via
    the fw_recovery function of the bootloader,
  - update commit log]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38655

10 years agopackage/ubox: fix jffs2 handling on MTD devices emulated by gluebi
Gabor Juhos [Tue, 5 Nov 2013 16:31:12 +0000 (16:31 +0000)]
package/ubox: fix jffs2 handling on MTD devices emulated by gluebi

The jffs2_ready() function in mount_root.c checks
the presence of various JFFS2 markers at the start
of a given MTD device. The function works on NOR
flashes because JFFS2 puts 'cleanmarker' nodes at
the start of freshly erased blocks.

However if jffs2 is used on a MTD device emulated
by the gluebi layer, the 'cleanmarker' nodes are
not present and the jffs2_ready() function fails.

Update the code to handle jffs2 correctly even on
MTD devices emulated by the gluebi layer.

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

10 years agokernel: update 3.10 to 3.10.18
Gabor Juhos [Tue, 5 Nov 2013 08:25:45 +0000 (08:25 +0000)]
kernel: update 3.10 to 3.10.18

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

10 years agosunxi: add new target
Luka Perkov [Tue, 5 Nov 2013 08:00:34 +0000 (08:00 +0000)]
sunxi: add new target

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

10 years agoimx6: drop unused variable from Makefile
Luka Perkov [Tue, 5 Nov 2013 08:00:30 +0000 (08:00 +0000)]
imx6: drop unused variable from Makefile

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

10 years agoinclude: add more CPU flags for arm
Luka Perkov [Tue, 5 Nov 2013 08:00:24 +0000 (08:00 +0000)]
include: add more CPU flags for arm

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

10 years agodnsmasq: fix backward compatibility with existing configs
Jo-Philipp Wich [Mon, 4 Nov 2013 22:40:56 +0000 (22:40 +0000)]
dnsmasq: fix backward compatibility with existing configs

Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.

Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".

SVN-Revision: 38648

10 years agoar71xx: move WNDR4300 profile to the nand subtarget
Gabor Juhos [Mon, 4 Nov 2013 18:37:09 +0000 (18:37 +0000)]
ar71xx: move WNDR4300 profile to the nand subtarget

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38647

10 years agoar71xx: Add new subtarget nand for WNDR4300
Gabor Juhos [Mon, 4 Nov 2013 18:37:08 +0000 (18:37 +0000)]
ar71xx: Add new subtarget nand for WNDR4300

Add new subtarget nand with UBI/UBIFS including GLUEBI and squashfs.
This target will be used for NAND based router which make use of
UBI (and maybe UBIFS later on) in order to provide proper NAND
support.

Signed-off-by: Stefan Agner <stefan@agner.ch>
[juhosg:
  - tweak target.mk:
     change BOARDNAME variable,
     improve Target/Description,
     remove targz and ubifs from FEATURES and add broken flag,
  - optimize kernel configuration:
     disable ubifs, it is not used yet,
     disable unused MTD options,
     disable SPI support
     disable unused network drivers,
     tune kernel command line,
  - remove image/ubinize.cfg, it will be in a follow-up patch
  - move profile modifications into a separate patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38646

10 years agoar71xx: remove yaffs from the generic rootfstype list
Gabor Juhos [Mon, 4 Nov 2013 18:37:07 +0000 (18:37 +0000)]
ar71xx: remove yaffs from the generic rootfstype list

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

10 years agoar71xx: image: dd root.* images in fs specific macros
Gabor Juhos [Mon, 4 Nov 2013 18:37:06 +0000 (18:37 +0000)]
ar71xx: image: dd root.* images in fs specific macros

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

10 years agokernel/3.1[02]: move MTD root device setup code to mtdcore
Gabor Juhos [Mon, 4 Nov 2013 18:37:05 +0000 (18:37 +0000)]
kernel/3.1[02]: move MTD root device setup code to mtdcore

The current code only allows to automatically set
root device on MTD partitions. Move the code to MTD
core to allow to use it with all MTD devices.

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

10 years agokernel: refresh kernel configs with kconfig.pl
Gabor Juhos [Mon, 4 Nov 2013 18:37:03 +0000 (18:37 +0000)]
kernel: refresh kernel configs with kconfig.pl

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

10 years agokernel: add some config options
Hauke Mehrtens [Sun, 3 Nov 2013 20:20:14 +0000 (20:20 +0000)]
kernel: add some config options

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

10 years agokernel: fix dependencies of kmod-thermal
Hauke Mehrtens [Sun, 3 Nov 2013 20:18:45 +0000 (20:18 +0000)]
kernel: fix dependencies of kmod-thermal

This depends on kmod-hwmon-core

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

10 years agokernel: fix dependencies of usb-eth-gadget
Hauke Mehrtens [Sun, 3 Nov 2013 20:17:52 +0000 (20:17 +0000)]
kernel: fix dependencies of usb-eth-gadget

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

10 years agokernel: bgmac: update backport patch
Hauke Mehrtens [Sun, 3 Nov 2013 19:24:39 +0000 (19:24 +0000)]
kernel: bgmac: update backport patch

This adds some more bgmac patches from mainline kernel.

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

10 years agoar71xx: image: only define profiles for the generic subtarget
Gabor Juhos [Fri, 1 Nov 2013 18:33:24 +0000 (18:33 +0000)]
ar71xx: image: only define profiles for the generic subtarget

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

10 years agoar71xx: image: add IMAGE_PROFILE variable
Gabor Juhos [Fri, 1 Nov 2013 18:33:22 +0000 (18:33 +0000)]
ar71xx: image: add IMAGE_PROFILE variable

Ensures that the 'Default' images are generated
even if the subtarget has no profiles.

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

10 years agoar71xx: always enable hw ecc support for the ar934x-nfc module
Gabor Juhos [Fri, 1 Nov 2013 18:33:18 +0000 (18:33 +0000)]
ar71xx: always enable hw ecc support for the ar934x-nfc module

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

10 years agokernel: add missing config options
Hauke Mehrtens [Fri, 1 Nov 2013 08:49:35 +0000 (08:49 +0000)]
kernel: add missing config options

The buildbots found some new missing config options.

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

10 years agoopenvpn: clean up and fix the init script
Felix Fietkau [Thu, 31 Oct 2013 17:36:24 +0000 (17:36 +0000)]
openvpn: clean up and fix the init script

- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
  the uci file. this avoids having to restart all instances if only one
  of them changes.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38632

10 years agokirkwood: add userland support for Pogoplug E02
Luka Perkov [Thu, 31 Oct 2013 12:04:04 +0000 (12:04 +0000)]
kirkwood: add userland support for Pogoplug E02

This patch adds the userland support for the Pogoplug E02 by Cloud
Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 38631

10 years agokirkwood: add Pogoplug E02 Kernel support
Luka Perkov [Thu, 31 Oct 2013 12:04:02 +0000 (12:04 +0000)]
kirkwood: add Pogoplug E02 Kernel support

This patch adds a DTS file for the Pogoplug E02 by Cloud Engines, Inc.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 38630

10 years agokirkwood: extend image/Makefile
Luka Perkov [Thu, 31 Oct 2013 11:44:28 +0000 (11:44 +0000)]
kirkwood: extend image/Makefile

* use lower case letters in generated images
* extend support for boot/ directory
* fix some typos

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 38629

10 years agoimx6: minor image cleanup
Luka Perkov [Thu, 31 Oct 2013 11:44:27 +0000 (11:44 +0000)]
imx6: minor image cleanup

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

10 years agonetifd: update to the latest version, fixes regression in proto-shell scripts (#14400...
Felix Fietkau [Thu, 31 Oct 2013 11:22:01 +0000 (11:22 +0000)]
netifd: update to the latest version, fixes regression in proto-shell scripts (#14400, #14402)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38627

10 years agouse a single package to build MLO/u-boot for all omap boards
Imre Kaloz [Thu, 31 Oct 2013 10:57:46 +0000 (10:57 +0000)]
use a single package to build MLO/u-boot for all omap boards

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38626

10 years agouboot-imx6: update to 2013.10
Luka Perkov [Thu, 31 Oct 2013 00:00:51 +0000 (00:00 +0000)]
uboot-imx6: update to 2013.10

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

10 years agoimx6: update patches
Luka Perkov [Wed, 30 Oct 2013 23:31:26 +0000 (23:31 +0000)]
imx6: update patches

Changes include PCI fixes and various upstream pending patches.

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

10 years agocyassl: drop obsolete patches
Jo-Philipp Wich [Wed, 30 Oct 2013 15:16:59 +0000 (15:16 +0000)]
cyassl: drop obsolete patches

SVN-Revision: 38610

10 years agocyassl: upgrade to v2.8.0
Jo-Philipp Wich [Wed, 30 Oct 2013 13:19:48 +0000 (13:19 +0000)]
cyassl: upgrade to v2.8.0

Un-reverts the previous update commit and forward-ports the patch
to improve legacy SSLv2 handshake handling.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 38609

10 years agoustream-ssl: update to the latest version, adds support for the current cyassl versio...
Felix Fietkau [Wed, 30 Oct 2013 12:56:47 +0000 (12:56 +0000)]
ustream-ssl: update to the latest version, adds support for the current cyassl version (#14386)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38608

10 years agolibubox: update to latest version, makes jshn roughly twice as fast
Felix Fietkau [Wed, 30 Oct 2013 11:25:05 +0000 (11:25 +0000)]
libubox: update to latest version, makes jshn roughly twice as fast

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38607

10 years agonetifd: update to latest version, adds fixes and some preparation for supporting...
Felix Fietkau [Wed, 30 Oct 2013 11:25:01 +0000 (11:25 +0000)]
netifd: update to latest version, adds fixes and some preparation for supporting wifi devices

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38606

10 years agokernel: add missing dependency for kernel 3.12 in tg3
Hauke Mehrtens [Wed, 30 Oct 2013 09:50:13 +0000 (09:50 +0000)]
kernel: add missing dependency for kernel 3.12 in tg3

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

10 years agokernel: add some missing config options
Hauke Mehrtens [Wed, 30 Oct 2013 09:48:19 +0000 (09:48 +0000)]
kernel: add some missing config options

This was spotted by the buildbots.

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

10 years agoramips: enable building of TEW-692GR images
Gabor Juhos [Wed, 30 Oct 2013 07:06:24 +0000 (07:06 +0000)]
ramips: enable building of TEW-692GR images

The TEW-692GR images are missing since r36169. Uncomment
the board specific macro in image/Makefile, in order to
generate those again.

Only build tested. No idea if the the image works or not,
I have bricked my TEW-692GR a few months ago.

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

10 years agoramips: fix number of GPIOs for RT3352
Gabor Juhos [Wed, 30 Oct 2013 07:06:23 +0000 (07:06 +0000)]
ramips: fix number of GPIOs for RT3352

The RT3352 SoC only supports 46 GPIO lines.

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

10 years agoramips: remove trailing whitespaces from .dts{,i} files
Gabor Juhos [Wed, 30 Oct 2013 07:06:22 +0000 (07:06 +0000)]
ramips: remove trailing whitespaces from .dts{,i} files

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

10 years agoar71xx: move subtarget specific features to target.mk
Gabor Juhos [Wed, 30 Oct 2013 06:54:59 +0000 (06:54 +0000)]
ar71xx: move subtarget specific features to target.mk

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

10 years agouboot-ar71xx: make it depend on the generic ar71xx subtarget
Gabor Juhos [Wed, 30 Oct 2013 06:54:56 +0000 (06:54 +0000)]
uboot-ar71xx: make it depend on the generic ar71xx subtarget

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

10 years agoar71xx: don't build uImages for the mikrotik subtarget
Gabor Juhos [Wed, 30 Oct 2013 06:54:55 +0000 (06:54 +0000)]
ar71xx: don't build uImages for the mikrotik subtarget

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

10 years agoar71xx: disable non Mikrotik boards in the mikrotik subtarget
Gabor Juhos [Wed, 30 Oct 2013 06:54:54 +0000 (06:54 +0000)]
ar71xx: disable non Mikrotik boards in the mikrotik subtarget

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

10 years agoar71xx: fix Kconfig symbol selection for RB95x/RB2011
Gabor Juhos [Wed, 30 Oct 2013 06:54:53 +0000 (06:54 +0000)]
ar71xx: fix Kconfig symbol selection for RB95x/RB2011

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

10 years agoar71xx: move CONFIG_MTD_NAND_AR934X_HW_ECC option to subtarget config
Gabor Juhos [Wed, 30 Oct 2013 06:51:02 +0000 (06:51 +0000)]
ar71xx: move CONFIG_MTD_NAND_AR934X_HW_ECC option to subtarget config

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

10 years agogeneric: mtdsplit_uimage: add uImage magic for the WRN2200 board
Gabor Juhos [Wed, 30 Oct 2013 06:51:01 +0000 (06:51 +0000)]
generic: mtdsplit_uimage: add uImage magic for the WRN2200 board

Should fix boot failure on the WNR2200 boards.
Compile tested only.

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

10 years agoar71xx: add profile and build image for the BXU2000n-2 A1 board
Gabor Juhos [Wed, 30 Oct 2013 06:50:59 +0000 (06:50 +0000)]
ar71xx: add profile and build image for the BXU2000n-2 A1 board

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - remove MultiProfile, it makes no sense for a single board
  - move SingleProfile call and the mtdlayout to a different
    location keep things sorted (well, almost)]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38593

10 years agoar71xx: add user-space support for the BXU2000n-2 A1 board
Gabor Juhos [Wed, 30 Oct 2013 06:50:58 +0000 (06:50 +0000)]
ar71xx: add user-space support for the BXU2000n-2 A1 board

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38592

10 years agoar71xx: add kernel support for BHU Networks BXU2000n-2 A1 board
Gabor Juhos [Wed, 30 Oct 2013 06:50:57 +0000 (06:50 +0000)]
ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 board

BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip.

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - rename and refresh kernel patch,
  - fix some checkpatch warnings and adjust whitespaces in
    mach-bhu-bxu2000n2-a.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38591

10 years agoar71xx: add user space support for the Sitecom WLR-8100 wireless router
Gabor Juhos [Wed, 30 Oct 2013 06:50:55 +0000 (06:50 +0000)]
ar71xx: add user space support for the Sitecom WLR-8100 wireless router

Patchwork: http://patchwork.openwrt.org/patch/4148/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38590

10 years agoar71xx: add kernel support for the Sitecom WLR-8100 wireless router
Gabor Juhos [Wed, 30 Oct 2013 06:50:54 +0000 (06:50 +0000)]
ar71xx: add kernel support for the Sitecom WLR-8100 wireless router

  - unsure about copyright message
  - based on AP136-010

Patchwork: http://patchwork.openwrt.org/patch/4147/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38589

10 years agoar71xx: add profile and build image for the Dragino2 board
Gabor Juhos [Wed, 30 Oct 2013 06:50:53 +0000 (06:50 +0000)]
ar71xx: add profile and build image for the Dragino2 board

Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg: remove kernel+rootfs partition and use uimage split instead]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38588

10 years agoar71xx: add kernel support for DRAGINO2
Gabor Juhos [Wed, 30 Oct 2013 06:50:52 +0000 (06:50 +0000)]
ar71xx: add kernel support for DRAGINO2

This patch adds support for DRAGINO2 board (used by
Meshpotato v2). Most of the files included can be
found in the official svn repository provided by the
company [1]. I have just adapt it to the last OpenWrt
trunk revision (Fri Oct 4 10:49:47 2013).

 1. http://svn.dragino.com/dragino2

Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg:
 - rename and refresh kernel patch,
 - fix checkpatch warnings in  mach-dragino2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38587

10 years agoimx6: update gateworks profile with extra packages
Luka Perkov [Wed, 30 Oct 2013 00:50:14 +0000 (00:50 +0000)]
imx6: update gateworks profile with extra packages

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

10 years agolibubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop
Felix Fietkau [Tue, 29 Oct 2013 14:12:06 +0000 (14:12 +0000)]
libubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38578

10 years agoodhcp6c: Multiple improvements and fixes
Steven Barth [Tue, 29 Oct 2013 13:23:28 +0000 (13:23 +0000)]
odhcp6c: Multiple improvements and fixes

* Various RFC compliance fixes (thanks to Hans Dedecker)
* Fix RA spam filter logic causing ipv6 connection issues
* Fix parameters -F and -P being order dependent

SVN-Revision: 38577

10 years agoRevert "[cyassl]: upgrade to 2.8.0"
Jo-Philipp Wich [Tue, 29 Oct 2013 09:53:48 +0000 (09:53 +0000)]
Revert "[cyassl]: upgrade to 2.8.0"

Reverts the CyaSSL version bump for now since the update completely broke
trunk building due to incompatible changes in the IO callback API which in
turn breaks the core ustream-ssl package.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 38576

10 years agokernel: add w1-master-mxc module
Luka Perkov [Tue, 29 Oct 2013 02:52:17 +0000 (02:52 +0000)]
kernel: add w1-master-mxc module

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

10 years agoimx6: add initial 3.12 support
Luka Perkov [Tue, 29 Oct 2013 02:19:09 +0000 (02:19 +0000)]
imx6: add initial 3.12 support

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

10 years agoimx6: use upstream gateworks board names
Luka Perkov [Tue, 29 Oct 2013 02:19:07 +0000 (02:19 +0000)]
imx6: use upstream gateworks board names

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

10 years agokernel: refresh 3.12 patches on -rc7 release
Luka Perkov [Tue, 29 Oct 2013 02:19:05 +0000 (02:19 +0000)]
kernel: refresh 3.12 patches on -rc7 release

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

10 years agoimx6: update 3.10 patches
Luka Perkov [Tue, 29 Oct 2013 02:19:03 +0000 (02:19 +0000)]
imx6: update 3.10 patches

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

10 years agokernel: add missing config optinons
Hauke Mehrtens [Mon, 28 Oct 2013 19:19:28 +0000 (19:19 +0000)]
kernel: add missing config optinons

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