openwrt/staging/pepe2k.git
11 years agobuild: reduce the size of package metadata a bit to keep package list files smaller
Felix Fietkau [Sat, 22 Dec 2012 19:56:21 +0000 (19:56 +0000)]
build: reduce the size of package metadata a bit to keep package list files smaller

SVN-Revision: 34871

11 years agotools/ipkg-utils: remove some unnecessary field checks
Felix Fietkau [Sat, 22 Dec 2012 19:56:17 +0000 (19:56 +0000)]
tools/ipkg-utils: remove some unnecessary field checks

SVN-Revision: 34870

11 years agoopkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
Felix Fietkau [Sat, 22 Dec 2012 19:31:37 +0000 (19:31 +0000)]
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage

SVN-Revision: 34869

11 years agobuild: remove the default useless MAINTAINER value
Felix Fietkau [Sat, 22 Dec 2012 18:56:16 +0000 (18:56 +0000)]
build: remove the default useless MAINTAINER value

SVN-Revision: 34868

11 years agodropbear: convert init script to procd
Felix Fietkau [Sat, 22 Dec 2012 18:56:13 +0000 (18:56 +0000)]
dropbear: convert init script to procd

SVN-Revision: 34867

11 years agobase-files: add basic procd integration, let procd start (and restart) ubus instead...
Felix Fietkau [Sat, 22 Dec 2012 18:56:09 +0000 (18:56 +0000)]
base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script

SVN-Revision: 34866

11 years agoprocd: add initial implementation
Felix Fietkau [Sat, 22 Dec 2012 18:56:06 +0000 (18:56 +0000)]
procd: add initial implementation

procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

SVN-Revision: 34865

11 years agolibnl-tiny: add includedir to pkg-config cflags
Felix Fietkau [Sat, 22 Dec 2012 18:56:01 +0000 (18:56 +0000)]
libnl-tiny: add includedir to pkg-config cflags

SVN-Revision: 34864

11 years agodropbear: use network_get_device instead of scan_interfaces to get the device name
Felix Fietkau [Sat, 22 Dec 2012 18:55:57 +0000 (18:55 +0000)]
dropbear: use network_get_device instead of scan_interfaces to get the device name

SVN-Revision: 34863

11 years agogeneric: ar8216: don't use 0 as default VID on AR8327
Gabor Juhos [Sat, 22 Dec 2012 18:30:04 +0000 (18:30 +0000)]
generic: ar8216: don't use 0 as default VID on AR8327

VID0 is reserved for priority-tagged packets.

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

11 years agogeneric: more missing symbols for 3.{6,7}
Gabor Juhos [Sat, 22 Dec 2012 17:22:41 +0000 (17:22 +0000)]
generic: more missing symbols for 3.{6,7}

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

11 years agoramips: unify eeprom file name for the built-in wireless MAC
Gabor Juhos [Sat, 22 Dec 2012 16:09:03 +0000 (16:09 +0000)]
ramips: unify eeprom file name for the built-in wireless MAC

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

11 years agoramips: rt3883: fix build error
Gabor Juhos [Sat, 22 Dec 2012 13:50:47 +0000 (13:50 +0000)]
ramips: rt3883: fix build error

The cpuport_cfg field has been renamed to port0_cfg.

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

11 years agoipv6-support: Preliminary support for dnsmasq >=2.66
Steven Barth [Sat, 22 Dec 2012 13:00:53 +0000 (13:00 +0000)]
ipv6-support: Preliminary support for dnsmasq >=2.66

SVN-Revision: 34858

11 years ago6relayd: Fix detection of prefix changes
Steven Barth [Sat, 22 Dec 2012 13:00:49 +0000 (13:00 +0000)]
6relayd: Fix detection of prefix changes

SVN-Revision: 34857

11 years agoodhcp6c: Fix build on arch where char is unsigned
Steven Barth [Sat, 22 Dec 2012 13:00:45 +0000 (13:00 +0000)]
odhcp6c: Fix build on arch where char is unsigned

