aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport switch user API changes after r36283Florian Fainelli2013-04-094-10/+28
| | | | | | | | | 3.3 and 3.6 kernels do not make use of the UAPI headers, still they need to provide an up-to-date switch.h copy for swconfig to build. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] unbreak portmapping - typo fixJohn Crispin2013-04-092-7/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] move memory detect node to dtsi filesJohn Crispin2013-04-0963-236/+16
| | | | | | Signed-of-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] Add Netgear WNCE2001 (OF version)John Crispin2013-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 dtsJohn Crispin2013-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 devicetreesJohn Crispin2013-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 portmapJohn Crispin2013-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 switchJohn Crispin2013-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 OFJohn Crispin2013-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 IPv6Steven Barth2013-04-0917-0/+123
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: TEW-691GR.dts fixesGabor Juhos2013-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 driverGabor Juhos2013-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 boardGabor Juhos2013-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 fixesGabor Juhos2013-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.dtsiGabor Juhos2013-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 handlingGabor Juhos2013-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-HPMGabor Juhos2013-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 codeGabor Juhos2013-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 fixesGabor Juhos2013-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.dtsGabor Juhos2013-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.dtsiGabor Juhos2013-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 supportGabor Juhos2013-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 driverGabor Juhos2013-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 patchesGabor Juhos2013-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 filesGabor Juhos2013-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 nameGabor Juhos2013-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-N56UGabor Juhos2013-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 configsGabor Juhos2013-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.8Gabor Juhos2013-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.8Gabor Juhos2013-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 configsGabor Juhos2013-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.8Gabor Juhos2013-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.8Gabor Juhos2013-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.8Gabor Juhos2013-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-N56UGabor Juhos2013-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-N56UGabor Juhos2013-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 fixesGabor Juhos2013-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 filesGabor Juhos2013-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_dispatchGabor Juhos2013-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 filesJohn Crispin2013-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 filesJohn Crispin2013-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 patchesGabor Juhos2013-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 ↵Felix Fietkau2013-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 filesGabor Juhos2013-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.8Hauke Mehrtens2013-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.Hauke Mehrtens2013-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 MIPSGabor Juhos2013-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.9Gabor Juhos2013-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.dtsGabor Juhos2013-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 prefixGabor Juhos2013-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