Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:yocto [2023/08/16 16:53] – [SDCARD] darron | tools:yocto [2023/08/17 15:35] (current) – [Boot] darron | ||
---|---|---|---|
Line 7: | Line 7: | ||
Yocto can be used to create a customised Linux installation on an | Yocto can be used to create a customised Linux installation on an | ||
- | embedded system with a fully writable root filesystem | + | embedded system with a fully writable root filesystem |
management. | management. | ||
Line 73: | Line 73: | ||
git mv recipes-devtools/ | git mv recipes-devtools/ | ||
</ | </ | ||
+ | |||
+ | NB the above is a known but unaddressed issue | ||
==Dev tools== | ==Dev tools== | ||
Line 100: | Line 102: | ||
| | ||
</ | </ | ||
+ | |||
+ | NB the above patch has been submitted to ST. | ||
==Cortex-M4== | ==Cortex-M4== | ||
Line 128: | Line 132: | ||
</ | </ | ||
+ | NB the correct solution would be to update the compiler | ||
===Configure=== | ===Configure=== | ||
Line 248: | Line 253: | ||
bitbake core-image-full-cmdline | bitbake core-image-full-cmdline | ||
</ | </ | ||
+ | |||
+ | Eg. | ||
< | < | ||
Line 281: | Line 288: | ||
</ | </ | ||
- | ===SDCARD=== | + | ===Flash=== |
+ | |||
+ | Write image to microsd card identified as /dev/sdc | ||
< | < | ||
Line 288: | Line 297: | ||
./ | ./ | ||
sudo dd if=FlashLayout_sdcard_stm32mp157d-dk1-optee.raw of=/dev/sdc bs=4M conv=fdatasync, | sudo dd if=FlashLayout_sdcard_stm32mp157d-dk1-optee.raw of=/dev/sdc bs=4M conv=fdatasync, | ||
+ | sleep 1 | ||
sudo hdparm -z /dev/sdc | sudo hdparm -z /dev/sdc | ||
</ | </ | ||
Line 727: | Line 737: | ||
</ | </ | ||
+ | It appears that the power controller is probed before the I2C interface is online and consequently it doesn' | ||
===Extra=== | ===Extra=== | ||
- | Add package-management to extra features to gain access to RPM in local.conf | + | Add package-management to extra features to gain access to RPM or dpkg/ |
< | < | ||
EXTRA_IMAGE_FEATURES ?= " | EXTRA_IMAGE_FEATURES ?= " | ||
</ | </ | ||
+ | |||
+ | Package format defaults to RPM but can be changed to deb. | ||
Rebuild and boot new image. | Rebuild and boot new image. | ||
Line 744: | Line 756: | ||
< | < | ||
scp e2fsprogs-resize2fs-1.47.0-r0.cortexa7t2hf_neon_vfpv4.rpm root@stm32mp1: | scp e2fsprogs-resize2fs-1.47.0-r0.cortexa7t2hf_neon_vfpv4.rpm root@stm32mp1: | ||
- | </ | ||
- | |||
- | This tool could have been preloaded in local.conf with | ||
- | < | ||
- | IMAGE_INSTALL += " | ||
</ | </ | ||
Line 791: | Line 798: | ||
===Resources=== | ===Resources=== | ||
- | [[https:// | + | [[https:// |
- | [[https:// | + | [[https:// |
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// |