aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/base-files
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: finally make board names consistentFelix Fietkau2016-01-203-4/+4
| | | | | | | | | | | | | | r48337 unfortunately incorrectly changed the boardname of the stg212 into stg-212 which is not the name of the image of DTS file or boardname using sysupgrade, which is 'stg212' and imho should stay that way. The changes r48337 made for pogoplug-pro and pogoplug-v3 were correct, thus this commit only partially reverts r48337. Also properly set default for USB LED while already at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48398 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: fix the incorrect board namesFelix Fietkau2016-01-183-6/+6
| | | | | | | Signed-off-by: Shonn Lu <countrysideboy@qq.com> Acked-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: set irq of usb&sata to cpu1John Crispin2015-11-241-0/+22
| | | | | | | | | V2: The KD-20 also has USB 3.0.I modiy the set_irq_affinity usb 2 to set_irq_affinity ?hci_hcd 2 to bind usb 2.0&3.0 to cpu1. Signed-off-by: Shonn Lu <countrysideboy@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-241-0/+4
| | | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently it leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. This can be a bit confusing. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. This follows all other targets making it finally possible to change nand_do_platform_check. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: drop some unused sysupgrade codeRafał Miłecki2015-09-241-9/+0
| | | | | | | | | | | | First of all platform_do_upgrade_phase2 doesn't seem to be defined anywhere. Other than that platform_do_upgrade is not likely to be ever called. There is a call to nand_do_platform_check which triggers nand_upgrade_stage1 call with "exit 0" in it. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add new target 'oxnas'John Crispin2014-11-266-0/+164
This is the oxnas target previously developed at http://gitorious.org/openwrt-oxnas Basically, this consolidates the changes and addtionas from http://github.org/kref/linux-oxnas into a new OpenWrt hardware target 'oxnas' adding support for PLX Technology NAS7820/NAS7821/NAS7825/... formally known as Oxford Semiconductor OXE810SE/OXE815/OX820/... For now there are 4 supported boards: Cloud Engines Pogoplug V3 (without PCIe) fully supported Cloud Engines Pogoplug Pro (with PCIe) fully supported MitraStar STG-212 aka ZyXEL NSA-212, aka Medion Akoya P89625 / P89636 / P89626 / P89630, aka Medion MD 86407 / MD 86805 / MD 86517 / MD 86587 fully supported, see http://wiki.openwrt.org/toh/medion/md86587 Shuttle KD-20 partially supported (S-ATA driver lacks support for 2nd port) Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43388 3c298f89-4303-0410-b956-a3cf2f4a3e73