1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 05:28:55 +03:00
Commit Graph

10217 Commits

Author SHA1 Message Date
juhosg
a7bf55a712 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-24 18:45:56 +00:00
nbd
476060c78a x86: avoid using grub prepare when using grub2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:59:56 +00:00
nbd
9fab9ffb98 x86-generic: enable a few more common kernel options/drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 23:29:20 +00:00
nbd
02074f1f37 kernel: increase log buffer size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 23:10:42 +00:00
nbd
5e6024e9f9 x86: enable usb storage support for the generic subtarget to support booting from usb devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 21:15:59 +00:00
nbd
e2b0f224fb x86: add support for building grub2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:42 +00:00
nbd
e3c123c82b x86: split generic image building into a separate script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:35 +00:00
nbd
ea979190c1 x86: rename gen_image_x86.sh to gen_image_grub.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:31 +00:00
nbd
cc4fec07c7 cns3xxx: fix ethernet driver tx completion and queue stop/start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:53 +00:00
nbd
ddbfaa46f7 cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:49 +00:00
kaloz
e3342242df [cns3xxx]: move gpio stuff into the right file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:40:04 +00:00
kaloz
053d207b3c [generic/3.3]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:38:16 +00:00
nbd
42b2ad0d3b cns3xxx: add a small optimization for rx offload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:12 +00:00
nbd
9097df315e cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:08 +00:00
nbd
1a638ea9ad cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:18 +00:00
nbd
6c383cf512 kernel: enable perf events when enabling profiling, fixes oprofile on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:14 +00:00
hauke
beb93dd4a3 [brcm47xx]: deactivate mips wait instruction for MIPS 74K on Broadcom SoCs
When not removing support for the wait instruction, when ruining on the 
BCM4706 SoC the system stops after msleep() without an exception. I 
haven't seen this problem on the other Broadcom SoCs with a 74K CPU, 
but in the Broadcom SDK it is deactivated for all CPUs of this type.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 14:51:57 +00:00
nbd
7abd95f8ec cns3xxx: remove the broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:25 +00:00
nbd
2f58535c56 cns3xxx: fix kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:22 +00:00
nbd
bae52cf056 cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:18 +00:00
nbd
c206ff5a5d cns3xxx: fix ethernet tx checksum offload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:15 +00:00
nbd
7cb76ea6ab cns3xxx: merge ethernet driver changes from gateworks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:12 +00:00
nbd
2a134ef25a cns3xxx: build images for the old boot loader and the new one (default to the new one)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:09 +00:00
nbd
d6c5497a48 cns3xxx: fix the ethernet driver makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:06 +00:00
nbd
d898c2926f cns3xxx: reorganize patches, fix pcie io space init order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:02 +00:00
nbd
21cd9bc80a cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:49:58 +00:00
nbd
77da9ae1d3 cns3xxx: add missing callbacks for the laguna machine support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:49:50 +00:00
florian
b385661768 brcm47xx/profiles/PS-1208MFG: remove reference to non-existing package
The package block-hotplug doesn't exist, refer to block-mount instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:33 +00:00
florian
5714253063 omap24xx/profiles/n810: remove reference to non-existing package
The package block-hotplug doesn't exist, removing reference to it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:30 +00:00
hauke
49bdd0278a [brcm47xx]: update fix-boot patch.
Do not change the code any more but use the kconfig options


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:18:36 +00:00
hauke
11e47465cc [brcm47xx]: update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:17:51 +00:00
juhosg
484998f83f ar71xx: fix a typo in TEW-637GRU image names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 14:32:25 +00:00
juhosg
0cfc5d05b3 ar71xx: revert DIR-825-B1 wholeflash image support.
It should be implemmented in a cleaner way.

This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 14:30:57 +00:00
florian
b079ac667f [realview] disable VFPv4 probing
This will make the kernel crash on systems using qemu < 1.1.0. Until fixed
disable VPFv4 capability probing.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 10:00:56 +00:00
florian
d68d56b155 [realview] partially revert r33403
The target CFLAGS were also accidentally changed

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 10:00:46 +00:00
juhosg
a384f7bf1b ar71xx: register the NAND flash controller device on DB120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:57 +00:00
juhosg
88d42e3e5a ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:55 +00:00
juhosg
52f5b88b84 ar71xx: ar934x_nfc: increase DMA retry count
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:54 +00:00
juhosg
5c9038f12e ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:53 +00:00
juhosg
56caae5b72 ar71xx: ar934x_nfc: fix RNDOUT operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:51 +00:00
juhosg
5cf642fa6f ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:50 +00:00
cshore
4e7d8aa302 [ar71xx] dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 14:17:12 +00:00
nbd
6cd281447f ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 11:17:29 +00:00
nbd
9d164b87ca ar71xx: fix WP543 image builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 10:21:21 +00:00
blogic
8d4ebc34f0 D-Link DAP-1350; Avoid bricking esw config
This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.

