[yocto] core-image-sato-directdisk

Jim Abernathy jfabernathy at gmail.com
Fri Jan 20 08:13:13 PST 2012


On 01/20/2012 09:16 AM, autif khan wrote:
> I have been using core-image-sato and core-image-sato-sdk on the hard
> disk on Intel Atom (crownbay in my case).
>
> I perform the following broad steps:
>
> 1) have a suitable partition on the disk - say partition #3
> 2) this partition will show up as sde3 on my host machine and sda3 on the atom
> 3) mkfs.ext3 /dev/sde3
> 4) mount /dev/sde3 /mnt/target
> 5) mount -o loop tmp/deploy/images/core-image-sato-sdk.ext3 /mnt/target-text3
> 6) cp -a /mnt/target-ext3/* /mnt/target
> 7) grub-install --recheck --root-directory=/mnt/target /dev/sde
>
> If grub install passed, I copy the following to /mnt/target/boot/grub/grub.cfg
>
> set default="0"
> set timeout="30"
>
> menuentry 'Yocto SDK' {
> 	insmod part_msdos
> 	insmod ext2
> 	set root='(hd0,msdos3)'
> 	linux /boot/bzImage root=/dev/sda3
> }
>
>
> Thats it - this boots for me.
>
> Eventually, when I move to some other media, I will have to
> investigate other bootloaders - like syslinux.
>
> All the best, do tell if this works.
This worked fine for me. one typo in step (5) ext3 and not text3, but 
these are good instructions.  How do we get them put into the 
README.hardware instead of the directdisk section that doesn't work anymore.

Did you file a bug on this?

Thanks,

Jim Abernathy

>
> On Thu, Jan 19, 2012 at 7:51 PM, James Abernathy<jfabernathy at gmail.com>  wrote:
>> The README.hardware file in the poky directory talks about creating images
>> on 2 types of disk for the Atom based PCs like the n450. The one I've
>> successfully tested is the core-image-sato on a USB key.  I have no luck
>> with the directdisk method because the image recipe doesn't exist for
>> core-image-minimal-directdisk or core-image-sato-directdisk.
>>
>> Is there a way to put Yocto on the hard drive on a Atom PC?
>>
>> Jim A
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>




More information about the yocto mailing list