aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
Commit message (Collapse)AuthorAgeFilesLines
* treewide: dts: use keycode defines from input dt-bindingMathias Kresin2016-11-133-7/+13
| | | | | | | | | | | | | | | | | | | | | All compiled device tree files not mentioned are binary identical to the former ones. Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts. Due to the include of the input binding header, the BTN_* node names in: - ramips/GL-MT300A.dts - ramips/GL-MT300N.dts - ramips/GL-MT750.dts - ramips/Timecloud.dts will be changed by the compiler to the numerical equivalent. Move the binding include of lantiq boards to the file where they are used the first time to hint the user where the values do come from. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: use C style includesMathias Kresin2016-11-121-1/+1
| | | | | | | No functional change but allows me to use one script to compile all device tree source files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update kernel 4.1 to version 4.1.34Stijn Tintel2016-10-244-6/+6
| | | | | | | | | | | | Refresh patches for all targets supporting 4.1 and not marked broken. Compile-tested on all targets using 4.1 and not marked broken. Changes to generic/610-netfilter_match_bypass_default_checks.patch based on 84d489f64f3b382d5544e342f66d8806e94e85d3. Changes to generic/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch based on a90ee92337d60fd14b6431adcda9929b955f3408. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* switch to the new usbport LED triggerRafał Miłecki2016-10-191-1/+1
| | | | | | | This makes init.d script handle existing UCI entries using the new trigger. It also switches all targets to use its package. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.4 to version 4.4.22Stijn Segers2016-09-301-1/+1
| | | | | | Forgot to update kernel-version.mk, so updated patch. Compile-tested on x86/64 and ar71xx; run-tested on x86/64 and ar71xx. Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-131-1/+1
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* cleanup ucidef_set_interface* usageMathias Kresin2016-09-101-1/+1
| | | | | | | | - quote the interface name - remove call of not existing function - remove the proto if it's the default proto Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-1/+1
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* oxnas: small image improvements for kd20Daniel Golle2016-09-091-2/+4
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add mem=128M to stg-212 built-in cmdline for legacy u-bootDaniel Golle2016-09-041-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add method to extract mac_adr from legacy cmdlineDaniel Golle2016-09-042-0/+34
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: kd20: generate image compatible with stock firmwareDaniel Golle2016-09-042-6/+47
| | | | | | | | * adjust MTD partitions to match vendor's scheme * generate *factory.tar.gz image compatible with stock web-if firmware upgrade interface Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: allow booting with legacy loadersDaniel Golle2016-09-044-23/+387
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-231-2/+2
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* oxnas: drop explicit pre-init ifaceDaniel Golle2016-08-221-2/+0
| | | | | | | | | According to Jonas Gorski this is no longer needed, the problem originally addressed by first adding 07_preinit_iface and subsequently merging that into 02_network was probably a bug during the transition to the new board.d pre-init approach. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: set preinit interface in /etc/board.d/02_networkDaniel Golle2016-08-192-7/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: set preinit network interfaceDaniel Golle2016-08-111-0/+7
| | | | | | set network interface for failsafe mode to eth0 for all boards Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-291-1/+1
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* oxnas: add kmod-ledtrig-timer to default package setDaniel Golle2016-07-181-3/+3
| | | | | | It is needed for preinit/failsafe indications to work. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: use DHCP by default on ethernet interface (lan)Daniel Golle2016-07-181-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: sync kernel config-4.1 with changes made to config-4.4Daniel Golle2016-07-181-7/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add DTB for Akitio devices in patches-4.1Daniel Golle2016-07-181-2/+3
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: revert to kernel 4.1Daniel Golle2016-07-1821-2/+899
| | | | | | | | | A bug resulting in the NAND not being detected by newer kernels has kept me sleepless for months and yet I wasn't able to discover the cause. Bring back patches and files for 4.1 until this has been resolved. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* image: clean up UBI related device variable definitionsFelix Fietkau2016-07-141-2/+1
| | | | | | | Move UBI related variable export to core, since the variables are used by a core Build/ template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-261-2/+2
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* oxnas: install kernel binaries into bin/ for use with external storageFelix Fietkau2016-06-071-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: remove unneeded _DIAG symbolsDirk Neukirchen2016-06-061-5/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-021-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* oxnas: use global UBIFS_OPTS, all profiles use the same settingsFelix Fietkau2016-05-221-5/+1
| | | | | | Fixes build when selecting a device profile Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: drop compatibility with old kernels from mach-ox820Daniel Golle2016-05-201-5/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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