Commit graph

10647 commits

Author SHA1 Message Date
Felix Fietkau
09f4018b2e x86: Fix CONFIG_X86_GRUB_SERIAL=""
With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>

SVN-Revision: 37749
2013-08-10 18:35:29 +00:00
Felix Fietkau
7b05fe59a4 ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37748
2013-08-10 15:31:38 +00:00
Florian Fainelli
007bd290ea mcs814x: enable POSIX file locking
opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37745
2013-08-09 20:45:17 +00:00
John Crispin
94666dad1c lantiq: fix TD-W8970 image generation to work with the new tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37727
2013-08-06 16:25:45 +00:00
John Crispin
f835cb6cc4 ar71xx: remove duplicate dir505 entry from board detection code
https://dev.openwrt.org/ticket/14006

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

SVN-Revision: 37723
2013-08-06 14:12:02 +00:00
John Crispin
d13cbb04ad lantiq: add support for tplink images to .../image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37722
2013-08-06 12:31:25 +00:00
John Crispin
5001afdc37 lantiq: make the split patch recognize the tplink header
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37721
2013-08-06 12:31:20 +00:00
John Crispin
7f2eaac407 lantiq: fix TDW8970.dts commandline and partition name
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37720
2013-08-06 12:31:16 +00:00
John Crispin
e993e0c2cf lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37719
2013-08-06 12:31:10 +00:00
Luka Perkov
27fa640548 lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

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

SVN-Revision: 37712
2013-08-06 10:17:16 +00:00
Florian Fainelli
d1914b4939 kernel: add some missing config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37710
2013-08-05 20:58:05 +00:00
Hauke Mehrtens
9d4145efe5 kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

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

SVN-Revision: 37709
2013-08-05 16:17:05 +00:00
Gabor Juhos
9257d556c2 ramips: re-implement PCI mux
Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

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

SVN-Revision: 37708
2013-08-05 12:49:19 +00:00
Gabor Juhos
c80dd34924 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37707
2013-08-05 12:35:22 +00:00
John Crispin
267810f73a ar71xx: add usb modules to dir 505 profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37706
2013-08-05 11:08:30 +00:00
John Crispin
c83e665a2c octeon: add a few missing symbols to the kernel config file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37705
2013-08-05 10:42:09 +00:00
John Crispin
288adb6634 lantiq: several a803 related fixes
based on work from Matti Laasko that he posted in the wiki

Signed-off-by: John Crispin <blogic@openwrt.or

SVN-Revision: 37704
2013-08-05 10:42:00 +00:00
John Crispin
553a469728 ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

SVN-Revision: 37703
2013-08-05 10:41:48 +00:00
Gabor Juhos
99a12119ca ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37696
2013-08-05 09:09:39 +00:00
Gabor Juhos
ccec78beaa ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37695
2013-08-05 09:09:37 +00:00
John Crispin
f0b5e7d419 x86: change /dev/console to tty to fix job control
Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 37693
2013-08-04 17:05:33 +00:00
Luka Perkov
f5b9555cdc imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37686
2013-08-04 14:20:15 +00:00
John Crispin
db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
2013-08-04 13:54:42 +00:00
John Crispin
3a2040ffee octeon: add support for the octeon mips64 SoC
This is the SoC used be the ESR Lite made by ubnt.com

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

SVN-Revision: 37684
2013-08-04 13:54:32 +00:00
Luka Perkov
8a4726bca8 imx6: remove sdma binary
SVN-Revision: 37682
2013-08-04 13:28:26 +00:00
Hauke Mehrtens
2fcaba306e brcm47xx: change board detection for some Asus devices
This closes #13316

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

SVN-Revision: 37680
2013-08-04 12:36:13 +00:00
Hauke Mehrtens
cccc9e214b kernel: do not build FW_LOADER as a module.
CONFIG_FW_LOADER=y is set in the generic config and our packages in
packages/kernel/linux are depending on it to be compiled into the
kernel.
This fixes some dependency problem where kmod-r8169 misses
firmware_class.ko.

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

SVN-Revision: 37672
2013-08-04 09:41:10 +00:00
Zoltan Herpai
36cc8cc856 imx23: add missing DTS config for lradc
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37663
2013-08-03 10:37:25 +00:00
Zoltan Herpai
370ad94576 imx23: add hw crypto (dcp) support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37662
2013-08-03 10:35:18 +00:00
Hauke Mehrtens
b2d2ca4bbd kernel: add missing config options
SVN-Revision: 37660
2013-08-02 20:13:54 +00:00
Hauke Mehrtens
219eac1856 kernel: add missing config option
SVN-Revision: 37657
2013-08-02 16:51:47 +00:00
Hauke Mehrtens
c47a55dd0d kernel: add missing config option
brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

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

SVN-Revision: 37656
2013-08-02 16:16:23 +00:00
Jonas Gorski
3e9ad14992 kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37652
2013-08-01 23:04:42 +00:00
Hauke Mehrtens
290dade033 brcm47xx: switch to kernel 3.10.4
This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

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

SVN-Revision: 37650
2013-08-01 21:01:59 +00:00
Hauke Mehrtens
7e14fd55fd brcm47xx: use lib phy when tg3 is in use
This is untested, but probably needed to make it work with the phy lib switch driver.

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

SVN-Revision: 37649
2013-08-01 20:47:55 +00:00
Hauke Mehrtens
8966b86067 kernel: b53: use devm_gpio_request_one() to request gpio
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37648
2013-08-01 20:46:56 +00:00
Hauke Mehrtens
2b55968f5d brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

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

SVN-Revision: 37647
2013-08-01 19:33:59 +00:00
Hauke Mehrtens
6d7f796b52 brcm47xx: remove support for kernel 3.9
This is not needed any more.

SVN-Revision: 37646
2013-08-01 19:17:51 +00:00
Hauke Mehrtens
e1127aca07 kernel: b53: add support for GPIO reset
This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

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

SVN-Revision: 37645
2013-08-01 19:05:34 +00:00
Hauke Mehrtens
2363cb3893 brcm47xx: add function to get a gpio pin by name
bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

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

SVN-Revision: 37644
2013-08-01 19:04:12 +00:00
John Crispin
169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
2013-08-01 14:31:15 +00:00
John Crispin
ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
2013-08-01 14:31:09 +00:00
John Crispin
54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
2013-08-01 14:31:04 +00:00
John Crispin
0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
2013-08-01 14:30:58 +00:00
John Crispin
23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
2013-08-01 14:30:53 +00:00
John Crispin
aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

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

SVN-Revision: 37635
2013-08-01 14:30:46 +00:00
John Crispin
b4c722267e lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37634
2013-08-01 14:30:40 +00:00
John Crispin
046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
2013-08-01 14:30:33 +00:00
Zoltan Herpai
9eb3572b7b imx23: add lradc support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37632
2013-08-01 09:36:37 +00:00
Zoltan Herpai
91e8082e2d kernel: add missing iio config symbols for 3.10
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37631
2013-08-01 06:58:08 +00:00