Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:yocto [2023/08/16 19:42] – [Extra] darrontools:yocto [2023/08/17 15:35] (current) – [Boot] darron
Line 73: Line 73:
 git mv recipes-devtools/gcc/gcc-source_12.2.bbappend recipes-devtools/gcc/gcc-source_12.3.bbappend git mv recipes-devtools/gcc/gcc-source_12.2.bbappend recipes-devtools/gcc/gcc-source_12.3.bbappend
 </code> </code>
 +
 +NB the above is a known but unaddressed issue
  
 ==Dev tools== ==Dev tools==
Line 100: Line 102:
      install -d ${D}/${datadir}/gcc-arm-none-eabi      install -d ${D}/${datadir}/gcc-arm-none-eabi
 </code> </code>
 +
 +NB the above patch has been submitted to ST.
  
 ==Cortex-M4== ==Cortex-M4==
Line 128: Line 132:
 </code> </code>
  
 +NB the correct solution would be to update the compiler
 ===Configure=== ===Configure===
  
Line 292: Line 297:
 ./scripts/create_sdcard_from_flashlayout.sh flashlayout_core-image-full-cmdline/optee/FlashLayout_sdcard_stm32mp157d-dk1-optee.tsv ./scripts/create_sdcard_from_flashlayout.sh flashlayout_core-image-full-cmdline/optee/FlashLayout_sdcard_stm32mp157d-dk1-optee.tsv
 sudo dd if=FlashLayout_sdcard_stm32mp157d-dk1-optee.raw of=/dev/sdc bs=4M conv=fdatasync,notrunc status=progress sudo dd if=FlashLayout_sdcard_stm32mp157d-dk1-optee.raw of=/dev/sdc bs=4M conv=fdatasync,notrunc status=progress
 +sleep 1
 sudo hdparm -z /dev/sdc sudo hdparm -z /dev/sdc
 </code> </code>
Line 731: Line 737:
 </code> </code>
  
 +It appears that the power controller is probed before the I2C interface is online and consequently it doesn't work
 ===Extra=== ===Extra===
  
Line 750: Line 756:
 <code> <code>
 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:
-</code> 
- 
-This tool could be preloaded in local.conf, however, meta-st appears 
-to interfere with this. 
-<code> 
-IMAGE_INSTALL:append = " e2fsprogs-resize2fs" 
 </code> </code>
  
Line 798: Line 798:
 ===Resources=== ===Resources===
  
-[[https://docs.yoctoproject.org/ref-manual/index.html|Manual]]+[[https://docs.yoctoproject.org/ref-manual/index.html|Yocto manual - Index]]
  
-[[https://docs.yoctoproject.org/ref-manual/images.html|Images]]+[[https://docs.yoctoproject.org/ref-manual/images.html|Yocto manual - Images]]
  
 [[https://www.digikey.com/en/maker/projects/intro-to-embedded-linux-part-2-yocto-project/2c08a1ad09d74f20b9844e566d332da4|Intro to Embedded Linux Part 2 - Yocto Project]] [[https://www.digikey.com/en/maker/projects/intro-to-embedded-linux-part-2-yocto-project/2c08a1ad09d74f20b9844e566d332da4|Intro to Embedded Linux Part 2 - Yocto Project]]
  
 +[[https://web.archive.org/web/20230503192430/https://www.debian.org/doc/manuals/repository-howto/repository-howto#setting-up|Debian repository howto]]
  
 +[[https://u-boot.readthedocs.io/en/latest/board/st/stm32mp1.html|Das U-Boot]]