summaryrefslogtreecommitdiff
path: root/recipes-core
AgeCommit message (Collapse)Author
2020-08-10verdin-imx8m: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Verdin iMX8M Mini ADC channels, standardizing names as verdin-adcX, according to the Verdin signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10colibri-imx8x: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX6 ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10colibri-imx7: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX7/iMX7-eMMC ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10colibri-imx6ull: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX6ULL ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10colibri-imx6: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Colibri iMX6 ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10apalis-imx8x: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Apalis iMX8QXP ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10apalis-imx8: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Apalis iMX8 ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-08-10apalis-imx6: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Apalis iMX6 ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-07-08recipes-core: udev: add systemd link file to disable wifi-if-renamingPhilippe Schenker
Related-to: ELB-2760 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-06-26apalis/colibri-imx6: add i2c-ddc rule for mainline kernelOleksandr Suvorov
The I2C DDC channel serves by HDMI driver in the mainline kernel. Add udev rules to make a symlink for this device. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-2599-toradex.rules: rename *-ttyX to *-uartXOleksandr Suvorov
According to the internal document "Hardware interfaces standardization", the UART interfaces should be accessed via device nodes named with the module family and matching the signal name used in the module datasheet. Modify udev rules for UART devices accordingly. Related-to: ELB-2787 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-23colibri-imx6: fix (ec)spi ruleOleksandr Suvorov
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-23colibri-imx7/emmc: fix (ec)spi ruleOleksandr Suvorov
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-2299-toradex.rules: fix (ec)spi ruleOleksandr Suvorov
There are 2 different names for spi use by downstream and upstream kernel. Fix the udev rules to match both variants. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2020-06-18usb-rndis-systemd: drop recipeMax Krummenacher
The last user of this were the Tegras using the downstream kernel which were dropped. Drop the recipe. Related-to: ELB-2733 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-13fs-init: some cleaning upMing Liu
- Drop deprecated NATIVE_SYSTEMD_SUPPORT. - Drop do_compile, base_do_compile would be good enough. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-06-13usb-rndis-systemd: some cleaning upMing Liu
- Drop FILES_${PN}, it's redundant. - Drop deprecated NATIVE_SYSTEMD_SUPPORT. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-04-27recipes-core: udev: move emmc rules from torizon to bspPhilippe Schenker
This adds udev rules for symlinking eMMC devices consitently. Related-to: ELB-2380, ELB-2696 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-04-27recipes-core: udev: add rules for symlinking spi devicesPhilippe Schenker
This commit adds rules to udev so apalis/colibri or verdin spi devices are symlinked consistently. Related-to: ELB-2380, ELB-2598 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-04-16systemd-conf: change wired network configuration for systemd-networkdIgor Opaniuk
Disable configuration of wired interfaces by systemd-networkd. Also provide an option which will force to keep ip configuration in case of critical connection (rootfs mounted via nfs etc.). Relates-to: ELB-2610 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2020-03-19recipes-core: Add udev-toradex-rules recipePhilippe Schenker
These rules make sure that a symlink is created for all i2c and tty devices. This symlinks are named like on the Toradex carrier boards. This makes it easy to identify which device in software is matching the hardware pins. Additional non-standard devices that are not named clearly on the carrier board are left out to prevent confusion. Related-to: ELB-2380 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 47ef64803548f73a0eda753c5d3d3f7f315af606)
2020-03-18hostname: generate a uniqe hostname on bootLuka Pivk
This will generate a hostname based on machine name and serial number. (E.g. colibri-imx7-031111777) If serial number is not found it will say "no-serial-number" in host name. If machine is not supported hostname will include "unsupported-device" string. If /dev/device-tree does not exist it will say "recovery-mode" as it assumes its in recovery mode of Toradex Easy Installer To prevent openembedded from creating /etc/hostname file add hostname_pn-base-files = "" to configration Related-to: TEI-100, ELB-1322 Signed-off-by: Luka Pivk <luka.pivk@toradex.com>
2019-05-06systemd: apply configuration change in main systemd recipeStefan Agner
Since oe-core commit 3150253898ba ("systemd-conf: simplify creation of machine-specific configuration") systemd-conf no longer unpacks the systemd sources. Hence the patch which patches units/systemd-udevd.service.in does no longer apply. Apply the patch in the systemd recipe instead. The systemd-udevd.service file is only deployed in a package built from the systemd recipe anyway, hence this also makes sure that the patched file gets actually deployed. This essentially reverts commit 118f6b1b17b6 ("systemd: follow recipe split which added systemd-conf"). Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-04-29systemd-conf: forward port patchMax Krummenacher
Upstream has changes in the context lines. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-29Revert "systemd-conf: drop a obsolete patch"Max Krummenacher
The patch is not obsolete AFAIKT. i.e. the configuration file should NOT make mounts by udevd private or other processes will not be able to see the mount. This reverts commit 3640a12c85df4ac180e38f19038072df6b1d6d55.
2019-04-27systemd-conf: drop a obsolete patchMing Liu
That patch has been merged to systemd-conf. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-03-27systemd-conf: add version pattern to recipeMing Liu
Or else the changes for systemd-conf recipe will be missed. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-04systemd: follow recipe split which added systemd-confMax Krummenacher
The systemd configuration has been split from the systemd recipe. Thus we need to move our changes to the systemd configuration. While at it drop the kmod packageconfig. This was only needed with angstrom. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04apalis/colibri-t20 -t30: drop machinesMax Krummenacher
These machines use an old Nvidia provided downstream kernel 3.1.10. They no longer much the way more recent sysroot components, e.g. libc, xserver et. al. The maintance burden to keep the userspace components in their old version becomes simply to high. Keep using the rocko based 2.8 BSP for these machines. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04systemd: bbappend: add kmod packageconfigMax Krummenacher
This starts a service which inserts kernel modules on boot. Updates in meta-angstrom removed this default packageconfig. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-04systemd: forward port patchMax Krummenacher
Keywords in udevd.service.in were changed upstream. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-03-22Revert "Revert systemd: remove patch now provided upstream"Max Krummenacher
OE-core dropped to do this for whatever reasons. Compare with openembedded core, commit 6c1765a05c1321f08f3d1fb521dfe6b07bc8e92 * Drop mount propagation patch, it only happens with libseccomp, OE doesnt enable it This reverts commit a8ee603737444c74db61d0a705b08e9a1dea5158. The patch is forward ported to systemd 234. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22recipes: fix invalid license file locationMax Krummenacher
Use '${COMMON_LICENSE_DIR} for license files fix the warning: | WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic: | ${COREBASE}/LICENSE is not a valid license file, please use |'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM. |This will become an error in the future Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07apalis/colibri-imx6/t30/tk1: read ahead cache configurationColibri-iMX7_LXDE-Image_2.7b2-20170410Colibri-iMX6_LXDE-Image_2.7b2-20170410Colibri-VF_LXDE-Image_2.7b2-20170410Colibri-T30_LXDE-Image_2.7b2-20170410Colibri-T20_LXDE-Image_2.7b2-20170410Apalis-iMX6_LXDE-Image_2.7b2-20170410Apalis-TK1_LXDE-Image_2.7b2-20170410Apalis-T30_LXDE-Image_2.7b2-20170410Leonardo Graboski Veiga
Configure the read_ahead cache size to optimal value, for the mmcblk devices (eMMC and SD card). The cache values are module specific, tests were run on the pre-built image (BSP V2.7 Beta 1). The measurement of read speed for a range of cache sizes (16kB to 256MB) was made using hdparm -t. Signed-off-by: Leonardo Graboski Veiga <leogveiga@gmail.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07meta-toradex-bsp: clean-up whitespace useMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-04-07recipes: remove unneeded RDEPENDSMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-02-08fs-init: do not reload daemon configurationStefan Agner
In case the resizefs.sh script ends quite fast, the system might still be in boot sequence. Removing a systemd service can be problematic in that case: It seems that systemd looses the state of .device units, and some services depend on such units (namely serial consoles such as serial-getty@ttymxc0.service). The following sequence shows this problem: Jan 12 00:16:45 apalis-imx6 sh[399]: Removed /etc/systemd/system/multi-user.target.wants/resizefs.service. Jan 12 00:16:45 apalis-imx6 systemd[1]: Reloading. Jan 12 00:16:45 apalis-imx6 root[704]: resizing mmcblk0p2 finished, new size is 3755M ... Jan 19 00:04:08 apalis-imx6 systemd[1]: dev-ttymxc0.device: Job dev-ttymxc0.device/start timed out. Jan 19 00:04:08 apalis-imx6 systemd[1]: Timed out waiting for device dev-ttymxc0.device. Jan 19 00:04:08 apalis-imx6 systemd[1]: Dependency failed for Serial Getty on ttymxc0. (the time has been updated between this to events, but that does not influence the issue) Using --no-reload avoids the "Reloading." message above and seems to not cause such issues anymore. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-02-08fs-init: remove duplicate resize scriptStefan Agner
The script used for all machines (e.g. T30) and the mx6 specific script are the very same scripts. Drop the mx6 specific script, with that the recipe will use the general scripts for all machines. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-01-11systemd: remove patch now provided upstreamMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29systemd: split bbappend to only change bsp releated mountColibri_iMX7_LinuxImageV2.6.1Beta1_20160929Colibri_iMX6_LinuxImageV2.6.1Beta1_20160929Colibri_VF_LinuxImageV2.6.1Beta1_20161001Colibri_T30_LinuxImageV2.6.1Beta1_20160929Colibri_T20_LinuxImageV2.6.1Beta1_20160929Apalis_iMX6_LinuxImageV2.6.1Beta1_20160929Apalis_TK1_LinuxImageV2.6.1Beta2_20161122Apalis_TK1_LinuxImageV2.6.1Beta1_20160929Apalis_T30_LinuxImageV2.6.1Beta1_20160929jethroMax Krummenacher
The BSP should automount for all users. The Demo Software Layers cares for RNDIS. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-09-29apalis-tk1: integrate usb-rndismeta-toradex_splitMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2016-09-29psplash-angstrom_git.bbappend: removed, *.bb no longer existsMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2016-03-14systemd patch: rebase after version upgradeMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2015-10-29udev-extraconf: revert to mountpoints in /mediaMax Krummenacher
oe-core moved the mountpoint used to /run/media/<drive>. In our setup we don't see issues with /media being read only when udev starts mounting. In our environment with graphical desktop udisks will later take over the automount job and udisks currently still uses /media, so keep this consistent between mounting at boottime and mounting at runtime. Refer to openembedded-core commits: acfe3014d41de5e87cdbc58d0396349c6b9c3ffd 62ae16c40252f39ba28e072218d67f47b26b3535
2015-10-29systemd-udevd.service.in: set MountFlags=sharedMax Krummenacher
2015-10-28fs-init: start resizefs.service in multi-user.targetMax Krummenacher
Non graphical images will never execute graphical.target services.
2015-10-28fs-init.bb: follow e2fsprogs package splitMax Krummenacher
With fido e2fsprogs did split out the package e2fsprogs-resize2fs. RRECOMMEND it so that it gets picked up during rootfs creation.
2015-10-20apalis/colibri_t20/30 aka tegras: fix usb rndis operationMarcel Ziswiler
We noticed that our latest move to using systemd/networkd leaves the rndis0 interface down. Manually bringing the link up solved the issue. As a workaround add upping the link to our start-rndis.sh script.
2015-08-07Revert "systemd: restore userspace firmware loading support"Max Krummenacher
This reverts commit bd2d32bf3a8460c87849e75ad01e11450d8cda10. Remove the backport, is part of fido.
2015-05-18Revert "systemd-machine-id-commit: add standalone recipe"Max Krummenacher
Angstom Dizzy now uses systemd V218 so there is no need to build a component seperately anymore. This reverts commit 16b8b392ad048566729f30d7c3887d1bfdf21bd4.