Commit Graph

10752 Commits (40228ded560306da72e96f8d71af116da45e4bdb)

Author SHA1 Message Date
Gabor Juhos e7341be124 mpc85xx: fix dts name for P1010RDB
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:49:52 +00:00
Gabor Juhos b3efac5ca4 linux/3.6: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:30:18 +00:00
Gabor Juhos a9808c556c linux/3.6: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:30:15 +00:00
Gabor Juhos 62585e412c mpc85xx: remove broken flag
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:54 +00:00
Gabor Juhos d7a49cda24 mpc85xx: build fdt file for the PB1010RDB board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:51 +00:00
Gabor Juhos b37b51759f mpc85xx: enable PB1010RDB support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:49 +00:00
Gabor Juhos bc3c201b2d mpc85xx: image: fix building of multiple dtb files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:47 +00:00
Gabor Juhos 5110cd848c linux/3.3: disable crashlog on PPC
It causes NULL pointer dereference:

[    0.638235] __ioremap(): phys addr 0x7f00000 is RAM lr c025d61c
[    0.644090] Unable to handle kernel paging request for data at address 0x00000000
[    0.651533] Faulting instruction address: 0xc025d620
[    0.656483] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.661856] P1010 RDB
[    0.664113] Modules linked in:
[    0.667152] NIP: c025d620 LR: c025d61c CTR: c000dc38
[    0.672101] REGS: c7831ef0 TRAP: 0300   Not tainted  (3.3.8)
[    0.677740] MSR: 00029000 <CE,EE,ME>  CR: 42022082  XER: 20000000
[    0.683817] DEAR: 00000000, ESR: 00000000
[    0.687811] TASK = c782c000[1] 'swapper' THREAD: c7830000
[    0.693017] GPR00: a1ee0000 c7831fa0 c782c000 00000000 0000214c ffffffff c7831ea6 0001ffff
[    0.701350] GPR08: c03697cc c035fba0 c03697cc c0360000 42022022 00000000 00000000 00000000
[    0.709682] GPR16: c0000a00 00000014 3fffffff 00ffa000 00000015 07fc42bc c0360000 00000000
[    0.718015] GPR24: 00000000 00000000 00001680 c0360000 00000000 c025d5e8 c0390000 c038b824
[    0.726535] NIP [c025d620] crashlog_init_fs+0x38/0xd8
[    0.731560] LR [c025d61c] crashlog_init_fs+0x34/0xd8
[    0.736503] Call Trace:
[    0.738939] [c7831fa0] [c025d61c] crashlog_init_fs+0x34/0xd8 (unreliable)
[    0.745712] [c7831fb0] [c0001e98] do_one_initcall+0xd4/0x198
[    0.751357] [c7831fe0] [c02537f4] kernel_init+0x9c/0x120
[    0.756647] [c7831ff0] [c000c2dc] kernel_thread+0x4c/0x68
[    0.762022] Instruction dump:
[    0.764975] 3860fff4 bfc10008 3fc0c039 90010014 3bfeb824 801f0004 2f800000 41be00a0
[    0.772699] 7c030378 38804000 4bdb38cd 3c00a1ee <81630000> 6000dead 7c691b78 907eb824

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:44 +00:00
Gabor Juhos 7812da82f6 refresh kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:40 +00:00
Gabor Juhos 5097903af5 ar71xx: sysupgrade - fix OpenMesh MR600 total flash size
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:54 +00:00
Gabor Juhos ad997fedac ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:47 +00:00
Gabor Juhos d1e5422c3e ar71xx: add user-space support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:45 +00:00
Gabor Juhos b144a405e5 ar71xx: add kernel support for the OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:42 +00:00
Gabor Juhos 6fcc5334ce ar71xx: remove unused OpenMesh MR600 led definitions
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:39 +00:00
Gabor Juhos 69cef1be4d ar71xx: remove unused OpenMesh MR6000 platform code
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:37 +00:00
Gabor Juhos 17b86ba3fe ar71xx: build image for the TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:34 +00:00
Gabor Juhos dbe317a045 ar71xx: add user-space support for TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:32 +00:00
Gabor Juhos f4df386361 ar71xx: add kernel support for the TL-WDR3500 board
WDR3500 is similar to WDR3600 except it doesn't have gigabit ethernet,
and has only 1 USB port.

Pending issues:

  * Leds are not working at all (except power and wlan_5g)
  * LAN switch ethernet ports are reversed with respect to case label.

  [Label] -> soft device
  [LAN1] -> eth0.4
  [LAN2] -> eth0.3
  [LAN3] -> eth0.2
  [LAN4] -> eth0.1

Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:29 +00:00
Jonas Gorski 94169118a2 bcm63xx: replace kmod-switch with swconfig in default package set
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-30 00:19:21 +00:00
Gabor Juhos 1a3ad8d937 ar71xx: add profile and build image for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:50:57 +00:00
Gabor Juhos 4d15f58b77 ar71xx: add user space support for dir-825-c1
[juhosg: fix whitespaces in some scripts]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:50:54 +00:00
Gabor Juhos e184f957b2 ar71xx: add kernel support for dir-825-c1
[juhosg:
 - remove unused GPIO stuff
 - use a separate kernel patch for machine integration]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:50:50 +00:00
