Inputs to understand sdcard_image bbclass
Hi All ,
Can team member please help me to understand *sdcard_image class* to generate sdimg image .
1) The default core-image-minimal is properly created and i am able to test it.
# ls -alh *sdimg -rw-r--r-- 2 ashish ashish 896M Jun 19 10:05 core-image-minimal-raspberrypi4-64-20200619043406.rootfs.rpi-sdimg lrwxrwxrwx 2 ashish ashish 70 Jun 19 10:05 core-image-minimal-raspberrypi4-64.rpi-sdimg -> core-image-minimal-raspberrypi4-64-20200619043406.rootfs.rpi-sdimg
2) But for my custom image , the bitabake fails at do_image_rpi_sdimg function.
Debugging i could find that the 956MB custom-image-minimal-raspberrypi4-64-20200619043406.rootfs.rpi-sdimg is created but *custom-image-minimal-raspberrypi4-64..rootfs.rpi-sdimg* is not created and this is due to the error .
Hence i am trying to understand ( as other types like TAR , ext3 etc are properly created expect for rpi-sdimg )
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/classes/sdcard_image-rpi.bbclass?h=master
For which how to we determine proper values of :
1) IMAGE_ROOTFS_ALIGNMENT
2) BOOT_SPACE
3) SDIMG_SIZE
Thanks ,
Ashish