1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-20 02:12:52 +02:00
Commit Graph

20342 Commits

Author SHA1 Message Date
jow
b60d349367 [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
acinonyx
d8c0075ae0 [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
acinonyx
fc053a7950 [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
acinonyx
f906018069 [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
acinonyx
4c7ffb7407 [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
acinonyx
79d6834581 [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
acinonyx
b1d946d11b [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
jow
b42464ede0 [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
nbd
c39d45cf13 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
jow
5ddbb2c4a0 [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
jow
a752384ffa 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
jow
cd427d04f0 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
jow
691f0d412e 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
jow
b518284fa1 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
jow
0874d00715 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
nbd
ac6a544e6c 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
nbd
cb86f32419 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
nbd
562ffbf7a2 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
nbd
9587f988b7 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
nbd
bc3305d88e 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
hcg
0d06c28835 [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
hcg
7d62872f94 [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
juhosg
b5cfb56ed4 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
juhosg
73318c1013 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
juhosg
62e17b4436 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
juhosg
ec1dcc5bda 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
juhosg
4faaed949e 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
juhosg
b47906964d 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
juhosg
c67c0978c5 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
jow
98dca62fa1 [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
juhosg
e557904236 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
juhosg
2be7aaf5c2 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
juhosg
613a88e6a5 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
jow
cf191d929d [buildroot] rules.mk: properly populate $(LIBGCC_S) for external toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 16:06:46 +00:00
jow
4bfeacbc85 [include] autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 14:18:55 +00:00
nbd
c9b08ba104 atheros: use ath5k instead of madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:58 +00:00
nbd
77871f6bf5 ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:08 +00:00
nbd
e6093b5ed0 ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:03 +00:00
nbd
4922b700b0 atheros: remove bogus wlan device mask checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:25:59 +00:00
jow
e57549e01f [include] cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on which instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 02:11:11 +00:00
nbd
9ad628c924 ath5k: fix mac address detection on dual-radio ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:05 +00:00
nbd
749f647dd9 ath5k: fix 2ghz-only radio handling on ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:00 +00:00
florian
ae4e9c301f [au1000] drop 005-au1000_phy_addr.patch, upstream is fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 18:25:56 +00:00
nbd
7558f8fda5 ath5k: decrease interrupt load for rx/tx interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:39 +00:00
nbd
e280b4d411 ath5k: clean up debugfs code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:34 +00:00
nbd
e8ca765410 ath5k: fix config options for debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:28 +00:00
hauke
126a87196c amazon: Upgrade amazon target to kernel 2.6.37
This was just a little bit tested on an SAMSUNG SMT-G3020 and pci and usb do not work like before.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 15:08:28 +00:00
hauke
b722ce28af kernel: do not build gpiolib into the kernel
fix for r26570.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 10:28:30 +00:00
hauke
8471c58257 mac80211: fix compile with older kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:51:30 +00:00
hauke
8ebdef0e75 acx-mac80211 needs some header files from compat-wireless to build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:44:03 +00:00