Search code examples
embeddedembedded-linuxyoctou-boot

Yocto hddimg partition with boot0 blob


I'm trying to create a .hddimg in yocto with the following partitions:

  • boot0_position=8 # KiB
  • uboot_position=19096 # KiB

boot0 is a blob and it loads u_boot. Please can some one help me on this matter? Where can I configure such parameters?


Solution

  • Now that we have some details here, OK. As of this writing meta-sunxi does not yet support the A64 SoC. However there is currently https://github.com/linux-sunxi/meta-sunxi/blob/master/classes/sdcard_image-sunxi.bbclass for making images that work on the 32bit SoCs. It shouldn't be too hard to modify that to put boot0/ATF/U-Boot into the correct locations and I'm sure they would welcome a patch that adds support for the 64bit SoC.