Commit Graph

20438 Commits (9a34f9d01e04ae80e1eba30deaf7fc8382d01706)
 

Author SHA1 Message Date
Jo-Philipp Wich 9a34f9d01e scons: fix compatibility with python 3, upstream still does not support it...
SVN-Revision: 31624
12 years ago
Jonas Gorski 30362b90af AR7: don't mark as broken
Linux 3.3.4 boots fine on my AR7 device.

SVN-Revision: 31623
12 years ago
Felix Fietkau ffa7a3ac35 ubus: update to latest version, add LUAPATH to cmake options - fixes #11398
SVN-Revision: 31622
12 years ago
Felix Fietkau 352d081266 scons: override the platform instead of using the host one - fixes build issues on non-linux systems
SVN-Revision: 31620
12 years ago
Jo-Philipp Wich 7dc263ddaa ubus: update to current git, package up libubus-lua
SVN-Revision: 31619
12 years ago
Felix Fietkau f479efbdf4 tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

SVN-Revision: 31618
12 years ago
Gabor Juhos 28e897845f ar7: remove 2.6.37 support
SVN-Revision: 31617
12 years ago
Gabor Juhos 047a51c4fd ar7: switch to 3.3 and mark the target as broken
SVN-Revision: 31616
12 years ago
Gabor Juhos dd884a6b73 ar7: add 3.3 support
SVN-Revision: 31615
12 years ago
Gabor Juhos e85a44f11b ar7: fix kernel_entry extraction
SVN-Revision: 31614
12 years ago
Gabor Juhos 71dc2715a9 package/ar7-atm: allow to build on 3.3
SVN-Revision: 31613
12 years ago
Gabor Juhos 1e041ba72a package/ar7-atm: refresh patches
SVN-Revision: 31612
12 years ago
Gabor Juhos 9486904079 ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31610
12 years ago
Gabor Juhos de7324674a firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31609
12 years ago
Gabor Juhos ab897ab04e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31608
12 years ago
Felix Fietkau 73383c252e pptp: kill the call manager process on shutdown
SVN-Revision: 31606
12 years ago
Felix Fietkau 3225530e1e pptp: add netifd support
SVN-Revision: 31605
12 years ago
Felix Fietkau b76a1b49aa pptp: remove the defaultroute option from options.pptp, this is managed by generic ppp code
SVN-Revision: 31604
12 years ago
Felix Fietkau 50edcbde35 netifd: update to latest version, adds support for host route dependencies
SVN-Revision: 31603
12 years ago
Gabor Juhos 56f2e08537 ar71xx: update 3.3 patches
SVN-Revision: 31602
12 years ago
Gabor Juhos 8fffc6d6df ar71xx: fix a typo in the db120 mach file
Reported-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 31601
12 years ago
Felix Fietkau 7591ffded8 pptp: compile with the openwrt cflags instead of -O0
SVN-Revision: 31600
12 years ago
Hauke Mehrtens 8c352ff853 brcm47xx: update target to kernel 3.3
SVN-Revision: 31599
12 years ago
Gabor Juhos 622146a518 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

SVN-Revision: 31598
12 years ago
Gabor Juhos 2e3f8c480e linux/2.6.32: R.I.P.
SVN-Revision: 31597
12 years ago
Gabor Juhos e005aed223 rdc: remove 2.6.32 support
SVN-Revision: 31596
12 years ago
Gabor Juhos 0e086cfaf7 rdc: switch to 3.3 and mark the target as broken
SVN-Revision: 31595
12 years ago
Gabor Juhos 787b253859 rb532: remove 2.6.32 support
SVN-Revision: 31594
12 years ago
Gabor Juhos 63a532a472 rb532: switch to 3.3 and mark the target broken
SVN-Revision: 31593
12 years ago
Gabor Juhos b120e7f22a rb532: add 3.3 support
SVN-Revision: 31592
12 years ago
Gabor Juhos 6caa1aab10 mpc83xx: remove broken flag
SVN-Revision: 31591
12 years ago
Gabor Juhos 257a201b56 mpc83xx: populate network config from an uci-default script
SVN-Revision: 31590
12 years ago
Gabor Juhos 13ce8f8a77 mpc83xx: cleanup rb333.dts
SVN-Revision: 31589
12 years ago
Gabor Juhos a3d9877518 mpc83xx: fix MAC addresses on the RB333
SVN-Revision: 31588
12 years ago
Gabor Juhos 1a5a9c5dae mpc83xx: fix build warnings in RB333/600 dtb wrappers
SVN-Revision: 31587
12 years ago
Gabor Juhos 7ffa3fe02c linux/2.6.32: fix layer7 patch
SVN-Revision: 31586
12 years ago
Imre Kaloz 9a91dc9f71 upgrade to 3.3, enable framebuffer
SVN-Revision: 31576
12 years ago
Imre Kaloz 44631ef595 switch to the new linux-firmware git tree, use the new wl12xx firmware files
SVN-Revision: 31575
12 years ago
Jonas Gorski b393464fb4 adm5120: add missing NULL terminator to partition parser list
Fixes #11372.

SVN-Revision: 31574
12 years ago
Hauke Mehrtens 22b2e3fbb9 brcm47xx: add support for kernel 3.3
SVN-Revision: 31573
12 years ago
Jo-Philipp Wich 8e9d914343 uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
12 years ago
Jo-Philipp Wich 54b34ccbc5 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>

SVN-Revision: 31571
12 years ago
Jo-Philipp Wich bcd8d530d1 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.

SVN-Revision: 31570
8 years ago
Jo-Philipp Wich 2bfb1e012a 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>

SVN-Revision: 31569
12 years ago
Gabor Juhos 6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
12 years ago
Gabor Juhos 3349cf2691 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>

SVN-Revision: 31566
12 years ago
Gabor Juhos 60db046ef2 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>

SVN-Revision: 31565
12 years ago
Gabor Juhos 97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
12 years ago
Gabor Juhos b0449ccf04 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>

SVN-Revision: 31557
12 years ago
Gabor Juhos 90e99b9fe8 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>

SVN-Revision: 31556
12 years ago