summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood
Commit message (Collapse)AuthorAgeFilesLines
* kirkwood: fix include in etc/board.d/02_networkAlberto Bursi2017-03-011-0/+1
| | | | | | the mtd_get_mac_ascii function called within this script requires the inclusion of /lib/functions/system.sh Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* kirkwood: only add UBI EOF markers for devices that need itFelix Fietkau2017-01-111-1/+2
| | | | | | Fixes issues where the second-stage u-boot already uses UBI. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-1/+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>
* kernel: bump to 4.4.40Hauke Mehrtens2017-01-061-5/+5
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kirkwood: fix ubi partition nameFelix Fietkau2016-12-303-9/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: fix sysupgrade for non-dockstar NAND devicesFelix Fietkau2016-12-301-2/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: enable initramfs images by defaultFelix Fietkau2016-12-271-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up profiles, move to image makefileFelix Fietkau2016-12-246-234/+28
| | | | | | Adds support for per-device rootfs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: enable SoC drivers in the kernel configFelix Fietkau2016-12-241-6/+17
| | | | | | Clean up packaged modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up FEATURESFelix Fietkau2016-12-241-1/+1
| | | | | | | | | Remove dt: it is implicitly enabled based on the kernel config Remove tar.gz and jffs2_nand: Legacy build code has been removed, NAND devices are only supported with UBI now. Remove ubifs: deprecated, use squashfs images instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove legacy image build codeFelix Fietkau2016-12-241-96/+0
| | | | | | This has been mostly non-functional for a while now Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build codeFelix Fietkau2016-12-241-4/+19
| | | | | | | Update the correspoding u-boot configs to stop relying on kernel-in-rootfs, which was removed a while back Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: fix pogo_e02 LED namePaul Wassi2016-10-261-2/+4
| | | | | | | The pogo_e02's dts file has its LEDs named "pogo_e02:(...)" Fix the status-LED's name for this device. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* kirkwood: remove redundant code in etc/board.d/02_networkPaul Wassi2016-10-261-10/+5
| | | | | | | | Remove redundant code: merge boards/cases that share the same network configuration. Also fix the alphabetical ordering of the cases. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* kirkwood: Add RTC driver to kernel for working hctosysPaul Wassi2016-10-263-6/+6
| | | | | | | Build the RTC driver into the kernel, (and remove the optional module), in order to make hctosys working. (Currently the module is loaded after hctosys has failed previously) Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* kirkwood: fix uimage creation for some kirkwood devicesbobafetthotmail2016-09-191-1/+0
| | | | | | | | | because with the current system I'm getting fake uImages that are actually a renamed zImage, and that's plain wrong. This fixes bug https://bugs.lede-project.org/index.php?do=details&task_id=131 and https://bugs.lede-project.org/index.php?do=details&task_id=139 Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-131-2/+2
| | | | | | | | | | | Using pad-to instead of passing the optional padding to append-kernel or append-rootfs. It could be that the value of a variable is passed. In case the variable is empty no error is thrown. Furthermore the purpose of the extra parameter is hard to get without reading the code. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-131-1/+0
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-121-0/+1
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* 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>
* image: remove shell calls from legacy ubi/ubifs image codeFelix Fietkau2016-07-251-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: fix UBIFS_OPTS variable in image buildFelix Fietkau2016-07-251-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove obsolete code for including kernel/dtb in rootfsFelix Fietkau2016-07-201-45/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove obsolete ubinize.cfg fileFelix Fietkau2016-07-201-13/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up redundant variables in the image building codeFelix Fietkau2016-07-201-15/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: get rid of useless ubifs/ubi option variablesFelix Fietkau2016-07-201-33/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-2/+1
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: clean up UBI related device variable definitionsFelix Fietkau2016-07-141-1/+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: Move append-dtb to common image-commandsBen Whitten2016-06-221-4/+0
| | | | | | This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* kirkwood: install kernel binaries into bin/ for use with external storageFelix Fietkau2016-06-071-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: add missing kernel symbolJo-Philipp Wich2016-05-241-0/+1
| | | | | | | The query for ARMADA_THERMAL is stalling the kconfig process and as long as we do not package it, simply disable the symbol. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kirkwood: move ubi/ubifs options to the image makefileFelix Fietkau2016-05-193-36/+36
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: refresh patchesLuka Perkov2016-03-141-4/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49022
* kirkwood: drop 3.18Luka Perkov2016-03-1413-1500/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49021
* kirkwood: switch to 4.4Luka Perkov2016-03-141-1/+1
| | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49020
* kirkwood: add 4.4 supportLuka Perkov2016-03-1411-0/+1349
| | | | | | | | | | | | | | Dropped patches because they applied upstream: - 120-iomega_ix2_200.patch - 150-pogoplug_e02.patch Tested on dockstar and goflexnet. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49019
* kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mbLuka Perkov2016-03-142-2/+2
| | | | | | | | | Previous the uboot was overwriting the device-tree's mtd layout to use the last 3 mb. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49015
* kirkwood/goflexhome/goflexnet: merge "root" and unused mtd partitions into ↵Luka Perkov2016-03-142-16/+35
| | | | | | | | | | | | one volume "ubi" The kernel will automatic attach mtd partitions named 'ubi' to ubi0. Renaming the "root" partition into "ubi" will safe arguments from the kernel cmdline. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49014
* linux/kirkwood: migrate goflexhome/goflexnet to new ubi styleLuka Perkov2016-03-141-7/+13
| | | | | | | | Also using the new image build step format Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49013
* kirkwood/dockstar: rename partition into ubi to use auto detection of target mtdLuka Perkov2016-03-141-1/+1
| | | | | | | | | the kernel tries to use "ubi" or "data" labeled partition to find it's root filesystem. dockstar don't need anymore mtdparts= nor root= bootarguments Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49011
* kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) imagesLuka Perkov2016-03-142-4/+15
| | | | | | | | | | | | | | | | | | | The new image requires `bootz` because of devicetree appending. To flash a new image boot initramfs: tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin bootz 0x800000 # detach if already attached ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') # scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin # attach is important to resize rootfs_data otherwise it wont boot ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49010
* kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi imagesLuka Perkov2016-03-141-1/+16
| | | | | | | | depending on KERNEL_IN_UBI, the image.mk will create a ubi volume for the kernel Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49009
* kirkwood: add feature devicetreeLuka Perkov2016-03-141-1/+1
| | | | | | | | this platform already uses devicetree Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49008
* kirkwood: drop 4.3 supportLuka Perkov2016-01-2510-1339/+0
| | | | | | Signed-off-by: Luka Perkov <luka.perkov@sartura.hr> SVN-Revision: 48499
* 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
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
* 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
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753