Hi! I have made small instruction to run mips barebox under qemu: 0. Change dir to barebox sources $ cd barebox.mips.git 1. Apply patches (already posted to barebox@xxxxxxxxxxxxxxxxxxx) 0001-include-linux-stat.h-make-MIPS-arch-possible.patch 0002-Add-MIPS-arch-support-to-barebox.patch 2. Configure & build barebox.bin $ cp arch/mips/configs/generic_defconfig .config $ make oldconfig ARCH=mips $ make ARCH=mips CROSS_COMPILE=<your mips cross-compiler prefix> 3. Get qemu. My qemu: $ qemu-system-mips --version QEMU emulator version 0.14.0 (Debian 0.14.0+dfsg-5.1), Copyright (c) 2003-2008 Fabrice Bellard 4. Run barebox under qemu: $ qemu-system-mips -M malta -m 128 -bios ./barebox.bin -nodefaults -serial stdio -nographic or $ qemu-system-mips64 -M malta -m 128 -bios ./barebox.bin -nodefaults -serial stdio -nographic 4. Have fun! Here is my barebox log. barebox 2011.06.0-00012-gcc4a295 (Jun 26 2011 - 16:40:30) Board: qemu malta registered netconsole as cs1 Malloc space: 0xa0800000 -> 0xa0900000 (size 1 MB) Open /dev/env0 No such file or directory running /env/bin/init... not found uboot:/ devinfo devices: |----serial_ns165500 |----cs0 |----ramfs0 |----devfs0 |----mem0 (mem) |----cs1 drivers: serial_ns16550 ramfs devfs mem cramfs uboot:/ ---- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox