2020-02-08 12:10 PM
Using the Distribution Package for STM32MP1 I'm able to access to the rootfs partition, example:
my_postprocess_function() {
cp -dr /home/osboxes/www ${IMAGE_ROOTFS}/opt/
chown -R daemon:daemon ${IMAGE_ROOTFS}/opt/www/
}
But how to access to bootfs partition? For example to add the `boot.scr.uimg` or `rproc-m4-fw.elf`. I cannot find a `${IMAGE_BOOTFS}` variable.
Solved! Go to Solution.
2020-02-10 12:50 AM
Hi @Mark81
Please find attached a patch that suggest one solution to copy cube firmware exemples .elf inside bootfs.
Hope it can give you some insight for your need.
Olivier
2020-02-09 10:29 PM
Did you mount the bootfs (you can check that by using lsblk)? If not, try to mount the partiotion depending on your configuration. Then the access should be available via the rootfs.
2020-02-09 10:43 PM
Mounting the partition as devloop is the ugly workaround I'm actually using.
I'm asking how to do this within the Distribution Package (Yocto).
2020-02-10 12:50 AM
Hi @Mark81
Please find attached a patch that suggest one solution to copy cube firmware exemples .elf inside bootfs.
Hope it can give you some insight for your need.
Olivier
2020-02-10 12:55 AM
Yes, very useful! Thanks!