* Yocto,core-image-minimal for RPI4 #linux #yocto
@ 2020-05-29 7:18 Pankaj Vinadrao Joshi
2020-05-29 7:37 ` [yocto] " Siddhartha V
2020-05-29 7:39 ` Siddhartha V
0 siblings, 2 replies; 7+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-05-29 7:18 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]
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
core-image-minimal-raspberrypi4.wic.bz2
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!
[-- Attachment #2: Type: text/html, Size: 11958 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto
2020-05-29 7:18 Yocto,core-image-minimal for RPI4 #linux #yocto Pankaj Vinadrao Joshi
@ 2020-05-29 7:37 ` Siddhartha V
2020-05-29 7:47 ` Pankaj Vinadrao Joshi
2020-05-29 7:39 ` Siddhartha V
1 sibling, 1 reply; 7+ messages in thread
From: Siddhartha V @ 2020-05-29 7:37 UTC (permalink / raw)
To: Pankaj Vinadrao Joshi; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2602 bytes --]
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@exaleapsemi.com> wrote:
> 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
>
>
> core-image-minimal-raspberrypi4.wic.bz2
>
> 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!
>
>
--
Thanks and Regards.
Siddhartha V.
[-- Attachment #2: Type: text/html, Size: 11500 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto
2020-05-29 7:18 Yocto,core-image-minimal for RPI4 #linux #yocto Pankaj Vinadrao Joshi
2020-05-29 7:37 ` [yocto] " Siddhartha V
@ 2020-05-29 7:39 ` Siddhartha V
1 sibling, 0 replies; 7+ messages in thread
From: Siddhartha V @ 2020-05-29 7:39 UTC (permalink / raw)
To: Pankaj Vinadrao Joshi; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2815 bytes --]
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@exaleapsemi.com> wrote:
> 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
>
>
> core-image-minimal-raspberrypi4.wic.bz2
>
> 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!
>
>
--
Thanks and Regards.
Siddhartha V.
[-- Attachment #2: Type: text/html, Size: 11758 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto
2020-05-29 7:37 ` [yocto] " Siddhartha V
@ 2020-05-29 7:47 ` Pankaj Vinadrao Joshi
2020-05-29 8:23 ` Siddhartha V
0 siblings, 1 reply; 7+ messages in thread
From: Pankaj Vinadrao Joshi @ 2020-05-29 7:47 UTC (permalink / raw)
To: siddhartha v; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 3397 bytes --]
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@gmail.com>
Sent: Friday, May 29, 2020 1:07 PM
To: Pankaj Vinadrao Joshi <Pankaj.VJ@exaleapsemi.com>
Cc: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>
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@exaleapsemi.com<mailto:pankaj.vj@exaleapsemi.com>> wrote:
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
core-image-minimal-raspberrypi4.wic.bz2
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!
--
Thanks and Regards.
Siddhartha V.
[EXT]
[-- Attachment #2: Type: text/html, Size: 15947 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto
2020-05-29 7:47 ` Pankaj Vinadrao Joshi
@ 2020-05-29 8:23 ` Siddhartha V
2020-05-29 8:43 ` Paul Barker
0 siblings, 1 reply; 7+ messages in thread
From: Siddhartha V @ 2020-05-29 8:23 UTC (permalink / raw)
To: Pankaj Vinadrao Joshi; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 3812 bytes --]
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@exaleapsemi.com> wrote:
> 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@gmail.com>
> *Sent:* Friday, May 29, 2020 1:07 PM
> *To:* Pankaj Vinadrao Joshi <Pankaj.VJ@exaleapsemi.com>
> *Cc:* yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>
> *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@exaleapsemi.com> wrote:
>
> 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
>
>
> core-image-minimal-raspberrypi4.wic.bz2
>
> 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!
>
>
>
>
> --
> Thanks and Regards.
> Siddhartha V.
>
> [EXT]
>
[-- Attachment #2: Type: text/html, Size: 16296 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto
2020-05-29 8:23 ` Siddhartha V
@ 2020-05-29 8:43 ` Paul Barker
2020-05-29 8:51 ` Siddhartha V
0 siblings, 1 reply; 7+ messages in thread
From: Paul Barker @ 2020-05-29 8:43 UTC (permalink / raw)
To: Siddhartha V; +Cc: Pankaj Vinadrao Joshi, yocto
On Fri, 29 May 2020 at 09:23, Siddhartha V <Siddhuvgowda.18695@gmail.com> wrote:
>
> 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.
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] Yocto,core-image-minimal for RPI4 #linux #yocto
2020-05-29 8:43 ` Paul Barker
@ 2020-05-29 8:51 ` Siddhartha V
0 siblings, 0 replies; 7+ messages in thread
From: Siddhartha V @ 2020-05-29 8:51 UTC (permalink / raw)
To: Paul Barker; +Cc: Pankaj Vinadrao Joshi, yocto
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]
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@konsulko.com> wrote:
> On Fri, 29 May 2020 at 09:23, Siddhartha V <Siddhuvgowda.18695@gmail.com>
> wrote:
> >
> > 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.
>
> 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
>
[-- Attachment #2: Type: text/html, Size: 2141 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-05-29 8:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 7:18 Yocto,core-image-minimal for RPI4 #linux #yocto Pankaj Vinadrao Joshi
2020-05-29 7:37 ` [yocto] " Siddhartha V
2020-05-29 7:47 ` Pankaj Vinadrao Joshi
2020-05-29 8:23 ` Siddhartha V
2020-05-29 8:43 ` Paul Barker
2020-05-29 8:51 ` Siddhartha V
2020-05-29 7:39 ` Siddhartha V
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.