openwrt/staging/mans0n.git
12 years agobcm63xx: switch to 3.6.6
Jonas Gorski [Sun, 11 Nov 2012 19:57:17 +0000 (19:57 +0000)]
bcm63xx: switch to 3.6.6

SVN-Revision: 34160

12 years agokernel: modules: ext4 depends on crypto-hash on 3.6
Jonas Gorski [Sun, 11 Nov 2012 19:42:35 +0000 (19:42 +0000)]
kernel: modules: ext4 depends on crypto-hash on 3.6

SVN-Revision: 34159

12 years agomove fixed mapping of internal devices into vmalloc region
Imre Kaloz [Sun, 11 Nov 2012 19:29:27 +0000 (19:29 +0000)]
move fixed mapping of internal devices into vmalloc region

SVN-Revision: 34158

12 years agoadvertise squashfs feature
Florian Fainelli [Sun, 11 Nov 2012 19:26:54 +0000 (19:26 +0000)]
advertise squashfs feature

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34157

12 years agoadd support for Linux 3.6
Florian Fainelli [Sun, 11 Nov 2012 19:26:50 +0000 (19:26 +0000)]
add support for Linux 3.6

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34156

12 years agosplit kernel config between generic, au1500 and au1550
Florian Fainelli [Sun, 11 Nov 2012 19:26:44 +0000 (19:26 +0000)]
split kernel config between generic, au1500 and au1550

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34155

12 years agoadd support for Linux 3.6
Florian Fainelli [Sun, 11 Nov 2012 18:41:09 +0000 (18:41 +0000)]
add support for Linux 3.6

SVN-Revision: 34154

12 years agomove files directory to files-3.3
Florian Fainelli [Sun, 11 Nov 2012 18:40:48 +0000 (18:40 +0000)]
move files directory to files-3.3

SVN-Revision: 34153

12 years agoi2c-gpio-mux: fix build for 3.6+ kernels
Florian Fainelli [Sun, 11 Nov 2012 18:40:43 +0000 (18:40 +0000)]
i2c-gpio-mux: fix build for 3.6+ kernels

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34152

12 years agobrcm47xx: remove ssb-gige package
Hauke Mehrtens [Sun, 11 Nov 2012 17:30:33 +0000 (17:30 +0000)]
brcm47xx: remove ssb-gige package

CONFIG_SSB_DRIVER_GIGE is set in the target config of the brcm47xx target, so it will always be activated and the kmod-ssb-gige is not needed any more.
The kmod-ssb-gige package is not generated in an build as it does not contain any files and the makes the image builder fail when generating a image integrating this package.

SVN-Revision: 34150

12 years agogenerate image for AC49x
Florian Fainelli [Sun, 11 Nov 2012 16:11:39 +0000 (16:11 +0000)]
generate image for AC49x

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34149

12 years agocreate AC49x subtarget
Florian Fainelli [Sun, 11 Nov 2012 16:11:34 +0000 (16:11 +0000)]
create AC49x subtarget

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34148

12 years agocreate generic subtarget
Florian Fainelli [Sun, 11 Nov 2012 16:11:29 +0000 (16:11 +0000)]
create generic subtarget

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34147

12 years agodetect AC49x flash partitions
Florian Fainelli [Sun, 11 Nov 2012 16:11:22 +0000 (16:11 +0000)]
detect AC49x flash partitions

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34146

12 years agosupport AC49x bootloader environment
Florian Fainelli [Sun, 11 Nov 2012 16:11:14 +0000 (16:11 +0000)]
support AC49x bootloader environment

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34145

12 years agoadd AudioCodes AC49x platform support to kernel
Florian Fainelli [Sun, 11 Nov 2012 16:11:09 +0000 (16:11 +0000)]
add AudioCodes AC49x platform support to kernel

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34144

12 years agofree memory below kernel offset
Florian Fainelli [Sun, 11 Nov 2012 16:11:00 +0000 (16:11 +0000)]
free memory below kernel offset

Some bootloaders (e.g. PSPBoot on AC49x) have a load-offset, this frees that
memory region so it is usable for Linux.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34143

12 years agouClibc: backport a fix for dlsym(RTLD_NEXT, ...) use
Florian Fainelli [Sun, 11 Nov 2012 16:10:50 +0000 (16:10 +0000)]
uClibc: backport a fix for dlsym(RTLD_NEXT, ...) use

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34142

