Commit graph

20605 commits

Author SHA1 Message Date
Gabor Juhos
a3d9877518 mpc83xx: fix MAC addresses on the RB333
SVN-Revision: 31588
2012-05-05 11:43:13 +00:00
Gabor Juhos
1a5a9c5dae mpc83xx: fix build warnings in RB333/600 dtb wrappers
SVN-Revision: 31587
2012-05-05 11:43:10 +00:00
Gabor Juhos
7ffa3fe02c linux/2.6.32: fix layer7 patch
SVN-Revision: 31586
2012-05-05 07:20:13 +00:00
Imre Kaloz
9a91dc9f71 upgrade to 3.3, enable framebuffer
SVN-Revision: 31576
2012-05-03 21:51:58 +00:00
Imre Kaloz
44631ef595 switch to the new linux-firmware git tree, use the new wl12xx firmware files
SVN-Revision: 31575
2012-05-03 21:50:41 +00:00
Jonas Gorski
b393464fb4 adm5120: add missing NULL terminator to partition parser list
Fixes #11372.

SVN-Revision: 31574
2012-05-03 21:03:50 +00:00
Hauke Mehrtens
22b2e3fbb9 brcm47xx: add support for kernel 3.3
SVN-Revision: 31573
2012-05-03 20:18:41 +00:00
Jo-Philipp Wich
8e9d914343 uhttpd: display errors in init script, code formatting changes, bump package version
SVN-Revision: 31572
2012-05-03 17:19:22 +00:00
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
2012-05-03 17:19:20 +00:00
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
2016-03-20 20:05:13 +01:00
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
2012-05-03 17:19:16 +00:00
Gabor Juhos
6e5db7ed69 package/pptp: remove a stray bracket
SVN-Revision: 31568
2012-05-03 13:29:36 +00:00
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
2012-05-03 09:43:10 +00:00
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
2012-05-03 09:39:01 +00:00
Gabor Juhos
97697c332f Add ppp-mod-pppol2tp subpackage to ppp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31564
2012-05-03 09:38:58 +00:00
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
2012-05-02 19:17:59 +00:00
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
2012-05-02 19:17:58 +00:00
Gabor Juhos
fb28062182 mpc83xx: remove 2.6.36 support
SVN-Revision: 31555
2012-05-02 18:27:26 +00:00
Gabor Juhos
3269924fed mpc83xx: switch to 3.3
SVN-Revision: 31554
2012-05-02 18:27:25 +00:00
Gabor Juhos
8ee595315d mpc83xx: add support for 3.3
SVN-Revision: 31553
2012-05-02 18:27:22 +00:00
Gabor Juhos
b4b5f2d018 linux/3.3: add more missing symbols
SVN-Revision: 31552
2012-05-02 18:27:19 +00:00
Florian Fainelli
e69d1b9940 openssl: update to 1.0.1b
SVN-Revision: 31551
2012-05-02 15:40:32 +00:00
Florian Fainelli
5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
2012-05-02 15:40:26 +00:00
Jo-Philipp Wich
643babfc3c ext-toolchain.sh: don't pass CFLAGS when wrapping ld
SVN-Revision: 31549
2012-05-01 22:45:55 +00:00
Gabor Juhos
7a2b3d8a55 linux/3.3: add more missing symbols
SVN-Revision: 31548
2012-05-01 08:00:26 +00:00
Gabor Juhos
70322ba3d1 move CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT to the target configs
SVN-Revision: 31547
2012-05-01 08:00:25 +00:00
Imre Kaloz
880de62f91 switch to 2.6.38
SVN-Revision: 31546
2012-05-01 07:00:17 +00:00
Felix Fietkau
7a8d12bafa relayd: move the interface fixup to the right place
SVN-Revision: 31545
2012-04-30 18:27:12 +00:00
Felix Fietkau
ea1d49fc90 relayd: use config_load+fixup_interface instead of scan_interfaces to speed up startup time
SVN-Revision: 31544
2012-04-30 18:24:00 +00:00
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
2012-04-30 18:23:56 +00:00
Felix Fietkau
8a790d9730 relayd: use an init script instead of a legacy network proto handler (fixes #11276)
SVN-Revision: 31542
2012-04-30 18:23:52 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Felix Fietkau
f8868fc87b ath9k: merge a ar93xx ht40 performance fix
SVN-Revision: 31540
2012-04-30 08:20:34 +00:00
Felix Fietkau
897abd824f mac80211: fix station lookup issues
SVN-Revision: 31539
2012-04-30 07:57:09 +00:00
Felix Fietkau
a85af68ad0 mac80211: load lib80211 after cfg80211 (#11342)
SVN-Revision: 31537
2012-04-29 21:00:17 +00:00
Gabor Juhos
e931ffd678 linux: rtl836x: add a generic reset_switch function
SVN-Revision: 31536
2012-04-29 18:29:31 +00:00
Gabor Juhos
1d9400263f linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
SVN-Revision: 31535
2012-04-29 18:29:29 +00:00
Gabor Juhos
badd7a3cf2 linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
SVN-Revision: 31534
2012-04-29 18:29:26 +00:00
Gabor Juhos
3e3a4d3d6b ar71xx: allow to disable link polling on unused PHYs
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos
a8d3109208 rb532: remove 2.6.35 support
The generic 2.6.35 support has been remove long time ago.

SVN-Revision: 31532
2012-04-29 16:56:07 +00:00
Gabor Juhos
532b74ff7b linux/3.3: refresh patches
SVN-Revision: 31531
2012-04-29 16:56:03 +00:00
Gabor Juhos
27a1f6652a rdc: add 3.3 support
SVN-Revision: 31530
2012-04-29 15:59:49 +00:00
Gabor Juhos
c59b60fa0b mpc85xx: add support for 3.3
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31529
2012-04-29 15:55:28 +00:00
Gabor Juhos
f687ca2296 orion: add 3.3 support
SVN-Revision: 31528
2012-04-29 15:20:40 +00:00
Gabor Juhos
923ebbac81 linux/3.3: yet another missing symbol
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31527
2012-04-29 15:08:24 +00:00
Gabor Juhos
5528e0b008 package/kernel: add module for the Pericom PT7C4338 RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31526
2012-04-29 15:08:23 +00:00
Gabor Juhos
55fdc18beb linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31525
2012-04-29 15:08:22 +00:00
Gabor Juhos
8c60f7825b package/kernel: add i2c module support for Freescale MPC processors
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31524
2012-04-29 15:08:21 +00:00
Gabor Juhos
f6d5998d31 mpc85xx: add kmod-booke-wdt to the default packages
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31523
2012-04-29 15:00:38 +00:00
Gabor Juhos
01a9103254 package/kernel: add module for the Booke watchdog
Based on a patch by Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 31522
2012-04-29 15:00:37 +00:00