We are trying to load the M4 firmware (.elf-File) from the linux root file system. To achive that, we modified the u-boot environement variable ‘m4Boot’:
setenv m4boot ‘ubi part ubi; ubifsmount ubi0:rootfs1; ubifsload ${loadaddr} /opt/Firmware_M4/FirmwareM4.elf; bootaux ${loadaddr}; ubifsumount’
This is generally working, but every few boot-ups, u-Boot can not mount the rootfs (returning error -19 or error -30).Sometimes the bootfails completely and the OS has to be reinstalled.
What is the correct way to load and start the M4 firmware from the rootfs?
Best regards,
Simon