[yocto] raspberry pi do rootfs

Andrei Gherzan andrei at gherzan.ro
Wed Nov 11 17:56:13 PST 2015


--
Andrei Gherzan

On Wed, Nov 11, 2015 at 2:47 PM, Edward Vidal <develone at sbcglobal.net>
wrote:

> Hi Raj,
> This works for me.
>
>
Just tested as well and it works for me too. I'm not saying this to get out
of the situation but it's just that I don't have any leads. So again, do
you have any local modifications?


> I first do bitbake core-image-sato.
>
> I first delete all partitions from the SD card using fdisk /dev/sdx as
> user root or sudo.
> where x is what I see using fdisk -l for the SD card as user root or sudo.
> Then I use the following command
> "dd
> if=tmp/deploy/images/raspberrypi2/core-image-sato-raspberrypi2.rpi-sdimg |
> pv | sudo dd of=/dev/sdb bs=16M"
> as user root or sudo.
> Hope this helps.
> Cheers,
>
> Edward Vidal Jr. e-mail develone at sbcglobal.net 915-595-1613
>
>
>
> On Wednesday, November 11, 2015 6:28 AM, "yocto-request at yoctoproject.org"
> <yocto-request at yoctoproject.org> wrote:
>
>
> Send yocto mailing list submissions to
>     yocto at yoctoproject.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://lists.yoctoproject.org/listinfo/yocto
> or, via email, send a message with subject or body 'help' to
>     yocto-request at yoctoproject.org
>
> You can reach the person managing the list at
>     yocto-owner at yoctoproject.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yocto digest..."
>
>
> Today's Topics:
>
>   1. Re: raspberry pi do rootfs (Raj Jar)
>   2. external-toolchain (Virgilia  Eigner)
>   3. Re: external-toolchain (Virgilia  Eigner)
>   4. Re: raspberry pi do rootfs (Andrei Gherzan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 11 Nov 2015 13:39:02 +0530
> From: Raj Jar <jarraj400 at gmail.com>
> To: yocto at yoctoproject.org
> Subject: Re: [yocto] raspberry pi do rootfs
> Message-ID:
>     <CAK3ATuHc9C4T6mF-m8J=CuMWu=QJGtBOVvLbTYae-HgLS1uZFw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All,
>
> I have 60GB space in my build system still i face
>
>
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Error: The image creation script
>
> '/home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg'
> returned 1:
> Creating filesystem with Boot partition 20480 KiB and RootFS 77824 KiB
> 0+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 7.4427e-05 s, 0.0 kB/s
> Model:  (file)
> Disk
>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/rpi-hwup-image-raspberrypi-20151102024300.rootfs.rpi-sdimg:
> 105MB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Disk Flags:
>
> Number  Start  End    Size    Type    File system  Flags
> 1      4194kB  25.2MB  21.0MB  primary              boot, lba
> 2      25.2MB  105MB  79.7MB  primary
>
> mkfs.vfat 2.11 (12 Mar 2005)
> Disk full
> WARNING:
>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg:1
> exit 1 from
>   mcopy -i
>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/boot.img
> -s
>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/Image-raspberrypi.bin
> ::kernel.img
>
> ERROR: Function failed: do_rootfs
> ERROR: Logfile of failure stored in:
>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_rootfs.13457
> ERROR: Task 7
>
> (/home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> rpi-hwup-image.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1954 tasks of which 1953 didn't need to be
> rerun and 1 failed.
> No currently running tasks (1953 of 1955)
>
> Summary: 1 task failed:
>
>
> /home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> rpi-hwup-image.bb, do_rootfs
>
>
> On Tue, Nov 3, 2015 at 10:17 AM, Raj Jar <jarraj400 at gmail.com> wrote:
>
> > I got this error when i do bitbake rpi-hwup-image
> > I suspect error come from mcopy .....
> > how to recover this error
> > MACHINE ?="raspberry pi"
> >
> >
> > NOTE: Preparing RunQueue
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
> > ERROR: Error: The image creation script
> >
> '/home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg'
> > returned 1:
> > Creating filesystem with Boot partition 20480 KiB and RootFS 77824 KiB
> > 0+0 records in
> > 0+0 records out
> > 0 bytes (0 B) copied, 7.4427e-05 s, 0.0 kB/s
> > Model:  (file)
> > Disk
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/rpi-hwup-image-raspberrypi-20151102024300.rootfs.rpi-sdimg:
> > 105MB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: msdos
> > Disk Flags:
> >
> > Number  Start  End    Size    Type    File system  Flags
> >  1      4194kB  25.2MB  21.0MB  primary              boot, lba
> >  2      25.2MB  105MB  79.7MB  primary
> >
> > mkfs.vfat 2.11 (12 Mar 2005)
> > Disk full
> > WARNING:
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg:1
> > exit 1 from
> >  mcopy -i
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/boot.img
> > -s
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/Image-raspberrypi.bin
> > ::kernel.img
> >
> > ERROR: Function failed: do_rootfs
> > ERROR: Logfile of failure stored in:
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_rootfs.13457
> > ERROR: Task 7
> >
> (/home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> > rpi-hwup-image.bb, do_rootfs) failed with exit code '1'
> > NOTE: Tasks Summary: Attempted 1954 tasks of which 1953 didn't need to be
> > rerun and 1 failed.
> > No currently running tasks (1953 of 1955)
> >
> > Summary: 1 task failed:
> >
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> > rpi-hwup-image.bb, do_rootfs
> > Summary: There were 2 ERROR messages shown, returning a non-zero exit
> code.
> >
> >
> >
> >
>
>
> --
> Regards,
> RAJ M
> Mob. # +91-9597208150
>
>
> Have a great day ahead.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/yocto/attachments/20151111/e9980713/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 11 Nov 2015 09:46:40 +0100
> From: "Virgilia  Eigner" <Virgi200 at gmx.de>
> To: yocto at yoctoproject.org
> Subject: [yocto] external-toolchain
> Message-ID:
>     <
> trinity-9b9a7186-a9d1-4ea3-a628-7a1e1e41e541-1447231599946 at 3capp-gmx-bs64>
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/yocto/attachments/20151111/fae1db0e/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 11 Nov 2015 11:51:07 +0100
> From: "Virgilia  Eigner" <Virgi200 at gmx.de>
> To: yocto at yoctoproject.org
> Subject: Re: [yocto] external-toolchain
> Message-ID:
>     <
> trinity-4efc8622-e589-495f-82a5-acd54dc7dfca-1447239067296 at 3capp-gmx-bs64>
>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/yocto/attachments/20151111/9f3b6208/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Wed, 11 Nov 2015 14:26:16 +0100
> From: Andrei Gherzan <andrei at gherzan.ro>
> To: Raj Jar <jarraj400 at gmail.com>
> Cc: Yocto Project <yocto at yoctoproject.org>
> Subject: Re: [yocto] raspberry pi do rootfs
> Message-ID:
>     <CAK18fxF6D9+8_VNyZEJhud1Rqz_Fs6nmZTgpbTwqF-e-fjn8iQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> --
> Andrei Gherzan
>
> On Wed, Nov 11, 2015 at 9:09 AM, Raj Jar <jarraj400 at gmail.com> wrote:
>
> > Hi All,
> >
> > I have 60GB space in my build system still i face
> >
> >
> Do you have any custom modifications or so. It seems like the fat partition
> is not big enough for what you write in. What poky/meta-rpi are you using?
>
>
> >
> > NOTE: Preparing RunQueue
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
> > ERROR: Error: The image creation script
> >
> '/home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg'
> > returned 1:
> > Creating filesystem with Boot partition 20480 KiB and RootFS 77824 KiB
> > 0+0 records in
> > 0+0 records out
> > 0 bytes (0 B) copied, 7.4427e-05 s, 0.0 kB/s
> > Model:  (file)
> > Disk
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/rpi-hwup-image-raspberrypi-20151102024300.rootfs.rpi-sdimg:
> > 105MB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: msdos
> > Disk Flags:
> >
> > Number  Start  End    Size    Type    File system  Flags
> >  1      4194kB  25.2MB  21.0MB  primary              boot, lba
> >  2      25.2MB  105MB  79.7MB  primary
> >
> > mkfs.vfat 2.11 (12 Mar 2005)
> > Disk full
> > WARNING:
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg:1
> > exit 1 from
> >  mcopy -i
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/boot.img
> > -s
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/Image-raspberrypi.bin
> > ::kernel.img
> >
> > ERROR: Function failed: do_rootfs
> > ERROR: Logfile of failure stored in:
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_rootfs.13457
> > ERROR: Task 7
> >
> (/home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> > rpi-hwup-image.bb, do_rootfs) failed with exit code '1'
> > NOTE: Tasks Summary: Attempted 1954 tasks of which 1953 didn't need to be
> > rerun and 1 failed.
> > No currently running tasks (1953 of 1955)
> >
> > Summary: 1 task failed:
> >
> >
> /home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> > rpi-hwup-image.bb, do_rootfs
> >
> >
> > On Tue, Nov 3, 2015 at 10:17 AM, Raj Jar <jarraj400 at gmail.com> wrote:
> >
> >> I got this error when i do bitbake rpi-hwup-image
> >> I suspect error come from mcopy .....
> >> how to recover this error
> >> MACHINE ?="raspberry pi"
> >>
> >>
> >> NOTE: Preparing RunQueue
> >> NOTE: Executing SetScene Tasks
> >> NOTE: Executing RunQueue Tasks
> >> ERROR: Error: The image creation script
> >>
> '/home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg'
> >> returned 1:
> >> Creating filesystem with Boot partition 20480 KiB and RootFS 77824 KiB
> >> 0+0 records in
> >> 0+0 records out
> >> 0 bytes (0 B) copied, 7.4427e-05 s, 0.0 kB/s
> >> Model:  (file)
> >> Disk
> >>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/rpi-hwup-image-raspberrypi-20151102024300.rootfs.rpi-sdimg:
> >> 105MB
> >> Sector size (logical/physical): 512B/512B
> >> Partition Table: msdos
> >> Disk Flags:
> >>
> >> Number  Start  End    Size    Type    File system  Flags
> >>  1      4194kB  25.2MB  21.0MB  primary              boot, lba
> >>  2      25.2MB  105MB  79.7MB  primary
> >>
> >> mkfs.vfat 2.11 (12 Mar 2005)
> >> Disk full
> >> WARNING:
> >>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/create_image.rpi-sdimg:1
> >> exit 1 from
> >>  mcopy -i
> >>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/boot.img
> >> -s
> >>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/deploy/images/raspberrypi/Image-raspberrypi.bin
> >> ::kernel.img
> >>
> >> ERROR: Function failed: do_rootfs
> >> ERROR: Logfile of failure stored in:
> >>
> /home/raj/Projects/raspberry_pi/yacto/poky/raspberrypi_build/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_rootfs.13457
> >> ERROR: Task 7
> >>
> (/home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> >> rpi-hwup-image.bb, do_rootfs) failed with exit code '1'
> >> NOTE: Tasks Summary: Attempted 1954 tasks of which 1953 didn't need to
> be
> >> rerun and 1 failed.
> >> No currently running tasks (1953 of 1955)
> >>
> >> Summary: 1 task failed:
> >>
> >>
> /home/raj/Projects/raspberry_pi/yacto/poky/meta-raspberrypi/recipes-core/images/
> >> rpi-hwup-image.bb, do_rootfs
> >> Summary: There were 2 ERROR messages shown, returning a non-zero exit
> >> code.
> >>
> >>
> >>
> >>
> >
> >
> > --
> > Regards,
> > RAJ M
> > Mob. # +91-9597208150
> >
> >
> > Have a great day ahead.
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/yocto/attachments/20151111/6a216dee/attachment.html
> >
>
> ------------------------------
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
> End of yocto Digest, Vol 62, Issue 39
> *************************************
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151112/82acf77a/attachment.html>


More information about the yocto mailing list