Commit graph

8349 commits

Author SHA1 Message Date
Gabor Juhos
1f1fd8616f pxa: switch to 3.3 and mark it as broken
It is working in qemu, but it has not been tested on real hardware.

SVN-Revision: 31642
2012-05-07 17:40:09 +00:00
Gabor Juhos
b284c0e804 pxa: add support for 3.3
SVN-Revision: 31641
2012-05-07 17:40:06 +00:00
Jo-Philipp Wich
1a01559520 atheros: Fix compilation
With our recent switch to the 3.3 kernel target, some headers were
occidentally omitted.

Signed-off-by: Jonathan Bither <jonbither@gmail.com>

SVN-Revision: 31640
2012-05-07 17:06:39 +00:00
Jonas Gorski
b218b15709 bcm63xx: fix a race between PCI bus scan and fallback sprom registration
The fallback sprom handler was installed too late, resulting in ssb
failing to get a valid sprom on some devices.

Fixes #11384.

SVN-Revision: 31638
2012-05-06 21:25:34 +00:00
Felix Fietkau
0ff3c396d3 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
SVN-Revision: 31637
2012-05-06 21:19:14 +00:00
Hauke Mehrtens
d30f8da466 brcm47xx: add gpio_request_one()
This fixes a compile error with kernel 3.3.

SVN-Revision: 31635
2012-05-06 20:44:37 +00:00
Felix Fietkau
7799c88aa4 atheros: clean up the patches some more
SVN-Revision: 31626
2012-05-06 17:15:00 +00:00
Felix Fietkau
9b20187ad5 atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
SVN-Revision: 31625
2012-05-06 17:08:30 +00:00
Jonas Gorski
30362b90af AR7: don't mark as broken
Linux 3.3.4 boots fine on my AR7 device.

SVN-Revision: 31623
2012-05-06 14:04:19 +00:00
Gabor Juhos
28e897845f ar7: remove 2.6.37 support
SVN-Revision: 31617
2012-05-05 17:32:43 +00:00
Gabor Juhos
047a51c4fd ar7: switch to 3.3 and mark the target as broken
SVN-Revision: 31616
2012-05-05 17:32:41 +00:00
Gabor Juhos
dd884a6b73 ar7: add 3.3 support
SVN-Revision: 31615
2012-05-05 17:32:39 +00:00
Gabor Juhos
e85a44f11b ar7: fix kernel_entry extraction
SVN-Revision: 31614
2012-05-05 17:32:36 +00:00
Gabor Juhos
9486904079 ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31610
2012-05-05 17:02:41 +00:00
Gabor Juhos
ab897ab04e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31608
2012-05-05 17:02:35 +00:00
Gabor Juhos
56f2e08537 ar71xx: update 3.3 patches
SVN-Revision: 31602
2012-05-05 13:56:35 +00:00
Gabor Juhos
8fffc6d6df ar71xx: fix a typo in the db120 mach file
Reported-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 31601
2012-05-05 13:56:30 +00:00
Hauke Mehrtens
8c352ff853 brcm47xx: update target to kernel 3.3
SVN-Revision: 31599
2012-05-05 12:53:37 +00:00
Gabor Juhos
2e3f8c480e linux/2.6.32: R.I.P.
SVN-Revision: 31597
2012-05-05 11:43:34 +00:00
Gabor Juhos
e005aed223 rdc: remove 2.6.32 support
SVN-Revision: 31596
2012-05-05 11:43:32 +00:00
Gabor Juhos
0e086cfaf7 rdc: switch to 3.3 and mark the target as broken
SVN-Revision: 31595
2012-05-05 11:43:30 +00:00
Gabor Juhos
787b253859 rb532: remove 2.6.32 support
SVN-Revision: 31594
2012-05-05 11:43:29 +00:00
Gabor Juhos
63a532a472 rb532: switch to 3.3 and mark the target broken
SVN-Revision: 31593
2012-05-05 11:43:26 +00:00
Gabor Juhos
b120e7f22a rb532: add 3.3 support
SVN-Revision: 31592
2012-05-05 11:43:23 +00:00
Gabor Juhos
6caa1aab10 mpc83xx: remove broken flag
SVN-Revision: 31591
2012-05-05 11:43:21 +00:00
Gabor Juhos
257a201b56 mpc83xx: populate network config from an uci-default script
SVN-Revision: 31590
2012-05-05 11:43:19 +00:00
Gabor Juhos
13ce8f8a77 mpc83xx: cleanup rb333.dts
SVN-Revision: 31589
2012-05-05 11:43:16 +00:00
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
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
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
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