Commit Graph

20461 Commits (7fb394b9ab8e45c85202fc211ee9cabc0f4540c7)
 

Author SHA1 Message Date
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
Gabor Juhos fb28062182 mpc83xx: remove 2.6.36 support
SVN-Revision: 31555
12 years ago
Gabor Juhos 3269924fed mpc83xx: switch to 3.3
SVN-Revision: 31554
12 years ago
Gabor Juhos 8ee595315d mpc83xx: add support for 3.3
SVN-Revision: 31553
12 years ago
Gabor Juhos b4b5f2d018 linux/3.3: add more missing symbols
SVN-Revision: 31552
12 years ago
Florian Fainelli e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
12 years ago
Florian Fainelli 5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
12 years ago
Jo-Philipp Wich 643babfc3c ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
12 years ago
Gabor Juhos 7a2b3d8a55 linux/3.3: add more missing symbols
SVN-Revision: 31548
12 years ago
Gabor Juhos 70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
12 years ago
Imre Kaloz 880de62f91 switch to 2.6.38
SVN-Revision: 31546
12 years ago
Felix Fietkau 7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
12 years ago
Felix Fietkau ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
12 years ago
Felix Fietkau 4ea86b956c base-files-network: add a fixup_interface function like with the netifd compatibility scripts - allows selective fixup of individual interface sections instead of having to do the full scan_interfaces
SVN-Revision: 31543
12 years ago
Felix Fietkau 8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
12 years ago
Gabor Juhos cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
12 years ago
Felix Fietkau f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
12 years ago
Felix Fietkau 897abd824f mac80211: fix station lookup issues
SVN-Revision: 31539
12 years ago
Felix Fietkau a85af68ad0 mac80211: load lib80211 after cfg80211 (#11342)
SVN-Revision: 31537
12 years ago
Gabor Juhos e931ffd678 linux: rtl836x: add a generic reset_switch function
SVN-Revision: 31536
12 years ago
Gabor Juhos 1d9400263f linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
SVN-Revision: 31535
12 years ago
Gabor Juhos badd7a3cf2 linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
SVN-Revision: 31534
12 years ago
Gabor Juhos 3e3a4d3d6b ar71xx: allow to disable link polling on unused PHYs
SVN-Revision: 31533
12 years ago
Gabor Juhos a8d3109208 rb532: remove 2.6.35 support
The generic 2.6.35 support has been remove long time ago.

SVN-Revision: 31532
12 years ago
Gabor Juhos 532b74ff7b linux/3.3: refresh patches
SVN-Revision: 31531
12 years ago
Gabor Juhos 27a1f6652a rdc: add 3.3 support
SVN-Revision: 31530
12 years ago
Gabor Juhos c59b60fa0b mpc85xx: add support for 3.3
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31529
12 years ago
Gabor Juhos f687ca2296 orion: add 3.3 support
SVN-Revision: 31528
12 years ago