Age | Commit message (Collapse) | Author |
|
Toradex NXP layer could be used by other external projects, so we
should make sure Toradex specific changes dont impact them.
Use 'tdx' overrides to ensure Toradex specific changes only valid for
Toradex distros.
Related-to: ELB-3046
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Apalis iMX8X is no longer supported
and configuration dropped from recipe.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The colibri-imx6ull is also used for the combined NAND/eMMC Toradex Easy
Installer. Create symlinks if a eMMC is detected also here. For the BSP
this does not have an effect as the controller is unused.
Related-to: TEI-923
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
ENV{DEVTYPE} has been found to not be present on apalis-imx6 sometimes.
Since we see also some troubles on our lava setup this property is being
removed from this rule as anyway disk and partition is already catched with the
"p" in the KERNEL rule
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
TEZI uses the same machine colibri-imx7 for both eMMC and NAND
variants of the module. For correct work with Colibri iMX7 eMMC TEZI
requires symlinks emmc* generated by toradex udev rules - it allows
TEZI to unblock boot-partitions for writing operations on start.
The udev "emmc*" rules are triggered by the block instances of the
device usdhc@30b60000. The usdhc@30b60000 device disabled by default
in the device tree for Colibri-iMX7 NAND SoM, so that the "emmc*"
doesn't affect the NAND module.
Adding "emmc*" rules to the 99-toradex.rules for colibri-imx7 machine
fixes several TEZI issues for Colibri iMX7 eMMC, i.e. this one:
Processing blockdev: "mmcblk0boot0"
Running Command: "/usr/sbin/blkdiscard" ("/dev/mmcblk0boot0")
Progress: "Toradex Embedded Linux Reference Minimal Image (UPSTREAM): Erasing partition"
Output: "blkdiscard: /dev/mmcblk0boot0: BLKDISCARD ioctl failed: Operation not permitted\n"
Finished with exit code: 1
Related-to: TEI-851
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This commit does three things:
- Use "-part<number>" instead of "-p" as it is with /dev/emmc symlinks
- Use ENV{DEVTYPE} as it is used with /dev/emmc symlinks to for sure
be able to distinguish partitions vs. disks
- Use %n in stead of $attr{partition} as it is already used for emmc
symlink rules
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Related-to: ELB-3895
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With the V1.1 HW of the module the ADC changed. With this change the
mapping of the channels to the module's pins also changed.
Follow that.
ELB-3866
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
On cmdlines with "root=" not at first position the current sed script
fails to only provide the root partitions PARTUUID. Fix that.
Fixes c8651fe ("udev: mount.sh: create a symlink to the partition with
the bootfiles")
Additionally add a word boundary \b before root and simplify sed script.
This prevents nfsroot, extroot matching.
Related-to: ELB-3337
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add to the mount.sh script code which creates a symlink to partition
with the bootfiles if that can be guessed from the rootfs partition.
Scan the /proc/cmdline for the rootfs partition. If this is the second
partition of a block device and a first partition exists it creates
the symlink /dev/boot-part.
/etc/fstab consumes the symlink to mount that at /boot.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
ain naming should only be used for colibri boards. Apalis should
use "apalis-adc*" symlinks.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
With the kernel update to 5.4 downstream the kernel name for spi changed
from ecspi to spi.
Fix the udev rules to match both variants.
Related-to: ELB-3397
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This creates stable symlinks to the eMMC card.
Related-to: ELB-3293
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Create stable symlinks mapping Verdin family function names to the kernel
device files.
Related-to: ELB-3293
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Change KERNELS=="5b010000.usdhc" to KERNELS=="5b010000.mmc", this fixes
a issue that /dev/emmc* device nodes not created after we upgraded to
linux-toradex 5.4 kernel.
Related-to: TOR-1484
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
In 5.4 kernel the naming changed from lpspi to spi. Address this in
all i.MX8 udev rules
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
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>
(cherry picked from commit 29191ec028148f41eab3f2ccb143bcede9e8224e)
|
|
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>
(cherry picked from commit 6ba70eb580167611f8a5b061a9552eba25b34d6c)
|
|
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>
(cherry picked from commit f627f20a298d441b5d94ba4ab80a1121065f1f75)
|
|
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>
(cherry picked from commit 26f58c5c34bac69c1a9b312242e92decd532cd14)
|
|
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>
(cherry picked from commit eaf8ba320beef0b0ad59e7911b4684c793b0a4f3)
|
|
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>
(cherry picked from commit 22950c7feac191bbff58e9137612e525982e2fbe)
|
|
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>
(cherry picked from commit a98861ebc9d2a26f458a57f674b53cb81405da64)
|
|
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>
(cherry picked from commit 41ebdf6d19a1b8af2e06f274d711823bdb345f29)
|
|
Related-to: ELB-2760
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit fc137a7916fe004f476688b1e03dadd074e749b3)
|
|
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>
(cherry picked from commit 3790efed5871f28b8fd969a5bbe29cf776af112e)
|
|
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>
(cherry picked from commit 2e2be094e62bb61c9e58a115b5d89d5b960eed50)
|
|
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>
(cherry picked from commit e13aa11315c57980816d6a68f9c5216b455ee017)
|
|
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>
(cherry picked from commit bbdee96d17e5a69e832197dedc587e45737892be)
|
|
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>
(cherry picked from commit 9109e68f1b0a8cb9228e7ff39bc41b5d0f209cbf)
|
|
This adds udev rules for symlinking eMMC devices consitently.
Related-to: ELB-2380, ELB-2696
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit ac32e59f1f961070189e1a038644f87ce9e7c152)
|
|
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>
(cherry picked from commit bd072a5fc62dd7f29a94d682de2346257344ea35)
|
|
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)
|
|
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>
|
|
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>
|
|
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
|
|
|
|
|
|
If the path is appended by someone else, the space introduces an error
|
|
- these partitions are not meant to be mounted
|