summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
...
* ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extensionjuhosg2013-03-034-1/+6
| | | | | | | | | | | | | | | | | | | All known rt305x and rt3883 implementations support at least the 24kec instruction set which includes the DSP extension. For rt288x, the previous value mips32r2 is kept. The cpu target is now set per sub-archtecture, according to cpu-feature-overrides.h of each SoC family. [juhosg: define ARCH_PACKAGES variable for rt305x/rt3883 in order to differentiate the packages compiled with the 24Kec option.] 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@35853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space detection for ALL5002/ALL5003juhosg2013-03-031-0/+19
| | | | | | | 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@35852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: indicate support for ALL5003juhosg2013-03-032-2/+2
| | | | | | | | | | | add ALL5003 to board description in mach-all5002.c adapt detection in user-space accordingly (no functional changes) 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@35851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enhance user-space board detectionjuhosg2013-03-032-3/+24
| | | | | | | | | | Similar to ar71xx, detect only once and cache the strings in /tmp/sysinfo/model and /tmp/sysinfo/boardname. 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@35850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix whitespace in /lib/ramips.shjuhosg2013-03-031-3/+3
| | | | | | | 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@35849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for 3.8juhosg2013-02-2514-0/+788
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35801 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: image: don't break make process if mkimage command failsjuhosg2013-02-251-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove port_power_off field from ehci_platform_datajuhosg2013-02-253-2/+22
| | | | | | | | It is removed in 3.8. Also add a revert patch for 3.7. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35799 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove __dev_{init,exit} annotationsjuhosg2013-02-252-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: print image build warnings/errors to stderrjogo2013-02-211-6/+6
| | | | | | | | Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: migrate to common led helper functionsjuhosg2013-02-181-28/+4
| | | | | | | | | [juhosg: migrate to status_led_blink_{preinit,failsafe} helpers] Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.9juhosg2013-02-171-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix kmod-usb2 package namejuhosg2013-02-161-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the new macaddr_* helpers instead of maccalcjuhosg2013-02-163-19/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the mtd_get_mac_* helpersjuhosg2013-02-163-66/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.8juhosg2013-02-151-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.7juhosg2013-02-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.6juhosg2013-02-041-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: build image for the Omnima EMB HPM boardjuhosg2013-02-021-0/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Omnima EMB HPM boardjuhosg2013-02-027-1/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt3883: add kernel support for the Omnima EMB HPM boardjuhosg2013-02-025-0/+165
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add userspace support for the Edimax BR-6425juhosg2013-02-025-0/+11
| | | | | | | | | [juhosg: remove sysupgrade changes] Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Edimax BR-6425 boardjuhosg2013-02-025-0/+86
| | | | | | | Signed-off-by: Yuval Adam <yuv.adm@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh kernel configsjuhosg2013-02-011-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.5juhosg2013-01-291-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fix for non-blinking LAN LEDsblogic2013-01-281-0/+4
| | | | | | https://dev.openwrt.org/ticket/12830 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: reset switch on single-port devicesblogic2013-01-281-0/+1
| | | | | | Signed-off-by: Daniel Gole <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.4juhosg2013-01-242-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile and build image for the Tenda 3G300Mjuhosg2013-01-192-0/+19
| | | | | | | | | | | | Factory image should be used to flash from original firmware. [juhosg: use the GENERIC_4M template] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Tenda 3G300Mjuhosg2013-01-197-0/+14
| | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Tenda 3G300Mjuhosg2013-01-195-0/+134
| | | | | | | | | | | | Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons and seven leds. Factory image should be used to flash from original firmware. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0juhosg2013-01-191-23/+3
| | | | | | | | | | | | | | | | | | These targets need custom image names specified in the uImage header. MkImage accepts an optional 4th argument to do exactly that. Reuse the facility to generate factory images. Compile-tested, the generated files inspected with "file" utility. [juhosg: - keep the factory.bin images to avoid users confusion, - use GENERIC_4M template for the W306R V2.0 - update commit log] Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: allow to override image name/suffix in GENERIC_{4,8}M macrosjuhosg2013-01-191-4/+5
| | | | | | | | | Sysupgrade/KRuImage and BuildFirmware/Generic macros are changed as well. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: do not stop the build if some targets failjuhosg2013-01-191-4/+4
| | | | | | | | | | This becomes crucial when you are using a generic profile to build an image larger than 4M, e.g. for w502u. Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: use numerically prefixed uci-defaults file names to better ↵jow2013-01-183-0/+0
| | | | | | control order of execution git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.3juhosg2013-01-181-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable BR6425N in kernel confignbd2013-01-171-0/+1
| | | | | | | | | Though originally contained in the patch applied in r35020, the move to 3.7 in r34845 lost the kernel .config option. Reintroduce it to config-3.7. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove 3.6 supportjuhosg2013-01-1214-750/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: switch to 3.7juhosg2013-01-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] adds support for Edimax BR-6524Nblogic2013-01-0612-0/+121
| | | | | | | | fixes #12754 Signed-off-by: <rq@akl.lt> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] rt5350 switch support fixblogic2013-01-021-1/+5
| | | | | | | | RT5350 frame engine need reset frame engine and embedded switch together. Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: fix garbled name in mach-mzk-w300nh2.cjuhosg2012-12-301-1/+1
| | | | | | | Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: build firmware image for the Planex MZK-W300NH2 Routerjuhosg2012-12-291-0/+20
| | | | | | | | Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Planex MZK-W300NH2 Routerjuhosg2012-12-297-0/+20
| | | | | | | | Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Routerjuhosg2012-12-296-0/+103
| | | | | | | | | | | | | | | | | | | | This is a Japanese market router, for details check http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB RAM, but base OpenWRT install worked fine for days without issues. Even an image with built-in Luci worked, but don't expect smooth experience, due to the lack of RAM. Wifi was not extensively tested, but seems it is working. GPIO LEDs & buttons, factory flash image and switch config are confirmed working. Tested against revision 34882 + this patch. [juhosg: move user-space support and image generation changes into separate patches] Signed-off-by: Samir Ibradžić <sibradzic@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3077/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: build image for Airlive AIR3GIIjuhosg2012-12-291-0/+5
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/2913/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for Airlive AIR3GIIjuhosg2012-12-295-0/+10
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/2913/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt305x: add kernel support for AirLive AIR3GIIjuhosg2012-12-296-1/+106
| | | | | | | | | | | | | | | | | | | | | | | AirLive AIR3GII is Ralink RT5350F based device with 100Mbps switch, USB port, 4MB flash and 32MB ram. Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade Does not work: wifi (chip RT5350), reset button [ 13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected. [ 13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device. Other problem: LAN leds is reverse (lights when not cable connected and vice versa) [juhosg: move user-space support and image generation changes into separate patches] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/2913/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel ↵nbd2012-12-281-1/+1
| | | | | | size after lzma and ~12k squashfs size in the default configuration git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix ASUS WL-330N3G MAC addressjuhosg2012-12-241-3/+3
| | | | | | | | | | | | | | | The ASUS WL-330N and WL-330N3G has the MAC address stored at offset 4, not 40. This is verified by reading original ASUS firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and GPL_WL-330N_source.1021/user/rc/common_ex.c. Tested on WL-330N3G, it now gets the same MAC as is printed on the label on the router. Signed-off-by: Jan Kardell <jan.kardell@arkub.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73