aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* mcs814x: fix debug UARTJohn Crispin2015-08-172-3/+48
| | | | | | | | | | Switch to new 8250 debug uart code because the old mach-mcs814x/include/mach/debug-macro.S tries to include asm/hardware/debug-8250.S which no longer exists since kernel 3.14 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix MT7621 pinmux bits for uart3, uart2, mdioJohn Crispin2015-08-171-9/+26
| | | | | | | | | | | The MT7621 uses a 2 bit wide configuration of the sdhci, spi, mdio, pcie, wdt, uart2 and uart3 in the GPIO_MODE register. It was correctly done for sdhci, spi, pcie and wdt, The same has to be done for uart3, uart2 and mdio. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix amount of MT7621 pins controlled by spi groupJohn Crispin2015-08-171-1/+1
| | | | | | | | | The PINS conntrolled by the SPI bits in the GPIO_MODE register is always 7 and not 8 for nand mode. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix uart2/uart3 pinmux order on MT7621John Crispin2015-08-171-4/+4
| | | | | | | | | The uart3 setting in GPIO_MODE register is before the uart2 setting. Also don't mix uart2 and uart3 function/groups. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: override disabled device tree module status from config.txtJohn Crispin2015-08-171-0/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: fix kmod-sound-soc-iqaudio-dac and add missing symbolJohn Crispin2015-08-171-2/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: update 4.1 patchesJohn Crispin2015-08-17147-244/+3456
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: use BuildDTB in image/MakefileJohn Crispin2015-08-171-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: switch to kernel 4.1John Crispin2015-08-171-1/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: prepare for kernel 4.1John Crispin2015-08-1715-1/+788
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove unnecessary LED declaration for WT1520 in diag.shJohn Crispin2015-08-171-3/+0
| | | | | | | | This device doesn't have defined LEDs in its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix indentation, case statements structure and optimize ↵John Crispin2015-08-171-220/+170
| | | | | | | | | | | | | | | | | | | base-files/etc/board.d/02_network The following patch: * fixes wrong indentation * combines together boards with same configuration * removes unnecessary spaces * removes empty lines after ";;" and uses only "|\" (for consistency) * orders boards alphabetically in base-files/etc/board.d/02_network script. One bug was left untouched: freestation5 board is listed twice in case statement, in ramips_setup_macs(). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: be consistent with case statement in base-files/lib/upgrade/platform.shJohn Crispin2015-08-171-117/+117
| | | | | | | | Always use "|\" (without spaces) and keep boards in alphabetical order. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.shJohn Crispin2015-08-171-217/+217
| | | | | | | | | | | | | | | | | | This patch: * fixes various mistakes (leading spaces, wrong or missing model names) * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization) * sorts boards alphabetically in base-files/lib/ramips.sh script. Case statement was tested after above changes with simple script, which: * takes model string from dts{,i} file (model = "...") * provides this value as case input ($machine) * returns output ($name) Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix various mistakes in subtargets *.mk profilesJohn Crispin2015-08-1738-166/+141
| | | | | | | | | | | | | | | | This patch: * fixes wrong indentation * fixes wrong names and descriptions (ex. Dlink -> D-Link) * changes filenames to manufacturer names * moves oem/unknown manufacturers boards to misc.mk profiles * combines profiles for boards from the same manufacturers in one file (ex. Olimex) * fix profile files structure (keep the same convention as in other targets, ex. ar71xx) in various .mk profiles, in ramips target. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove old code for Edimax BR-6524NJohn Crispin2015-08-174-25/+0
| | | | | | | | | It seems that support for Edimax BR-6524N was dropped long time ago (dts file for this device is missing). This patch removes remaining code. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix 7Links PX-4885 dts{, i}, board, image and profile namesJohn Crispin2015-08-179-19/+17
| | | | | | | | The following patch changes 7Links PX-4885 dts{,i} filenames, board, image and profile names from "PX4885" to "PX-4885" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Buffalo WMR-300 dts, board, image and profile namesJohn Crispin2015-08-176-10/+10
| | | | | | | | The following patch changes Buffalo WMR-300 dts filename, board, image and profile names from "WMR300" to "WMR-300" (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Omnima models, images and profiles namesJohn Crispin2015-08-1710-47/+49
| | | | | | | | | | | | | | | | | | | | Official names for supported Omnima products are (as on website): * Omnima HPM * Omnima MiniEMBWiFi * Omnima MiniEMBPlug This patch changes: * board names * dts filenames * profile names * image filenames * LED names for Omnima devices, for consistency. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Edimax BR-6425 board nameJohn Crispin2015-08-173-3/+3
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Tenda W150M model nameJohn Crispin2015-08-171-2/+2
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Aigale Ai-BR100 dts and profile namesJohn Crispin2015-08-173-6/+6
| | | | | | | | The following patch changes dts filename and profile name for Aigale Ai-BR100 (for consistency). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Olimex models, images and profiles namesJohn Crispin2015-08-177-25/+25
| | | | | | | | | | | | | | Official names for RT5350F based OLinuXino products are "RT5350F-OLinuXino{,-EVB}" as on official manufacturer website. The following patch: * changes board names from "olinuxino-rt5350f{,-evb}" to "rt5350f-olinuxino{,-evb}" * changes filenames of dts and profile files * changes image filenames for Olimex RT5350F-OLinuXino{,-EVB} devices. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Sitecom WL-341v3 board and image namesJohn Crispin2015-08-174-15/+15
| | | | | | | | | | | | | The following patch changes: * board name from "wl341v3" to "wl-341v3" * dts filename * LED names in dts file for Sitecom WL-341v3 device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Argus ATP-52B board and image namesJohn Crispin2015-08-175-9/+9
| | | | | | | | | | | | | | The following patch: * changes board name from "argus-atp52b" to "atp-52b" * changes dts filename * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Argus ATP-52B device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Belkin F7C027 image nameJohn Crispin2015-08-171-1/+1
| | | | | | | | This patch removes manufacturer from Belkin F7C027 image name ("belkinf7c027" -> "f7c027"). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Asus RT-N56U dts filenameJohn Crispin2015-08-172-2/+2
| | | | | | | | Other Asus RT-N dts files are named "RT-N..." (not "RTN..."), so use the same for RT-N56U. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix UPVEL model namesJohn Crispin2015-08-173-4/+4
| | | | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Xiaomi MiWiFi Mini board, image and profile namesJohn Crispin2015-08-178-16/+16
| | | | | | | | | | | | | | The following patch: * changes board name from "xiaomi-miwifi-mini" to "miwifi-mini" * changes filenames of dts and profile * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Xiaomi MiWiFi Mini device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Asus RP-N53 and Lenovo Y1{, S} image namesJohn Crispin2015-08-171-3/+3
| | | | | | | | | | This patch: * fixes typo (rp_n53 -> rp-n53) in Asus RP-N53 image name * removes manufacturer from image names for Lenovo Y1{,S} devices Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Asus WL-330N{, 3G} boards namesJohn Crispin2015-08-173-6/+6
| | | | | | | | There are other Asus boards supported in ramips target, so use the same naming scheme for WL-330N{,3G} boards and their dts files. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix Zbtlink ZBT-WR8305RT board nameJohn Crispin2015-08-177-17/+17
| | | | | | | | There is another Zbtlink board (ZBT-WA05) supported in ramips target, so use the same naming scheme for ZBT-WR8305RT board and its dts file. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix indentation and other mistakes in .dts{, i} filesJohn Crispin2015-08-17158-433/+1113
| | | | | | | | | | | | | | | | | | | | The following patch fixes: * wrong indentations * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1) * duplicate spacings * empty lines at end of files and after last child nodes * trailing and leading whitespace * unnecessary and commented-out code * missing empty lines between nodes and between properties and nodes * unnecessary empty lines between nodes properties [1] in .dts{,i} files, for ramips target. [1] Some of empty lines in SOCs dtsi files were left untouched, because they seem to be there for a reason (readability?). Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: yaffs2: update to version from 2015-06-02Hauke Mehrtens2015-08-1514-175/+288
| | | | | | | | | | | In addition to the update this also fixes compile problems with kernel 4.1. This closes #20323. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: respect CONFIG_TARGET_IMAGES_GZIPZoltan HERPAI2015-08-151-0/+4
| | | | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: create KDIR_TMP, build boot.img in itZoltan HERPAI2015-08-151-6/+8
| | | | | | | | | | | | | | | | | | | It's nice to have a distinction between files which are built during the normal OpenWrt build process and ones that are created by the ImageBuilder (like it already exists on some other targets). This also gives boot.img a profile-specific prefix as it contains profile- specific data. KDIR_TMP does not need to be specified since include/image.mk already sets it. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46607 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: fix uboot install locationZoltan HERPAI2015-08-151-2/+2
| | | | | | | | | | | | Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix ImageBuilder. Similar fixes are necessary for many (all?) other uboot targets. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: don't copy DTS files to BIN_DIRZoltan HERPAI2015-08-151-25/+5
| | | | | | | | | | | The DTS files aren't useful (other targets don't copy them either) and clutter BIN_DIR with files unrelated to the chosen profile. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: switch to new image build systemJonas Gorski2015-08-141-24/+44
| | | | | | | | | Switch ipq806x to the new image build system. Image files might change slightly their names, but the generated files should not change. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move gzip build command to include/image.mkJonas Gorski2015-08-141-5/+0
| | | | | | | | Allow other targets to make use of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: disable dma for spi on linux 4.1 as wellJonas Gorski2015-08-144-16/+3
| | | | | | | | | Linux 4.1 is also affected from the dma issue, so remove the dma proprties there as well. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.5Jonas Gorski2015-08-1473-583/+330
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: store the device name variableJonas Gorski2015-08-142-15/+2
| | | | | | | | | Make the device name accessible for any build commands instead of forcing targets to define it themselves. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: replace all Build/netgear-chk with a generic implementationJonas Gorski2015-08-143-21/+0
| | | | | | | | | Instead of letting each target define it themselves, create on in include/image.mk and let the targets use it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-4/+4
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-5/+5
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-7/+7
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-144-8/+0
| | | | | | | | | | | Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: disable DMA on the SPI flashFelix Fietkau2015-08-134-16/+3
| | | | | | | | | | | | | Previous patch 6f2905eeb6ce5ddec8d12d677e1f377a940b537b enabled ADM in the kernel, which causes a kernel panic when accessing the SPI flash. As a workaround, We'll disable DMA for the flash for now. It was not enabled previously anyway so we'll just leave it as is. Reported-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix reading WGT634U CFE variablesRafał Miłecki2015-08-121-6/+6
| | | | | | | | | | We got check for nvram_len placed too early and the code never tried reading CFE variables used on WGT634U. This is a regression introduced in r45942 and reported in #20291. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46584 3c298f89-4303-0410-b956-a3cf2f4a3e73