aboutsummaryrefslogtreecommitdiffstats
path: root/target/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* base-files: rename 'sdcard' to 'legacy-sdcard'Daniel Golle2021-08-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While an image layout based on MBR and 'bootfs' partition may be easy to understand for users who are very used to the IBM PC and always have the option to access the SD card outside of the device (and hence don't really depend on other recovery methods or dual-boot), in my opinion it's a dead end for many desirable features on embedded systems, especially when managed remotely (and hence without an easy option to access the SD card using another device in case things go wrong, for example). Let me explain: * using a MSDOS/VFAT filesystem to store kernel(s) is problematic, as a single corruption of the bootfs can render the system into a state that it no longer boots at all. This makes dual-boot useless, or at least very tedious to setup with then 2 independent boot partitions to avoid the single point of failure on a "hot" block (the FAT index of the boot partition, written every time a file is changed in bootfs). And well: most targets even store the bootloader environment in a file in that very same FAT filesystem, hence it cannot be used to script a reliable dual-boot method (as loading the environment itself will already fail if the filesystem is corrupted). * loading the kernel uImage from bootfs and using rootfs inside an additional partition means the bootloader can only validate the kernel -- if rootfs is broken or corrupted, this can lead to a reboot loop, which is often a quite costly thing to happen in terms of hardware lifetime. * imitating MBR-boot behavior with a FAT-formatted bootfs partition (like IBM PC in the 80s and 90s) is just one of many choices on embedded targets. There are much better options with modern U-Boot (which is what we use and build from source for all targets booting off SD cards), see examples in mediatek/mt7622 and mediatek/mt7623. Hence rename the 'sdcard' feature to 'legacy-sdcard', and prefix functions with 'legacy_sdcard_' instead of 'sdcard_'. Tested-by: Stijn Tintel <stijn@linux-ipv6.be> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* base-files: add generic sdcard upgrade methodStijn Tintel2021-08-071-0/+3
| | | | | | | | Add a generic sdcard upgrade method instead of duplicating code in yet another target, and add a feature flag to only install this upgrade method in targets that set this flag. Copied from mvebu. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* include/image*: add support for device-tree overlaysDaniel Golle2021-03-171-0/+3
| | | | | | | | | | | Add new target feature 'dt-overlay' which makes DTC keep the symbol names in the generated dtb. Make sure additional DT overlay sources specified by the new device variable DEVICE_DTS_OVERLAY get compiled together with the main DTS (currently overlays got to be in the same folder). Let Build/fit pass the generated DT overlay blobs to mkits.sh. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* treewide: fix spelling 'seperate' -> 'separate'Daniel Golle2021-02-281-1/+1
| | | | | | | This popular spelling mistake was also introduced by myself lately. Fix it everywhere. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* image: allow building FIT and uImage with ramdiskDaniel Golle2021-02-241-0/+3
| | | | | | | | | | | | | Instead of embedding the initrd cpio archive into the kernel, allow for having an external ramdisk added to the FIT or uImage. This is useful to overcome kernel size limitations present in many stock bootloaders, as the ramdisk is then loaded seperately and doesn't add to the kernel size. Hence we can have larger ramdisks to host ie. installers with all binaries to flash included (or a web-based firmware selector). In terms of performance and total size the differences are neglectible. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* build: define PWM_SUPPORT arch feature flagChristian Lamparter2020-09-251-0/+3
| | | | | | | | | | As the PWM has its own sub-system in the Linux kernel, I think it should be handled in the same way as GPIO, RTC, PCI... This patch introduces a specific feature flag "pwm" and the "leds-pwm" kernel module as the first customer. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* build: define RTC_SUPPORT as a boolEneas U de Queiroz2020-04-091-2/+1
| | | | | | | | | | | | | | | Currently, RTC_SUPPORT is defined as a tristate, with 'depends on m', which is supposed to only let it be set to 'm' or 'n'. However, scripts/target-metadata.pl will 'select' it, or setting it to 'y', which defeats it's 'depends on m' restriction. The users of the symbol are not expecting it to be necessarily 'm' either, so we can safely use it as bool. Newer versions of Linux 'conf' will issue a warning when it detects such unmet dependencies, and will set it to 'n' instead of 'y', as the current version does. In all cases, 'm' is never used. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* build: add a config option for enabling a testing version of the target kernelFelix Fietkau2019-05-111-0/+3
| | | | | | | If the target supports a newer kernel version that is not used by default yet, it can be enabled with this option Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for enabling the rootfs/boot partition size option via ↵Felix Fietkau2018-09-031-0/+6
| | | | | | target feature Signed-off-by: Felix Fietkau <nbd@nbd.name>
* config: set ARCH if powerpc64 is selected in the configurationFlorian Larysch2017-10-241-0/+1
| | | | Signed-off-by: Florian Larysch <fl@n621.de>
* kernel: allow selecting RTC drivers on targets without explicit RTC supportFelix Fietkau2017-05-021-1/+2
| | | | | | Keep them disabled by default to avoid pulling in extra kernel bloat Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add plan 9 fs packageMatteo Croce2016-08-111-0/+3
| | | | | | | 9pfs is used by kvm to share files between host and guest, add proper config option to enable it. Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
* target.mk: rework arm architecture level detectionFelix Fietkau2016-07-151-6/+0
| | | | | | | | Use kernel config as input instead of -march CFLAGS. With this change, -march can be dropped and replaced with more specific optimization flags for better code generation. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: add kernel2minor utility for Mikrotik devicesSergey Sergeev2016-07-051-0/+3
| | | | | | | | This patch adds support of Mikrotik yaffs2 filesystem image for kernel file and tools/kernel2minor package. We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* config: add a small_flash featureJohn Crispin2016-06-131-0/+3
| | | | | | this causes KALLSYMS to be off by default Signed-off-by: John Crispin <john@phrozen.org>
* build: remove profile kernel/build system config override supportFelix Fietkau2016-05-151-3/+0
| | | | | | It has been unused for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: add support of ARC architectureFelix Fietkau2015-11-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes binutils, gcc, gdb and uClibc-ng. Latest release of ARC gcc (as of today it is "arc-2015.06") is based on upstream gcc 4.8.4. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/gcc Latest release of ARC binutils (as of today it is "arc-2015.06") is based on upstream binutils 2.23. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06 Latest release of ARC GDB (as of today this is "arc-2015.06-gdb") is based on upstream gdb 7.9.1. Sources are available on GitHub, see: https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb Note that for binutils and gdb that come from unified git repository (which is the case for upstream binutils/gdb today) we need to disable building of gdb in binutils and binutils in gdb hence in binutils: ------>8------ --disable-sim --disable-gdb ------>8------ and in gdb: ------>8------ --disable-binutils --disable-ld --disable-gas ------>8------ Also in gdb we disable sim because if the following breakage while building with it: ------------>8------------ /usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \ -mono -fast -pbb -switch sem5-switch.c \ -cpu a5f -infile ./mloop5.in \ -outfile-suffix 5 unknown option: bash Makefile:699: recipe for target 'stamp-5mloop' failed make[7]: *** [stamp-5mloop] Error 1 ------------>8------------ Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> SVN-Revision: 47438
* build: remove obsolete references to cris and avr32Felix Fietkau2015-03-241-9/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44965
* aarch64: add initial supportFlorian Fainelli2014-11-241-0/+11
| | | | | | | | Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43353
* kernel: add a NAND_SUPPORT symbolJohn Crispin2014-06-111-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41122
* build: add a feature flag for low-memory systemsFelix Fietkau2014-06-021-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40980
* add a feature flag for device tree supportImre Kaloz2013-11-221-0/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38893
* build: drop FIT option until we actually need itLuka Perkov2013-10-171-3/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38439
* build: add menuconfig option for building FIT imagesLuka Perkov2013-10-161-0/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38431
* kernel: add a new global config symbol for enabling rfkill support (can be ↵Felix Fietkau2013-07-211-0/+3
| | | | | | | | enabled by default via target feature flag) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37491
* target: split jffs2 NAND out of jffs2Jonas Gorski2013-06-051-0/+3
| | | | | | | | | | | | Make jffs2_nand a separate option so this can be triggered without forcing jffs2 images for nor targets. Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout in <page_size>:<block_size> pairs. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36860
* build: add config symbols for different ARM arch levelsFelix Fietkau2013-05-131-0/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36620
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-2/+2
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36351
* buildroot: factor knowledge of a 64bits architectureFlorian Fainelli2013-04-051-0/+7
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36204
* buildroot: allow enabling MIPS16 user-space buildFlorian Fainelli2013-04-051-0/+4
| | | | | | | | | | | Enabling MIPS16 is made conditional on advertising the "mips16" feature for a specific target since it requires support from the CPU (HAS_MIPS16) and the actual use of MIPS16 for building packages (USE_MIPS16). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36202
* kernel: remove references to TARGET_ubicom32Florian Fainelli2012-11-301-5/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34431
* target: add a feature flag for RTC supportFelix Fietkau2012-05-171-0/+3
| | | | SVN-Revision: 31777
* mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale ↵Felix Fietkau2011-01-161-0/+5
| | | | | | powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space SVN-Revision: 25018
* switch from ext2 to ext4 (w/o) journalingImre Kaloz2010-11-221-1/+1
| | | | SVN-Revision: 24084
* make the display support feature flag selectableFelix Fietkau2010-11-021-3/+0
| | | | SVN-Revision: 23791
* as we only support 2.6, remove the useless bool for itImre Kaloz2010-10-051-3/+0
| | | | SVN-Revision: 23246
* Toto, we don't support Linux 2.4 anymore..Imre Kaloz2010-10-051-3/+0
| | | | SVN-Revision: 23245
* Add usb gadget feature flagMichael Büsch2010-08-251-0/+3
| | | | SVN-Revision: 22798
* buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZNicolas Thill2010-04-281-1/+1
| | | | SVN-Revision: 21238
* Add audio feature flag.Lars-Peter Clausen2010-02-151-0/+5
| | | | | | | | | There are targets which neither have usb host nor pci support but do have audio capabilities. Those targets should expliclitly specifiy that they support audio through the new feature flag. The audio feature flag is also implicitly selected by the usb and pci feature flags. SVN-Revision: 19643
* Add support for building ubifs images.Lars-Peter Clausen2010-01-111-1/+4
| | | | SVN-Revision: 19097
* sort & rearrange arch selectionNicolas Thill2009-12-231-38/+34
| | | | SVN-Revision: 18904
* Config.in: fix powerpc64 endiannessNicolas Thill2009-12-181-0/+1
| | | | SVN-Revision: 18828
* add nommu target feature flagFelix Fietkau2009-08-211-0/+3
| | | | SVN-Revision: 17347
* add a heavily cleaned up version of ubicom32 toolchain supportFelix Fietkau2009-08-211-0/+5
| | | | SVN-Revision: 17346
* powerpc: Create a powerpc64 config featureGeoff Levand2009-08-181-0/+3
| | | | | | | | | | | The config symbol TARGET_ps3 is used in the build files where special handling for the 64 bit PowerPC processors is needed. Introduce a new config feature powerpc64, and replace the use of TARGET_ps3 with powerpc64. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 17306
* add preliminary coldfire v4e supportImre Kaloz2009-06-211-0/+4
| | | | SVN-Revision: 16538
* missing changes for pcie handlingImre Kaloz2009-06-021-0/+3
| | | | SVN-Revision: 16294
* add a modified version of the mips64 patch from #4603Felix Fietkau2009-04-181-0/+9
| | | | SVN-Revision: 15249
* Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-targetHamish Guthrie2009-03-181-0/+3
| | | | SVN-Revision: 14939