How to access to bootfs from Distribution Package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
OpenSTLinux
-
STM32MP15 Lines
-
Yocto
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-10 12:55 AM
Yes, very useful! Thanks!
