summaryrefslogtreecommitdiff
path: root/qemu_multiarch_testing/README
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-03-18 23:27:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-03-18 23:27:23 +0100
commit6acf586aa8adbf1505ff2975c1b0c1cb4920bf66 (patch)
tree3134c8230a5541c8e4c4ae1a1d35606b9507ceb5 /qemu_multiarch_testing/README
parent146b944d4a968c2922f4220d33219ed3534f50d0 (diff)
downloadstrace-6acf586aa8adbf1505ff2975c1b0c1cb4920bf66.tar.gz
strace-6acf586aa8adbf1505ff2975c1b0c1cb4920bf66.tar.bz2
strace-6acf586aa8adbf1505ff2975c1b0c1cb4920bf66.tar.xz
qemu_multiarch_testing/: a directory with scripts for build testing
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'qemu_multiarch_testing/README')
-rw-r--r--qemu_multiarch_testing/README42
1 files changed, 42 insertions, 0 deletions
diff --git a/qemu_multiarch_testing/README b/qemu_multiarch_testing/README
new file mode 100644
index 0000000..e1bdb75
--- /dev/null
+++ b/qemu_multiarch_testing/README
@@ -0,0 +1,42 @@
+How to test strace build using Aboriginal Linux's system images.
+
+* Put a autoconf'ed strace source tree into hdc.dir/strace dir.
+For example, this should work:
+git clone git://strace.git.sourceforge.net/gitroot/strace/strace &&
+cd strace && autoreconf -i -f
+
+* Run ./make-hdc-img.sh: it will generate ext2 image file,
+hdc.img, from hdc.dir/* data. This requires root for loop mount.
+
+* Download and unpack, or build from source and unpack
+one or more system-image-ARCH directories into this directory
+(the one which contains this README).
+
+* Run: ./parallel-build-hdc-img.sh system-image-DIR1 system-image-DIR2...
+(background it if you don't want to see "Waiting to finish" thing).
+This runs a strace build in several qemu virtual machines in parallel.
+
+* Observe system-image-*.log file(s) with growing log of strace build.
+
+There is no automated detection of errors for now: you need to examine
+logs yourself.
+
+For me, the following system images worked:
+system-image-armv4l
+system-image-armv4tl
+system-image-armv5l
+system-image-armv6l
+system-image-i686 (had to s/qemu-system-i386/qemu/ in run-emulator.sh)
+system-image-mipsel
+system-image-mips
+system-image-x86_64
+
+And these did not:
+system-image-armv4eb - VFS: Cannot open root device "sda" or unknown-block(0,0)
+system-image-m68k - run-emulator.sh has no call of qemu-system-* (not supported yet??)
+system-image-mips64 -
+ need to run ./native-build.sh ../hdc.img by hand;
+ copying in /mnt/init fails (segv?)
+system-image-powerpc - qemu-system-ppc: command not found
+system-image-sh4 - hdc does not mount (no support for 2 disks)
+system-image-sparc - qemu-system-sparc: command not found