Testing an ubi+ubifs on qemu-system-mipsel

David Kuehling dvdkhlng at gmx.de
Sun Nov 21 07:19:34 EST 2010


>>>>> "Lluís" == Lluís Batlle i Rossell <viriketo at gmail.com> writes:

> Hello, yesterday I managed to boot an ubi+ubifs image in qemu. I'll
> summarize what made that thing work.  Note that this does not require
> having a root account in the host.

Reading your mail, I just wanted to try whether simpler user-space mips
emulation would let one run NanoNote applications directly:

 mkdir rootfs && cd rootfs
 fakeroot tar -xzvf ../bin/xburst/openwrt-xburst-qi_lb60-rootfs.tar.gz
 qemu-mipsel -L $(pwd) -E LD_LIBRARY_PATH=./lib \
    ./lib/ld-uClibc-0.9.30.1.so ./bin/busybox

Unfortunately, for me that segfaults (Ubuntu 10.10 x86_64/qemu 0.12.5).
I had already success with that method running ppc or arm binaries on an
Ubuntu x86-64 box.  Would be a nice tool to run and debug
openwrt-compiled applications immediately without going through the
image-regenerate + qemu boot steps.

Anybody got that working?

cheers,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.en.qi-hardware.com/pipermail/discussion/attachments/20101121/e2af0a6e/attachment.pgp>


More information about the discussion mailing list


interactive