[yocto] is there a recipe for building a ppc-based installer image?

Robert P. J. Day rpjday at crashcourse.ca
Thu Jun 23 03:41:35 PDT 2016


  i've been fighting with this for a few days, so i'm going to
describe what i'm *trying* to do, and if someone has a solution,
terrific; in the meantime, i'm going to ask specific questions about
particular recipe and class files, since i think i see all the
*pieces* i want, i just don't know how to put them together to *get*
what i want.

  the scenario: powerpc target board, for which we already have
working u-boot, kernel and rootfs, and which will have u-boot already
installed as the basis for further adventures.

  as i *see* it, what i want to do is (and i'm willing to be
corrected) build a basic kernel with an integrated initramfs that is
loaded with installation utilities (fdisk, parted, mkfs, etc, etc.),
and whose job it is to then fetch (from somewhere) the installable
contents and load up the hard drive, then maybe use fw_setenv to tweak
the u-boot env variables, and reboot to the full system. make sense
so far?

  also, since it's ppc and u-boot, there's nothing grub or EFI related
i will need, correct?

  finally, i'd love to be able to test this on a qemuppc image first,
so if there's a quick way to build a recipe that does this for
qemuppc, that would be ducky.

  as i see it, there are a number of images under both recipes-core
and recipes-extended (those "testmaster" images) i've been looking at
that seem to be relevant, but i've yet to find a combination that
works.

  so i'm going to leave this very general description of what i'm
after here, and follow up with more specific questions about some of
those recipes, and about qemu sessions. and if someone already has a
pointer to do all this, well, we're done.

rday

p.s. if i can get a general solution to this that is not written up
elsewhere, i will be delighted to write it up for public consumption
so everyone else can take advantage.

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the yocto mailing list