1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 05:31:53 +02:00
Commit Graph

23478 Commits

Author SHA1 Message Date
nbd
bf5c5078be scons: override the platform instead of using the host one - fixes build issues on non-linux systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 21:02:35 +00:00
jow
1c2f381c4a [package] ubus: update to current git, package up libubus-lua
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 20:47:38 +00:00
nbd
65deb397fa tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:37:34 +00:00
juhosg
91b12f1c40 ar7: remove 2.6.37 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:43 +00:00
juhosg
7d657a9c91 ar7: switch to 3.3 and mark the target as broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:41 +00:00
juhosg
02fb20885e ar7: add 3.3 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:39 +00:00
juhosg
1ee5e640f0 ar7: fix kernel_entry extraction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:36 +00:00
juhosg
fa311cf846 package/ar7-atm: allow to build on 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:33 +00:00
juhosg
5cc2830e74 package/ar7-atm: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:32:29 +00:00
juhosg
0cff4f29f3 ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:41 +00:00
juhosg
07e4260b63 firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:38 +00:00
juhosg
7b820da93e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:35 +00:00
nbd
a0f95932f7 pptp: kill the call manager process on shutdown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:42 +00:00
nbd
66823c0d82 pptp: add netifd support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:28 +00:00
nbd
2945a6df4b pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:24 +00:00
nbd
2d0e7f4044 netifd: update to latest version, adds support for host route dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:20 +00:00
juhosg
1c9cad5dce ar71xx: update 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:56:35 +00:00
juhosg
c39d550e2f ar71xx: fix a typo in the db120 mach file
Reported-by: Sven Eckelmann <sven@narfation.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:56:30 +00:00
nbd
5b987c43d3 pptp: compile with the openwrt cflags instead of -O0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:06:33 +00:00
hauke
34b32d26b5 brcm47xx: update target to kernel 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 12:53:37 +00:00
juhosg
b914240da3 include/kernel-defaults: set V='' if c is not set in OPENWRT_VERBOSE
This fixes the following errors:

  CALL    arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer axpression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