12 years agofix machtype handling above 4096
Imre Kaloz [Sun, 11 Nov 2012 11:07:59 +0000 (11:07 +0000)]
fix machtype handling above 4096

SVN-Revision: 34141

12 years agox86/generic: don't disable usbfs (#12452)
Jo-Philipp Wich [Sat, 10 Nov 2012 23:28:58 +0000 (23:28 +0000)]
x86/generic: don't disable usbfs (#12452)

SVN-Revision: 34139

12 years agobcm63xx: fix compilation with kmod-ohci enabled with 3.6
Jonas Gorski [Sat, 10 Nov 2012 22:10:47 +0000 (22:10 +0000)]
bcm63xx: fix compilation with kmod-ohci enabled with 3.6

Fixes the following error:

drivers/usb/host/ohci-bcm63xx.c: In function 'ohci_bcm63xx_start':
drivers/usb/host/ohci-bcm63xx.c:33:3: error: implicit declaration of function 'err' [-Werror=implicit-function-declaration]

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34138

12 years agobcm63xx: add two missing usb patches to 3.6
Jonas Gorski [Sat, 10 Nov 2012 19:59:16 +0000 (19:59 +0000)]
bcm63xx: add two missing usb patches to 3.6

SVN-Revision: 34137

12 years agobcm63xx: fix Ethernet DMA for 636x and 6328 for 3.6
Jonas Gorski [Sat, 10 Nov 2012 19:59:07 +0000 (19:59 +0000)]
bcm63xx: fix Ethernet DMA for 636x and 6328 for 3.6

SVN-Revision: 34136

12 years agomac80211: add more tx skb free fixes (hopefully final fix to #11894)
Felix Fietkau [Sat, 10 Nov 2012 02:47:33 +0000 (02:47 +0000)]
mac80211: add more tx skb free fixes (hopefully final fix to #11894)

SVN-Revision: 34133

12 years agocns3xxx: clean up pcie patches
Imre Kaloz [Fri, 9 Nov 2012 21:37:54 +0000 (21:37 +0000)]
cns3xxx: clean up pcie patches

Combine two pcie patches (2nd patch undid the 1st patch) together
and refresh the other affected patches

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

12 years agoadd more profiles
John Crispin [Fri, 9 Nov 2012 19:26:58 +0000 (19:26 +0000)]
add more profiles

SVN-Revision: 34131

12 years agoa few more dts files (WIP)
John Crispin [Fri, 9 Nov 2012 19:26:43 +0000 (19:26 +0000)]
a few more dts files (WIP)

SVN-Revision: 34130

12 years agoadd mtd split and atm patch
John Crispin [Fri, 9 Nov 2012 19:26:30 +0000 (19:26 +0000)]
add mtd split and atm patch

SVN-Revision: 34129

12 years agox86: use $(strip) for the at_keyboard check
Felix Fietkau [Fri, 9 Nov 2012 10:53:36 +0000 (10:53 +0000)]
x86: use $(strip) for the at_keyboard check

SVN-Revision: 34127

12 years agox86: only enable at_keyboard for the generic and kvm_guest subtargets to avoid hangs...
Felix Fietkau [Fri, 9 Nov 2012 10:19:51 +0000 (10:19 +0000)]
x86: only enable at_keyboard for the generic and kvm_guest subtargets to avoid hangs on alix2 and others (thx, russell)

SVN-Revision: 34126

12 years agogeneric: sanitize deps_initramfs list
Gabor Juhos [Fri, 9 Nov 2012 09:07:29 +0000 (09:07 +0000)]
generic: sanitize deps_initramfs list

If any filename in the intramfs dependency
list contains a colon, that causes a kernel
build error like this:

/devel/openwrt/build_dir/linux-ar71xx_generic/linux-3.6.6/usr/Makefile:58: *** multiple target patterns.  Stop.
make[5]: *** [usr] Error 2

Fix it by removing such filenames from the
deps_initramfs list.

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

12 years agobuild: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)
Felix Fietkau [Thu, 8 Nov 2012 15:08:31 +0000 (15:08 +0000)]
build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)

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

12 years agocns3xxx: exit from laguna late_initcall if not running on laguna board
Luka Perkov [Thu, 8 Nov 2012 11:31:56 +0000 (11:31 +0000)]
cns3xxx: exit from laguna late_initcall if not running on laguna board

SVN-Revision: 34120

12 years agoscripts: fix remote-gdb script to cope with _eabi suffix in uClibc version
Jo-Philipp Wich [Thu, 8 Nov 2012 11:22:09 +0000 (11:22 +0000)]
scripts: fix remote-gdb script to cope with _eabi suffix in uClibc version

SVN-Revision: 34118

12 years agoresolveip: fix endless getopt() loop when compiled for arm (#12290)
Jo-Philipp Wich [Thu, 8 Nov 2012 10:48:08 +0000 (10:48 +0000)]
resolveip: fix endless getopt() loop when compiled for arm (#12290)

SVN-Revision: 34116

12 years agocns3xxx: add PPS support for laguna
Imre Kaloz [Thu, 8 Nov 2012 05:42:31 +0000 (05:42 +0000)]
cns3xxx: add PPS support for laguna

Many Laguna products have on-board GPS with Pulse-per-second (PPS)
support.  This patch adds kernel support (statically) and adds
the platform data in laguna board support.

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

12 years agofixup symbol selection
Imre Kaloz [Thu, 8 Nov 2012 05:40:34 +0000 (05:40 +0000)]
fixup symbol selection

SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI

SVN-Revision: 34114

12 years agocns3xxx: fix coding style in board script
Luka Perkov [Wed, 7 Nov 2012 23:12:06 +0000 (23:12 +0000)]
cns3xxx: fix coding style in board script

SVN-Revision: 34113

12 years agoadds fon20n profile
John Crispin [Wed, 7 Nov 2012 20:26:31 +0000 (20:26 +0000)]
adds fon20n profile

SVN-Revision: 34112

12 years agoramips: use kernel 3.6.6
John Crispin [Wed, 7 Nov 2012 20:26:21 +0000 (20:26 +0000)]
ramips: use kernel 3.6.6

## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.6.6
   Created:      2012-11-06  14:19:54 UTC

 System Control Status = 0x20440000
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3560768 Bytes =  3.4 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 3.6.6 (daniel@localhost.localdomain) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #2 Tue Nov 6 16:19:48 IST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:2 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  console=ttyS1,57600n8 board=ALL0239-3G mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=0000c388
[    0.000000] Readback ErrCtl register=0000c388
[    0.000000] Memory: 27048k/32768k available (2015k kernel code, 5720k reserved, 498k data, 2676k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Allnet ALL0239-3G
[    0.140000] bio: create slab <bio-0> at 0
[    0.150000] Switching to clocksource MIPS
[    0.160000] NET: Registered protocol family 2
[    0.170000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.210000] TCP: reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.240000] NET: Registered protocol family 1
[    5.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.470000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.490000] msgmni has been set to 52
[    5.500000] io scheduler noop registered
[    5.510000] io scheduler deadline registered (default)
[    5.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.530000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    5.550000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    5.560000] physmap platform flash device: 00800000 at bf000000
[    5.580000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000
[    5.600000] Amd/Fujitsu Extended Query Table at 0x0040
[    5.610000]   Amd/Fujitsu Extended Query version 1.3.
[    5.620000] number of CFI chips: 1
[    5.620000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[    5.640000] Creating 6 MTD partitions on "physmap-flash.0":
[    5.650000] 0x000000000000-0x000000030000 : "u-boot"
[    5.660000] 0x000000030000-0x000000040000 : "u-boot-env"
[    5.680000] 0x000000040000-0x000000050000 : "factory"
[    5.690000] 0x000000050000-0x000000130000 : "kernel"
[    5.700000] 0x000000130000-0x000000800000 : "rootfs"
[    5.710000] mtd: partition "rootfs" set to be root filesystem
[    5.730000] split_squashfs: error occured while reading from "physmap-flash.0"
[    5.740000] 0x000000050000-0x000000800000 : "firmware"
[    5.760000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[    5.780000] TCP: cubic registered
[    5.780000] NET: Registered protocol family 17
[    5.790000] 8021q: 802.1Q VLAN Support v1.8
[    5.820000] Freeing unused kernel memory: 2676k freed
[    6.490000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. [   10.150000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   10.170000] Backport based on wireless-testing.git master-2012-09-07
[   10.180000] compat.git: wireless-testing.git
[   10.210000] cfg80211: Calling CRDA to update world regulatory domain
[   10.230000] cfg80211: World regulatory domain updated:
[   10.240000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.270000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.280000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.300000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.310000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.430000] NET: Registered protocol family 10
[   10.760000] PPP generic driver version 2.4.2
[   10.820000] l2tp_core: L2TP core driver, V2.0
[   10.840000] l2tp_netlink: L2TP netlink interface
[   10.870000] sit: IPv6 over IPv4 tunneling driver
[   10.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.060000] NET: Registered protocol family 24
[   11.090000] nf_conntrack version 0.5.0 (464 buckets, 1856 max)
[   11.230000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   11.410000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.510000] device eth0.1 entered promiscuous mode
[   14.520000] device eth0 entered promiscuous mode
[   14.530000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   14.550000] br-lan: port 1(eth0.1) entered forwarding state
[   14.560000] br-lan: port 1(eth0.1) entered forwarding state
[   16.560000] br-lan: port 1(eth0.1) entered forwarding state
[   16.600000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33

BusyBox v1.19.4 (2012-11-06 13:40:37 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r34079)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/#

SVN-Revision: 34111

12 years agoramips: add HAVE_CLK to Kconfig on all ramips socs
John Crispin [Wed, 7 Nov 2012 20:26:04 +0000 (20:26 +0000)]
ramips: add HAVE_CLK to Kconfig on all ramips socs

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34110

12 years agoramips: add linux-3.6 configuration for ramips socs
John Crispin [Wed, 7 Nov 2012 20:25:55 +0000 (20:25 +0000)]
ramips: add linux-3.6 configuration for ramips socs

Signed-off-by: Daniel Golle <dgolle@allnet.de>
 create mode 100644 target/linux/ramips/rt288x/config-3.6
 create mode 100644 target/linux/ramips/rt305x/config-3.6
 create mode 100644 target/linux/ramips/rt3883/config-3.6

SVN-Revision: 34109

12 years agoramips: port patches to linux-3.6
John Crispin [Wed, 7 Nov 2012 20:25:34 +0000 (20:25 +0000)]
ramips: port patches to linux-3.6

Signed-off-by: Daniel Golle <dgolle@allnet.de>
 create mode 100644 target/linux/ramips/patches-3.6/001-mips-add-cp0-compare-irq-function.patch
 create mode 100644 target/linux/ramips/patches-3.6/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch
 create mode 100644 target/linux/ramips/patches-3.6/011-mtd-cfi_cmdset_0002-force-word-write.patch
 create mode 100644 target/linux/ramips/patches-3.6/100-mips-ralink-core.patch
 create mode 100644 target/linux/ramips/patches-3.6/101-rt288x_serial_driver_hack.patch
 create mode 100644 target/linux/ramips/patches-3.6/102-rt288x-pci-driver-hook.patch
 create mode 100644 target/linux/ramips/patches-3.6/103-ethernet.patch
 create mode 100644 target/linux/ramips/patches-3.6/104-ramips-watchdog-driver.patch
 create mode 100644 target/linux/ramips/patches-3.6/105-ramips-spi-driver.patch
 create mode 100644 target/linux/ramips/patches-3.6/105-usb_dwc_otg.patch
 create mode 100644 target/linux/ramips/patches-3.6/106-rt3883-pci-support.patch
 create mode 100644 target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch
 create mode 100644 target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch

SVN-Revision: 34108

12 years agoLoad schedule modules
John Crispin [Wed, 7 Nov 2012 19:36:56 +0000 (19:36 +0000)]
Load schedule modules

They were missing the AUTOLOAD directive.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>
SVN-Revision: 34107

12 years agobuildroot: isolate the .install stamp files for build variants (#12279)
Jo-Philipp Wich [Wed, 7 Nov 2012 16:15:22 +0000 (16:15 +0000)]
buildroot: isolate the .install stamp files for build variants (#12279)

This fixes missing embedded packages if multiple build variants are selected in
the build config, e.g. missing ppp if CONFIG_PACKAGE_ppp=y and
CONFIG_PACKAGE_ppp-multilink=m .

SVN-Revision: 34106

12 years agobcm63xx: Enable endian check support for ath9k pci fixup.
Jonas Gorski [Wed, 7 Nov 2012 09:01:03 +0000 (09:01 +0000)]
bcm63xx: Enable endian check support for ath9k pci fixup.

Some ath9k caldatas need to be "endian checked".
This patch allows selecting wether to enable endian check or not.
Endian check is disabled by default.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 34105

12 years agofixup typos in the compex patch
Imre Kaloz [Wed, 7 Nov 2012 07:51:24 +0000 (07:51 +0000)]
fixup typos in the compex patch

SVN-Revision: 34104

12 years agolinux: export bcm963xx_tag.h to userspace
Jonas Gorski [Tue, 6 Nov 2012 15:21:46 +0000 (15:21 +0000)]
linux: export bcm963xx_tag.h to userspace

Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 34103

12 years agocns3xxx: refresh kernel config file
Luka Perkov [Tue, 6 Nov 2012 11:16:43 +0000 (11:16 +0000)]
cns3xxx: refresh kernel config file

SVN-Revision: 34102

12 years agocns3xxx: use files directory
Luka Perkov [Tue, 6 Nov 2012 11:16:41 +0000 (11:16 +0000)]
cns3xxx: use files directory

SVN-Revision: 34101

12 years agoadd OWRTDTB marker patch
John Crispin [Tue, 6 Nov 2012 10:39:43 +0000 (10:39 +0000)]
add OWRTDTB marker patch

SVN-Revision: 34100

12 years agoremove bogus file
John Crispin [Tue, 6 Nov 2012 07:43:08 +0000 (07:43 +0000)]
remove bogus file

SVN-Revision: 34099

12 years agounbreak ltq-dsl-fw
John Crispin [Tue, 6 Nov 2012 07:41:44 +0000 (07:41 +0000)]
unbreak ltq-dsl-fw

SVN-Revision: 34098

12 years agoadd support for arv7525
John Crispin [Tue, 6 Nov 2012 07:38:24 +0000 (07:38 +0000)]
add support for arv7525

SVN-Revision: 34097

12 years agoprepare dsl driver for 3.6 and split fw into a seperate package
John Crispin [Tue, 6 Nov 2012 07:38:18 +0000 (07:38 +0000)]
prepare dsl driver for 3.6 and split fw into a seperate package

SVN-Revision: 34096

12 years agorefresh patches
Imre Kaloz [Tue, 6 Nov 2012 05:45:12 +0000 (05:45 +0000)]
refresh patches

SVN-Revision: 34095

12 years agoadd default packages
Imre Kaloz [Tue, 6 Nov 2012 05:39:08 +0000 (05:39 +0000)]
add default packages

SVN-Revision: 34094

12 years agolinux: generic: fix split_squashfs for 3.6
Jonas Gorski [Tue, 6 Nov 2012 00:48:21 +0000 (00:48 +0000)]
linux: generic: fix split_squashfs for 3.6

_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.

SVN-Revision: 34093

12 years agobcm63xx: fix SPW303V images
Jonas Gorski [Mon, 5 Nov 2012 22:50:29 +0000 (22:50 +0000)]
bcm63xx: fix SPW303V images

SPW303V also needs its CRC fixed up since increasing the image size to
4MB to prevent the dual image mode of CFE.

SVN-Revision: 34091

12 years agonetifd: don't send a default client identifier in DHCP requests if no clientid uci...
Jo-Philipp Wich [Mon, 5 Nov 2012 19:28:24 +0000 (19:28 +0000)]
netifd: don't send a default client identifier in DHCP requests if no clientid uci option is given (#12426)

SVN-Revision: 34089

12 years agoar71xx: nuke ath79_set_usb_power_gpio helper
Gabor Juhos [Mon, 5 Nov 2012 13:23:28 +0000 (13:23 +0000)]
ar71xx: nuke ath79_set_usb_power_gpio helper

It is no longer used.

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

12 years agoar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
Gabor Juhos [Mon, 5 Nov 2012 13:23:27 +0000 (13:23 +0000)]
ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio

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

12 years agokernel: update linux 3.6 to 3.6.6
Gabor Juhos [Mon, 5 Nov 2012 13:22:09 +0000 (13:22 +0000)]
kernel: update linux 3.6 to 3.6.6

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

12 years agouse the mainline machname for the compex boards
Imre Kaloz [Mon, 5 Nov 2012 11:38:23 +0000 (11:38 +0000)]
use the mainline machname for the compex boards

SVN-Revision: 34083

12 years agoramips: enable USB power on the DIR-645
Gabor Juhos [Mon, 5 Nov 2012 11:04:45 +0000 (11:04 +0000)]
ramips: enable USB power on the DIR-645

Closes #12422.

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

12 years agolinux/3.3: backport an upstream GPIO patch
Gabor Juhos [Mon, 5 Nov 2012 11:04:43 +0000 (11:04 +0000)]
linux/3.3: backport an upstream GPIO patch

The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().

This will be used by ar71xx/ramips platforms.

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

12 years agoAdd ledtrig-oneshot module for 3.6 kernels
Gabor Juhos [Mon, 5 Nov 2012 07:10:35 +0000 (07:10 +0000)]
Add ledtrig-oneshot module for 3.6 kernels

This patch adds a package for the ledtrig-oneshot module, available in
3.6 and later.

[juhosg: change dependency from LINUX_3_6 to !LINUX_3_3]

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
SVN-Revision: 34079

12 years agoramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
Gabor Juhos [Mon, 5 Nov 2012 06:58:53 +0000 (06:58 +0000)]
ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34078

12 years agoar71xx: don't use the unknown LED on the ZCN-1523-5 board
Gabor Juhos [Sun, 4 Nov 2012 22:08:54 +0000 (22:08 +0000)]
ar71xx: don't use the unknown LED on the ZCN-1523-5 board

According to #12421, GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.

If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.

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

12 years agoar71xx: include mtd layout in the command line for ZCN-1523H-* boards
Gabor Juhos [Sun, 4 Nov 2012 21:12:20 +0000 (21:12 +0000)]
ar71xx: include mtd layout in the command line for ZCN-1523H-* boards

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

12 years agoar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards
Gabor Juhos [Sun, 4 Nov 2012 20:15:18 +0000 (20:15 +0000)]
ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards

Also add the missing ATH79_MACH_ZCN_1523H_5 symbol.

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

12 years agomtd: avoid adding the kernel dir to includes, use the toolchain headers
Felix Fietkau [Sun, 4 Nov 2012 17:01:30 +0000 (17:01 +0000)]
mtd: avoid adding the kernel dir to includes, use the toolchain headers

SVN-Revision: 34071

12 years agoppp: add more pppol2tpv3 related structs from the kernel headers to fix compile issue...
Felix Fietkau [Sun, 4 Nov 2012 17:01:27 +0000 (17:01 +0000)]
ppp: add more pppol2tpv3 related structs from the kernel headers to fix compile issues with linux 3.6

SVN-Revision: 34070

12 years agoiptables: remove support for libipq, it has been obsolete for years and is unsupporte...
Felix Fietkau [Sun, 4 Nov 2012 17:01:23 +0000 (17:01 +0000)]
iptables: remove support for libipq, it has been obsolete for years and is unsupported in newer kernels

SVN-Revision: 34069

12 years agolinux-3.6: fix portability of some includes files in tools/ used on the host
Felix Fietkau [Sun, 4 Nov 2012 17:01:15 +0000 (17:01 +0000)]
linux-3.6: fix portability of some includes files in tools/ used on the host

SVN-Revision: 34068

12 years ago3.6 is not the default yet
John Crispin [Sat, 3 Nov 2012 13:29:44 +0000 (13:29 +0000)]
3.6 is not the default yet

SVN-Revision: 34065

12 years agoadds dts files and make devicetree images buildable
John Crispin [Fri, 2 Nov 2012 20:07:47 +0000 (20:07 +0000)]
adds dts files and make devicetree images buildable

SVN-Revision: 34064

12 years agoupdate ase target for 3.6
John Crispin [Fri, 2 Nov 2012 20:07:41 +0000 (20:07 +0000)]
update ase target for 3.6

SVN-Revision: 34063

12 years agoadd subtarget, as of 3.6 we dont seperate xway SoC
John Crispin [Fri, 2 Nov 2012 20:07:36 +0000 (20:07 +0000)]
add subtarget, as of 3.6 we dont seperate xway SoC

SVN-Revision: 34062

12 years agoadds 3.6 files, patches and config
John Crispin [Fri, 2 Nov 2012 20:07:26 +0000 (20:07 +0000)]
adds 3.6 files, patches and config

SVN-Revision: 34061

12 years agomove files/ -> files-3.3/
John Crispin [Fri, 2 Nov 2012 20:07:02 +0000 (20:07 +0000)]
move files/ -> files-3.3/

SVN-Revision: 34060

12 years agoprepare Makefile for 3.6
John Crispin [Fri, 2 Nov 2012 20:06:51 +0000 (20:06 +0000)]
prepare Makefile for 3.6

SVN-Revision: 34059

12 years agorename patch-cmdline and add code for patching DTB files into kernel images
John Crispin [Fri, 2 Nov 2012 20:06:45 +0000 (20:06 +0000)]
rename patch-cmdline and add code for patching DTB files into kernel images

SVN-Revision: 34058

12 years agogeneric: make yaffs work on 3.6
Gabor Juhos [Thu, 1 Nov 2012 11:07:23 +0000 (11:07 +0000)]
generic: make yaffs work on 3.6

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

12 years agogeneric: rename jffs2 patches
Gabor Juhos [Thu, 1 Nov 2012 11:07:16 +0000 (11:07 +0000)]
generic: rename jffs2 patches

Make room for the upcoming yaffs patches.
No functional changes.

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

12 years agoFix feeds.conf.default when no SVN info present
Daniel Dickinson [Thu, 1 Nov 2012 07:15:49 +0000 (07:15 +0000)]
Fix feeds.conf.default when no SVN info present

SVN-Revision: 34051

12 years agogeneric: use mtd_* helpers in the yaffs code
Gabor Juhos [Wed, 31 Oct 2012 21:17:30 +0000 (21:17 +0000)]
generic: use mtd_* helpers in the yaffs code

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

12 years agomove PCIe init to subsys init call
Imre Kaloz [Wed, 31 Oct 2012 20:16:53 +0000 (20:16 +0000)]
move PCIe init to subsys init call

ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug.  I have modeled the cns3xxx PCIe init after
other ARM platforms.  Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.

Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.

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

12 years agokernel: update linux 3.6 to 3.6.5
Gabor Juhos [Wed, 31 Oct 2012 20:09:39 +0000 (20:09 +0000)]
kernel: update linux 3.6 to 3.6.5

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

12 years agogeneric: split yaffs-3.2-fix patch
Gabor Juhos [Wed, 31 Oct 2012 19:33:12 +0000 (19:33 +0000)]
generic: split yaffs-3.2-fix patch

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

12 years agolibubox: add more uloop timer fixes
Felix Fietkau [Wed, 31 Oct 2012 19:30:21 +0000 (19:30 +0000)]
libubox: add more uloop timer fixes

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

12 years agolibubox: update to latest version, fixes a timer calculation issue in uloop
Felix Fietkau [Wed, 31 Oct 2012 19:06:46 +0000 (19:06 +0000)]
libubox: update to latest version, fixes a timer calculation issue in uloop

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

12 years agoeglibc: update to r21110
Florian Fainelli [Wed, 31 Oct 2012 17:32:43 +0000 (17:32 +0000)]
eglibc: update to r21110

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34036

12 years agokernel-defaults: factor common code handling initramfs options
Florian Fainelli [Wed, 31 Oct 2012 17:32:37 +0000 (17:32 +0000)]
kernel-defaults: factor common code handling initramfs options

While at it, reindent so it is more in-line with the rest of the file.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34034

12 years agolibubox: pass the lua path to cmake to avoid build errors
Felix Fietkau [Wed, 31 Oct 2012 16:05:02 +0000 (16:05 +0000)]
libubox: pass the lua path to cmake to avoid build errors

SVN-Revision: 34033

12 years agogeneric: replace yaffs-2.6.39 patch
Gabor Juhos [Wed, 31 Oct 2012 15:12:45 +0000 (15:12 +0000)]
generic: replace yaffs-2.6.39 patch

Use backported upstream patches instead.

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

12 years agomac80211: prevent reconfigure calls while interfaces are down
Felix Fietkau [Wed, 31 Oct 2012 14:59:12 +0000 (14:59 +0000)]
mac80211: prevent reconfigure calls while interfaces are down

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

12 years agoeglibc: do not prompt for the revision, it is supposed to be changed by developers...
Felix Fietkau [Wed, 31 Oct 2012 13:16:22 +0000 (13:16 +0000)]
eglibc: do not prompt for the revision, it is supposed to be changed by developers, not users.

fixes changing the eglibc version in menuconfig without resetting the config

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

12 years agoeglibc: remove versions 2.12-2.14
Felix Fietkau [Wed, 31 Oct 2012 13:16:18 +0000 (13:16 +0000)]
eglibc: remove versions 2.12-2.14

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

12 years ago6relayd: auto-configure local interfaces as well
Steven Barth [Wed, 31 Oct 2012 12:48:54 +0000 (12:48 +0000)]
6relayd: auto-configure local interfaces as well

SVN-Revision: 34027