Busybox's device manager mdev was originally meant to be set up by writing its path to /proc/sys/kernel/hotplug before launching it, but that entry no longer exists in Linux v5.4's procfs and mdev can be launched directly. Since mdev is the element in the recovery initramfs that is in charge of mounting all partitions where .swu packages can be found (update partition on the eMMC/MTD, uSD and USB), checking for the existence of the hotplug entry in the procfs before launching mdev in v5.4 was preventing the partitions from being mounted, and causing all software updates to fail. While at it, move the two second delay to before mdev is launched, so all partitions can be mounted. Otherwise, some devices such as the USB might not be ready when mdev is launched, causing its partition to not be mounted. https://jira.digi.com/browse/DEL-7143 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com> |
||
|---|---|---|
| .. | ||
| classes | ||
| conf | ||
| recipes-aws | ||
| recipes-connectivity | ||
| recipes-core | ||
| recipes-devtools | ||
| recipes-digi | ||
| recipes-extended/socketcan | ||
| recipes-gnome/gnome | ||
| recipes-graphics | ||
| recipes-multimedia | ||
| recipes-qt | ||
| recipes-sato | ||
| recipes-support | ||
| DIGI_EULA | ||
| DIGI_OPEN_EULA | ||
| README | ||
README
OpenEmbedded/Yocto Digi Embedded Linux layer ============================================ This layer provides the Digi Embedded Linux distribution images. This layer depends on: git://git.yoctoproject.org/poky.git git://git.openembedded.org/meta-openembedded.git git://git.yoctoproject.org/meta-freescale.git git://github.com/Freescale/meta-fsl-demos.git Digi's license agreements ------------------------- All software is covered by Digi's general EULA and Digi's Open Source EULA. To have the right to use the software in your images you need to read and accept both EULAs at the DIGI_EULA and DIGI_OPEN_EULA files. NXP Semiconductors' software license agreement ---------------------------------------------- Some platforms depends on libraries and packages that are covered by NXP Semiconductors' EULA. To have the right to use those binaries in your images you need to read and accept the EULA file in meta-freescale Yocto layer. Support ------- This layer is provided 'as is' with no guarantee. However, some support may be available from tech.support@digi.com