summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
...
* [ramips] add support for Hauppauge Broadwayblogic2012-12-1014-1/+150
| | | | | | | | | | | This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway platform. It doesn't deal with the TV tuner or transcoder at this point, but the core functionality is working (Ethernet, wireless, USB, buttons, LEDs, etc). Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.6 to 3.6.9juhosg2012-12-081-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix serial console for Belkin F5D8235 v1/v2juhosg2012-12-021-1/+1
| | | | | | | | Based on a patch from #12533. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add profile and build image for the Asus RT-N13Ujuhosg2012-11-292-0/+26
| | | | | | | Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add user-space support for the Asus RT-N13Ujuhosg2012-11-296-0/+10
| | | | | | | Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 Routerjuhosg2012-11-296-0/+92
| | | | | | | | | | | | | | | | | | The work has been backported from openwrt-dreambox with some modifications & code cleanup. * updated config-3.3 * updated config-3.6 * renamed rt-n13 to rt-n13u * fixed mach-rt-n13u.c [juhosg: move user-space support and image generation into separate patches] Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove common symbols from 3.6 configsjuhosg2012-11-293-15/+0
| | | | | | | | The removed symbols are present in the generic configuration. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove common symbols from 3.3 configsjuhosg2012-11-293-6/+0
| | | | | | | | The removed symbols are present in the generic configuration. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.6 to 3.6.8juhosg2012-11-291-1/+1
| | | | | | | | Also refresh the affected patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_eth: use Kconfig definition to enable debugjuhosg2012-11-251-1/+1
| | | | | | | | | | The Kconfig identifier to enable debugging in the driver was different from the actually used one. Fix that. 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@34332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add DIR-615 D userspace supportjuhosg2012-11-255-1/+7
| | | | | | | | | | | | | | | Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and Makefile changes to build images for this target. However, without the userspace bits a ramips machine can't use wifi as the necessary "eeprom" data is to be extracted by a hotplug script; also, sysupgrade support and default led configuration are missing. An IRC user reported these changes allowed him to use wifi on his hardware. 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@34331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350juhosg2012-11-202-0/+10
| | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.6 to 3.6.7juhosg2012-11-182-5/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] previous commit pushed 1 file too many ;)blogic2012-11-121-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] move ethernet hw init to init/uninit functionsblogic2012-11-122-20/+32
| | | | | | | | | This should fix the stalled irq problem seen by several people. This is not the real fix, but rather moves the bug to the un/init patch of the driver. The real bug still needs to be fixed, but this workaround should be suffcient to make the ethernet stable. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34177 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] adds fon20n profileblogic2012-11-071-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use kernel 3.6.6blogic2012-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Booting image at 80800000 ... Image Name: MIPS OpenWrt Linux-3.6.6 Created: 2012-11-06 14:19:54 UTC System Control Status = 0x20440000 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 3560768 Bytes = 3.4 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 32 Starting kernel ... [ 0.000000] Linux version 3.6.6 (daniel@localhost.localdomain) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #2 Tue Nov 6 16:19:48 IST 2012 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 0001964c (MIPS 24KEc) [ 0.000000] Ralink RT3052 id:1 rev:2 running at 384.00 MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: console=ttyS1,57600n8 board=ALL0239-3G mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] __ex_table already sorted, skipping sort [ 0.000000] Writing ErrCtl register=0000c388 [ 0.000000] Readback ErrCtl register=0000c388 [ 0.000000] Memory: 27048k/32768k available (2015k kernel code, 5720k reserved, 498k data, 2676k init, 0k highmem) [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:48 [ 0.000000] console [ttyS1] enabled, bootconsole disabled [ 0.000000] console [ttyS1] enabled, bootconsole disabled [ 0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952) [ 0.090000] pid_max: default: 32768 minimum: 301 [ 0.100000] Mount-cache hash table entries: 512 [ 0.110000] NET: Registered protocol family 16 [ 0.120000] MIPS: machine is Allnet ALL0239-3G [ 0.140000] bio: create slab <bio-0> at 0 [ 0.150000] Switching to clocksource MIPS [ 0.160000] NET: Registered protocol family 2 [ 0.170000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.200000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.210000] TCP: reno registered [ 0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.240000] NET: Registered protocol family 1 [ 5.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 5.470000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 5.490000] msgmni has been set to 52 [ 5.500000] io scheduler noop registered [ 5.510000] io scheduler deadline registered (default) [ 5.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 5.530000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A [ 5.550000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 5.560000] physmap platform flash device: 00800000 at bf000000 [ 5.580000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000 [ 5.600000] Amd/Fujitsu Extended Query Table at 0x0040 [ 5.610000] Amd/Fujitsu Extended Query version 1.3. [ 5.620000] number of CFI chips: 1 [ 5.620000] 6 cmdlinepart partitions found on MTD device physmap-flash.0 [ 5.640000] Creating 6 MTD partitions on "physmap-flash.0": [ 5.650000] 0x000000000000-0x000000030000 : "u-boot" [ 5.660000] 0x000000030000-0x000000040000 : "u-boot-env" [ 5.680000] 0x000000040000-0x000000050000 : "factory" [ 5.690000] 0x000000050000-0x000000130000 : "kernel" [ 5.700000] 0x000000130000-0x000000800000 : "rootfs" [ 5.710000] mtd: partition "rootfs" set to be root filesystem [ 5.730000] split_squashfs: error occured while reading from "physmap-flash.0" [ 5.740000] 0x000000050000-0x000000800000 : "firmware" [ 5.760000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33 [ 5.780000] TCP: cubic registered [ 5.780000] NET: Registered protocol family 17 [ 5.790000] 8021q: 802.1Q VLAN Support v1.8 [ 5.820000] Freeing unused kernel memory: 2676k freed [ 6.490000] Button Hotplug driver version 0.4.1 - preinit - Press the [f] key and hit [enter] to enter failsafe mode - regular preinit - - init - Please press Enter to activate this console. [ 10.150000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 10.170000] Backport based on wireless-testing.git master-2012-09-07 [ 10.180000] compat.git: wireless-testing.git [ 10.210000] cfg80211: Calling CRDA to update world regulatory domain [ 10.230000] cfg80211: World regulatory domain updated: [ 10.240000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 10.250000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.270000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 10.280000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 10.300000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.310000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.430000] NET: Registered protocol family 10 [ 10.760000] PPP generic driver version 2.4.2 [ 10.820000] l2tp_core: L2TP core driver, V2.0 [ 10.840000] l2tp_netlink: L2TP netlink interface [ 10.870000] sit: IPv6 over IPv4 tunneling driver [ 10.920000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.060000] NET: Registered protocol family 24 [ 11.090000] nf_conntrack version 0.5.0 (464 buckets, 1856 max) [ 11.230000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 11.410000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.510000] device eth0.1 entered promiscuous mode [ 14.520000] device eth0 entered promiscuous mode [ 14.530000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready [ 14.550000] br-lan: port 1(eth0.1) entered forwarding state [ 14.560000] br-lan: port 1(eth0.1) entered forwarding state [ 16.560000] br-lan: port 1(eth0.1) entered forwarding state [ 16.600000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33 BusyBox v1.19.4 (2012-11-06 13:40:37 IST) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r34079) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao ----------------------------------------------------- root@OpenWrt:/# git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add HAVE_CLK to Kconfig on all ramips socsblogic2012-11-071-0/+3
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add linux-3.6 configuration for ramips socsblogic2012-11-073-0/+410
| | | | | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> create mode 100644 target/linux/ramips/rt288x/config-3.6 create mode 100644 target/linux/ramips/rt305x/config-3.6 create mode 100644 target/linux/ramips/rt3883/config-3.6 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: port patches to linux-3.6blogic2012-11-0713-0/+414
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> create mode 100644 target/linux/ramips/patches-3.6/001-mips-add-cp0-compare-irq-function.patch create mode 100644 target/linux/ramips/patches-3.6/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch create mode 100644 target/linux/ramips/patches-3.6/011-mtd-cfi_cmdset_0002-force-word-write.patch create mode 100644 target/linux/ramips/patches-3.6/100-mips-ralink-core.patch create mode 100644 target/linux/ramips/patches-3.6/101-rt288x_serial_driver_hack.patch create mode 100644 target/linux/ramips/patches-3.6/102-rt288x-pci-driver-hook.patch create mode 100644 target/linux/ramips/patches-3.6/103-ethernet.patch create mode 100644 target/linux/ramips/patches-3.6/104-ramips-watchdog-driver.patch create mode 100644 target/linux/ramips/patches-3.6/105-ramips-spi-driver.patch create mode 100644 target/linux/ramips/patches-3.6/105-usb_dwc_otg.patch create mode 100644 target/linux/ramips/patches-3.6/106-rt3883-pci-support.patch create mode 100644 target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch create mode 100644 target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable USB power on the DIR-645juhosg2012-11-051-0/+5
| | | | | | | | Closes #12422. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add restorefactory to default package set for ALL0239-3G and ALL0256Njuhosg2012-11-051-2/+2
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: refresh all target configs with kconfig.pljuhosg2012-10-291-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use correct key code for the RFKILL switch on the TEW-691GRjuhosg2012-10-261-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GRjuhosg2012-10-192-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile and build image for the TEW-691GR boardjuhosg2012-10-182-0/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for TEW-691GRjuhosg2012-10-185-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: add initial support for the TRENDnet TEW-691GR boardjuhosg2012-10-185-1/+111
| | | | | | | | No wireless support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile and build image for the TEW-692GR boardjuhosg2012-10-182-0/+34
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the TEW-692GR boardjuhosg2012-10-185-0/+20
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: add initial support for TRENDnet TEW-692GR boardjuhosg2012-10-185-0/+159
| | | | | | | | No wireless support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile and build image for the DIR-645 boardjuhosg2012-10-182-0/+61
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user space support for the DIR-645juhosg2012-10-186-0/+50
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: add inital support for the DIR-645 boardjuhosg2012-10-185-1/+162
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use get_magic_long in sysupgrade image checkjuhosg2012-10-181-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add image for ALL0256N-8Mjuhosg2012-10-041-0/+1
| | | | | | | | | | | | The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB. In order to expose the whole amount of flash, add another image which contains the corresponding GENERIC_8M mtdparts. [juhosg: change suffix from '8m' to '8M'] Patch by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add memory detection code for RT5350juhosg2012-09-272-1/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: allow to use custom code for memory size detectionjuhosg2012-09-272-6/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make uci-defaults switch detection work on rt5350blogic2012-09-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add ethernet support for rt5350blogic2012-09-252-18/+106
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make ramips ethernet use a register mapping tableblogic2012-09-251-29/+79
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] unbreak port mapping detectionblogic2012-09-251-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* D-Link DAP-1350; Avoid bricking esw configblogic2012-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | 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
* ramips/rt3883: fix a typo in the ASUS profileblogic2012-09-151-1/+1
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips/rt305x: add initial support for Rt5350 SoCjuhosg2012-09-125-2/+41
| | | | | | | | | | | | | 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
* ramips: Add missing andmask to ramips_esw register read for recv_good value.juhosg2012-09-051-1/+3
| | | | | | | | | | | | | 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
* ramips: Use doubletagging to disable ramips_esw vlan by default, it seems ↵juhosg2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ramips: add rssileds to package set in profile for devices which got them.juhosg2012-09-051-1/+1
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002juhosg2012-08-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make built-in switch transparent for ALL0256N and ALL5002juhosg2012-08-293-3/+6
| | | | | | | | 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