arch/powerpc/kernel/prom_init_check.sh: line 39: [: ss: integer expression expected
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 12:48:35 +00:00
juhosg
a6a62009fb linux/2.6.32: R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:34 +00:00
juhosg
e3bebfe1fb rdc: remove 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:32 +00:00
juhosg
9ca85294f4 rdc: switch to 3.3 and mark the target as broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:30 +00:00
juhosg
7fa6105b4e rb532: remove 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:29 +00:00
juhosg
651eb17ddc rb532: switch to 3.3 and mark the target broken
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:26 +00:00
juhosg
dc1df9e044 rb532: add 3.3 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:23 +00:00
juhosg
321be1fc52 mpc83xx: remove broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:21 +00:00
juhosg
f3c883c98f mpc83xx: populate network config from an uci-default script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:19 +00:00
juhosg
109443b2af mpc83xx: cleanup rb333.dts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:16 +00:00
juhosg
d5816c8a83 mpc83xx: fix MAC addresses on the RB333
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:13 +00:00
juhosg
5dad28165e mpc83xx: fix build warnings in RB333/600 dtb wrappers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:10 +00:00
juhosg
796592856f linux/2.6.32: fix layer7 patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 07:20:13 +00:00
kaloz
73229f8d12 [omap4]: upgrade to 3.3, enable framebuffer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:51:58 +00:00
kaloz
8a940c0897 [mac80211]: switch to the new linux-firmware git tree, use the new wl12xx firmware files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:50:41 +00:00
jogo
4e31867a39 adm5120: add missing NULL terminator to partition parser list
Fixes #11372.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:03:50 +00:00
hauke
14f0acdc28 brcm47xx: add support for kernel 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 20:18:41 +00:00
jow
d0f3681e1e [package] uhttpd: display errors in init script, code formatting changes, bump package version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:22 +00:00
jow
37f687e099 uhttpd: added uhttpd.docroot
Passes the document-root to the Lua handler by placing it in uhttpd.docroot.

It could alternatively be placed in env.DOCUMENT_ROOT which would more closely
resemble the CGI protocol; but would mean that it is not available at the time
when the handler-chunk is loaded but rather not until the handler is called,
without any code savings.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:20 +00:00
jow
8329c6da4f Fixed: [PATCH 2/3] uhttpd URL-codec enhancements.
My apologies, the 2nd of those patches had a syntax error -- that's what
I get for making a last-minute edit, even to the comments, without
testing! :-p

Here is the corrected patch.

-- David

From d259cff104d2084455476b82e92a3a27524f4263 Mon Sep 17 00:00:00 2001
From: David Favro <openwrt@meta-dynamic.com>
Date: Fri, 27 Apr 2012 14:17:52 -0400
Subject: [PATCH] uhttpd URL-codec enhancements.

* uh_urlencode() and uh_urldecode() now return an error condition for
  buffer-overflow and malformed-encoding rather than normal return with corrupt
  or truncated data.  As HTTP request processing is currently implemented, this
  causes a 404 HTTP status returned to the client, while 400 is more
  appropriate.

* Exposed urlencode() to Lua.

* Lua's uhttpd.urlencode() and .urldecode() now raise an error condition for
  buffer-overflow and malformed-encoding rather than normal return with
  incorrect data.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:18 +00:00
jow
f6dc56506d uhttpd URL-codec bug fixes.
* Fixed output-buffer-overflow bug in uh_urlencode() and uh_urldecode() [tested
  input-buffer index against output-buffer length].  In reality, this would not
  typically cause an overflow on decode, where the output string would be
  expected to be shorter than the input string; and uh_urlencode() seems to have
  been unreferenced in the source.

* Fixed bug: uh_urlencode() and uh_urldecode() both read one extra byte from the
  input-string.  While this could manifest in C code, the result was most
  egregious when called from Lua, where it caused an extra null byte to be
  embedded at the end of the output string.

* uh_urlencode() cleanup: removed redundant bitwise-and.

Signed-off-by: David Favro <openwrt@meta-dynamic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 17:19:16 +00:00
juhosg
c257a78d55 package/pptp: remove a stray bracket
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 13:29:36 +00:00
juhosg
9d3fb21d4a Fix iptables abuse of kernel header files. Use exported headers instead.
[juhosg: export xt_layer7.h for all kernel versions]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
juhosg
fe8fbd1c05 Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:39:01 +00:00
juhosg
f34832554e Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:38:58 +00:00
juhosg
439a47e380 ramips: W306R V2.0 - GPIO and Network fixes
Fixed: GPIO typos and confirmed GPIO_BUTTON_RESET
Fixed: Lan & Wan reversed: swaped "eth0.2" with "eth0.1" by
       removing a line(default is correct), and reversed the
       Lan/wan layout LLLLW to WLLLL.

Added: image/Makefile now builds -factory.bin files. I am
       unsure of the accepted way to change the makefile but
       the name of the image needs to be 'linkn Kernel Image'
       in order to be accepted by the OEM firmware.

Known issue: eth0 (internal switch i think has mac address:
       00:11:22:33:44:55  but i think it should be same as
       the lan).
Known issue: Pressing the reset button has no noticable effect,
       i would expect the router to boot failsafe if being
       pressed on boot, reboot if short press and reset all
       to default if long press.

[juhosg: remove mtdlayout_W306R and use mtdlayout_4M instead]

Signed-off-by: David Pearce <david_18051985@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 19:17:59 +00:00
juhosg
1f249922ce ramips: Make serial console for DIR-300-B1 work again
Make serial console for DIR-300-B1 work again.

With some recent change, "console=ttyS1,57600" was removed from the
default kernel command line, this adds the necessary mkcmdline
incantation to image/Makefile to add it there for this target.
This is quite likely broken for other targets as well.

Without this the console switches to ttyS0 instead of ttyS1 and
kernel output is missing, and the userspace comes up with 9600 baud
instead of 57600.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 19:17:58 +00:00
juhosg
371f652cf1 mpc83xx: remove 2.6.36 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:26 +00:00
juhosg
d316e764cb mpc83xx: switch to 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:25 +00:00
juhosg
01415999cf mpc83xx: add support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:22 +00:00