Re: [yocto] raspberry pi do rootfs

2015-11-11 Thread Edward Vidal
Hi Raj,This works for me.
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 devel...@sbcglobal.net 915-595-1613 


 On Wednesday, November 11, 2015 6:28 AM, "yocto-requ...@yoctoproject.org" 
<yocto-requ...@yoctoproject.org> wrote:
   

 Send yocto mailing list submissions to
    yocto@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-requ...@yoctoproject.org

You can reach the person managing the list at
    yocto-ow...@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 <jarraj...@gmail.com>
To: yocto@yoctoproject.org
Subject: Re: [yocto] raspberry pi do rootfs
Message-ID:
    

Re: [yocto] raspberry pi do rootfs

2015-11-11 Thread Andrei Gherzan
--
Andrei Gherzan

On Wed, Nov 11, 2015 at 9:09 AM, Raj Jar  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 SizeType 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  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 SizeType 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 

Re: [yocto] raspberry pi do rootfs

2015-11-11 Thread Andrei Gherzan
--
Andrei Gherzan

On Wed, Nov 11, 2015 at 2:47 PM, Edward Vidal <devel...@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 devel...@sbcglobal.net 915-595-1613
>
>
>
> On Wednesday, November 11, 2015 6:28 AM, "yocto-requ...@yoctoproject.org"
> <yocto-requ...@yoctoproject.org> wrote:
>
>
> Send yocto mailing list submissions to
> yocto@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-requ...@yoctoproject.org
>
> You can reach the person managing the list at
> yocto-ow...@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 <jarraj...@gmail.com>
> To: yocto@yoctoproject.org
> Subject: Re: [yocto] raspberry pi do rootfs
> Message-ID:
> 

Re: [yocto] raspberry pi do rootfs

2015-11-11 Thread Raj Jar
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 SizeType 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  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 SizeType 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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] raspberry pi do rootfs

2015-11-04 Thread Andrei Gherzan
--
Andrei Gherzan

On Tue, Nov 3, 2015 at 5:47 AM, Raj Jar  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 SizeType 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
>

Make some space for your build.


> 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.
>
>
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] raspberry pi do rootfs

2015-11-03 Thread Gary Thomas

On 2015-11-02 21:47, Raj Jar wrote:

I got this error when i do bitbake rpi-hwup-image
I suspect error come from mcopy .
how to recover this error


You need more disk space on your build directory.  See the 'disk full'
message below.


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 SizeType 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.







--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto