John Crispin [Sun, 27 May 2012 16:02:22 +0000 (16:02 +0000)]
dgn3500 support with eeprom loading from sysfs
WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules. I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.
SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.
Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.
Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>
SVN-Revision: 31910
John Crispin [Sun, 27 May 2012 16:02:20 +0000 (16:02 +0000)]
fixes zyxel p2601hnfx
moves the linux partition, removes the config partition and the
buttons settings have small adjustments.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31909
John Crispin [Sun, 27 May 2012 16:02:16 +0000 (16:02 +0000)]
Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31908
Felix Fietkau [Sun, 27 May 2012 15:22:13 +0000 (15:22 +0000)]
kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
Felix Fietkau [Sun, 27 May 2012 15:16:37 +0000 (15:16 +0000)]
kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
SVN-Revision: 31906
Gabor Juhos [Sun, 27 May 2012 15:01:37 +0000 (15:01 +0000)]
linux/3.2: R.I.P.
SVN-Revision: 31905
Gabor Juhos [Sun, 27 May 2012 15:01:35 +0000 (15:01 +0000)]
xburst: remove support for old kernels
SVN-Revision: 31904
Gabor Juhos [Sun, 27 May 2012 15:01:33 +0000 (15:01 +0000)]
xburst: switch to 3.3 and add broken flag
SVN-Revision: 31903
Gabor Juhos [Sun, 27 May 2012 15:01:32 +0000 (15:01 +0000)]
xburst: add support for 3.3
SVN-Revision: 31902
Gabor Juhos [Sun, 27 May 2012 15:01:30 +0000 (15:01 +0000)]
ppc44x: remove 3.2 support
SVN-Revision: 31901
Gabor Juhos [Sun, 27 May 2012 15:01:28 +0000 (15:01 +0000)]
ppx44x: switch to 3.3 and add broken flag
SVN-Revision: 31900
Gabor Juhos [Sun, 27 May 2012 15:01:27 +0000 (15:01 +0000)]
ppc44x: add support for 3.3
Compile tested only.
SVN-Revision: 31899
Gabor Juhos [Sun, 27 May 2012 15:01:26 +0000 (15:01 +0000)]
cobalt: switch to 3.3 and add broken flag
Compile tested only.
SVN-Revision: 31898
Gabor Juhos [Sun, 27 May 2012 15:01:24 +0000 (15:01 +0000)]
ep93xx: remove 3.2 support
SVN-Revision: 31897
Gabor Juhos [Sun, 27 May 2012 15:01:23 +0000 (15:01 +0000)]
ep93xx: switch to 3.3 and add broken flag
SVN-Revision: 31896
Gabor Juhos [Sun, 27 May 2012 15:01:21 +0000 (15:01 +0000)]
ep93xx: add support for 3.3
Compile tested only.
SVN-Revision: 31895
Gabor Juhos [Sun, 27 May 2012 15:01:18 +0000 (15:01 +0000)]
au1000: remove 3.2 support
SVN-Revision: 31894
Gabor Juhos [Sun, 27 May 2012 15:01:17 +0000 (15:01 +0000)]
au1000: switch to 3.3 and add broken flag
SVN-Revision: 31893
Gabor Juhos [Sun, 27 May 2012 15:01:15 +0000 (15:01 +0000)]
au1000: add support for 3.3
Compile tested only.
SVN-Revision: 31892
Gabor Juhos [Sun, 27 May 2012 15:01:09 +0000 (15:01 +0000)]
linux/3.1: R.I.P.
SVN-Revision: 31891
Gabor Juhos [Sun, 27 May 2012 15:01:07 +0000 (15:01 +0000)]
omap24xx: remove 3.1 support
SVN-Revision: 31890
Gabor Juhos [Sun, 27 May 2012 15:01:05 +0000 (15:01 +0000)]
omap24xx: switch to 3.3 and add broken flag
SVN-Revision: 31889
Gabor Juhos [Sun, 27 May 2012 15:01:03 +0000 (15:01 +0000)]
cns3xxx: remove 3.1 support
SVN-Revision: 31888
Gabor Juhos [Sun, 27 May 2012 15:01:02 +0000 (15:01 +0000)]
cns3xxx: switch to 3.3 and add broken flag
SVN-Revision: 31887
Felix Fietkau [Sun, 27 May 2012 14:43:58 +0000 (14:43 +0000)]
kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers
SVN-Revision: 31886
Jonas Gorski [Sun, 27 May 2012 13:22:51 +0000 (13:22 +0000)]
bcm63xx: build images for DSL-274XB revision F1
Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.
Known issues:
* wifi led inverted (on when wifi is off and vice cersa)
* same issues as generic bcm6328 support
SVN-Revision: 31885
Jonas Gorski [Sun, 27 May 2012 13:22:48 +0000 (13:22 +0000)]
bcm63xx: add ath9k to atheros wifi profile
SVN-Revision: 31884
Jonas Gorski [Sun, 27 May 2012 13:22:46 +0000 (13:22 +0000)]
bcm63xx: enable bcm6328 support and required drivers
BCM6328 support is in a usable state, with the following issues
* internal switch port not configurable
* external phys not supported
* broadcom wifis will probably not work correctly
* and all other generic bcm63xx issues (so yes, still no ADSL)
SVN-Revision: 31883
Jonas Gorski [Sun, 27 May 2012 13:22:43 +0000 (13:22 +0000)]
bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
Jonas Gorski [Sun, 27 May 2012 13:22:40 +0000 (13:22 +0000)]
bcm63xx: fix port state after network down
bcm_enetsw_probe did not properly reset port states, resulting in
connected ports staying disabled after bringing up the interface the
second time.
SVN-Revision: 31881
Jonas Gorski [Sun, 27 May 2012 13:22:37 +0000 (13:22 +0000)]
bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
Jonas Gorski [Sun, 27 May 2012 13:22:33 +0000 (13:22 +0000)]
bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.
SVN-Revision: 31879
Jonas Gorski [Sun, 27 May 2012 13:22:29 +0000 (13:22 +0000)]
bcm63xx: add preliminary support for bcm6328
SVN-Revision: 31878
Jonas Gorski [Sun, 27 May 2012 13:22:25 +0000 (13:22 +0000)]
bcm63xx: add flash type detection
SVN-Revision: 31877
Jonas Gorski [Sun, 27 May 2012 13:22:22 +0000 (13:22 +0000)]
bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.
SVN-Revision: 31876
Jonas Gorski [Sun, 27 May 2012 13:22:19 +0000 (13:22 +0000)]
tools: imagetag: add parameter for padding images
Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.
SVN-Revision: 31875
Jonas Gorski [Sun, 27 May 2012 13:22:17 +0000 (13:22 +0000)]
bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
Jonas Gorski [Sun, 27 May 2012 13:22:14 +0000 (13:22 +0000)]
bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
Jonas Gorski [Sun, 27 May 2012 13:22:11 +0000 (13:22 +0000)]
bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
Jonas Gorski [Sun, 27 May 2012 13:22:08 +0000 (13:22 +0000)]
bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end.
SVN-Revision: 31871
Felix Fietkau [Sun, 27 May 2012 12:33:55 +0000 (12:33 +0000)]
kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment
SVN-Revision: 31870
Felix Fietkau [Sat, 26 May 2012 20:36:49 +0000 (20:36 +0000)]
netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
Felix Fietkau [Sat, 26 May 2012 20:15:28 +0000 (20:15 +0000)]
mac80211: backport a fix for single-queue drivers (fixes #11534)
SVN-Revision: 31862
Felix Fietkau [Sat, 26 May 2012 18:03:56 +0000 (18:03 +0000)]
ncurses: libncursesw should not depend on libncurses
SVN-Revision: 31861
Felix Fietkau [Sat, 26 May 2012 15:31:54 +0000 (15:31 +0000)]
ppp: add back ip-{up,down}.d support for now
SVN-Revision: 31860
Felix Fietkau [Sat, 26 May 2012 14:56:04 +0000 (14:56 +0000)]
mac80211: get rid of duplicate iw reg set command (thx, stintel)
SVN-Revision: 31859
Felix Fietkau [Fri, 25 May 2012 07:59:29 +0000 (07:59 +0000)]
netifd: update to latest version, fixes an endian issue in broadcast address handling
SVN-Revision: 31858
Felix Fietkau [Thu, 24 May 2012 18:45:01 +0000 (18:45 +0000)]
netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
SVN-Revision: 31857
Felix Fietkau [Thu, 24 May 2012 18:25:08 +0000 (18:25 +0000)]
kernel: fix a warning in the connmark module
SVN-Revision: 31856
Felix Fietkau [Thu, 24 May 2012 16:24:55 +0000 (16:24 +0000)]
netifd: bring up wifi at boot
SVN-Revision: 31855
Jo-Philipp Wich [Thu, 24 May 2012 09:17:27 +0000 (09:17 +0000)]
util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
SVN-Revision: 31854
Felix Fietkau [Wed, 23 May 2012 21:54:12 +0000 (21:54 +0000)]
base-files: kill ubusd and udhcpc on sysupgrade as well
SVN-Revision: 31852
Felix Fietkau [Wed, 23 May 2012 21:49:31 +0000 (21:49 +0000)]
base-files: allow sysupgrade to kill netifd, fixes pppd shutdown on upgrade
SVN-Revision: 31851
Felix Fietkau [Wed, 23 May 2012 21:49:28 +0000 (21:49 +0000)]
netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
SVN-Revision: 31850
Jo-Philipp Wich [Wed, 23 May 2012 21:26:20 +0000 (21:26 +0000)]
netifd: port r27720 (#9763) to the netifd ifup variant
SVN-Revision: 31849
Gabor Juhos [Wed, 23 May 2012 21:05:32 +0000 (21:05 +0000)]
kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
Gabor Juhos [Wed, 23 May 2012 21:05:30 +0000 (21:05 +0000)]
ar71xx: fix an insignificant typo
Patch from #11485.
SVN-Revision: 31847
Gabor Juhos [Wed, 23 May 2012 21:05:25 +0000 (21:05 +0000)]
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
Patch by Kamil TrzciĆski <ayufan@osk-net.pl>
SVN-Revision: 31846
Gabor Juhos [Wed, 23 May 2012 21:05:24 +0000 (21:05 +0000)]
ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 31845
Gabor Juhos [Wed, 23 May 2012 21:05:23 +0000 (21:05 +0000)]
ramips: Add byte queue limits support to net/ethernet/ramips_main.c
Add byte queue limits support to net/ethernet/ramips_main.c
"Byte queue limits are a mechanism to limit the size of the transmit
hardware queue on a NIC by number of bytes. The goal of these byte
limits is too reduce latency (HOL blocking) caused by excessive
queuing in hardware (aka buffer bloat) without sacrificing
throughput."
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31844
Gabor Juhos [Wed, 23 May 2012 21:05:22 +0000 (21:05 +0000)]
ramips: Enable sysupgrade for Sitecom WL-351
Sysupgrade works just fine on my Sitecom WL-351 after adding this
oneliner.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 31843
Gabor Juhos [Wed, 23 May 2012 21:05:20 +0000 (21:05 +0000)]
package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
SVN-Revision: 31842
Gabor Juhos [Wed, 23 May 2012 21:05:19 +0000 (21:05 +0000)]
linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
Should fix #11513. Tested with the x86/generic squashfs image within a VM.
SVN-Revision: 31841
Felix Fietkau [Wed, 23 May 2012 20:38:45 +0000 (20:38 +0000)]
netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
SVN-Revision: 31840
Felix Fietkau [Sun, 20 May 2012 21:58:03 +0000 (21:58 +0000)]
lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
SVN-Revision: 31835
Felix Fietkau [Sun, 20 May 2012 21:57:58 +0000 (21:57 +0000)]
kernel: fix kmod-sched-core build for kernels without codel
SVN-Revision: 31834
Felix Fietkau [Sun, 20 May 2012 14:02:05 +0000 (14:02 +0000)]
pppd: add noipdefault option to /etc/ppp/options (fixes #11499)
SVN-Revision: 31831
Felix Fietkau [Sun, 20 May 2012 13:56:25 +0000 (13:56 +0000)]
netifd: update to latest version, fixes dns server issues (#11501)
SVN-Revision: 31830
Felix Fietkau [Sat, 19 May 2012 23:47:33 +0000 (23:47 +0000)]
netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
SVN-Revision: 31822
Jo-Philipp Wich [Sat, 19 May 2012 23:33:47 +0000 (23:33 +0000)]
kernel: fix packaging of act_connmark.ko (#11492)
SVN-Revision: 31821
Jo-Philipp Wich [Sat, 19 May 2012 21:00:14 +0000 (21:00 +0000)]
openssl: update to v1.0.1c (CVE-2012-2333)
SVN-Revision: 31819
Jo-Philipp Wich [Sat, 19 May 2012 20:17:57 +0000 (20:17 +0000)]
dnsmasq: bump package revision
SVN-Revision: 31817
Jo-Philipp Wich [Sat, 19 May 2012 20:17:56 +0000 (20:17 +0000)]
dnsmasq: allow forcing options
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.
This is useful for forcing options to be sent back to a client (even options it didn't ask for).
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 31816
Jo-Philipp Wich [Sat, 19 May 2012 20:17:54 +0000 (20:17 +0000)]
dnsmasq: add support for set: and tag: pairs
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.
For example:
config host
option name 'client'
option mac '00:01:02:03:04:05'
option ip '192.168.1.20'
option tag 'acme'
config tag acme
option force '1'
list dhcp_option 'option:router,192.168.1.253'
list dhcp_option 'option:domain-name,acme.com'
list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'
which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.
this causes the following config lines:
dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com
This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 31815
Jo-Philipp Wich [Sat, 19 May 2012 20:17:19 +0000 (20:17 +0000)]
dnsmasq: fix parsing of mx record options (#11365)
SVN-Revision: 31814
Felix Fietkau [Fri, 18 May 2012 22:12:15 +0000 (22:12 +0000)]
kernel: merge a net-next fq_codel backlog handling fix
SVN-Revision: 31813
Felix Fietkau [Fri, 18 May 2012 21:59:23 +0000 (21:59 +0000)]
netifd: update to latest version, fixes a crash on restart
SVN-Revision: 31812
Felix Fietkau [Fri, 18 May 2012 20:36:02 +0000 (20:36 +0000)]
ubus: update to latest version, fixes a socket race condition in the client library with uloop
SVN-Revision: 31811
Gabor Juhos [Fri, 18 May 2012 20:22:32 +0000 (20:22 +0000)]
omap24xx: add support for 3.3
Compile tested only.
SVN-Revision: 31810
Gabor Juhos [Fri, 18 May 2012 20:10:53 +0000 (20:10 +0000)]
cns3xxx: add support for 3.3
Compile tested only.
SVN-Revision: 31809
Gabor Juhos [Fri, 18 May 2012 20:10:51 +0000 (20:10 +0000)]
linux/2.6.39: R.I.P.
SVN-Revision: 31808
Gabor Juhos [Fri, 18 May 2012 20:10:48 +0000 (20:10 +0000)]
cns3xxx: sync kernel config
SVN-Revision: 31807
Gabor Juhos [Fri, 18 May 2012 20:10:46 +0000 (20:10 +0000)]
cns3xxx: remove 2.6.39 support
SVN-Revision: 31806
Gabor Juhos [Fri, 18 May 2012 20:10:44 +0000 (20:10 +0000)]
cns3xxx: switch to 3.1
Compile tested only.
SVN-Revision: 31805
Gabor Juhos [Fri, 18 May 2012 20:10:42 +0000 (20:10 +0000)]
x86: remove support for old kernels
SVN-Revision: 31804
Gabor Juhos [Fri, 18 May 2012 20:10:38 +0000 (20:10 +0000)]
x86: remove subtarget specific LINUX_VERSION overrides
SVN-Revision: 31803
Gabor Juhos [Fri, 18 May 2012 20:10:33 +0000 (20:10 +0000)]
x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.
SVN-Revision: 31802
Gabor Juhos [Fri, 18 May 2012 20:10:28 +0000 (20:10 +0000)]
package/ep80579-drivers: refresh patches
SVN-Revision: 31801
Felix Fietkau [Fri, 18 May 2012 19:03:35 +0000 (19:03 +0000)]
kernel: add et131x from packages/
SVN-Revision: 31792
Felix Fietkau [Fri, 18 May 2012 18:36:36 +0000 (18:36 +0000)]
kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
SVN-Revision: 31791
Hauke Mehrtens [Fri, 18 May 2012 16:04:10 +0000 (16:04 +0000)]
brcm47xx: fix nvram read out on devices with serial flash
detect nvram on Linksys E3200
SVN-Revision: 31790
Hauke Mehrtens [Fri, 18 May 2012 15:46:30 +0000 (15:46 +0000)]
brcm47xx: bcma: fix null pointer
SVN-Revision: 31789
Hauke Mehrtens [Fri, 18 May 2012 15:45:51 +0000 (15:45 +0000)]
brcm47xx: ssb: recognize ARM Cortex M3
SVN-Revision: 31788
Hauke Mehrtens [Fri, 18 May 2012 15:44:25 +0000 (15:44 +0000)]
brcm47xx: some fixes for the USB driver
SVN-Revision: 31787
Hauke Mehrtens [Fri, 18 May 2012 15:43:04 +0000 (15:43 +0000)]
mac80211: add brcmfmac driver
SVN-Revision: 31786
Gabor Juhos [Fri, 18 May 2012 09:59:22 +0000 (09:59 +0000)]
cobalt: remove 2.6.39 specific patches
SVN-Revision: 31785
Gabor Juhos [Fri, 18 May 2012 09:57:32 +0000 (09:57 +0000)]
x86/olpc: switch to 3.3
Compile tested only.
SVN-Revision: 31784
Gabor Juhos [Fri, 18 May 2012 09:57:29 +0000 (09:57 +0000)]
x86: image: select bootscript images by default for OLPC
SVN-Revision: 31783
Felix Fietkau [Thu, 17 May 2012 21:20:23 +0000 (21:20 +0000)]
adm5120: add missing config symbols for the rb1xx subtarget, fixes #11407
SVN-Revision: 31781
Felix Fietkau [Thu, 17 May 2012 20:19:43 +0000 (20:19 +0000)]
make: do a better job of sanitizing LD_LIBRARY_PATH (fixes #8069)
SVN-Revision: 31780