Commit graph

472 commits

Author SHA1 Message Date
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +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
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
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
2012-04-29 07:36:33 +00:00
Jonas Gorski
8fd383ae2e kernel: update linux 3.3 to 3.3.3
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Gabor Juhos
1ab80c7817 ramips: rt305x: add support for the UR-336UN board
Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

SVN-Revision: 31451
2012-04-23 16:56:06 +00:00
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
2012-04-23 16:56:05 +00:00
Gabor Juhos
5024ffb976 ramips: nuke 3.2 suport
SVN-Revision: 31405
2012-04-21 12:30:53 +00:00
Gabor Juhos
6c8ca78067 ramips: switch to 3.3.2
SVN-Revision: 31404
2012-04-21 12:30:51 +00:00
Gabor Juhos
5c325b0057 ramips: add support for 3.3
SVN-Revision: 31403
2012-04-21 12:30:50 +00:00
Gabor Juhos
7f902c962b ramips: rt305x: add OHCI/EHCI registration code for RT3352
SVN-Revision: 31402
2012-04-21 12:30:48 +00:00
Gabor Juhos
1645928135 ramips: rt305x: fix CPU clock detection on RT3352
SVN-Revision: 31401
2012-04-21 12:30:47 +00:00
Gabor Juhos
fb69e28eaf ramips: rt305x: use different memory size setup for RT3352
SVN-Revision: 31400
2012-04-21 12:30:45 +00:00
Gabor Juhos
818aeba960 ramips: rt3883: add profile and build sysupgrade image for the RT-N56U
SVN-Revision: 31399
2012-04-21 12:30:44 +00:00
Gabor Juhos
6b677e1d22 ramips: add swconfig to the default package list
SVN-Revision: 31398
2012-04-21 12:30:43 +00:00
Gabor Juhos
ced031a0b2 ramips: build initramfs image for the Fonera 2.0N
SVN-Revision: 31397
2012-04-21 12:30:42 +00:00
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
2012-04-21 12:30:40 +00:00
Gabor Juhos
88b5827c52 ramips: remove hardcoded console parameter from kernel configs
SVN-Revision: 31395
2012-04-21 12:30:30 +00:00
Jonas Gorski
a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
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
2012-04-01 07:56:55 +00:00
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
2012-03-29 16:03:04 +00:00
Gabor Juhos
d495277d9f ramips: rt305x: build image for the DIR-615 rev D boards
Patch from #10105.

SVN-Revision: 31101
2012-03-27 19:29:59 +00:00
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
2012-03-27 19:29:57 +00:00
Gabor Juhos
c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos
18f7081e17 ramips: rt305x: add profile for the AZtech HW-5503G board
Patch from #11085.

SVN-Revision: 30907
2012-03-12 17:29:06 +00:00
Gabor Juhos
0f77d0b2ba ramips: add RT3350 detection
SVN-Revision: 30900
2012-03-12 16:12:13 +00:00
Gabor Juhos
05d3f559f5 ramips: rt305x: rewrite SoC detection
SVN-Revision: 30890
2012-03-11 19:05:59 +00:00
Gabor Juhos
8cf8ee8f9d ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
SVN-Revision: 30889
2012-03-11 19:05:57 +00:00
Gabor Juhos
acb4ad86e5 ramips: replace RALINK_SOC_* macros with global variables
SVN-Revision: 30888
2012-03-11 19:05:56 +00:00
Gabor Juhos
8cff770eb3 ramips: introduce ramips_soc_prom_init and move SoC detection into that
SVN-Revision: 30887
2012-03-11 19:05:53 +00:00
Gabor Juhos
6c51c47962 ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
2012-03-11 16:39:31 +00:00
Gabor Juhos
4e15457e0e ramips: allow to use DSP ASE on RT3xxx
SVN-Revision: 30879
2012-03-11 16:39:26 +00:00
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
2012-03-04 16:09:13 +00:00
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
2012-03-04 16:09:11 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos
72599f0c61 ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
SVN-Revision: 30733
2012-02-26 10:54:13 +00:00
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
2012-02-26 10:54:12 +00:00
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
2012-02-26 10:54:10 +00:00
Gabor Juhos
30143b715c ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

SVN-Revision: 30713
2012-02-25 11:59:19 +00:00
Gabor Juhos
6990f66861 ramips: fix FONERA20N image generation
SVN-Revision: 30710
2012-02-24 16:18:46 +00:00
Gabor Juhos
9afeeae65e ramips: image: increase minimum kernel partition size to 896k
SVN-Revision: 30706
2012-02-23 19:58:16 +00:00
Gabor Juhos
7089b5213e ramips: image: cleanup and sort templates/profiles
SVN-Revision: 30705
2012-02-23 19:58:15 +00:00
Gabor Juhos
c8718a220b ramips: image: use GENERIC_4M template for the ALL0256N board
SVN-Revision: 30704
2012-02-23 19:58:14 +00:00
Gabor Juhos
507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
2012-02-23 19:58:12 +00:00
Gabor Juhos
5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
2012-02-23 19:58:11 +00:00
Gabor Juhos
49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
2012-02-23 19:58:10 +00:00