* Deploying Yocto built images on x86
@ 2013-11-04 18:58 Markus Svilans
2013-11-07 18:45 ` Darren Hart
0 siblings, 1 reply; 3+ messages in thread
From: Markus Svilans @ 2013-11-04 18:58 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
Dear list,
What do people do for deploying Yocto built images to actual x86 hardware?
I am researching how to build an appliance type Linux box on x86
hardware, but I am unclear on what are the generally accepted methods
for doing that. The box would need to have a read-only rootfs, mounted
in RAM, with one or more partitions for storing persistent files.
I am looking for some method, where I could bitbake a recipe, that will:
* build a FAT image for syslinux and initramfs files
* build one or more small ext3/4 partitions for persistent storage
(config files, log files, etc.)
* generate a single binary image, that can be easily installed to a
hard drive (via dd or other tool), and will automatically handle the
various partitions, boot record, etc. on the target hard drive
The following presentation from 2006 mentions the mkimg and imgloader
tools, that appear to do just that:
http://elinux.org/images/1/1b/Jordan_crouse_celf_2006.pdf
But there seems to be no mention of the mkimg / imgloader tools anywhere
online. What happened to them? Are they proprietary AMD tools?
Any insights or links to good literature would be much appreciated.
Thanks very much
Markus
[-- Attachment #2: Type: text/html, Size: 1841 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Deploying Yocto built images on x86
2013-11-04 18:58 Deploying Yocto built images on x86 Markus Svilans
@ 2013-11-07 18:45 ` Darren Hart
2013-11-07 19:00 ` Markus Svilans
0 siblings, 1 reply; 3+ messages in thread
From: Darren Hart @ 2013-11-07 18:45 UTC (permalink / raw)
To: Markus Svilans; +Cc: yocto@yoctoproject.org
On Mon, 2013-11-04 at 13:58 -0500, Markus Svilans wrote:
> Dear list,
>
> What do people do for deploying Yocto built images to actual x86
> hardware?
That is a very open ended question :-) There is x86 hardware ranging
from booting from SPI, to SD Cards, all the way up to desktops and
servers...
> I am researching how to build an appliance type Linux box on x86
> hardware, but I am unclear on what are the generally accepted methods
> for doing that. The box would need to have a read-only rootfs, mounted
> in RAM, with one or more partitions for storing persistent files.
Where are you storing the image? SPI, SD, USB, SATA? Assuming SATA as
you are speaking in highly general x86 terms, which typically means "PC"
rather than deeply embedded.
>
> I am looking for some method, where I could bitbake a recipe, that
> will:
> * build a FAT image for syslinux and initramfs files
All the core images do that with the hddimg fs type.
> * build one or more small ext3/4 partitions for persistent
> storage (config files, log files, etc.)
Core images currently do a single partition of that type.
> * generate a single binary image, that can be easily installed
> to a hard drive (via dd or other tool), and will automatically
> handle the various partitions, boot record, etc. on the target
> hard drive
The mkefidisk.sh script does this now for EFI images and the WIC tool
(recently added to the 1.5 release) can do this for EFI and PCBIOS type
images.
>
>
> The following presentation from 2006 mentions the mkimg and imgloader
> tools, that appear to do just that:
> http://elinux.org/images/1/1b/Jordan_crouse_celf_2006.pdf
>
>
> But there seems to be no mention of the mkimg / imgloader tools
> anywhere online. What happened to them? Are they proprietary AMD
> tools?
>
>
>
> Any insights or links to good literature would be much appreciated.
>
OK, so the tool you are looking for is wic. Search the mailing list for
specifics on the tool, and Cc Tom Zanussi (Cc'd) on questions about wic
to the list (oe-core is probably the best list since the tool has been
integrated there).
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Deploying Yocto built images on x86
2013-11-07 18:45 ` Darren Hart
@ 2013-11-07 19:00 ` Markus Svilans
0 siblings, 0 replies; 3+ messages in thread
From: Markus Svilans @ 2013-11-07 19:00 UTC (permalink / raw)
To: Darren Hart; +Cc: yocto@yoctoproject.org
Hi Darren,
Thanks for this, it is very informative and useful.
You've been me a good number of solid leads to follow.
> Where are you storing the image? SPI, SD, USB, SATA? Assuming SATA as
> you are speaking in highly general x86 terms, which typically means "PC"
> rather than deeply embedded.
You are right, in my case, the system will be based around an Intel Atom
processor on a PC/104 motherboard, with an mSATA solid state drive. It
will be more of a PC type box than a deeply embedded unit. The "one
switch, one light" appliance-like behaviour is to simply usage in the field.
> OK, so the tool you are looking for is wic. Search the mailing list for
> specifics on the tool, and Cc Tom Zanussi (Cc'd) on questions about wic
> to the list (oe-core is probably the best list since the tool has been
> integrated there).
Thanks for the lead.
I'll have a look at WIC and go from there.
Thanks again & best wishes
Markus
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-07 19:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04 18:58 Deploying Yocto built images on x86 Markus Svilans
2013-11-07 18:45 ` Darren Hart
2013-11-07 19:00 ` Markus Svilans
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.