Commit graph

8315 commits

Author SHA1 Message Date
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
5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
2012-05-02 15:40:26 +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
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
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
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
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
296086868a mpc85xx: don't override CONFIG_WATHCDOG
SVN-Revision: 31521
2012-04-29 15:00:36 +00:00
Gabor Juhos
77735b5930 linux: move CONFIG_BOOKE_WDT to the generic config
SVN-Revision: 31520
2012-04-29 15:00:34 +00:00
Gabor Juhos
4fa9cf6c33 linux/2.6.36: R.I.P.
SVN-Revision: 31519
2012-04-29 15:00:33 +00:00
Gabor Juhos
3bc2afc384 linux: add broken flag to targets which are using 2.6.36
SVN-Revision: 31518
2012-04-29 15:00:32 +00:00
Gabor Juhos
417185b33c adm5120: create a new subtarget for the RB1xx devices
SVN-Revision: 31513
2012-04-29 07:36:46 +00:00
Gabor Juhos
7925eea45f adm5120: share a common kernel config between the subtargets
SVN-Revision: 31512
2012-04-29 07:36:44 +00:00
Gabor Juhos
e96d52d198 adm5120: merge 3.3 patches
SVN-Revision: 31511
2012-04-29 07:36:43 +00:00
Gabor Juhos
19be4923e0 adm5120: remove 2.6.32 support
SVN-Revision: 31510
2012-04-29 07:36:37 +00:00
Gabor Juhos
aa48f1326b adm5120: switch to 3.3.3
SVN-Revision: 31509
2012-04-29 07:36:36 +00:00
Gabor Juhos
a1a0f67748 adm5120: fix macronix bootloc patch
SVN-Revision: 31508
2012-04-29 07:36:35 +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
Gabor Juhos
1a0ef04231 adm8668: merge 3.3 fixes
SVN-Revision: 31497
2012-04-28 10:41:43 +00:00
Gabor Juhos
87ae19eaa3 adm8668: nuke 2.6.36 support
SVN-Revision: 31496
2012-04-28 10:39:47 +00:00
Gabor Juhos
9a7e9e76a3 adm8668: switch to 3.3
SVN-Revision: 31495
2012-04-28 10:38:53 +00:00
Florian Fainelli
e047cf1899 switch to gpio-keys-polled
SVN-Revision: 31491
2012-04-27 16:44:48 +00:00
Gabor Juhos
af2b3518af linux/3.3: yet another missing symbol
SVN-Revision: 31488
2012-04-27 06:31:43 +00:00
Felix Fietkau
34ffb526a2 build: rework verbosity level selection
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:

- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)

SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Hauke Mehrtens
d7b7b99d6e brcm47xx: BCMA - Modified PCI CFG space access
The existing code (prior to the patch) does an "ioremap_nocache" on a
subset of a memory region that I think has already been mapped, and then
un-maps that smaller region when it is finished.

Thanks Nathan Hintz for the patch

SVN-Revision: 31481
2012-04-25 20:32:17 +00:00
Gabor Juhos
d8c7ac8a8a adm8668: add support for 3.3
SVN-Revision: 31480
2012-04-25 18:53:49 +00:00
Gabor Juhos
7f09ba740a adm8668: build gzip compressed uImage for testing
SVN-Revision: 31479
2012-04-25 18:53:48 +00:00
Gabor Juhos
15d641eee1 adm8668: use a suffix for initramfs images
SVN-Revision: 31478
2012-04-25 18:53:46 +00:00
Gabor Juhos
a447f1810c ar71xx: enable MIB counters in the built-in switch of the AR934x
SVN-Revision: 31476
2012-04-25 13:02:11 +00:00
Gabor Juhos
cad1fa359d adm5120: remove 2.6.38 support
SVN-Revision: 31475
2012-04-25 12:57:35 +00:00
Gabor Juhos
671361c7ea adm5120: add 3.3 support
Partially based on the 3.1 patches by Hartmut Knaack <knaack.h [at] gmx.de>

SVN-Revision: 31474
2012-04-25 12:57:33 +00:00
Gabor Juhos
43d67fa995 linux/3.3: fix compiler warnings in the plat_nand driver
SVN-Revision: 31473
2012-04-25 12:57:29 +00:00
Gabor Juhos
4319d95842 adm5120: make 5GXi depends on CPU_LITTLE_ENDIAN
SVN-Revision: 31472
2012-04-25 12:57:26 +00:00
Hauke Mehrtens
e90d3f1663 brcm47xx: A couple of other (inconsequential) BCMA patches
Noticed these while reviewing the code.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 31471
2012-04-24 21:56:42 +00:00
Hauke Mehrtens
b07998cf11 brcm47xx: b44 fix workaround detection on some brcm47xx boards
Because of api change of nvram_getenv, the workaround failed to detect the hardware.

Based on patch by b.sander

Fixes #11268.

