Date
1 - 7 of 7
Yocto,core-image-minimal for RPI4 #yocto #linux
Pankaj Vinadrao Joshi
Hi,
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-
raspberrypi4-20200521111428.rootfs.ext3
core-image-minimal-raspberrypi4-20200518130120.rootfs.wic.bz2 rpi-hwup-image-
raspberrypi4-20200521111428.rootfs.manifest
core-image-minimal-raspberrypi4-20200518130120.testdata.json rpi-hwup-image-
raspberrypi4-20200521111428.rootfs.tar.bz2
core-image-minimal-raspberrypi4.ext3 rpi-hwup-image-raspberrypi4-
20200521111428.rootfs.wic.bmap
core-image-minimal-raspberrypi4.manifest rpi-hwup-image-raspberrypi4-
20200521111428.rootfs.wic.bz2
core-image-minimal-raspberrypi4.tar.bz2
core-image-minimal-raspberrypi4.testdata.json
core-image-minimal-raspberrypi4.wic.bmap
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!
|
|
Hello Pankaj, Try below mentioned steps, Hope it helps you, (there my image was"core-image-base-raspberrypi3.rpi-sdimg" replace it by your image ) 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(not exact it depends on build files) 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:
--
Thanks and Regards. 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:
--
Thanks and Regards. Siddhartha V.
|
|
Pankaj Vinadrao Joshi
Hi,
i dont have image with .rpi-sdimg i have image with
core-image-minimal-raspberrypi4.wic.bz2
core-image-minimal-raspberrypi4.wic.bmap
core-image-minimal-raspberrypi4.testdata.json
core-image-minimal-raspberrypi4.tar.bz2
core-image-minimal-raspberrypi4.manifest
core-image-minimal-raspberrypi4.ext3
dont have core-image-base-raspberrypi3.rpi-sdimg
From: siddhartha v <siddhuvgowda.18695@...>
Sent: Friday, May 29, 2020 1:07 PM To: Pankaj Vinadrao Joshi <Pankaj.VJ@...> Cc: yocto@... <yocto@...> Subject: Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto Hello Pankaj,
Try below mentioned steps, Hope it helps you, (there my image was"core-image-base-raspberrypi3.rpi-sdimg" replace it by your image )
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(not exact it depends on build files) 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:
Thanks and Regards.
Siddhartha V.
|
|
Please follow below steps to check the image. In build directory : to check the sdimage for installing on SD card. $: ls tmp/deploy/images/raspberrypi3/core-image-base-raspberrypi3.rpi-sdimg Check the image by running above command and then follow the steps i mentioned previously. Regards, Siddhartha V
On Fri, 29 May, 2020, 1:17 PM Pankaj Vinadrao Joshi, <Pankaj.VJ@...> wrote:
|
|
On Fri, 29 May 2020 at 09:23, Siddhartha V <Siddhuvgowda.18695@gmail.com> wrote:
Siddhartha, you're confusing the issue here by giving inaccurate advice. The original command posted by Pankaj was nearly correct: `sudo dd if=core-image-minimal-raspberrypi4.wic.bz2 of=/dev/sdb`. The only issue is that the data in the wic.bz2 file needs to be de-compressed before writing to an SD card. I recommend installing bmap-tools and using that to copy the data, it handles decompression automatically and uses the block map in the wic.bmap file to allow it to only write blocks which actually contain data (saving lots of time that would be otherwise wasted writing blocks of zeros). You can run `sudo bmaptool copy core-image-minimal-raspberrypi4.wic.bz2 /dev/sdb`. Thanks, Paul -- Paul Barker Konsulko Group
|
|
Am soory paul, But i was actually trying to check if sdimage is generated or not. I was unaware of . wic. bz2 image. So suggested the above commands. Sorry pankaj. Thanks Siddhartha V
On Fri, 29 May, 2020, 2:13 PM Paul Barker, <pbarker@...> wrote: On Fri, 29 May 2020 at 09:23, Siddhartha V <Siddhuvgowda.18695@...> wrote:
|
|