Commit Graph

470 Commits (7fb394b9ab8e45c85202fc211ee9cabc0f4540c7)

Author SHA1 Message Date
Gabor Juhos 34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
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 cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
12 years ago
Gabor Juhos 8e06682fb7 ramips: rt305x: extract wifi eeprom and use the 8M template for the UR-336UN
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31507
12 years ago
Jonas Gorski 8fd383ae2e kernel: update linux 3.3 to 3.3.3
SVN-Revision: 31460
12 years ago
Gabor Juhos 1ab80c7817 ramips: rt305x: add support for the UR-336UN board
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31451
12 years ago
Gabor Juhos 3626444c6d ramips: rt305x: add support for the Asus WL-330N3G board
This patch adds support for the ASUS WL-330N3G

Comparing to the WL-330N, It have 32MB ram, usb support and a bicolor led.

The bi-color led is driven by 2 gpio.
I don't know how to handle this, so I simply made 2 leds : one red, one blue.
But the red light takes precedence over the blue one according to the chart below.

r = led is red
b = led is blue
0 = led is off

xy= x->r for red, b for blue led, y->value of brightness in /sys/class/leds/x/brughtness

initial state	action	 led	gpio state

r0	b0	r0->r1	 r  	r0	b0
r0	b0	b0->b1   b	r0	b1

r1	b0	r1->r0	 0	r0	b0
r1	b0	b0->b1	 r	r1	*b1*

r1	b1	r1->r0   b	r0	b1
r1	b1	b1->b0   r	r1	b0

r0	b1	r0->r1   r	r1	*b1*
r0	b1	b1->b0   0	r0	r0

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31450
12 years ago
Gabor Juhos 5024ffb976 ramips: nuke 3.2 suport
SVN-Revision: 31405
12 years ago
Gabor Juhos 6c8ca78067 ramips: switch to 3.3.2
SVN-Revision: 31404
12 years ago
Gabor Juhos 5c325b0057 ramips: add support for 3.3
SVN-Revision: 31403
12 years ago
Gabor Juhos 7f902c962b ramips: rt305x: add OHCI/EHCI registration code for RT3352
SVN-Revision: 31402
12 years ago
Gabor Juhos 1645928135 ramips: rt305x: fix CPU clock detection on RT3352
SVN-Revision: 31401
12 years ago
Gabor Juhos fb69e28eaf ramips: rt305x: use different memory size setup for RT3352
SVN-Revision: 31400
12 years ago
Gabor Juhos 818aeba960 ramips: rt3883: add profile and build sysupgrade image for the RT-N56U
SVN-Revision: 31399
12 years ago
Gabor Juhos 6b677e1d22 ramips: add swconfig to the default package list
SVN-Revision: 31398
12 years ago
Gabor Juhos ced031a0b2 ramips: build initramfs image for the Fonera 2.0N
SVN-Revision: 31397
12 years ago
Gabor Juhos fc88a363c0 ramips: rt305x: add initial support for Tenda W306R V2.0
More device info at: http://wiki.openwrt.org/toh/tenda/w306r

Signed-off-by: David Pearce <David_18051985@hotmail.com.au>
[juhosg: fix checkpatch errors, remove kmod-phy and luci-ssl packages
from the profile, change broken GPIO number]

SVN-Revision: 31396
12 years ago
Gabor Juhos 88b5827c52 ramips: remove hardcoded console parameter from kernel configs
SVN-Revision: 31395
12 years ago
Jonas Gorski a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
12 years ago
Jonas Gorski 16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
12 years ago
Jonas Gorski d87efd8c3c kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158
12 years ago
Jo-Philipp Wich e9c4d3d1f2 ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@dabax.net> for the implementation
SVN-Revision: 31144
12 years ago
Gabor Juhos d495277d9f ramips: rt305x: build image for the DIR-615 rev D boards
Patch from #10105.

SVN-Revision: 31101
12 years ago
Gabor Juhos e4e24c5512 ramips: rt305x: add add support for the Asus WL-330N board
[juhosg: reorder several lines in order to keep things sorted
alphabetically]

Signed-off-by: Frédéric Leroy <fredo@starox.org>

SVN-Revision: 31100
12 years ago
Gabor Juhos c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
12 years ago
Gabor Juhos 18f7081e17 ramips: rt305x: add profile for the AZtech HW-5503G board
Patch from #11085.

