aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/omap
Commit message (Collapse)AuthorAgeFilesLines
* omap: gen_omap_sdcard_img.sh: use /bin/shRosen Penev2019-12-311-1/+1
| | | | | | | | Nothing here needs bash. Signed-off-by: Rosen Penev <rosenp@gmail.com> [add prefix to commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* omap: switch from uEnv.txt to generic distro bootingAndre Heider2019-11-201-1/+1
| | | | | | Which makes supporting different boot devices easy. Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: switch to kernel 4.19Andre Heider2019-11-201-1/+1
| | | | Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: enable new sound kernel optionsAndre Heider2019-11-201-1/+5
| | | | | | | | This gets rid of a boot time warning about the missing edma module. Enable SND_OMAP_SOC_HDMI_AUDIO while here. All enabled options default to y. Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: disable excess kernel debug optionsAndre Heider2019-11-201-22/+1
| | | | Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: run `make oldconfig` for kernel 4.19Andre Heider2019-11-201-34/+72
| | | | | | | The only manually enabled config is the new OMAP4_DSS_HDMI_CEC, which defaults to y. Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: copy the kernel 4.14 config for 4.19Andre Heider2019-11-201-0/+742
| | | | Signed-off-by: Andre Heider <a.heider@gmail.com>
* omap: split up DEVICE_TITLEMoritz Warning2019-10-121-4/+8
| | | | | | DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Signed-off-by: Moritz Warning <moritzwarning@web.de>
* treewide: replace backticks by $(...) in gen_*_img.sh scriptsAdrian Schmutzler2019-09-291-1/+1
| | | | | | | | This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> [decapitalized patch subject at submitter's request] Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* treewide: use new procd sysupgrade $UPGRADE_BACKUP variableRafał Miłecki2019-09-051-1/+1
| | | | | | | | | | It's a variable set by procd that should replace hardcoded /tmp/sysupgrade.tgz. This change requires the most recent procd with the commit 0f3c136 ("sysupgrade: set UPGRADE_BACKUP env variable"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: when copying a backup file always specify dest nameRafał Miłecki2019-09-051-1/+1
| | | | | | | $CONF_TAR shouldn't be assumed to always point to the sysupgrade.tgz. This change makes code more generic and allows refactoring $CONF_TAR. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: don't hardcode "sysupgrade.tgz" file nameRafał Miłecki2019-09-051-2/+2
| | | | | | | | 1) Add BACKUP_FILE and use it when copying an archive to be restored after sysupgrade (on the next preinit). 2) Use CONF_TAR for copying backup prepared by the /sbin/sysupgrade Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: sysupgrade: pass "save_partitions" option to the "sysupgrade" methodRafał Miłecki2019-08-221-1/+1
| | | | | | | This explicitly lets stage2 know if partitions should be preserved. No more "touch /tmp/sysupgrade.always.overwrite.bootdisk.partmap" hack. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Deactivate CONFIG_BINFMT_MISCHauke Mehrtens2019-05-111-1/+0
| | | | | | | | | | CONFIG_BINFMT_MISC allows it to add support for new executable formats to the kernel from user space, the kernel will then detect for example a java binary and call the java execution program automatically. I am not aware that this feature is used in OpenWrt and this could be used to exploit something. Deactivate it for all targets for now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* base-files: improve lib/upgrade/common.shKlaus Kudielka2019-05-112-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently, upgrade device autodetection has been added to the mvebu target. This exposes some shortcomings of the generic export_bootdevice function, e.g. on the Turris Omnia: export_bootdevice silently reports the root partition to be the boot device. This makes the sysupgrade process fail at several places. Fix this by clearly distinguishing between /proc/cmdline arguments which specify the boot disk, and those which specify the root partition. Only in the latter case, strip off the partition, and do it consistently. root=PARTUUID=<pseudo PARTUUID for MBR> (any partition) and root=/dev/* (any partition) are accepted. The root of the problem is that the *existing* export_bootdevice in /lib/upgrade/common.sh behaves differently, if the kernel is booted with root=/dev/..., or if it is booted with root=PARTUUID=... In the former case, it reports back major/minor of the root partition, in the latter case it reports back major/minor of the complete boot disk. Targets, which boot with root=/dev/... *and* use export_bootdevice / export_partdevice, have added workarounds to this behaviour, by specifying *negative* increments to the export_partdevice function. Consequently, those targets have to be adapted to use positive increments, otherwise they are broken by the change to export_bootdevice. Fixes: 4e8345ff68 ("mvebu: base-files: autodetect upgrade device") Signed-off-by: Klaus Kudielka <klaus.kudielka@gmail.com> Tested-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* kernel: bump 4.14 to 4.14.77Koen Vandeputte2018-10-191-0/+1
| | | | | | | | | | | | | | | Refreshed all patches. Altered patches: - 666-Add-support-for-MAP-E-FMRs-mesh-mode.patch New symbol for arm targets: - HARDEN_BRANCH_PREDICTOR Compile-tested on: ar71xx, cns3xxx, imx6 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* treewide: use wpad-basic for not small flash targetsMathias Kresin2018-10-161-1/+1
| | | | | | | | | | | | Add out of the box support for 802.11r and 802.11w to all targets not suffering from small flash. Signed-off-by: Mathias Kresin <dev@kresin.me> Mathias did all the heavy lifting on this, but I'm the one who should get shouted at for committing. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* omap: remove linux 4.9 supportFelix Fietkau2018-09-292-747/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: disable ubifsLucian Cristian2018-07-301-1/+1
| | | | | | ubifs image are not working, until there is a fix, disable them Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* omap: add support for f2fs/ext4 overlay creationLucian Cristian2018-07-303-0/+12
| | | | | | add kernel support and include the tools for creating an overlay partition (f2fs or ext4) Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* omap: add sysupgrade supportLucian Cristian2018-07-302-0/+109
| | | | | | add sysupgrade missing script files Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* omap: rename image for sysupgrade compatibilityLucian Cristian2018-07-301-9/+9
| | | | | | for sysupgrade to work we need to change the image name based on dts target name Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* omap: fix squashfs image boot and creationLucian Cristian2018-07-303-1/+5
| | | | | | | fixes FS#1034, squash fs images fails to boot because of missing ARM BCJ filter decoder also activate squashf image creation Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* kernel: enable EXPORTFS by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | OVERLAY_FS config symbol selects EXPORTFS since 4.12 kernel, we have OVERLAY_FS enabled by default, so enable EXPORTFS in the generic config of 4.14 and remove this option from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* omap: remove linux 4.4 supportFelix Fietkau2018-04-192-730/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: kernel update and switch to 4.14Lucian Cristian2018-04-112-1/+737
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* omap: clean up configurationHauke Mehrtens2017-10-181-17/+0
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Alexander Couzens <lynxis@fe80.eu>
* omap: Add support for kernel 4.9Hauke Mehrtens2017-10-183-1/+758
| | | | | | | | | | | | | | | | This adds support for kernel 4.9 and replaces the kernel 4.4 support. These are lynxis test results: panda-board a3 - works, but no network, but master/4.4 doesn't have network either. panda-board-a4 - u-boot SPL refuse to boot. beaglebone-black - works beagle-board - usb attached network doesn't come up and I doesn't have a serial around. beagle-board-xm - ToDo: image code is missing. Kernel 4.4 does not look better, so we merge this anyway. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Acked-by: Alexander Couzens <lynxis@fe80.eu>
* kernel: cleanup CONFIG_SCHED_HRTICKStijn Tintel2017-06-291-1/+0
| | | | | | | Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the generic config in b47fd7656336162360ebf66147326763ddae3f8d. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* omap: rework image generation and profilesAlexander Couzens2017-04-246-44/+104
| | | | | | | | | Migrate to new image generation and introduce sdcard generation (based on sunxi). Profile now generated via image/Makefile instead of profiles/ directory. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap: correct CPU_TYPE: omaps are cortext-a8Alexander Couzens2017-04-241-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap/Kconfig: refresh by oldconfigAlexander Couzens2017-04-241-2/+3
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap/Kconfig: add usb optionsAlexander Couzens2017-04-241-5/+5
| | | | | | including phy and required dma options Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap/Kconfig: enable SMPAlexander Couzens2017-04-241-3/+15
| | | | | | the pandaboard is a multicore omap Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap/Kconfig: add omap2plus_cpufreqAlexander Couzens2017-04-241-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap: build various core drivers into the kernel instead of packaging themFelix Fietkau2017-01-102-10/+49
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* build: fix subtarget descriptionsFelix Fietkau2016-09-041-4/+4
| | | | | | Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-231-3/+4
| | | | | | | | 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>
* omap: rename patches directory to patches-4.4Stijn Tintel2016-08-151-4/+3
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* omap: remove CONFIG_SND_DEBUG overrideFelix Fietkau2016-08-021-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: remove obsolete code for including kernel/dtb in rootfsFelix Fietkau2016-07-201-11/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: remove obsolete kernel version supportFelix Fietkau2016-07-2012-2081/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: remove NAMESPACES config symbolsDirk Neukirchen2016-06-141-3/+0
| | | | | | they are available in config/Config-kernel.in Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove XFRM config symbolsDirk Neukirchen2016-06-141-2/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove config symbol W1Dirk Neukirchen2016-06-141-1/+0
| | | | | | it is available as module Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove config symbol NETFILTERDirk Neukirchen2016-06-141-1/+0
| | | | Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: remove BMP085 symbolDirk Neukirchen2016-06-141-2/+0
| | | | | | BMP085 is a pressure sensor and available as module Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* omap: switch to 4.4Alexander Couzens2016-06-022-98/+62
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* omap: take over maintainershipAlexander Couzens2016-06-021-1/+1
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>