meta-digi/meta-digi-arm/recipes-kernel
Jose Diaz de Grenu 797f9dc357 qualcomm.sh: remount as writteable if '/' is ro
On some scenarios, like when booting from NFS, the root filesystem is not
writteable. When this happens the qualcomm.sh is not able to write the MAC
file which so the wireless driver fails to load.

The arguments that U-Boot uses when booting from NFS using dboot result in
the root filesystem being mounted as read-only, but at some point it is
remounted as read/write. This happens after trying to load the wireless
driver, though.

Currently this is the only scenario in which we can reproduce the problem,
and there are several other processes in DEY that require a writeable root
filesystem (wireless SSID editing, Dropbear SSH key-gen and u-boot-fw-utils)
so remount the rootfs as writteable as a workaround.

While on it improve the script a bit to notify on error trying to create
this file, just in case this happens in other scenarios.

https://jira.digi.com/browse/DEL-5854

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
2019-08-14 16:49:21 +02:00
..
cryptodev rocko migration: cryptodev: remove patch 2018-01-12 15:59:13 +01:00
dtc thud migration: dtc: use version 1.4.5 to maintain compatibility with U-Boot 2017.X 2019-02-04 16:52:43 +01:00
kernel-module-qualcomm qualcomm.sh: remount as writteable if '/' is ro 2019-08-14 16:49:21 +02:00
linux linux-virtualization: enable only required symbols 2019-07-29 11:24:33 +02:00