All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Insop Song <insop.song@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Loading a new yocto image to Intel Fri2 board
Date: Fri, 15 Mar 2013 08:58:22 -0700	[thread overview]
Message-ID: <5143451E.9000807@linux.intel.com> (raw)
In-Reply-To: <CACzyEJ9TQd-ORK-ndiNi9ZrshPrbmSiwt6JiQF4AGyTwD0q9Rw@mail.gmail.com>



On 03/15/2013 02:26 AM, Insop Song wrote:
> On Thu, Mar 14, 2013 at 1:15 PM, Darren Hart <dvhart@linux.intel.com> wrote:
>> On 03/14/2013 12:56 PM, Insop Song wrote:
>>> Hi Darren,
>>>
>>> mkefidisk.sh works, thank you.
>>>
>>> What I found was, USB still doesn't work even with mkefidisk.sh.
>>> So I used micro sd card instead.
>>
>> Aha, yes. You will need to add "rootwait" to your kernel command line
>> for reliable booting over usb. There is no way I see to determine if USB
>> is being used (/dev/sda could just as easily be SATA). Perhaps mkefidisk
>> should just use rootwait by default. Patches accepted.
>>
> 
> 
> "rootwait" was there.
> 
> 1. when I run "sudo ~/bin/mkefidisk.sh /dev/sda
> core-image-sato-sdk-fri2-20130309091839.hddimg /dev/mmcblk0"
> but "root=" was set to mmcblk0.
> So I changed "root=" manually to sda2, usb is booted as well.
> 
> yes, I should have put the last parameter to be "/dev/sda" instead..


This also explains why rootwait was there. The script tests for mmcblk0
and sets rootwait if so (if I remember correctly).


> 2. so when I run "sudo ~/bin/mkefidisk.sh /dev/sda
> core-image-sato-sdk-fri2-20130309091839.hddimg /dev/sda"
> USB is also working fine.


Check this image, I think you'll find that rootwait is missing for this
image.


> Thank you very much for the help, now I can use fri2 to test "meta-realtime"
> 
> Insop
> 

Great.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel


  reply	other threads:[~2013-03-15 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10 11:16 Loading a new yocto image to Intel Fri2 board Insop Song
2013-03-11  3:09 ` Insop Song
2013-03-13 17:03 ` Darren Hart
2013-03-14 19:56   ` Insop Song
2013-03-14 20:15     ` Darren Hart
2013-03-15  9:26       ` Insop Song
2013-03-15 15:58         ` Darren Hart [this message]
2013-03-16  8:20           ` Insop Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5143451E.9000807@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=insop.song@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.