summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* [ramips] Add Netgear WNCE2001 (OF version)blogic2013-04-0910-2/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Netgear WNCE2001. This is a small RT3052 device with 4MB spi flash and 32MB ram. 2 built-in antennas, 1x fastE, no USB, reset & wps switch. On my model the AP/RT switch is unpopulated, but I verified the gpio mapping for it. The stock firmware is running an unprotected tftpd which allows you to read any file from the filesystem. Serial port is present on testpads (See image on the wiki page). There are more testpads below the shield near the SoC, which may have JTAG. Slight annoyance: The bootloader is checksumming kernel&rootfs, but can be tricked by zeroing checksum and length fields in the checksum partition, see target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming The manufacturer image is very similar to the DAP one, so I slightly modified mkdapimg to support generating it. The resulting openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin can be used to flash from stock to OpenWRT using the stock firmware upgrade function, without using the serial port. http://www.netgear.com/landing/wnce2001.aspx http://wiki.openwrt.org/toh/netgear/wnce2001 Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] remove bootargs from dtsblogic2013-04-0953-196/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add ofpart info to the devicetreesblogic2013-04-0950-0/+1170
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] add sample swconfig portmapblogic2013-04-091-0/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] set of_node before registring the switchblogic2013-04-091-24/+45
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [swconfig] allow loading port maps from OFblogic2013-04-093-0/+89
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Adapt default network configuration for IPv6cyrus2013-04-0917-0/+123
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: TEW-691GR.dts fixesjuhosg2013-04-081-15/+43
| | | | | | | | | | | * fix pinmux settings * remove spi node * add nor-flash node * enable mdio-bus and add phy handle Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36276 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: enable the AR8216 driverjuhosg2013-04-081-0/+2
| | | | | | | | It is needed for the TEW-69{1,2}GR boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36275 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile for the Omnima EMB-HPM boardjuhosg2013-04-081-0/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: OMNI-EMB-HPM.dts fixesjuhosg2013-04-081-5/+37
| | | | | | | | | | | * add mdio-bus and phy nodes * set phy-handle for the ethernet node * define flash partiions * cleanup flash node properties Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36273 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mdio-bus node to rt3883.dtsijuhosg2013-04-081-0/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix MDIO/PHY handlingjuhosg2013-04-081-0/+222
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36271 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix console speed for OMNI-EMB-HPMjuhosg2013-04-081-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: avoid invalid pointer dereference in pinmux codejuhosg2013-04-081-2/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: TEW-692GR.dts fixesjuhosg2013-04-081-15/+45
| | | | | | | | | | | * fix pinmux settings * remove spi node * add PCI node * add nor-flash node Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add PCI node into RTN56U.dtsjuhosg2013-04-071-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36264 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add PCI node for rt3883.dtsijuhosg2013-04-071-0/+86
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36263 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: enable PCI supportjuhosg2013-04-071-2/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix RT3883 PCI driverjuhosg2013-04-071-0/+856
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: refresh patchesjuhosg2013-04-073-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add missing cpu-feature-override.h filesjuhosg2013-04-073-0/+245
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36259 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix broken patch namejuhosg2013-04-071-0/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix polarity of GPIO buttons for RT-N56Ujuhosg2013-04-071-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36257 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: remove old kernel configsjuhosg2013-04-072-397/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: switch to 3.8juhosg2013-04-071-1/+1
| | | | | | | | Only tested within a VM. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/generic: add config for 3.8juhosg2013-04-071-0/+197
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/alix2: remove old kernel configsjuhosg2013-04-072-52/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/alix2: switch to 3.8juhosg2013-04-071-1/+1
| | | | | | | | Tested on an alix2d13 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86/alix2: add config for 3.8juhosg2013-04-071-0/+26
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36251 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: add support for 3.8juhosg2013-04-0710-0/+1465
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36250 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add nor-flash node for the RT-N56Ujuhosg2013-04-071-0/+32
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix pinmux settings for the RT-N56Ujuhosg2013-04-071-1/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: pinmux fixesjuhosg2013-04-075-0/+185
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36247 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove trailing whitespaces from dts filesjuhosg2013-04-077-7/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: handle PCI interrupts in plat_irq_dispatchjuhosg2013-04-071-0/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix typos inside dts filesblogic2013-04-072-14/+14
| | | | | | Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix default commandline in dts filesblogic2013-04-075-5/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add cfi_cmdset_0002 patchesjuhosg2013-04-072-0/+81
| | | | | | | | | The parallel flash access on the RT-N56U is broken without those patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver ↵nbd2013-04-072-6/+1
| | | | | | | | init and is useful only for testing Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove top-level {address,size}-cells properties from .dts filesjuhosg2013-04-0758-116/+0
| | | | | | | | Those are defined in the SoC specific .dtsi files. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36237 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use old partition names again for kernel 3.8hauke2013-04-062-1/+21
| | | | | | | | | This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix error in board detection when nvram is not available.hauke2013-04-062-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: implement pcibios_get_phb_of_node for MIPSjuhosg2013-04-062-0/+197
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: backport devm_ioremap_resource from 3.9juhosg2013-04-061-0/+251
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ethernet switch node in DIR-645.dtsjuhosg2013-04-061-3/+3
| | | | | | | | | Fix a typo in the node name and add vendor prefix for the compatible string. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: add compatible string with vendor prefixjuhosg2013-04-061-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367b: fix rtl8367b_extif_init_ofjuhosg2013-04-061-7/+18
| | | | | | | | | | | | * disable external interface if its property is not present * show an error message if the extif property is not valid * use proper error values intead of -1 * fix memory leak * wrap long lines Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add more missing symbolsjuhosg2013-04-061-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add missing symboljuhosg2013-04-061-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36226 3c298f89-4303-0410-b956-a3cf2f4a3e73