linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* New aboriginal linux release with 3.14 kernel.
@ 2014-05-04 16:45 Rob Landley
  0 siblings, 0 replies; only message in thread
From: Rob Landley @ 2014-05-04 16:45 UTC (permalink / raw)
  To: linux-embedded

It's reasonably standlone useful at this point, so I thought you might
want to know:

http://landley.net/aboriginal/about.html

It's a tiny Linux system (9 packages total but they boil down to
"busybox, uClibc, and the last gplv2 release of gcc") all cross compiled
to several different targets (arm, mips, powerpc, sparc, x86, sh4, etc)
and packaged up to run under qemu (tested with qemu 2.0).

You basically wget a tarball, extract it, "./run-emulator.sh", and
you've got a shell prompt in an emulated system. (Type exit when done.)
There are also "./dev-environment.sh" and "./native-build.sh" scripts
that launch qemu in more complicated ways; the about page explains those.

I find it useful for cross platform regression testing (does new release
of package X work on target Y?), and also for replacing cross compiling
with native compiling under emulation. (One of those 9 packages is
distcc so it can call out to the cross compiler while still doing native
compiling; this speeds up the non-autoconf bits of the build by a factor
of 7.)

My smoketest for new releases is building static  strace and dropbear
binaries for each target (you can download those from
http://landley.net/aboriginal/bin even if you don't care about the rest
of the project, or reproduce it yourself with the automated build-image
files in
http://landley.net/aboriginal/control-images/downloads/binaries).

Step 1 of doing real work is often "build Linux From Scratch" under it,
and then play further in that chroot. The lfs-bootstrap.hdc build-image
might help, and the about page tells you how to use it.

Years ago a friend and I did a GIANT PRESENTATION about all of this.
It's a few years out of date but still covers the theory pretty well:
https://speakerdeck.com/mirell/developing-for-non-x86-targets-using-qemu

There's a mailing list if you've got questions.

Rob

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-04 16:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-04 16:45 New aboriginal linux release with 3.14 kernel Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).