SVN-Revision: 34856

11 years ago6distributed: Improve prefix deprecation algorithm
Steven Barth [Sat, 22 Dec 2012 13:00:40 +0000 (13:00 +0000)]
6distributed: Improve prefix deprecation algorithm

SVN-Revision: 34855

11 years agoar71xx: register the second ethernet interface on the AP136
Gabor Juhos [Sat, 22 Dec 2012 12:12:50 +0000 (12:12 +0000)]
ar71xx: register the second ethernet interface on the AP136

Also fix the default network configuration
according to the new setup.

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

11 years agoar71xx: fix ethernet device registration for QCA9558
Gabor Juhos [Sat, 22 Dec 2012 12:12:48 +0000 (12:12 +0000)]
ar71xx: fix ethernet device registration for QCA9558

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

11 years agoar71xx: rename QCA9558 ETH_CFG bit defines
Gabor Juhos [Sat, 22 Dec 2012 12:12:46 +0000 (12:12 +0000)]
ar71xx: rename QCA9558 ETH_CFG bit defines

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

11 years agoar71xx: fixup allowed PHY interface types for QCA9558
Gabor Juhos [Sat, 22 Dec 2012 12:12:44 +0000 (12:12 +0000)]
ar71xx: fixup allowed PHY interface types for QCA9558

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

11 years agoar71xx: don't assign any MII bus device on QCA9558 by default
Gabor Juhos [Sat, 22 Dec 2012 12:12:43 +0000 (12:12 +0000)]
ar71xx: don't assign any MII bus device on QCA9558 by default

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

11 years agoar71xx: ag71xx: fix mii_bus_dev sanity check
Gabor Juhos [Sat, 22 Dec 2012 12:12:41 +0000 (12:12 +0000)]
ar71xx: ag71xx: fix mii_bus_dev sanity check

The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

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

11 years agoar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Gabor Juhos [Sat, 22 Dec 2012 12:12:40 +0000 (12:12 +0000)]
ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev

Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c91000000809021  24100104 24130704  8e440000  02002821

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

11 years agogeneric: ar8316: allow to configure port 6 via platform data on AR8327
Gabor Juhos [Sat, 22 Dec 2012 12:12:37 +0000 (12:12 +0000)]
generic: ar8316: allow to configure port 6 via platform data on AR8327

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

11 years agogeneric: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Gabor Juhos [Sat, 22 Dec 2012 12:12:35 +0000 (12:12 +0000)]
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data

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

11 years agoramips: add support for 3.7
Gabor Juhos [Sat, 22 Dec 2012 12:11:13 +0000 (12:11 +0000)]
ramips: add support for 3.7

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

11 years agopackage/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Gabor Juhos [Sat, 22 Dec 2012 12:11:09 +0000 (12:11 +0000)]
package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols

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

11 years agoramips: convert to use {e,o}hci-platform driver
Gabor Juhos [Sat, 22 Dec 2012 12:11:08 +0000 (12:11 +0000)]
ramips: convert to use {e,o}hci-platform driver

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

11 years agogeneric/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
Gabor Juhos [Sat, 22 Dec 2012 12:11:06 +0000 (12:11 +0000)]
generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers

Backport of upstream commits:

86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback

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

11 years agofix ipv4 nat on 3.7 by adding missing iptables modules
John Crispin [Sat, 22 Dec 2012 10:17:29 +0000 (10:17 +0000)]
fix ipv4 nat on 3.7 by adding missing iptables modules

SVN-Revision: 34841

11 years agoar9 did not load atm driver properly
John Crispin [Sat, 22 Dec 2012 10:16:52 +0000 (10:16 +0000)]
ar9 did not load atm driver properly

SVN-Revision: 34840

11 years agodont use input layer for gpio buttons
John Crispin [Fri, 21 Dec 2012 20:04:20 +0000 (20:04 +0000)]
dont use input layer for gpio buttons

SVN-Revision: 34839

11 years agodefault switch setup for WBMR
John Crispin [Fri, 21 Dec 2012 20:04:12 +0000 (20:04 +0000)]
default switch setup for WBMR

SVN-Revision: 34838

11 years agoSetting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the...
John Crispin [Fri, 21 Dec 2012 20:04:04 +0000 (20:04 +0000)]
Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143)

Tested only on the wbmr-hp-g300h, could affect/break other devices.

Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>
SVN-Revision: 34837

11 years agoadds script to set wps info on boards with a wps button
John Crispin [Fri, 21 Dec 2012 20:03:59 +0000 (20:03 +0000)]
adds script to set wps info on boards with a wps button

SVN-Revision: 34836

11 years agominor tweaks to WBMR image
John Crispin [Fri, 21 Dec 2012 20:03:54 +0000 (20:03 +0000)]
minor tweaks to WBMR image

SVN-Revision: 34835

11 years agoadd OF binding
John Crispin [Fri, 21 Dec 2012 20:03:49 +0000 (20:03 +0000)]
add OF binding

SVN-Revision: 34834

11 years agoadd missing PHY_BASIC_FEATURES to 100mbit phys
John Crispin [Fri, 21 Dec 2012 14:41:35 +0000 (14:41 +0000)]
add missing PHY_BASIC_FEATURES to 100mbit phys

SVN-Revision: 34826

11 years agofix typo inside fritz3370 devicetree file
John Crispin [Fri, 21 Dec 2012 14:41:30 +0000 (14:41 +0000)]
fix typo inside fritz3370 devicetree file

SVN-Revision: 34825

11 years agomore devicetree fixes
John Crispin [Fri, 21 Dec 2012 13:47:55 +0000 (13:47 +0000)]
more devicetree fixes

SVN-Revision: 34824

11 years agoimprove button handling
John Crispin [Fri, 21 Dec 2012 13:47:50 +0000 (13:47 +0000)]
improve button handling

SVN-Revision: 34823

11 years agoadd phy-reset gpio handling to xrx200-net
John Crispin [Fri, 21 Dec 2012 13:47:44 +0000 (13:47 +0000)]
add phy-reset gpio handling to xrx200-net

SVN-Revision: 34822

11 years agoadd more lantiq phy ids based on daniels uboot code
John Crispin [Fri, 21 Dec 2012 13:47:40 +0000 (13:47 +0000)]
add more lantiq phy ids based on daniels uboot code

SVN-Revision: 34821

11 years agorefresh patch and install v1.1 gphy blobs
John Crispin [Fri, 21 Dec 2012 13:47:35 +0000 (13:47 +0000)]
refresh patch and install v1.1 gphy blobs

SVN-Revision: 34820

11 years agoadsl firmware in wrong submenu
John Crispin [Fri, 21 Dec 2012 13:47:30 +0000 (13:47 +0000)]
adsl firmware in wrong submenu

SVN-Revision: 34819

11 years agominor cleanup for adsl firmware handling
John Crispin [Fri, 21 Dec 2012 13:47:25 +0000 (13:47 +0000)]
minor cleanup for adsl firmware handling

SVN-Revision: 34818

11 years agoproperly symlink the adsl firmware
John Crispin [Fri, 21 Dec 2012 13:47:20 +0000 (13:47 +0000)]
properly symlink the adsl firmware

SVN-Revision: 34817

11 years agomake to rtl8366_smi of binding use gpio_is_valid
John Crispin [Fri, 21 Dec 2012 13:47:14 +0000 (13:47 +0000)]
make to rtl8366_smi of binding use gpio_is_valid

SVN-Revision: 34816

11 years agohot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
Mirko Vogt [Fri, 21 Dec 2012 12:10:21 +0000 (12:10 +0000)]
hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade

Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

SVN-Revision: 34815

11 years agokernel: add solos-pci update for 3.3
Gabor Juhos [Fri, 21 Dec 2012 10:38:33 +0000 (10:38 +0000)]
kernel: add solos-pci update for 3.3

Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.

Submitted more for the benefit of the AA branch than for trunk.

[juhosg: refresh the patch with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34813

11 years agorb532: add support for 3.7
Gabor Juhos [Thu, 20 Dec 2012 19:25:43 +0000 (19:25 +0000)]
rb532: add support for 3.7

Compile tested only.

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

11 years agoramips: Add USB support for DAP-1350 platform.
Gabor Juhos [Thu, 20 Dec 2012 19:17:17 +0000 (19:17 +0000)]
ramips: Add USB support for DAP-1350 platform.

It seems to work as intended, but only lightly tested.

Patch-by: Bryan Steele <brynet@gmail.com>
SIgned-off-by: Gabor Juhos <juhsog@openwrt.org>
SVN-Revision: 34811

11 years agorb532: nuke 3.3 support
Gabor Juhos [Thu, 20 Dec 2012 19:09:03 +0000 (19:09 +0000)]
rb532: nuke 3.3 support

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

11 years agorb532: switch to 3.6.11
Gabor Juhos [Thu, 20 Dec 2012 19:09:01 +0000 (19:09 +0000)]
rb532: switch to 3.6.11

Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.

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

11 years agorb532: add support for 3.6
Gabor Juhos [Thu, 20 Dec 2012 19:09:00 +0000 (19:09 +0000)]
rb532: add support for 3.6

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

11 years agoppc44x: add support for 3.7
Gabor Juhos [Thu, 20 Dec 2012 18:11:22 +0000 (18:11 +0000)]
ppc44x: add support for 3.7

Compile tested only.

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

11 years agokernel: add solos-pci patches from 3.8 for new hardware
Gabor Juhos [Thu, 20 Dec 2012 17:14:57 +0000 (17:14 +0000)]
kernel: add solos-pci patches from 3.8 for new hardware

[juhosg: refresh patches with quilt, skip the patch for 3.3]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34806

11 years agolinux: add missing symbols for 3.{6,7}
Gabor Juhos [Thu, 20 Dec 2012 17:14:56 +0000 (17:14 +0000)]
linux: add missing symbols for 3.{6,7}

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

11 years agokernel: fix module packages postinst by pointing to the new functions.sh location
Felix Fietkau [Thu, 20 Dec 2012 15:29:37 +0000 (15:29 +0000)]
kernel: fix module packages postinst by pointing to the new functions.sh location

SVN-Revision: 34804

11 years agodocs: update remaining references to functions.sh
Felix Fietkau [Thu, 20 Dec 2012 15:29:33 +0000 (15:29 +0000)]
docs: update remaining references to functions.sh

SVN-Revision: 34803

11 years agobase-files: we don't need /etc/functions.sh symlink anymore
Luka Perkov [Thu, 20 Dec 2012 15:15:30 +0000 (15:15 +0000)]
base-files: we don't need /etc/functions.sh symlink anymore

SVN-Revision: 34802

11 years agocns21xx: add support for 3.7
Gabor Juhos [Thu, 20 Dec 2012 14:51:17 +0000 (14:51 +0000)]
cns21xx: add support for 3.7

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

11 years agoppc40x: add support for 3.7
Gabor Juhos [Thu, 20 Dec 2012 14:51:16 +0000 (14:51 +0000)]
ppc40x: add support for 3.7

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

11 years agoppc40x: add missing NULL terminator to avoid boot panic on PPC40x
Gabor Juhos [Thu, 20 Dec 2012 14:37:39 +0000 (14:37 +0000)]
ppc40x: add missing NULL terminator to avoid boot panic on PPC40x

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

11 years agoar71xx: rename fix-ar933x-reset patch
Gabor Juhos [Thu, 20 Dec 2012 14:13:16 +0000 (14:13 +0000)]
ar71xx: rename fix-ar933x-reset patch

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

11 years agoppc40x/44x: disable SWIOTLB
Gabor Juhos [Thu, 20 Dec 2012 14:09:39 +0000 (14:09 +0000)]
ppc40x/44x: disable SWIOTLB

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

11 years agoadds a fix for ar8216 mii detection on etop driver
John Crispin [Wed, 19 Dec 2012 16:20:24 +0000 (16:20 +0000)]
adds a fix for ar8216 mii detection on etop driver

SVN-Revision: 34795

11 years agomerge /lib/functions/boot.sh and /lib/functions.sh
Mirko Vogt [Wed, 19 Dec 2012 16:07:53 +0000 (16:07 +0000)]
merge /lib/functions/boot.sh and /lib/functions.sh

SVN-Revision: 34794

11 years agoDo not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
Mirko Vogt [Wed, 19 Dec 2012 16:07:50 +0000 (16:07 +0000)]
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)

SVN-Revision: 34793

11 years agoDo not overload mount-call - trying to reduce confusion
Mirko Vogt [Wed, 19 Dec 2012 16:07:46 +0000 (16:07 +0000)]
Do not overload mount-call - trying to reduce confusion

The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792

11 years agochange prefix for util-linux binaries from / to /usr
Mirko Vogt [Wed, 19 Dec 2012 16:07:42 +0000 (16:07 +0000)]
change prefix for util-linux binaries from / to /usr

The prefix / causes executables like mount, umount, etc. to be placed
in /bin /sbin which therewith replace the busybox symlinks.
mount and umount e.g. are linked again libmount.so.

This is e.g. fatal during a sysupgrade, where /bin/mount,
/bin/umount, etc. but not libmount.so get copied into a ramdisk
which will result in non working executables within the ramdisk.

SVN-Revision: 34791

11 years agominor basefiles fixes
John Crispin [Wed, 19 Dec 2012 15:17:42 +0000 (15:17 +0000)]
minor basefiles fixes

SVN-Revision: 34790

11 years agofix gptu clocks
John Crispin [Wed, 19 Dec 2012 15:17:31 +0000 (15:17 +0000)]
fix gptu clocks

SVN-Revision: 34789

11 years agomore board file fixes
John Crispin [Wed, 19 Dec 2012 15:17:11 +0000 (15:17 +0000)]
more board file fixes

SVN-Revision: 34788

11 years agoppc44x: nuke 3.3 support
Gabor Juhos [Wed, 19 Dec 2012 09:45:43 +0000 (09:45 +0000)]
ppc44x: nuke 3.3 support

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

11 years agoppc44x: switch to 3.6.11
Gabor Juhos [Wed, 19 Dec 2012 09:45:42 +0000 (09:45 +0000)]
ppc44x: switch to 3.6.11

Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.

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

11 years agoppc44x: add support for 3.6
Gabor Juhos [Wed, 19 Dec 2012 09:45:40 +0000 (09:45 +0000)]
ppc44x: add support for 3.6

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

11 years agoblock-mount: add a delay between sto pand start in fstab init restart action, fixes...
Jo-Philipp Wich [Wed, 19 Dec 2012 09:41:28 +0000 (09:41 +0000)]
block-mount: add a delay between sto pand start in fstab init restart action, fixes a lock race condition observed in VirtualBox

SVN-Revision: 34784

11 years agoar71xx: merge machine patches
Gabor Juhos [Wed, 19 Dec 2012 08:50:45 +0000 (08:50 +0000)]
ar71xx: merge machine patches

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

11 years agoar71xx: build image for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:44 +0000 (08:50 +0000)]
ar71xx: build image for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: reorder MR3220 MultiProfile entry]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34782

11 years agofirmware-utils/mktplinkfw: add support for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:43 +0000 (08:50 +0000)]
firmware-utils/mktplinkfw: add support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34781

11 years agoar71xx: add user-space support for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:41 +0000 (08:50 +0000)]
ar71xx: add user-space support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34780

11 years agoar71xx: add kernel support for the TL-MR3220 v2
Gabor Juhos [Wed, 19 Dec 2012 08:50:35 +0000 (08:50 +0000)]
ar71xx: add kernel support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg:
 - remove custom LED and button arrays
 - use separate machine specific patch
 - update Kconfig]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34779

11 years agofix gptu patch - tapi should now load
John Crispin [Tue, 18 Dec 2012 20:12:57 +0000 (20:12 +0000)]
fix gptu patch - tapi should now load

SVN-Revision: 34777

11 years agoppc40x: nuke 3.3 support
Gabor Juhos [Tue, 18 Dec 2012 20:10:37 +0000 (20:10 +0000)]
ppc40x: nuke 3.3 support

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

11 years agoppc40x: switch to 3.6.11
Gabor Juhos [Tue, 18 Dec 2012 20:10:34 +0000 (20:10 +0000)]
ppc40x: switch to 3.6.11

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

11 years agoppc40x: add support for 3.6
Gabor Juhos [Tue, 18 Dec 2012 20:10:31 +0000 (20:10 +0000)]
ppc40x: add support for 3.6

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

11 years agogeneric: disable crashlog on ppc
Gabor Juhos [Tue, 18 Dec 2012 20:10:02 +0000 (20:10 +0000)]
generic: disable crashlog on ppc

It causes panic on boot:

[    0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs
[    0.200902] Unable to handle kernel paging request for data at address 0x00000000
[    0.208347] Faulting instruction address: 0xc026cb10
[    0.213282] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.218586] PowerPC 40x Platform
[    0.221783] Modules linked in:
[    0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8
[    0.229745] REGS: c1825ed0 TRAP: 0300   Not tainted  (3.6.11)
[    0.235435] MSR: 00029030 <EE,ME,IR,DR>  CR: 42004082  XER: 00000000
[    0.241745] DEAR: 00000000, ESR: 00000000
[    0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000
GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69
GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8
GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120 01f94298 01fff258 c02631b8
GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388
[    0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.289000] Call Trace:
[    0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable)
[    0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8
[    0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4
[    0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68
[    0.314488] Instruction dump:
[    0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004
[    0.325117] 2f830000 41be00a4 38804000 4bda2809 <816300007c691b78 907ed388 6d605e11

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

11 years agogeneric: add missing symbols for 3.{6,7}
Gabor Juhos [Tue, 18 Dec 2012 20:09:58 +0000 (20:09 +0000)]
generic: add missing symbols for 3.{6,7}

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

11 years agoupdate to 3.7.1
John Crispin [Tue, 18 Dec 2012 19:32:01 +0000 (19:32 +0000)]
update to 3.7.1

SVN-Revision: 34771

11 years agoltq-hcd usb fix high speed hub mode
John Crispin [Tue, 18 Dec 2012 19:31:46 +0000 (19:31 +0000)]
ltq-hcd usb fix high speed hub mode

Simple update for USB api changes.

Signed-off-by: Conor O'Gorman <i@conorogorman.net>
SVN-Revision: 34770

11 years agoetrax: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:54:04 +0000 (17:54 +0000)]
etrax: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agos3c2442: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:54:02 +0000 (17:54 +0000)]
s3c2442: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agogoldfish: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:53:53 +0000 (17:53 +0000)]
goldfish: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agops3: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:53:51 +0000 (17:53 +0000)]
ps3: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agopxcab: R.I.P.
Gabor Juhos [Tue, 18 Dec 2012 17:53:17 +0000 (17:53 +0000)]
pxcab: R.I.P.

It is broken and it is not maintained by anyone since long time.

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

11 years agorefresh kernel configs with kconfig.pl
Gabor Juhos [Tue, 18 Dec 2012 15:54:15 +0000 (15:54 +0000)]
refresh kernel configs with kconfig.pl

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

11 years agogeos: add missing config-3.7 file
Gabor Juhos [Tue, 18 Dec 2012 15:51:45 +0000 (15:51 +0000)]
geos: add missing config-3.7 file

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34762

11 years agoar71xx: image: add OpenMesh profile
Gabor Juhos [Tue, 18 Dec 2012 15:16:05 +0000 (15:16 +0000)]
ar71xx: image: add OpenMesh profile

It allows to build firmware images for all OpenMesh
products in one step.

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