linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: linux-embedded@vger.kernel.org
Subject: New aboriginal linux release with 3.14 kernel.
Date: Sun, 04 May 2014 11:45:35 -0500	[thread overview]
Message-ID: <53666EAF.80700@landley.net> (raw)

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

                 reply	other threads:[~2014-05-04 16:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53666EAF.80700@landley.net \
    --to=rob@landley.net \
    --cc=linux-embedded@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).