Sorry for bothering again, my original problem seems not to have been resolved. If I set
MENDER_STORAGE_DEVICE = “ubi0”
then everything compiles and bootes fine, but when I run mender
from the command line, there is following error:
WARN[0000] Could not resolve path link: ubi0_0 Attempting to continue module=partitions
WARN[0000] Could not resolve path link: ubi0_1 Attempting to continue module=partitions
This is no wonder, as I can see in the auto-generated mender.conf
that the paths are wrong:
{
“InventoryPollIntervalSeconds”: 1800,
“RetryPollIntervalSeconds”: 300,
“RootfsPartA”: “ubi0_0”,
“RootfsPartB”: “ubi0_1”,
“ServerURL”: “https://docker.mender.io”,
“TenantToken”: “dummy”,
“UpdatePollIntervalSeconds”: 1800
}
changing from ubi0_0
to /dev/ubi0_0
omits this error, but then mender -rootfs
will not work.
If I otherwise set
MENDER_STORAGE_DEVICE = “/dev/ubi0”
I get the error described in my first post.
How can I correctly set different paths to the UBI volume for Linux and U-boot respectively ?
Searching through the docs made me think adding
MENDER_UBOOT_STORAGE_DEVICE = “0”
MENDER_UBOOT_STORAGE_INTERFACE = “ubi”
would do the trick, but there is no difference.
Do you have any advice ?