On Mon, Jun 09, 2014 at 03:52:50PM -0700, Marlon Smith wrote: > Hi everyone, > > I'm developing a product that will run on a custom i.MX6 board and I'm > trying to decide whether to use Yocto or Ubuntu (there's a version of > Ubuntu packaged for the Wandboard that will run on our board). The > board will run our own custom app, and we'll modify the Linux kernel to > support our hardware. > > Ubuntu seems like it would be ready to go - just put it on an SD card, > boot the board, compile the app and create a new SD card image from the > result to use for manufacturing. > > Yocto seems like it would be easier to remove unneeded packages from, > and easier to cross-compile the application for. This means we could > have a smaller SD card image in the end. > > What are your thoughts on this?
Philip has already mentioned license compliance in his reply, I'd like to add a couple of other points: - In addition to a smaller image, you should have less services running by default and so lower power usage. - It's much easier to do consistent, reproducible image builds which include your own packages. Rather than having a series of steps such as installing Ubuntu on an SD card, booting, installing required additional packages, downloading your source code to the card, building and then installing, you just do 'bitbake my-image' and everything you need is encoded in recipe files which you can keep under version control. There's less chance for human error to creep in. - You don't need to install the toolchain on the board itself, you can do the system build on a separate machine and not pollute the SD card image with the history of building your software. It saves you the time of going through and removing the things you need to build your software but aren't needed to run it, which you'll probably end up doing to reduce the image size. - You'll have a great community of people doing similar things with the Yocto Project. I don't know of a similar community for modifying Ubuntu SD card images in this fashion. Hope this helps, -- Paul Barker Email: p...@paulbarker.me.uk http://www.paulbarker.me.uk
pgpLnyo5nRRda.pgp
Description: PGP signature
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto