aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* procd: fix seccomp build on some architecturesHauke Mehrtens2015-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | fix generating syscall-names.h Sometimes the syscall number is not defined with a number but with an offset to an other syscall and then make_syscall_h.sh created some broken header file. For example the bit/syscall.h from musl for i386 has this: #define __NR_timer_create 259 #define __NR_timer_settime (__NR_timer_create+1) With this patch the resulting array looks like this: [259] = "timer_create", [(__NR_timer_create+1)] = "timer_settime", This closes #20195. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: gcc: add gcc 5.2.0Hauke Mehrtens2015-08-1633-0/+1275
| | | | | | | | | This was boot tested on mipsel32, arm32 and x86 only. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubi-utils: fix build with gcc5Hauke Mehrtens2015-08-163-2/+43
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46610 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
* samba36: preserve smbpasswd across sysupgradeHauke Mehrtens2015-08-151-0/+1
| | | | | | | | | | | Add /etc/samba/smbpasswd to list of samba conffiles thus preserving samba passwords across sysupgrade by default. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: fix uboot install locationZoltan HERPAI2015-08-152-9/+9
| | | | | | | | | | | | 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
* tools: xz: update to version 5.2.1Hauke Mehrtens2015-08-151-2/+2
| | | | | | | | | | This adds support for symbol versioning which is needed on CentOs/RedHat 7 to fix #20134. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46603 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-142-5/+5
| | | | | | | | 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
* image.mk: add a fit recipeJonas Gorski2015-08-141-0/+10
| | | | | | | | Add a recipe to build a fit wrapped kernel (and optional dtb). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46600 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-1474-585/+332
| | | | | | | | | 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-143-16/+4
| | | | | | | | | 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-144-21/+9
| | | | | | | | | 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-145-8/+1
| | | | | | | | | | | 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
* image: fix handling of per-device kernel build commandsFelix Fietkau2015-08-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oprofile: fix path to kernel headersFelix Fietkau2015-08-131-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46588 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
* base-files: buttons: make power script return 0Rafał Miłecki2015-08-121-0/+2
| | | | | | | | It was missed in the r46471. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: switch buttons to the new "button" hotplug handlerRafał Miłecki2015-08-101-1/+1
| | | | | | | | | This allows requesting "timeout" ACTION in script by returning a positive value. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to the latest version, add "button" hotplug handlerRafał Miłecki2015-08-101-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46578 3c298f89-4303-0410-b956-a3cf2f4a3e73