From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D2DD5E00A44; Thu, 22 May 2014 09:31:35 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RDNS_NONE autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.201.16.125 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Received: from entsrmbx02.teledyne.com (unknown [74.201.16.125]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8A067E00BEB for ; Thu, 22 May 2014 09:31:21 -0700 (PDT) X-IronPort-AV: E=Sophos;i="4.98,888,1392192000"; d="scan'208,217";a="54887448" Received: from unknown (HELO [10.22.99.41]) ([10.22.99.41]) by entsrmbx02a.teledyne.com with ESMTP; 22 May 2014 09:31:20 -0700 Message-ID: <537E2658.5000603@DinkumSoftware.com> Date: Thu, 22 May 2014 12:31:20 -0400 From: tom campbell User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: David Sowa References: <537E18B6.6040905@DinkumSoftware.com> In-Reply-To: Cc: meta-freescale@yoctoproject.org Subject: Re: Freescale imx beta/release sd burning questions X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 16:31:35 -0000 Content-Type: multipart/alternative; boundary="------------090705040007000807020900" --------------090705040007000807020900 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Thanks all. That cleared up my confusion and works. tom campbell On 05/22/2014 11:51 AM, David Sowa wrote: > Tom, > > The .sdcard file produced by the bitbake process has the partition > information baked in already so you want to write it to the raw sd > card device. > > On my particular system I write the files to /dev/sdX not to > /dev/sdX1. The exact letter your sd card shows up as will depend on > what other devices are present in your system. > > On my Ubuntu dev system when I insert the sd card the system > automounts the existing partitions so I always need to umount the > partitions before I can write to the raw device. So the whole process > looks like > > insert sd card > sudo umount /dev/sdX1 > sudo umount /dev/sdX2 > sudo dd if=core-image-minimal-boardname.sdcard of=/dev/sdX bs=4M > > > > > > > On Thu, May 22, 2014 at 11:33 AM, tom campbell > > wrote: > > List: > > I've built the Freescale imx6 beta successfully from: > fsl-yocto-3.10.17-1.0.0-beta.tar.gz > L3.10.17_1.0.0_beta_131223_images_MX6.tar.gz > cd fsl-community-bsp-platform &&\ > MACHINE=imx6slevk source setup-environment build-evk &&\ > bitbake core-image-minimal > > > I have a question about sd card partitioning. The instructions in > Freescale Yocto user guide 4.1 say: > sudo dd if=.sdcard of=/dev/sd > sudo dd if=.sdcard of=/dev/sd > No where can I find the partitioning requirements for the sd card. > How is the SD card to be partitioned? > Don't really understand the two commands above. Unless > is different, only difference is block size of writes > Can someone point me to the partitioning requirements? > > thx > tom campbell > > -- > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/meta-freescale > > --------------090705040007000807020900 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks all.
That cleared up my confusion and works.
tom campbell

On 05/22/2014 11:51 AM, David Sowa wrote:
Tom,

The .sdcard file produced by the bitbake process has the partition information baked in already so you want to write it to the raw sd card device.

On my particular system I write the files to /dev/sdX not to /dev/sdX1.  The exact letter your sd card shows up as will depend on what other devices are present in your system.

On my Ubuntu dev system when I insert the sd card the system automounts the existing partitions so I always need to umount the partitions before I can write to the raw device.  So the whole process looks like

insert sd card
sudo umount /dev/sdX1
sudo umount /dev/sdX2
sudo dd if=core-image-minimal-boardname.sdcard of=/dev/sdX bs=4M






On Thu, May 22, 2014 at 11:33 AM, tom campbell <content@dinkumsoftware.com> wrote:
List:

I've built the Freescale imx6 beta successfully from:
     fsl-yocto-3.10.17-1.0.0-beta.tar.gz
     L3.10.17_1.0.0_beta_131223_images_MX6.tar.gz
cd fsl-community-bsp-platform &&\
    MACHINE=imx6slevk source setup-environment build-evk &&\
    bitbake core-image-minimal


I have a question about sd card partitioning.  The instructions in Freescale Yocto user guide 4.1 say:
    sudo dd if=<image name>.sdcard of=/dev/sd<partition>
    sudo dd if=<image name>.sdcard of=/dev/sd<partition bs=1M && sync

No where can I find the partitioning requirements for the sd card.
How is the SD card to be partitioned?
Don't really understand the two commands above.  Unless <partition> is different, only difference is block size of writes
Can someone point me to the partitioning requirements?

thx
tom campbell

--
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


--------------090705040007000807020900--