SVN-Revision: 31470
2012-04-24 20:35:46 +00:00
Jonas Gorski
8a38c62c07 bcm63xx: drop linux 3.2 support
SVN-Revision: 31464
2012-04-24 11:49:27 +00:00
Jonas Gorski
77219290e1 bcm63xx: drop linux 3.0 support
SVN-Revision: 31463
2012-04-24 11:49:24 +00:00
Jonas Gorski
49de6c1714 bcm63xx: switch kernel to 3.3
SVN-Revision: 31462
2012-04-24 11:49:19 +00:00
Gabor Juhos
59b0c1b2b9 ar71xx: TL-WR741NDv4: add WLAN LED config
On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 31461
2012-04-24 11:38:44 +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
Jonas Gorski
22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Jonas Gorski
7ccf25f7da kernel: add some more missing kernel config symbols
SVN-Revision: 31458
2012-04-24 09:25:32 +00:00
Jo-Philipp Wich
ed957f7c84 enable NF_CONNTRACK_PROCFS for Linux 3.3, required for /proc/net/nf_conntrack (#11339)
SVN-Revision: 31454
2012-04-24 00:55:57 +00:00
Gabor Juhos
4b6833b176 x86: restore config-default, it is needed for 2.6.39
Reported-by: Thomas Heil <heil@terminal-consulting.de>

SVN-Revision: 31452
2012-04-23 16:56:08 +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
Florian Fainelli
34f4f4a0c5 switch to 3.3
SVN-Revision: 31448
2012-04-23 12:33:30 +00:00
Florian Fainelli
9e054eb21a add support for 3.3
SVN-Revision: 31447
2012-04-23 12:33:27 +00:00
Florian Fainelli
460ef32930 switch to 3.3.2
SVN-Revision: 31446
2012-04-23 12:33:24 +00:00
Florian Fainelli
5eeee1f80e add 3.3 support
SVN-Revision: 31445
2012-04-23 12:33:19 +00:00
John Crispin
d4f3677cba Adding wifi eeprom extract for ARV752DPW - Easybox 802
Signed-off-by: Christian Rustmeier <rustmeier a.t. gmail dotty com>

SVN-Revision: 31443
2012-04-23 09:40:37 +00:00
Felix Fietkau
dcd185c2f8 ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
SVN-Revision: 31441
2012-04-22 19:19:49 +00:00
Claudio Mignanti
858a50b41c flexibity: Cleanup the subtarget config
SVN-Revision: 31440
2012-04-22 16:56:10 +00:00
Claudio Mignanti
6cd35fe3d3 tqma9263: update board definition for 3.x series and fix config choose
SVN-Revision: 31436
2012-04-22 09:09:53 +00:00
Claudio Mignanti
2852345af0 Remove old netus board definition
SVN-Revision: 31435
2012-04-22 09:09:50 +00:00
Gabor Juhos
755b97303e ep93xx: remove 2.6.39 support
SVN-Revision: 31434
2012-04-22 07:20:55 +00:00
Gabor Juhos
631bf82241 amazon: remove 2.6.3{0,2} support
SVN-Revision: 31433
2012-04-22 07:20:53 +00:00
Gabor Juhos
96b5d437d6 omap24xx: remove 2.6.38 support
SVN-Revision: 31426
2012-04-21 17:16:40 +00:00
Gabor Juhos
76448ed5cf xburst: remove 2.6.36 support
SVN-Revision: 31422
2012-04-21 17:03:10 +00:00
Gabor Juhos
0cdd676554 malta: remove 2.6.39 and 3.0 support
SVN-Revision: 31421
2012-04-21 16:56:15 +00:00
Gabor Juhos
0d148cb63b mpc83xx: remove 2.6.32 support
SVN-Revision: 31420
2012-04-21 16:51:59 +00:00
Gabor Juhos
884a4d47f0 octeon: remove 2.6.30 support
SVN-Revision: 31419
2012-04-21 16:45:32 +00:00
Gabor Juhos
26b3cdad1c cns3xxx: remove 2.6.31 support
SVN-Revision: 31418
2012-04-21 16:42:05 +00:00
Gabor Juhos
b2b965a696 au1000: remove 2.6.39 support
SVN-Revision: 31416
2012-04-21 16:30:40 +00:00
Gabor Juhos
f63d216467 x86: remove 2.6.32 support
SVN-Revision: 31415
2012-04-21 16:17:48 +00:00
Gabor Juhos
bc2a7bfa70 ixp4xx: remove 2.6.3{2,8} and 3.0 support
SVN-Revision: 31414
2012-04-21 16:17:46 +00:00
Gabor Juhos
50610aa869 linux/2.6.31: R.I.P.
SVN-Revision: 31412
2012-04-21 15:18:58 +00:00
Gabor Juhos
2e5d3d2795 linux/2.6.30: R.I.P.
SVN-Revision: 31411
2012-04-21 15:18:55 +00:00
Gabor Juhos
c6379f6295 linux: add broken flag to targets which are using 2.6.30
SVN-Revision: 31410
2012-04-21 15:18:54 +00:00
Gabor Juhos
c627479641 linux/3.3: nuke the gpio_buttons patch
It is superseded by the in-kernel gpio-keys-polled driver.

SVN-Revision: 31409
2012-04-21 14:26:35 +00:00
Gabor Juhos
2d91cb94ac mpc52xx: nuke 3.2 config
SVN-Revision: 31408
2012-04-21 12:36:47 +00:00
Gabor Juhos
0a83f90e21 mpc52xx: switch to 3.3.2
SVN-Revision: 31407
2012-04-21 12:36:45 +00:00
Gabor Juhos
e904724726 mpc52xx: add kernel config for 3.3
SVN-Revision: 31406
2012-04-21 12:36:44 +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