aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
Commit message (Collapse)AuthorAgeFilesLines
...
* oxnas: drop compatibility with old kernels from pinctrlDaniel Golle2016-05-201-8/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop compatibility with old kernels from irq-rpsDaniel Golle2016-05-201-23/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop compatibility with old kernels from dwmac-oxnasDaniel Golle2016-05-201-27/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: sync 010-arm_introduce-dma-fiq-irq-broadcast with cns3xxxDaniel Golle2016-05-201-15/+27
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: move target-specific modules into target's modules.mkDaniel Golle2016-05-171-0/+41
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: reorganize image build code and nuke profilesDaniel Golle2016-05-167-119/+36
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: delete linux 4.1 supportFelix Fietkau2016-05-1215-831/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: add missing semicolonLuka Perkov2016-04-241-1/+1
| | | | | | | | | A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts caused the build to break. Add it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49219
* oxnas: clean-up and improve profilesHauke Mehrtens2016-04-192-7/+10
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49198
* oxnas: add support for Akitio MyCloud miniHauke Mehrtens2016-04-197-3/+166
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49197
* oxnas: set ubifs parameters for Default profileJohn Crispin2016-03-231-0/+1
| | | | | | | | | | | | | | | | | | Work-around obsolete mkfs/ubifs code. Unlike squashfs, ubifs images should be generated per-device so minimum I/O unit size, logical erase block size, maximum logical erase block count can be defined for the specific flash-chips parameters. Also, generating ubinized images is unrelated to rootfs being ubifs or squashfs, but rather depends on the device supporting UBI or not. In the meantime and in order to fix an error which currently causes the image generation on buildbot to fail, work-around by defining UBIFS_OPTS for the Default profile. See also http://buildbot.openwrt.org:8010/builders/oxnas/builds/246/steps/compile_8/logs/stdio Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49068
* oxnas: sync cpu-hotplug with mach-realviewJohn Crispin2016-03-201-4/+3
| | | | | | | | | Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c, just cosmetics and maintainability concerns, no functional changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49044
* oxnas: add spinlock in pinctrl driverJohn Crispin2016-03-201-2/+16
| | | | | | | | Try to address a race-condition in pinctrl-oxnas.c Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49043
* oxnas: also reset GPIO B registers on bootJohn Crispin2016-03-201-6/+6
| | | | | | | | | | Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error. Thanks to anonymous to bring this up in #21892! Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49042
* oxnas: switch to new image generation templateJohn Crispin2016-03-201-86/+44
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49041
* oxnas: add Default profile and reorganize device profilesJohn Crispin2016-03-204-23/+52
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49040
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-181-1/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49035
* oxnas: complete NAND driver clean-upJohn Crispin2016-03-101-4/+0
| | | | | | | | some bit rot was accidentally left-out in r48986, remove it. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48997
* oxnas: clean-up NAND driver to fix probing issueJohn Crispin2016-03-101-13/+5
| | | | | | | | | | | A re-write of the driver based on xway_nand.c and constants as well as the cmd_ctrl() function from the original oxnas_nand.c resulted in a extremely similar looking file (see diffsize), and fixes the issue of NAND not being detected on newer kernels. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48986
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-251-1/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48783
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48493
* 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> SVN-Revision: 48398
* oxnas: switch to Linux 4.4Felix Fietkau2016-01-181-1/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48340
* oxnas: add patches and config for Linux 4.4Felix Fietkau2016-01-1815-0/+838
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48339
* oxnas: prepare platform and drivers for Linux 4.4Felix Fietkau2016-01-182-0/+9
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48338
* 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> SVN-Revision: 48337
* 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> SVN-Revision: 47867
* 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> SVN-Revision: 47618
* oxnas: add missing platform bindings for stmmac glueJohn Crispin2015-11-211-0/+19
| | | | | | | | | | | r47218 was missing needed changes which were accidentally ommitted from the patch. This should fix #20878 Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47552
* oxnas: image: Remove custom mkfs targz override as base should be fine nowFelix Fietkau2015-10-311-5/+0
| | | | | | | | | It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47314
* oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variableFelix Fietkau2015-10-311-12/+8
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47310
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-251-1/+1
| | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47252
* oxnas: move gmac soc glue from mach to stmmac driverJohn Crispin2015-10-193-101/+197
| | | | | | | | | Still a lot of kernel-version ifdef'ery, but imho that's easy to remove once obsoleted and avoids duplicate code in the meantime. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47218
* oxnas: prepare pinctrl for kernel >=4.2John Crispin2015-10-191-0/+7
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47217
* oxnas: prepare irqchip driver for kernel >=4.2John Crispin2015-10-191-3/+20
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47216
* oxnas: fix duplicate include in clk-oxnasJohn Crispin2015-10-191-1/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47215
* oxnas: remove obsolete __cpuinitJohn Crispin2015-10-191-3/+3
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47214
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-042-4/+4
| | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
* 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> SVN-Revision: 47039
* 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> SVN-Revision: 47038
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-231-4/+4
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46713
* oxnas: remove support for kernel 3.18 and 4.0John Crispin2015-08-1728-1554/+0
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 46668
* oxnas: switch to kernel 4.1John Crispin2015-08-171-1/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 46637
* oxnas: prepare for kernel 4.1John Crispin2015-08-1715-1/+788
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 46636
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-141-1/+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> SVN-Revision: 46592
* kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-091-4/+4
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46570
* kernel: update 4.0 to 4.0.7Jonas Gorski2015-06-301-1/+1
| | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.6 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.7 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46151
* kernel: update 3.18 to 3.18.17Jonas Gorski2015-06-301-1/+1
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46150
* kernel: update 4.0 to 4.0.5Jonas Gorski2015-06-1913-125/+67
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46063
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-171-2/+2
| | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46011