Commit Graph

20359 Commits (136f69bd2a026a0f1cafc8a5d60515b65c34a37a)

Author SHA1 Message Date
Daniel Dickinson 136f69bd2a [brcm63xx] Add support for the RTA1320_16M board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 14:31:39 +00:00
Daniel Dickinson 7c6472a3db [brcm63xx] Generate images for RTA1320_16M-based routers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 14:31:36 +00:00
Daniel Dickinson b2ae50ed27 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
Daniel Dickinson 9c505aa1f6 x86: missing kernel symbols
Please include these two missing kernel CONFIG_ symbols.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 04:56:49 +00:00
Daniel Dickinson 2e51480498 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 04:51:05 +00:00
Felix Fietkau beab224685 uboot-ar71xx: remove a bogus dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:54:14 +00:00
Felix Fietkau c6a44c782d uboot-ar71xx: fix compile on mac os x (patch from #9124)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:54:08 +00:00
Felix Fietkau a2f3d92663 adm5120: fix promiscuous mode handling (patch from #8581)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:20:59 +00:00
Felix Fietkau 548b5b8921 ar71xx: enable the ip17xx PHY driver (fixes #5193, #8027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 23:51:12 +00:00
Felix Fietkau bdbe4f5bb3 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 23:22:21 +00:00
Felix Fietkau f02838ffb6 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 22:46:12 +00:00
Felix Fietkau 03e5f52576 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 16:52:09 +00:00
Alexandros C. Couloumbis eb9cdf6ae6 linux/adm5120: generate non-initramfs kernel images too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 09:59:13 +00:00
Alexandros C. Couloumbis 1788923d17 linux/adm5120: preliminary 2.6.38 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 16:47:26 +00:00
Alexandros C. Couloumbis 8f846b5f2e linux/adm5120: add 2.6.38 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 16:42:03 +00:00
Lars-Peter Clausen b56d5e27fa 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:37:40 +00:00
Alexandros C. Couloumbis c5d516084c package/hostapd: cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:36:48 +00:00
Jo-Philipp Wich 94920b0e8a [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:26:26 +00:00
Vasilis Tsiligiannis 95135046a5 [package] kernel/modules: Move zlib_deflate module to higher autoloading priority
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:48:28 +00:00
Vasilis Tsiligiannis 1955842185 [package] kernel/modules: Fix r26637
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis 9cff166db1 [package] kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:34:28 +00:00
Vasilis Tsiligiannis 1ed452a7de [package] kernel/modules: Add zlib package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:53 +00:00
Vasilis Tsiligiannis df83211e50 [package] kernel/modules: Add "Libraries" submenu and move library packages there
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:48 +00:00
Vasilis Tsiligiannis 2ae7995d99 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:30 +00:00
Jo-Philipp Wich 22a0024888 [include] silence error when package has no patches (patchwork 321)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 21:11:24 +00:00
Felix Fietkau be846d62fe ar71xx: replace the madwifi profile with an ath5k profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 21:10:45 +00:00
Jo-Philipp Wich af192f49ce [x86] gzip jffs2 images
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:48:47 +00:00
Jo-Philipp Wich 4c7ebaeff5 Enable padding of jffs2 images to user specified filesystem size
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:46:34 +00:00
Jo-Philipp Wich 42734ccc67 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.

--- Message Snippet ---
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory
make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1
make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files'
make[1]: *** [package/base-files/compile] Error 2
make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt'
make: *** [package/base-files/compile] Error 2
--- /Message Snippet/ ---

To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and
make ignores non-existing files as before.

Signed-off-by: Sven Bachmann <dev@mcbachmann.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:37:43 +00:00
Jo-Philipp Wich d136e7f693 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:33:11 +00:00
Jo-Philipp Wich 5cf0e4f471 missing-macros: add GTKDOC_REBASE macro needed by some newer packages
Signed-off-by: Jochen Friedrich <jochen@scram.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:19:52 +00:00
Jo-Philipp Wich b457e4cfc9 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:03:59 +00:00
Felix Fietkau 4423030e55 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 19:50:15 +00:00
Felix Fietkau 62100399e3 generic: Add support for 2.6.39
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 19:39:20 +00:00
Felix Fietkau 30e3b0f535 pppd: support the nomp option if multilink support is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 18:29:28 +00:00
Felix Fietkau f1f27abcc6 hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:30:16 +00:00
Felix Fietkau 8e6a4de873 mac80211: fix WPA auth on WDS station interfaces (#9227)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:17:56 +00:00
Hamish Guthrie d824020e25 [uboot-omap35xx] Modify environment variables for altered filesystem layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 14:24:20 +00:00
Hamish Guthrie e42bcaa50e [omap35xx] Change partition table layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 14:16:32 +00:00
Gabor Juhos 1a56f54c77 ar71xx: fix build error w/o CONFIG_PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 13:14:56 +00:00
Gabor Juhos 29f15e70ca ar71xx: don't hardcode console parameters in kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 13:14:53 +00:00
Gabor Juhos bd945197b2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:23 +00:00
Gabor Juhos 1fa235abdc ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:21 +00:00
Gabor Juhos ab95218312 package/kernel: add module for the gpio_keys_polled driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:14 +00:00
Gabor Juhos fa7cdb26c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:10 +00:00
Gabor Juhos 6c38894393 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:07 +00:00
Jo-Philipp Wich 4db6664002 [package] opkg: update to r618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 22:08:43 +00:00
Gabor Juhos 08862255f8 generic: add support for the MX25L1606E SPI flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:13 +00:00
Gabor Juhos 6f6bb8acd1 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:08 +00:00
Gabor Juhos f529b06394 ar71xx: fix AR934X_WMAC_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 17:37:03 +00:00