Gabor Juhos 9fdab3e8ae generic: fix default compression selection in ubifs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 21:32:22 +00:00
Gabor Juhos d818117882 ar71xx: add profile and generate images for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:34 +00:00
Gabor Juhos a2c56296d7 ar71xx: add user-space support for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:32 +00:00
Gabor Juhos 3b89a20bc7 ar71xx: add kernel support for Atheros AP132 Reference Board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:30 +00:00
Gabor Juhos 8ba4c7ce6e ar71xx: fix ethernet device registration for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:28 +00:00
Gabor Juhos caffade41b ar71xx: add kernel support for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:26 +00:00
Gabor Juhos 251015ecee ar71xx: enable fast flash read on dual-flash devices
This improves flash read speed on various Buffalo units.

mtd_speedtest results on the WZR-HP-AG300H:

                          old         new        delta
eraseblock read speed:  726 KiB/s   2068 KiB/s   +184.85%
page read speed:        699 KiB/s   1973 KiB/s   +182.26%
2 page read speed:      711 KiB/s   2043 KiB/s   +187.34%

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:25 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
John Crispin 020ed6284b [kernel] fix mtd_mp25p80_add_gd25q32_gd25q64.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 11:06:57 +00:00
Florian Fainelli 9140ba77f8 [generic] Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit.