SVN-Revision: 30907
12 years ago
Gabor Juhos 0f77d0b2ba ramips: add RT3350 detection
SVN-Revision: 30900
12 years ago
Gabor Juhos 05d3f559f5 ramips: rt305x: rewrite SoC detection
SVN-Revision: 30890
12 years ago
Gabor Juhos 8cf8ee8f9d ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
SVN-Revision: 30889
12 years ago
Gabor Juhos acb4ad86e5 ramips: replace RALINK_SOC_* macros with global variables
SVN-Revision: 30888
12 years ago
Gabor Juhos 8cff770eb3 ramips: introduce ramips_soc_prom_init and move SoC detection into that
SVN-Revision: 30887
12 years ago
Gabor Juhos 6c51c47962 ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
12 years ago
Gabor Juhos 4e15457e0e ramips: allow to use DSP ASE on RT3xxx
SVN-Revision: 30879
12 years ago
Gabor Juhos 0e486d2fd2 ramips: add support for unbranded XDX-RN502J board
This patch adds support for routers using a PCB marked XDX-RN502J
V2.0, such as some unbranded routers like this:

http://www.mediafire.com/?8acv87h6snn9fj6
http://www.mediafire.com/?do7xonw7scor4kn
http://www.mediafire.com/?1ad49zvx3e7jyix
http://www.mediafire.com/?i46cqiq66maa197

http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html

some reports also state the Aceex 22Y uses the same board.

more information can be found in the following openwrt forum post
https://forum.openwrt.org/viewtopic.php?id=34878

[juhosg: fix checkpatch warnings, use the GENERIC_4M template]

Signed-off-by: bruno schwander <bruno@tinkerbox.org>

SVN-Revision: 30809
12 years ago
Gabor Juhos 44c8b396f9 ramips: board support for Asus RT-N10+
[juhosg: fix indentation in platform scripts, and remove debug
messages from 06_set_iface_mac]

Signed-off-by: Patrick van Staveren <trick@vanstaveren.us>

SVN-Revision: 30808
12 years ago
Gabor Juhos 9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
12 years ago
Gabor Juhos 72599f0c61 ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
SVN-Revision: 30733
12 years ago
Gabor Juhos 100f76a010 ramips: raeth: add rx_info structure
This helps to reduce code size on RX path:

add/remove: 0/0 grow/shrink: 3/1 up/down: 68/-56 (12)
function                                     old     new   delta
ramips_eth_open                             1104    1144     +40
ramips_ring_free                             212     232     +20
ramips_eth_stop                              400     408      +8
ramips_eth_rx_hw                             648     592     -56

SVN-Revision: 30732
12 years ago
Gabor Juhos 32e7b1c7d9 ramips: raeth: add tx_info structure
This helps to reduce code size on TX path:

add/remove: 0/0 grow/shrink: 1/4 up/down: 56/-92 (-36)
function                                     old     new   delta
ramips_eth_open                             1048    1104     +56
ramips_eth_tx_housekeeping                   156     148      -8
ramips_ring_free                             224     212     -12
ramips_eth_stop                              420     400     -20
ramips_eth_hard_start_xmit                   480     428     -52

SVN-Revision: 30731
12 years ago
Gabor Juhos 30143b715c ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

SVN-Revision: 30713
12 years ago
Gabor Juhos 6990f66861 ramips: fix FONERA20N image generation
SVN-Revision: 30710
12 years ago
Gabor Juhos 9afeeae65e ramips: image: increase minimum kernel partition size to 896k
SVN-Revision: 30706
12 years ago
Gabor Juhos 7089b5213e ramips: image: cleanup and sort templates/profiles
SVN-Revision: 30705
12 years ago
Gabor Juhos c8718a220b ramips: image: use GENERIC_4M template for the ALL0256N board
SVN-Revision: 30704
12 years ago
Gabor Juhos 507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
12 years ago
Gabor Juhos 5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
12 years ago
Gabor Juhos 49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
12 years ago
Gabor Juhos 00e7277a4c ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
SVN-Revision: 30700
12 years ago
Gabor Juhos 554010d55b ramips: image: introduce mkcmdline helper
SVN-Revision: 30699
12 years ago