Testing an ubi+ubifs on qemu-system-mipsel
Lluís Batlle i Rossell
viriketo at gmail.com
Sun Nov 21 08:05:50 EST 2010
On Sun, Nov 21, 2010 at 01:19:34PM +0100, David Kuehling wrote:
> >>>>> "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?
I've used that other times. It works fine for me on qemu 12.3. But I have not
tried openwrt binaries; I tried those I build, instead.
Regards,
Lluís.
More information about the discussion
mailing list