The patch was added to "linux/generic/patches-3.6" instead of
"target/linux/generic/patches-3.6".
I also fixed a missing patch space and refreshed generic patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:46:11 +00:00
Gabor Juhos 13a89e3e82 generic: fix build failure in MIPS kexec code if SMP is enabled
Fix it for older kernels as well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:44:58 +00:00
Gabor Juhos 680983b95c ar71xx: add TP-LINK WA-801ND to run-time model detection
A small cosmetic fix to show the HW model name correctly in LuCI.

Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:40:29 +00:00
Gabor Juhos 6c88e0f174 generic: fix build failure in MIPS kexec code if SMP is enabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:40:23 +00:00
John Crispin 7866042160 [ramips] fix for non-blinking LAN LEDs
https://dev.openwrt.org/ticket/12830

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 18:06:31 +00:00
John Crispin a26376e1bf [lantiq] dont load gptu on ase
fixes #12792

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:46:07 +00:00
John Crispin e2bc9a837c ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:41 +00:00
John Crispin d9ec668adb [lantiq] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:20 +00:00
John Crispin 1c3c233117 [lantiq] Fix ARV7518 USB
This patch correctly fixes USB on Lantiq ARV7518.
There was a failed attempt on fixing this on r35077 (https://dev.openwrt.org/changeset/35077/).

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:35 +00:00
John Crispin 33fa22f868 [lantiq] Add ath9k eeprom and pci fixup support
Add ath9k eeprom and pci fixup support (again) for linux 3.7.

On linux 3.3, the fixup forced the regdomain to 0x67, causing low TX power.
This patch only corrects checksum, the rest of the EEPROM isn't changed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:25 +00:00
John Crispin b2873fb2ed [lantiq] Add support for ARV4518PW R01 and rename R01A.
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.

This fixes: https://dev.openwrt.org/ticket/12884

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:42:59 +00:00
Felix Fietkau dea091cae9 kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 23:23:39 +00:00
Hauke Mehrtens 298c890900 brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:48:28 +00:00
Hauke Mehrtens 2fe7bc5108 kernel: b53: the b53 spi driver depends on spi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:39:53 +00:00
Hauke Mehrtens fd67078b59 kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:18:52 +00:00
Felix Fietkau e5a9aebefa netfilter: add support for flushing conntrack via /proc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 19:02:38 +00:00
Felix Fietkau fb725311a7 kernel: clean up crypto kconfig options on 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:49:09 +00:00
Hauke Mehrtens 16d7ea5f38 kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:48:48 +00:00
Felix Fietkau a35962e3b7 kernel: clean up crypto related kconfig options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Felix Fietkau 11bf268fbc ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:38:27 +00:00
Felix Fietkau 5bd3baeb9c kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run
Reduces kernel size after LZMA by about 5k on MIPS

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:21:08 +00:00
Hauke Mehrtens 230e8f294f brcm47xx: create image for Netgear WNDR3400 V1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:38 +00:00
Hauke Mehrtens 9a541435bb brcm47xx: add initial board detection code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:34:00 +00:00
Hauke Mehrtens 534f49b05c brcm47xx: add gpio to irq function again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 20:33:23 +00:00
Felix Fietkau 081d10c739 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:13 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Florian Fainelli e2a507a144 kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:52 +00:00
Florian Fainelli 02fd592851 mvebu: update to 3.8-rc4
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:46 +00:00
Hauke Mehrtens 0751e95e38 kernel: add missing config options for 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:48:15 +00:00
Hauke Mehrtens 25ebb1738f brcm47xx: change generic profiles
The default profile now contains Ethernet drivers for all the types 
found on supported boards. There are other profiles for each Ethernet 
driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:38:10 +00:00
Felix Fietkau 2646983496 kernel: remove the cisco sip phone patch for 3.7 and 3.8 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:31:38 +00:00
Felix Fietkau 97fed15ad2 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:29:25 +00:00
Jonas Gorski a72a8da790 bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:40 +00:00
Jonas Gorski 9cd6b274ba bcm63xx: expose the internal switch to b53
Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:37 +00:00
Jonas Gorski 793f269e52 generic: add b53 swconfig switch driver
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.

Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:33 +00:00
Jonas Gorski 4257876e46 bcm63xx: move bcm63xx-spi into the kernel
The SPI driver is needed for supporting to boot from SPI flash on BCM6358
and BCM6368, and for SPI connected switches.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:13 +00:00
Felix Fietkau 317f27c62f kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 19:14:37 +00:00
Gabor Juhos c2aebc74ad ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.

[juhosg: use the GENERIC_4M template]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:07 +00:00
Gabor Juhos f788f62828 ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:06 +00:00
Gabor Juhos aa18b01e2e ramips: add kernel support for the Tenda 3G300M
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.

Factory image should be used to flash from original firmware.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:03 +00:00
Gabor Juhos ad8cf9b39e ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.

Compile-tested, the generated files inspected with "file" utility.

[juhosg:
 - keep the factory.bin images to avoid users confusion,
 - use GENERIC_4M template for the W306R V2.0
 - update commit log]

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:13 +00:00
Gabor Juhos 12980972df ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:11 +00:00
Gabor Juhos 473bbcc2c2 ramips: do not stop the build if some targets fail
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 08:51:45 +00:00
Jonas Gorski aecebbaed2 generic: rtl8366_smi: only assign pvid if no pvid was set yet
Only assign a pvid if the current pvid is 0. Fixes using mixed tagged
and untagged traffic on a port and the untagged vlan isn't the last one
of which the port is a member.

Tested on RTL8366S and RTL8367R.

Fixes #8501.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 15:19:11 +00:00
Jo-Philipp Wich d8c155dfc9 all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:42:53 +00:00
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Florian Fainelli b0355d4aa8 mvebu: enable PCI in kernel configuration
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:26 +00:00
Florian Fainelli 973e3f5a68 mvebu: enable PCIe on Marvell Armada 370 Reference Design
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:22 +00:00
Florian Fainelli 0122099b35 mvebu: enable USB on Armada 370 Reference Design
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:18 +00:00
Florian Fainelli 005e0ee7c9 mvebu: add preliminary support for PCI express
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:29:13 +00:00
Florian Fainelli 4d55ef2877 mvebu: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:58 +00:00
Florian Fainelli 92dec549ce kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:53 +00:00
Florian Fainelli 4c18be1a8f mvebu: add board detection scripts
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:48 +00:00
Florian Fainelli 3728c0c73d mvebu: enable /proc/devicetree usage
This is going to be used for proper user-space board identification (ala
mcs814x).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:37 +00:00
Florian Fainelli ef16616768 mvebu: add default profile
Such that relevant kernel modules are selected (USB, I2C, SATA, RTC,
SDIO)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:33 +00:00
Jo-Philipp Wich 29f2452461 x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults (#12821)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 15:46:26 +00:00
Gabor Juhos a96196039f generic: add EHCI|OHCI platform driver fix to 3.[36]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 13:54:14 +00:00
Felix Fietkau 812eea0ebe ramips: enable BR6425N in kernel config
Though originally contained in the patch applied in r35020, the move to 3.7 in
r34845 lost the kernel .config option. Reintroduce it to config-3.7.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 09:39:44 +00:00
Florian Fainelli 45e44da6c2 mvebu: add support for EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:50 +00:00
Florian Fainelli 6bb129dcc2 mvebu: add support for the Marvell Armada 370 Reference Design board
Keep the patches in sync with the upstream developments.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:40 +00:00
Florian Fainelli 8f583da9df mvebu: enable SMP with SMP on UP enabled
The same kernel works ok for both Armada 370 (UP) and Armada XP (SMP)

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:31 +00:00
Florian Fainelli 6a09e327fe mvebu: add support for RTC
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-15 19:55:19 +00:00
Felix Fietkau f9e957c809 kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 18:55:36 +00:00
Gabor Juhos e789d6289a generic: remove EHCI platform driver fix from 3.8
It is not needed on 3.8.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:53:55 +00:00
Gabor Juhos 766ba6e58a generic: add EHCI|OHCI platform driver fix from the cns21xx target
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:47:23 +00:00
Florian Fainelli bf21e3818d target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:34:25 +00:00
Felix Fietkau 34ae8d8c46 kernel: add a config option for keeping the kallsyms table uncompressed, saving ~9kb kernel size after lzma on ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:08:18 +00:00
Felix Fietkau cc1bb7b034 ar71xx: fix unaligned access in cls_u32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 16:48:23 +00:00
Felix Fietkau e83e1f9ebe ar71xx: fix unaligned access in a few more places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 15:37:58 +00:00