core-image-sato-directdisk


Jim Abernathy
 

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
 


autif khan <autif.mlist@...>
 

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.

On Thu, Jan 19, 2012 at 7:51 PM, James Abernathy <jfabernathy@...> 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@...
https://lists.yoctoproject.org/listinfo/yocto


Jim Abernathy
 

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


autif khan <autif.mlist@...>
 

On Fri, Jan 20, 2012 at 11:13 AM, Jim Abernathy <jfabernathy@...> wrote:
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.
Yup, I wrote then off the cuff, I am glad that a typo is the only
error and no major missing steps :-)

I am also glad that these steps worked for you.

Did you file a bug on this?
I have not. I am not sure I should. I am not even sure whoose call it
should be weather or not this goes in README.hardware. I hope someone
chimes in

Thanks,

Jim Abernathy



On Thu, Jan 19, 2012 at 7:51 PM, James Abernathy<jfabernathy@...>
 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@...
https://lists.yoctoproject.org/listinfo/yocto


Paul Eggleton
 

On Friday 20 January 2012 11:54:44 autif khan wrote:
Did you file a bug on this?
I have not. I am not sure I should. I am not even sure whoose call it
should be weather or not this goes in README.hardware. I hope someone
chimes in
So I would say if any of our documentation is out-of-date or unclear, it
should be fixed, no deliberation needed :)

However, in Poky master, README.hardware has now been updated to remove
references to the old directdisk images. It could be that we need to
explicitly add something like what you have written about writing the image to
a hard disk, but for the moment it is at least no longer out-of-date.

At the very least a great start would be to put your instructions up as a page
on the Yocto Project wiki.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre


autif khan <autif.mlist@...>
 

On Fri, Jan 20, 2012 at 12:15 PM, Paul Eggleton
<paul.eggleton@...> wrote:
On Friday 20 January 2012 11:54:44 autif khan wrote:
Did you file a bug on this?
I have not. I am not sure I should. I am not even sure whoose call it
should be weather or not this goes in README.hardware. I hope someone
chimes in
So I would say if any of our documentation is out-of-date or unclear, it
should be fixed, no deliberation needed :)

However, in Poky master, README.hardware has now been updated to remove
references to the old directdisk images. It could be that we need to
explicitly add something like what you have written about writing the image to
a hard disk, but for the moment it is at least no longer out-of-date.

At the very least a great start would be to put your instructions up as a page
on the Yocto Project wiki.
I have created a new link titled "How Do I" on the main page and for
now, this is the only entry.

Please take a look.

https://wiki.yoctoproject.org/wiki/Main_Page
https://wiki.yoctoproject.org/wiki/How_do_I


Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre


Jim Abernathy
 

Jim Abernathy
On Jan 20, 2012, at 1:00 PM, autif khan <autif.mlist@...> wrote:

On Fri, Jan 20, 2012 at 12:15 PM, Paul Eggleton
<paul.eggleton@...> wrote:
On Friday 20 January 2012 11:54:44 autif khan wrote:
Did you file a bug on this?
I have not. I am not sure I should. I am not even sure whoose call it
should be weather or not this goes in README.hardware. I hope someone
chimes in
So I would say if any of our documentation is out-of-date or unclear, it
should be fixed, no deliberation needed :)

However, in Poky master, README.hardware has now been updated to remove
references to the old directdisk images. It could be that we need to
explicitly add something like what you have written about writing the image to
a hard disk, but for the moment it is at least no longer out-of-date.

At the very least a great start would be to put your instructions up as a page
on the Yocto Project wiki.
I have created a new link titled "How Do I" on the main page and for
now, this is the only entry.

Please take a look.

https://wiki.yoctoproject.org/wiki/Main_Page
https://wiki.yoctoproject.org/wiki/How_do_I
Looks good to me.

Cheers,
Paul

--

Paul Eggleton
Intel Open Source Technology Centre