Commit Graph

17628 Commits

Author SHA1 Message Date
Daniel Dickinson
0d722113b9 Generate images for RTA1320_16M-based routers
SVN-Revision: 26681
2011-04-15 14:31:36 +00:00
Daniel Dickinson
f83c5938d2 bcm63xx: Move the OpenWrt rootfs length field
Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26680
2011-04-15 12:18:25 +00:00
Daniel Dickinson
ff1bc5c29d x86: missing kernel symbols
Please include these two missing kernel CONFIG_ symbols.

SVN-Revision: 26679
2011-04-15 04:56:49 +00:00
Daniel Dickinson
4021469e4a geos: Add PC speaker to kernel definitions
Add the PC speaker back to the Geos platform.

Add DMI support in BIOS.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26678
2011-04-15 04:51:05 +00:00
Felix Fietkau
1b18a439e6 uboot-ar71xx: remove a bogus dependency
SVN-Revision: 26677
2011-04-15 00:54:14 +00:00
Felix Fietkau
6397aeb8b1 uboot-ar71xx: fix compile on mac os x (patch from #9124)
SVN-Revision: 26676
2011-04-15 00:54:08 +00:00
Felix Fietkau
e6350dee82 adm5120: fix promiscuous mode handling (patch from #8581)
SVN-Revision: 26673
2011-04-15 00:20:59 +00:00
Felix Fietkau
cddc775ee8 ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027)
SVN-Revision: 26670
2011-04-14 23:51:12 +00:00
Felix Fietkau
39fc0fc2f7 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
SVN-Revision: 26668
2011-04-14 23:22:21 +00:00
Felix Fietkau
e0aa62e3c2 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
SVN-Revision: 26665
2011-04-14 22:46:12 +00:00
Felix Fietkau
79ecac89e6 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
SVN-Revision: 26662
2011-04-14 16:52:09 +00:00
Alexandros C. Couloumbis
05e533ba4d linux/adm5120: generate non-initramfs kernel images too
SVN-Revision: 26657
2011-04-14 09:59:13 +00:00
Alexandros C. Couloumbis
da323cc470 linux/adm5120: preliminary 2.6.38 config options
SVN-Revision: 26648
2011-04-13 16:47:26 +00:00
Alexandros C. Couloumbis
54d4dc56c5 linux/adm5120: add 2.6.38 preliminary support
SVN-Revision: 26647
2011-04-13 16:42:03 +00:00
Lars-Peter Clausen
8ba2d8098a kernel: revert r24160 (remove the bogus ext2/ext3 dependency on linux 2.6.30/31)
For kernel versions newer then 2.6.31 the ext4 module can be used to mount
ext2/3 filesystems.
Building ext2/3 as modules on the other hand breaks using ext4 for mounting ext2
or ext3, which breaks booting from ext2/3 on machines where the ext4 module is
built into the kernel.

SVN-Revision: 26645
2011-04-13 13:37:40 +00:00
Alexandros C. Couloumbis
9ec445154e package/hostapd: cosmetic fix
SVN-Revision: 26644
2011-04-13 13:36:48 +00:00
Jo-Philipp Wich
2702ba56f0 ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
SVN-Revision: 26642
2011-04-13 13:26:26 +00:00
Vasilis Tsiligiannis
372cefb114 kernel/modules: Move zlib_deflate module to higher autoloading priority
SVN-Revision: 26639
2011-04-12 23:48:28 +00:00
Vasilis Tsiligiannis
41cc2d3a52 kernel/modules: Fix r26637
SVN-Revision: 26638
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis
d7197ec50b kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
SVN-Revision: 26637
2011-04-12 23:34:28 +00:00
Vasilis Tsiligiannis
4f6f0cbe38 kernel/modules: Add zlib package
SVN-Revision: 26636
2011-04-12 23:18:53 +00:00
Vasilis Tsiligiannis
0a0b8c621c kernel/modules: Add "Libraries" submenu and move library packages there
SVN-Revision: 26635
2011-04-12 23:18:48 +00:00
Vasilis Tsiligiannis
627438d0ff kernel/modules: fix kmod-fs-btrfs deps / zlib_deflate / makefile
btrfs needs zlib_deflate, which was built but not included

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 26632
2011-04-12 23:18:30 +00:00
Jo-Philipp Wich
149341faf1 silence error when package has no patches (patchwork 321)
SVN-Revision: 26627
2011-04-12 21:11:24 +00:00
Felix Fietkau
92bd56fea1 ar71xx: replace the madwifi profile with an ath5k profile
SVN-Revision: 26626
2011-04-12 21:10:45 +00:00
Jo-Philipp Wich
76bfcee5ea gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26625
2011-04-12 20:48:47 +00:00
Jo-Philipp Wich
d1f053d7ef Enable padding of jffs2 images to user specified filesystem size Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26624
2011-04-12 20:46:34 +00:00
Jo-Philipp Wich
2f6361832e base-files: return success on lib-copying with external toolchain when using an external toolchain the base-files package copies libc, libgcc and others from the library directory.
The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"

Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.

Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.
2011-04-12 20:37:43 +00:00
Jo-Philipp Wich
9646ca6c6e This patch updates qos-scripts to support fair traffic sharing using the SFQ with external classifiers method. It also corrects a bug in the unsupported ESFQ method already used by qos-scripts. (ESFQ: http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to an SFQ patch after that and not updated since 2008)
A class can be forced to use SFQ, and an external classifier added like
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts
starts.

I've got more information here:
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>

SVN-Revision: 26622
2011-04-12 20:33:11 +00:00
Jo-Philipp Wich
b32797cc55 missing-macros: add GTKDOC_REBASE macro needed by some newer packages Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26620
2011-04-12 20:19:52 +00:00
Jo-Philipp Wich
a9977eca91 firewall: allow local redirection of ports
Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26617
2011-04-12 20:03:59 +00:00
Felix Fietkau
0959467583 solos: various upstreamed solos patches
These patches were submitted to netdev and will likely be out in 2.6.38.3.
In the meantime, they're needed in 2.6.37.6.
Patch by Philip Prindeville

SVN-Revision: 26616
2011-04-12 19:50:15 +00:00
Felix Fietkau
127e4ebd32 generic: Add support for 2.6.39
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

SVN-Revision: 26615
2011-04-12 19:39:20 +00:00
Felix Fietkau
512bb389ee pppd: support the nomp option if multilink support is disabled
SVN-Revision: 26614
2011-04-12 18:29:28 +00:00
Felix Fietkau
768877966d hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
SVN-Revision: 26611
2011-04-12 17:30:16 +00:00
Felix Fietkau
966dee23c3 mac80211: fix WPA auth on WDS station interfaces (#9227)
SVN-Revision: 26609
2011-04-12 17:17:56 +00:00
Hamish Guthrie
6f497711cf Modify environment variables for altered filesystem layout
SVN-Revision: 26608
2011-04-12 14:24:20 +00:00
Hamish Guthrie
f4f4ace363 Change partition table layout
SVN-Revision: 26607
2011-04-12 14:16:32 +00:00
Gabor Juhos
fa9f45f345 ar71xx: fix build error w/o CONFIG_PCI
SVN-Revision: 26606
2011-04-12 13:14:56 +00:00
Gabor Juhos
adb6217471 ar71xx: don't hardcode console parameters in kernel config
SVN-Revision: 26605
2011-04-12 13:14:53 +00:00
Gabor Juhos
5ffdddc75e mac80211: ath9k: register id table for platform device
Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26604
2011-04-12 09:29:23 +00:00
Gabor Juhos
e193547733 ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
Gabor Juhos
98d3aa13f4 package/kernel: add module for the gpio_keys_polled driver
SVN-Revision: 26602
2011-04-12 09:29:14 +00:00
Gabor Juhos
54ede24829 ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Gabor Juhos
f358166236 generic: rtl8366{s,rb}: remove the PHY driver.
Since the PHY driver is only used for the WAN port and there is virtually
no difference between it and the generic PHY driver, we can sefely remove
it.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26600
2011-04-12 09:29:07 +00:00
Jo-Philipp Wich
37f7e8afdc opkg: update to r618
SVN-Revision: 26598
2011-04-11 22:08:43 +00:00
Gabor Juhos
e28b459b21 generic: add support for the MX25L1606E SPI flash
SVN-Revision: 26596
2011-04-11 17:37:13 +00:00
Gabor Juhos
ef4c1d49a6 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
SVN-Revision: 26595
2011-04-11 17:37:08 +00:00
Gabor Juhos
4711dea8ff ar71xx: fix AR934X_WMAC_SIZE
SVN-Revision: 26594
2011-04-11 17:37:03 +00:00
Jo-Philipp Wich
a66b496001 rules.mk: properly populate $(LIBGCC_S) for external toolchains
SVN-Revision: 26593
2011-04-11 16:06:46 +00:00