D-Link DAP-1350 goes bricked with AA 12.09-beta.

This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.

There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.

Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 09:28:28 +00:00
blogic
d41175cdb1 ramips/rt3883: fix a typo in the ASUS profile
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 09:20:50 +00:00
florian
f85f3848d7 [realview] partially revert r33403
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:44:25 +00:00
florian
933cabf6c9 [leon] set DEVICE_TYPE to developerboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:37:51 +00:00
florian
d15b926afd [leon] fix sparc32 assembler failures with newer toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:37:40 +00:00
florian
d88f9818d8 [leon] refresh patches so they apply cleanly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:37:12 +00:00
florian
e2f7aae0b9 [realview] set DEVICE_TYPE to developperboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:33 +00:00
florian
79df2ee02b [malta] set DEVICE_TYPE to developperboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:30 +00:00
juhosg
f74bd75daa ar71xx: merge machine support patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:28 +00:00
juhosg
e9a522de9e ar71xx: register the NAND controller device on the RB2011
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:26 +00:00
juhosg
39bdbbc7fc ar71xx: add device registration code for the AR934x NAND flash controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:25 +00:00
juhosg
8788b410ee ar71xx: package the AR934x NAND driver module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:23 +00:00
juhosg
ce47c98d07 ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:22 +00:00
juhosg
9edd5a0ba0 generic: add MTD_NAND_AR934X symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:21 +00:00
juhosg
93a698140f generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
juhosg
e96ea88268 ar71xx: define NAND controller base address and register size for AR934X/QCA955x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:06:38 +00:00
juhosg
de071d14f7 ramips/rt305x: add initial support for Rt5350 SoC
Somehow detecting the RAM size in common/setup.c doesn't
work here, it always detects 64M and then crashes on devices
with less RAM.
Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how
it could be, for now I use the mem=32M kernel parameter to get
stuff working.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:03:12 +00:00
hauke
c96bed78c2 [brcm47xx]: add gpio sysfs entries
This fixes #10256


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-11 15:04:20 +00:00
juhosg
29f447b9fd ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:38:01 +00:00
juhosg
e1ee097247 ar71xx: fix QCA955X_EHCI_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:32:54 +00:00
florian
405e94ce42 [generic] fix ixp4xx_hss build failure (#12162)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 08:53:21 +00:00
jow
20856122c5 [ar71xx] fix description of nand/Ath5k profile (#12149)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:40:26 +00:00
juhosg
4b7be33ba5 ar71xx: add initial support for RB2011UAS-2HnD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:32 +00:00
juhosg
25dbd4639c ar71xx: use routerboot_find_tag to find wlan data offset on RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:30 +00:00
juhosg
d0d14675bb ar71xx: add RouterBoot related helper routines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:28 +00:00
juhosg
2622bc18da generic add WLAN calibration data ID to routerboot.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:26 +00:00
juhosg
4834938a89 ar71xx: define MTD partitions for RB2011
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:24 +00:00
juhosg
775e69dfac ar71xx: add preliminary support for Mikrotik RB2011L
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:22 +00:00
juhosg
527f8049cd ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:20 +00:00
juhosg
c4b6e540e4 ar71xx: add dynamic MDIO clock calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:17 +00:00
juhosg
38ca354ccc adm5120: move common routerboot definitions into a separate header file
Those will be used on the ar71xx platform as well.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:55:42 +00:00
jogo
5e5c7d5aa1 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:54:56 +00:00
juhosg
3868d762d1 ar71xx: use the RLE library for RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
juhosg
6142d590e3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
juhosg
41be3a0bd3 ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
juhosg
6f0a45267a ar71xx: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
florian
08b17128a1 [mcs814x] use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 09:51:05 +00:00
cshore
60244743f9 [ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 18:15:26 +00:00
luka
507c46269b lantiq: fix sx76x default uci network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 00:09:46 +00:00
florian
d6378b5278 [mcs814x] add some ohci workarounds to make ohci work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:19:29 +00:00
juhosg
dddb52eedf ramips: Add missing andmask to ramips_esw register read for recv_good value.
Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:43 +00:00
juhosg
07073dcb27 ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:42 +00:00
blogic
e937e774c9 [x86] add missing kvm_guest kernel options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:38:42 +00:00
juhosg
34d7147aef ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:26:50 +00:00
juhosg
b4336504ba ar71xx: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:51 +00:00
juhosg
cb29036b4a ramips: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:48 +00:00
florian
8e3e58e908 [mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:51 +00:00
florian
902cbf7fcc [mcs814x] pad squashfs image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:46 +00:00
florian
cfcbecc91d [mcs814x] add Generic and dLAN USB Extender profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:40 +00:00
florian
cfcb04f63c [mcs814x] nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 10:26:01 +00:00
juhosg
311f77fe3e Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:55 +00:00
juhosg
32b0679079 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:54 +00:00
juhosg
ddc3f6ec51 ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:53 +00:00
juhosg
0802aeffc1 ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:51 +00:00
juhosg
c4ce5d343d ramips: make built-in switch transparent for ALL0256N and ALL5002
This allows them to transparently communicate with an external VLAN switch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:47 +00:00
juhosg
2a86045d51 ramips: Power down phy on disabled switch ports
Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:45 +00:00
juhosg
0464c077a4 ramips: Add support for 8devices Carambola dev board.
Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:43 +00:00
juhosg
4cf75bc115 ramips: Rename POC registers
Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:41 +00:00
juhosg
1bac05a581 ramips: Minor ramips_esw.c cleanup
Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:40 +00:00
juhosg
90dab951da ramips: Add switch setup to uci network defaults
Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:38 +00:00
juhosg
746f915308 ramips: Add swconfig support to ramips_esw.c
Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:36 +00:00
juhosg
d6de6b1e83 ramips: ramips_esw.c indentation cleanup
Minor indentation cleanup.

Prepare for the main swconfig patch by cleaning up indentation a bit.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:35 +00:00
juhosg
80cd7e164b ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:30 +00:00
juhosg
1631af0254 ar71xx: Buffalo WZR-HP-AG300H LED support
An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:11:55 +00:00
juhosg
c4f6306026 gemini: fix bus ids for PHY devices (closes: #12082)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 18:09:57 +00:00
juhosg
8bdd622adf ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:38 +00:00
juhosg
54b8dcd696 ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:37 +00:00
juhosg
cedfbc3c41 ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:36 +00:00
juhosg
61de747998 ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:35 +00:00
juhosg
9432be698b ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:32 +00:00
juhosg
2065e21ba2 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:31 +00:00
juhosg
aec6c8f610 ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:26 +00:00
juhosg
2ab17c92ac generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 09:27:56 +00:00
juhosg
dbf3c1bc27 ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
Commit 4878806326 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
	| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
		grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 08:15:11 +00:00
juhosg
c76c0db809 ar71xx: image: fix TL-WR1043ND board id (#12079)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 06:30:37 +00:00
blogic
8686fda525 [kirkwood] Enable eSATA sheevaplug
OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-24 06:15:06 +00:00
juhosg
a67ed5995a ar71xx: image: group and sort {Single,Multi}Profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:17:47 +00:00
juhosg
069b91b062 ar71xx: image: group and sort mtdlayout definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:14:35 +00:00
juhosg
9b5adee41c ar71xx: image: use the MultiProfile helper for the Madwifi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:11:25 +00:00
juhosg
435453d8a3 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:08:15 +00:00
juhosg
c867446b4a ar71xx: image: use the new helpers for the ZyXEL images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:05:05 +00:00
juhosg
4f6630ddb2 ar71xx: image: use the new helpers for the Zcomax images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:01:55 +00:00
juhosg
3645b6d44e ar71xx: image: use the new helpers for the WRT400 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:58:45 +00:00
juhosg
072e9e5744 ar71xx: image: use the new helpers for the WZRHPG30XNH images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:55:35 +00:00
juhosg
fe826b8e2c ar71xx: image: use the new helpers for the WHRHPG300N images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:52:25 +00:00
juhosg
41d5b181ae ar71xx: image: use the new helpers for the UBNTXM images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:49:15 +00:00
juhosg
cdddcb4ede ar71xx: image: use the new helpers for the UBNT images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:46:06 +00:00
juhosg
08ae5bbdaa ar71xx: image: use the new helpers for the TPLINKOLD images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:42:56 +00:00
juhosg
3af6ef2080 ar71xx: image: use the new helpers for the TPLINK-LZMA images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:39:46 +00:00
juhosg
4878806326 ar71xx: image: use the new helpers for the TPLINK images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:36:35 +00:00
juhosg
2df83311ab ar71xx: image: use the new helpers for the Planex images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:33:25 +00:00
juhosg
89b72fa088 ar71xx: image: use the new helpers for the PB4X images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:30:15 +00:00
juhosg
cd5096a452 ar71xx: image: use the new helpers for the OpenMesh images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:27:06 +00:00
juhosg
c5fd4a67fa ar71xx: image: use the new helpers for the Netgear images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:23:56 +00:00
juhosg
57b7bec0b0 ar71xx: image: use the new helpers for the MyLoader images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:20:46 +00:00
juhosg
55c69ab521 ar71xx: image: use the new helpers for the DIR825B1 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:17:36 +00:00
juhosg
449961173c ar71xx: image: use the new helpers for the CyberTAN images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:14:26 +00:00
juhosg
98d04da6fa ar71xx: image: use the new helpers for the Cameo933x images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:11:17 +00:00
juhosg
fb9ba483e0 ar71xx: image: use the new helpers for the Cameo913x images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:08:07 +00:00
juhosg
9073bd44bb ar71xx: image: use the new helpers for the Cameo7240 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:04:57 +00:00
juhosg
768c8436a9 ar71xx: image: use the new helpers for the AthGzip images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:01:47 +00:00
juhosg
1c1bce03f5 ar71xx: image: use the new helpers for the AthLzma images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:58:37 +00:00
juhosg
35070c0487 ar71xx: image: use the new helpers for the ALFA images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:55:27 +00:00
juhosg
15ae10b4f4 ar71xx: image: add a few helper functions
These functions will be used to simplify the Makefile.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:52:18 +00:00
juhosg
0f07b6e127 ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:49:07 +00:00
hauke
7ef43e5fe3 [brcm47xx] update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 21:54:06 +00:00
juhosg
1d7b7628b0 ar71xx: add profile and build image for the TEW-712BR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:18:44 +00:00
juhosg
73fc90f4ec ar71xx: TEW-712BR user space support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:12:24 +00:00
juhosg
616abf736e ar71xx: add support for the TRENDnet TEW-712BR board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:09:13 +00:00
juhosg
7229c99fe8 ar71xx: fix serial clock calculation on AR933x
Closes #12031.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 19:11:10 +00:00
juhosg
7560aeed3f ramips: fix board parameter for the NBG-419N (#12061)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 17:55:12 +00:00
blogic
951215d747 [target] derive system from hostcc to allow building inside a chroot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 15:07:32 +00:00
juhosg
e56ca07f84 ar71xx: fix comment style in mach-tl-wr2543n.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:42:59 +00:00
juhosg
13378c7f3c ar71xx: fix mtd layout of the AP113
The 'mtdparts=' prefix and the name of the flash device is missing.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:39:46 +00:00
juhosg
e93bbe322d ramips: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:36:35 +00:00
juhosg
d27564d094 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:33:22 +00:00
juhosg
1244bd5f56 ramips: add RSSI leds for uci-defaults for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:46:30 +00:00
juhosg
1eb25d5c4f ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:43:18 +00:00
blogic
deae75dd41 [tools] tools/firmware-utils/ptgen option to use MB rounding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:22:38 +00:00
blogic
fdbde13d03 add led defintion for the WR2543 5GHz WLAN LED
Signed-off-by: Andy Leiserson <andy@leiserson.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:10:24 +00:00
hauke
c06e6983c0 [brcm47xx] remove unused file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 15:45:18 +00:00
hauke
b7397011b8 [brcm47xx] make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 14:08:35 +00:00
hauke
95f384c9a9 [brcm47xx] update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 11:51:35 +00:00
juhosg
6f559fde75 ramips: add board alias for the ALL0239-3G
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-17 17:56:07 +00:00
juhosg
cf26194ba9 ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-17 17:56:05 +00:00
juhosg
79c262e038 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-16 07:11:30 +00:00
jow
9fa158ca30 [iamgebuilder] use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:28:26 +00:00
juhosg
8c9a05c907 generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:26:51 +00:00
blogic
08fb7e56f5 [x86] set xen images to gzip compression, fixes #11970
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 09:20:12 +00:00
florian
b04e0a47c5 [mcs814x] MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 16:19:30 +00:00
blogic
6a28aa2599 [kernel] fixes gpio_dev un/reload balancing
Signed-off-by: SHI Bin <shibin@ctsing.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 12:32:11 +00:00
florian
6147ee7cc3 [orion] generic: enhanced image Makefile
* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:46:47 +00:00
juhosg
3f887bde17 ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:38 +00:00
florian
8a54c0b2cb [brcm63xx] leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:10 +00:00
florian
79a7c4161b [brcm63xx] BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:07 +00:00
florian
b0104112b7 [brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:04 +00:00
juhosg
e22f7daae5 ramips: rename rt3352 usb platform devices
In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:31 +00:00
juhosg
2c5c4009fb ramips: watchdog: use maximum possible timeout by default
As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.

As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:28 +00:00
juhosg
3ccfe576de ramips: provide means to specify custom "image name" for uImages, use for DIR-620
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:26 +00:00
juhosg
0618ae4136 ramips: add D-Link DIR-620 A1 support
Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.

Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:24 +00:00
juhosg
60b393ba86 generic: use __meminit annotation for crashlog_init_memblock
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 10:30:41 +00:00
florian
b117ae421e [mcs814x] only support 128KiB erase block sizes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:56:09 +00:00
florian
8c1ea6515e [mcs814x] disable PCI support
None of the boards we support have PCI connectors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:56:00 +00:00
florian
abbd73f17d [mcs814x] strip a bit more the kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:51 +00:00
florian
7bea2cc208 [mcs814x] properly advertise OHCI and EHCI capabilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:41 +00:00
florian
0855a531ce [mcs814x] change partition names to be more in line with other OpenWrt devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:30 +00:00
florian
5a05d95284 [mcs814x] generate upgrade files suffixed with filesystem type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:15 +00:00
florian
3a86756f40 [mcs814x] nuport-mac: delay call to napi_start() until fully able to process RX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 07:04:21 +00:00
florian
b3a374d1f1 [mcs814x] set a compatible command-line to boot from flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 07:04:16 +00:00
juhosg
3a14c373fd generic: rtl8366_smi: increase delay after switch hw reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 06:32:00 +00:00
jow
4c706d3cf5 Fix hard reset of alix/soekris hardware under heavy NIC load
The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 09:41:22 +00:00
florian
0301cbafe2 [mcs814x] nuport-mac: use dma_mapping_error() instead of checking pointers
Thanks Gabor for spotting this

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 09:06:35 +00:00
florian
aa4d6d46de [mcs814x] nuport-mac: rework PHY interrupt configuration to avoid races
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:18 +00:00
florian
1536e98836 [mcs814x] nuport-mac: close possible race condition during start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:13 +00:00
florian
fe5c16eebf [mcs814x] nuport-mac: unmap the DMA buffer when closing device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:09 +00:00
florian
403b1f1906 [mcs814x] nuport-mac: check dma_map_single address return values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:04 +00:00
florian
d1e20e7b57 [mcs814x] build a Devolo dLAN USB Extender specific image
The kernel has to be rounded up to the nearest 1MB, then we append
the root filesystem at its end.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:51:00 +00:00
florian
df804c6333 [mcs814x] cleanup image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 21:50:55 +00:00
blogic
f2f3bfda50 [lantiq] pci gpio mapping
This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 12:14:43 +00:00
jogo
28b3f06aa6 bcm63xx: fix USB base registers and IRQs for BCM6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 23:18:22 +00:00
hauke
8e1718f8e2 [brcm47xx] update tg3 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 20:27:40 +00:00
hauke
7e86c89269 [brcm47xx] generate image for Linksys e3200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 13:14:00 +00:00
hauke
302fdbb0b8 brcm47xx: update gpio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:40:05 +00:00
hauke
b8881f1e23 brcm47xx: fix patch which moves the flash struct in wgt634u code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:39:15 +00:00
blogic
2f6abff72c [lantiq] W502V/ARV4525 wireless mac bugfix
The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 20:14:52 +00:00
hauke
1d6c42df96 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:46:25 +00:00
blogic
cea2b4210d [lantiq] cleanup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03 08:53:02 +00:00
florian
6b899d5dea [mcs814x] nuport-mac: properly protect the phy interrupt handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 18:13:17 +00:00
blogic
ab27b3f74d [bufferbloat] Codel: avoid a nul rec_inv_sqrt
One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.

codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.

Brought over from 3.5-stable

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 13:39:50 +00:00
blogic
e38a6c3f37 [lantiq] fixes i2c clock enable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 13:29:49 +00:00
juhosg
1c54e0a078 ar71xx: simplify misc IRQ handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:49 +00:00
juhosg
93af4ef46f ar71xx: fix AR934X_EHCI_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 11:25:46 +00:00
juhosg
7750261206 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:41 +00:00
juhosg
70b3c1262b ar71xx: image: allow to use board specific code in the lzma-loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:33 +00:00
juhosg
58aa6ee58f ar71xx: init switch hw_reset on the TL-WR1043ND board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:28 +00:00
juhosg
08700f9817 generic: rtl836x: add hw_reset field to struct rtl8366_smi
It will be used to start/stop the switch if that is
supported by the given board.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:21 +00:00
juhosg
7f000ed40c generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:13 +00:00
florian
0a53c615c8 [mcs814x] add missing netmask to the network config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 22:09:13 +00:00
florian
de000e9b36 [mcs814x] assume the link is up and full-duplex by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 21:56:54 +00:00
florian
9a9ced9072 [mcs814x] add a default and suitable network config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 21:56:49 +00:00
juhosg
62dfbdafd5 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:57 +00:00
juhosg
1701067509 ar71xx: ew-dorin: added USB support
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:56 +00:00
juhosg
48872cf839 ar71xx: Buffalo WLAE-AG300N wireless led patch
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:54 +00:00
juhosg
b80a2c45e4 ar71xx: Buffalo WLAE-AG300N initial support
The patch set for Buffalo WLAE-AG300N initial support.

There is another patch for wireless led support that
is posted separately.

Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.

[juhosg: fix coding style]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:24:52 +00:00
florian
bd34f5017a [mcs814x] resync defconfig enable XZ compression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:01:27 +00:00
florian
c48bcd5433 [mcs814x] properly generate squashfs, jffs2 and initramfs images and kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 23:09:50 +00:00
florian
37b335aace [kernel] disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 23:09:46 +00:00
blogic
0d1207bd0b [lantiq] add lantiq svip support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 18:49:54 +00:00
jogo
a07db05063 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:47 +00:00
jogo
43ec5beeff bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:42 +00:00
jogo
5292fd0ba0 bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:34 +00:00
jogo
971ed3b67d bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:31 +00:00
jogo
f0fe32e09a bcm63xx: reorder patches
Fix the order and names of patches.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 14:27:25 +00:00
florian
4d018c5938 [at91] move i2c module to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 13:20:51 +00:00
florian
cd3ef0bd78 [omap24xx] resync config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 13:20:39 +00:00
florian
56f8227537 [omap24xx] use the same description as other omap platforms (without the dash)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 13:20:35 +00:00
blogic
8be6a993ea [kernel] refresh pwm patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 11:53:06 +00:00
blogic
12c804da28 [kernel] clean up pwm patches and drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 20:47:08 +00:00
hauke
6771089f01 [kernel] add config option CONFIG_I2C_MV64XXX to fix kirkwood build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 11:36:52 +00:00
florian
e5d6243baa [realview] resync config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:15 +00:00
florian
afc4f76011 [brcm63xx] fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:12 +00:00
florian
5f0ec9d349 [brcm63xx] add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:09 +00:00
florian
55bad547db [brcm63xx] Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:35:05 +00:00
florian
14e3269c19 [brcm63xx] Add brcmsmac profile
Add brcmsmac profile (kmod-brcmsmac + wpad-mini).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-27 15:34:57 +00:00
blogic
0f80302310 [atheros] Add leds back after migration to sysfs
atheros trunk moved to full sysfs gpiolib, but the leds were forgotten.
This restores the wlan led that was missing after switching from backfire
to trunk.

Signed-off-by: Karl Palsson <karlp@remake.is>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 17:06:55 +00:00
florian
72d6153213 [brcm2708] add more missing config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 17:03:08 +00:00
florian
0b6c36ebc1 [generic] add more USB-related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 17:03:05 +00:00
florian
bbd4a26da8 [ep93xx] make sure target modules depend on the target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 17:03:02 +00:00
hauke
cf6ccf73a0 [kernel] bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 15:42:18 +00:00
blogic
d6ccc66511 [ar71xx] fix typo in modules.mk
This patch fixes a small typo in kmod-leds-wndr3700-usb description, where the board is for some reason made by NETGWR, not NETGEAR.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 19:52:30 +00:00
florian
bc858807dc [package] make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 19:36:19 +00:00
florian
670865f323 [ppc40x] move isp116x driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:45 +00:00
florian
ba7b4e1df0 [ramips] move rt305x-dwc driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:42 +00:00
florian
c68ad0c25b [brcm47xx] move ubsec-ssb driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:38 +00:00
florian
65f5ea534e [brcm47xx] move ssb-gige to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:36 +00:00
florian
ebd067e1dc [brcm47xx] move usb driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:33 +00:00
florian
c9e5284b5a [avr32] move mmc driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:26 +00:00
florian
ef5f804159 [ixp4xx] move ixp4xx-eth to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:23 +00:00
florian
c4d4dc6faf [ixp4xx] move crypto module to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:16 +00:00
florian
1bf0057f4d [octeon] move i2c driver to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:13 +00:00
florian
af1bbb3c56 [ar71xx] move watchdog driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:10 +00:00
florian
fb9582f0c9 [ar71xx] move target specific spi modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:04 +00:00
florian
c170356e03 [ar71xx] move target specific leds modules to ar71xx modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:02 +00:00
florian
03eb275e12 [x86] move leds modules back to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:57 +00:00
florian
c6fde74a29 [x86] move i2c modules back to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:54 +00:00
florian
e04ea40569 [x86] move more x86-specific modules back to target modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:49 +00:00
florian
aced68717a [x86] move x86 specific ide/pata modules to x86' modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:49:42 +00:00
hauke
bf02882bea brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:52:00 +00:00
florian
fb6f391168 [kernel] add yet another framebuffer symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:01:57 +00:00
florian
cdd132c493 [package] split framebuffer helper modules to their own packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:01:54 +00:00
florian
b32c8c7dca [cobalt] remove broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:01:51 +00:00
florian
98e84715a2 [cobalt] package buttons driver separately
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:01:49 +00:00
florian
e0f70e20ca [cobalt] package cobalt lcd as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:01:46 +00:00
blogic
2cf0953394 [kernel] add unset CONFIG_FB_XGI to fix fullbuilds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 09:05:23 +00:00
blogic
570c000d84 [brcm2708] cleanup config-3.3, remove =m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 09:05:18 +00:00
blogic
c3e2030356 [cns3xx] laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna.  The model name read in is 16 bytes but the original buffer was only 8 bytes.

Signed-off-by: David Acker <dacker@rajant.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 08:01:38 +00:00
blogic
1df0438a5e [brcm2708] adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835

Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:39:17 +00:00
blogic
3d574b6ebb [ramips] DWC otg usb: compilation fixes and trivial bugfix in slave mode
Signed-of-by: Nikolai Zhubr <n-a-zhubr@yandex.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:55 +00:00
blogic
1866d6283c [ramips] D-Link DAP-1350 initial support
The initial support for the D-Link DAP-1350.
USB related functionality is not tested.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:43 +00:00
blogic
a1375cfa56 [ixp4xx] MI424WR - add rev D support
Add support for revision D of the MI424WR.
Rev D swaps LAN & WAN ports so this patch maintains
eth0 for LAN and eth1 for WAN. For details on rev D usage,
see http://wiki.openwrt.org/toh/actiontec/mi424wr

Signed-off-by: Jose Vasconcellos <jvasco@verizon.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:36 +00:00
blogic
9722273ea2 [ramips] initial LED configuration for Fonera 2.0n
Setup initial configuration for Wifi and USB LEDS of a Fonera 2.0n (ramips)

Signed-off-by: Malte Forkel <malte.forkel@berlin.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:31 +00:00
blogic
a976d555c3 [ramips] add ALL5002 userspace support
detect EEPROM, MAC addresses and support sysupgrade for the ALL5002

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:14 +00:00
blogic
3b24a99dd1 [ramips] enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
Hope that this works, didn't have a chance to actually test it...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:08 +00:00
blogic
27d44b9c6b [ramips] add image build for ALL5002
add image build for ALL5002

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:03 +00:00
blogic
03019d7d12 [ramips] add support for Allnet ALL5002 to kernel
support ALL5002 in ramips/rt305x branch of the kernel.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:37:56 +00:00
blogic
ea6e386f6f [ramips] uart_clk on Rt3352F is always 40MHz
Currently, sys_clk/10 is used which is just wrong.
cpu_clk/10 would work for systems with 400MHz CPU clock.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:37:50 +00:00
florian
cbc6bff128 [omap24xx] move omap specific modules to modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:54 +00:00
florian
5e60f09ad9 [omap24x] move n810 battery module to omap24 modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:49 +00:00
florian
6852680f2d [omap24x] move target specific modules to target's module.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:45 +00:00
florian
6c435d6654 [ep93xx] package ep93xx framebuffer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:35 +00:00
florian
caefa9cc68 [ep93xx] remove crypto symbols override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:31 +00:00
florian
a25a089fa9 [generic] add missing framebuffer related symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:23 +00:00
florian
859c16db86 [ep93xx] remove broken flag, since it works
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:19 +00:00
florian
9004dc02b3 [ep93xx] fix sound modules loading order and dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:15 +00:00
florian
a1975f4fba [ep93xx] package ep93xx touchscreen driver as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:42:49 +00:00
florian
68e08c6d5a [ep93xx] set DEVICE_TYPE to developerboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:42:44 +00:00
blogic
2b6253ef5b [lantiq] rebase config-3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 17:28:25 +00:00
blogic
432fa085bd [generic] fix tantos patch properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 17:28:12 +00:00
blogic
ee6570a017 [generic] make tantos switch select ETHERNET_PACKET_MANGLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 16:50:14 +00:00
blogic
30326d761c [lantiq] move CONFIG_ETHERNET_PACKET_MANGLE to a generic config file
This broke falcon builds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 15:33:01 +00:00
nbd
bd4fb35eed [kernel] crashlog: fix dependency, add memblock support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-22 16:39:33 +00:00
nbd
02d161708f kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20 12:28:50 +00:00
florian
a931e49ccc [au1000] rename upgrade image to sysupgrade.bin for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:47:57 +00:00
florian
e0f76c4f22 [au1000] add missing configuration symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:40:28 +00:00
florian
65e3a4bb3b au1000: implement sysupgrade platform.sh
Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:40:24 +00:00
florian
98743f8444 au1000: clean up profiles
Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:39:52 +00:00
florian
4d65fe14a5 au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific
idsel to work with newer kernels. Acutally I don't exactly understand why this
was not necessary before, but without the udelay, the MiniPCI adapter in slot 3
is not detected and set up correctly.

Also remove platform broken flag, it works.

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 16:39:47 +00:00
juhosg
1344fb0d96 ar71xx: enable I2C_GPIO, the PB44 board needs that
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:52 +00:00
juhosg
ec183b0044 ar71xx: fix PB44 board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:50 +00:00
juhosg
dfcccc252d ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 17:52:48 +00:00
luka
1e55d88303 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:25:30 +00:00
florian
bf2c3d0b49 [mcs814x] set DEVICE_TYPE to other to avoid pulling unecessary packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:10:03 +00:00
florian
5ecd917028 [mcs814x] add compatible property to pci node
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:40 +00:00
florian
cf67c71c56 [mcs814x] use ohci_err() instead of err()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:32 +00:00
florian
a79b37bfe8 [mcs814x] make sure we properly unmap DMA mappings we created
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:24 +00:00
florian
c2e42c1d07 [mcs814x] nuport-mac: add definitions of the various bits/masks used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 14:09:18 +00:00
luka
7c32e6aaaf kirkwood: add support for seagate goflexnet and goflexhome
Signed-off-by: Martin Mueller <mm@sig21.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 12:18:29 +00:00
luka
4f9a99a732 kirkwood: revert config changes from r32053
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-15 00:08:52 +00:00
juhosg
9c4d41a426 ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 13:38:40 +00:00
juhosg
533fe2fa9f ramips: rt305x: add support for Edimax 3G-6200N
Support for Edimax 3G-6200N router with USB.

Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 13:29:46 +00:00
juhosg
7f1dc18d4b generic: ocf: restore terminating entry of pci_id_table in hifnHIPP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:23 +00:00
juhosg
ba4d4f1cda ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:22 +00:00
juhosg
8eb3c9a3fa ar71xx: airrouter power led support
This patch adds support for power led to Unifi Airrouter AP.

[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:21 +00:00
juhosg
10f263351f ar71xx: unifi reset button support
This patch adds support for reset button to Ubiquiti UniFi AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:20 +00:00
juhosg
e97a615b45 ar71xx: airrouter reset button support
This patch adds support for reset button to Ubiquiti Airrouter AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:18 +00:00
luka
94a17b96c4 ocf: update to version 20120127
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 23:38:14 +00:00
hauke
5e3f966711 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 22:17:05 +00:00
florian
52d62d0be8 [brcm63xx] remove bcm63xx_pci_register() call in livebox board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 09:15:26 +00:00
florian
e070410e7a [brcm63xx] use physmap-flash on livebox (#8677)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 09:15:22 +00:00
florian
261b7b2d42 [mcs814x] nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 08:29:01 +00:00
florian
0c7b89359f [mcs814x] fix typo on of_node_put()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-09 14:44:15 +00:00
florian
eb9c638ec8 [brcm63xx] Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 22:10:37 +00:00
juhosg
fffc489ef4 ar71xx: swizzle address for PCI byte/word access on AR71xx
Closes #11683.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 16:33:12 +00:00
juhosg
311f21e096 ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:12:02 +00:00
juhosg
d675d7bc7d ar71xx: merge new board patches into the generic patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:12:01 +00:00
juhosg
0e503f85bf ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-06 11:11:58 +00:00
florian
af91801f83 [mcs814x] call of_node_put() on ethernet node
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:55 +00:00
florian
fa5a8f6863 [mcs814x] fix EPHY clock bit definition after r32489
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:52 +00:00
florian
c5bc9b0989 [mcs814x] give an unique partition identifier for dLAN USB Extender Combined partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:46:48 +00:00
juhosg
cc8ef03faa ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:31 +00:00
juhosg
fd349e4b0c ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:26 +00:00
juhosg
11532f0779 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:57 +00:00
juhosg
0d85e0278f ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:53 +00:00
juhosg
dd71ce4e82 ar71xx: add profile and build image for the Atheros AP136 reference board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:51 +00:00
juhosg
e03def9379 ar71xx: AP136 user-space support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:50 +00:00
juhosg
ee6173e7dc ar71xx: add initial support for the Qualcomm Atheros AP136 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:48 +00:00