All of lore.kernel.org
 help / color / mirror / Atom feed
* Inputs to understand sdcard_image bbclass
@ 2020-07-02  8:34 Ashishx88
  0 siblings, 0 replies; only message in thread
From: Ashishx88 @ 2020-07-02  8:34 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1988 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-02  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02  8:34 Inputs to understand sdcard_image bbclass Ashishx88

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.