aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-1/+1
| | | | | | | | | | | | Do not put the u-boot images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-2/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: minor kernel config improvementsDaniel Golle2017-01-071-1/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: require image metadataDaniel Golle2017-01-071-0/+1
| | | | | | | Now that we generate images with metadata attached, require it in order to prevent accidentally flashing the wrong image to a board. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: remove some kprintf calls from NAND driverDaniel Golle2017-01-071-5/+0
| | | | | | They were added for debugging and I forgot to remove them. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump to 4.4.40Hauke Mehrtens2017-01-061-3/+3
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* oxnas: remove support for pre-4.4 kernels from driversDaniel Golle2017-01-044-63/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: mtd: backport SPI_NOR_HAS_LOCKVictor Shyba2017-01-032-77/+36
| | | | | | | | | This flag was added to 4.9 with upstream commit 76a4707de5e18dc32d9cb4e990686140c5664a15. Signed-off-by: Victor Shyba <victor1984@riseup.net> [refresh and adjust platform patches, fix commit message] Signed-off-by: Mathias Kresin <dev@kresin.me>
* oxnas: fix syntax in ox820-akitio.dtsHauke Mehrtens2017-01-021-0/+1
| | | | | | | | | | | | | | | | | This commit introduced a syntax error in ox820-akitio.dts which is fixed now: commit 5cde94d9ab577c5ab68fc71e15a05d1bda5041f2 Author: Daniel Golle <daniel@makrotopia.org> Date: Sat Sep 24 01:14:53 2016 +0200 oxnas: backport upstream NAND driver This caused the folowing error message in the build bot: Error: arch/arm/boot/dts/ox820-akitio.dts:146.3-147.1 syntax error FATAL ERROR: Unable to parse input tree scripts/Makefile.lib:293: recipe for target 'arch/arm/boot/dts/ox820-akitio.dtb' failed make[5]: *** [arch/arm/boot/dts/ox820-akitio.dtb] Error 1 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* oxnas: append metadata to sysupgrade imageDaniel Golle2017-01-011-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: backport upstream NAND driverDaniel Golle2017-01-0112-156/+5908
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop support for kernel 4.1Daniel Golle2017-01-0116-1013/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: switch to kernel 4.4Daniel Golle2017-01-011-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>