On 03/15/2013 02:26 AM, Insop Song wrote: > On Thu, Mar 14, 2013 at 1:15 PM, Darren Hart <dvh...@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 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto