Re: Yocto,core-image-minimal for RPI4 #yocto #linux

Siddhartha V

You should have core-image-base-raspberrypi3.rpi-sdimg this should be written to to the SD card. Please check it by following below steps. Hope this help you.

then follow below steps to write the image on SD card.

SD_image writing

In build directory :
to check the sdimage for installing on SD card.

ls tmp/deploy/images/raspberrypi3/core-image-base-raspberrypi3.rpi-sdimg

plug sd card to pc then

$: lsblk
$: sudo umount /dev/sdb*

$: sudo dd if=tmp/deploy/images/raspberrypi3/core-image-base-raspberrypi3.rpi-sdimg of=/dev/sdb bs=4M

  >> This task will take some time and at the end we will get the output something similar to below :

        46+0 records in
46+0 records out
192937984 bytes (193 MB, 184 MiB) copied, 10.2155 s, 18.9 MB/s

$: sync
$: sudo umount /dev/sdb*

Best Regards,
Siddhartha V

On Fri, May 29, 2020 at 12:48 PM Pankaj Vinadrao Joshi <pankaj.vj@...> wrote:
I have built the image for raspberrypi4 and i have got the following images 
core-image-minimal.env                                                              rpi-ft5406-1-4.19.120+git0+9da67d7329-r0-raspberrypi4-20200521111428.dtbo
core-image-minimal-raspberrypi4-20200518130120.rootfs.ext3                          rpi-ft5406.dtbo
core-image-minimal-raspberrypi4-20200518130120.rootfs.manifest                      rpi-ft5406-raspberrypi4.dtbo
core-image-minimal-raspberrypi4-20200518130120.rootfs.tar.bz2                       rpi-hwup-image.env
core-image-minimal-raspberrypi4-20200518130120.rootfs.wic.bmap                      rpi-hwup-image-
core-image-minimal-raspberrypi4-20200518130120.rootfs.wic.bz2                       rpi-hwup-image-
core-image-minimal-raspberrypi4-20200518130120.testdata.json                        rpi-hwup-image-
core-image-minimal-raspberrypi4.ext3                                                rpi-hwup-image-raspberrypi4-
core-image-minimal-raspberrypi4.manifest                                            rpi-hwup-image-raspberrypi4-
and  i am trying to copy core-image-minimal-raspberrypi4.wic.bz2 by using
$sudo dd if=core-image-minimal-raspberrypi4.wic.bz2 of=/dev/sdb 
but my image is not getting copied into sd card(used two sd cards ,tried formatting with FAT,Linux),i am missing anything ,do i need to copy anything else with this core-image-minimal.
which extension of image i should use to bringup my RPI4??

Thanks and Regards.
Siddhartha V.

Join to automatically receive all group messages.