From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Target support for qemu -M mips
Date: Sun, 23 Dec 2007 18:06:16 +0900 [thread overview]
Message-ID: <476E2508.5020909@ruby.dti.ne.jp> (raw)
In-Reply-To: <4766A944.90300@comsys.ro>
Vlad Lungu wrote:
>
> make qemu_mips_config ; make
>
> Copy (or symlink) u-boot.bin to mips_bios.bin and launch
> qemu-system-mips -L . /dev/null
> -L . so that qemu picks the BIOS from the current directory and
> /dev/null because qemu wants a disk image. Qemu willl load and launch
> U-Boot.
$ cd u-boot.git
$ make distclean
$ make qemu_mips_config
$ make CROSS_COMPILE=mips-linux-
$ cp -a u-boot.bin mips_bios.bin
$ qemu-system-mips -L . /dev/nulll
at this point, qemu console window appears but I can't see any u-boot's
bootlog. I tried qemu on Debian testing or the latest CVS, but the same
results.
I use u-boot-1.3.1 + qemu patch, gcc 4.2.1 and binutils 2.18.50.0.1.
Am I miss something?
Shinya
> Add -hda file.img to Qemu cmd line in order to emulate a hard-disk and do
> ide reset
> at the U-Boot prompt ; the disk (or disks) should be identified. Check
> U-Boot doc for booting fromHD :-)
>
> Add -tftp / and then do dhcp (or directly tftp) and then bootelf (on
> vmlinux) or bootm (on uimage).
>
> Main purpose is to be able to develop U-Boot modules with no hardware.
> Secondary is for me to learn how it works :-) in order
> to develop a free BIOS for the MTI Malta board, as emulated by Qemu
> (comes with PCI and stuff). Or even for the real board. I have that
> sort-of-working too, but I'm not very happy with the PCI bus driver .
next prev parent reply other threads:[~2007-12-23 9:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 11:54 [U-Boot-Users] Target support for qemu -M mips Vlad Lungu
2007-12-17 15:58 ` Shinya Kuribayashi
2007-12-17 16:52 ` Vlad Lungu
2007-12-22 15:03 ` [U-Boot-Users] [PATCH 1/1] qemu-mips: active HUSH PARSER, AUTO_COMPLETE and CMDLINE_EDITING Jean-Christophe PLAGNIOL-VILLARD
2008-01-04 3:16 ` Shinya Kuribayashi
2008-01-09 12:40 ` Jean-Christophe PLAGNIOL-VILLARD
2008-01-09 15:34 ` Shinya Kuribayashi
2007-12-23 9:06 ` Shinya Kuribayashi [this message]
2007-12-23 10:37 ` [U-Boot-Users] Target support for qemu -M mips Jean-Christophe PLAGNIOL-VILLARD
2007-12-23 12:33 ` Vlad Lungu
2007-12-23 13:31 ` Shinya Kuribayashi
2008-01-16 13:08 ` Shinya Kuribayashi
2008-01-16 17:20 ` Vlad Lungu
2008-01-17 9:05 ` Shinya Kuribayashi
2008-01-17 11:10 ` Vlad Lungu
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=476E2508.5020909@ruby.dti.ne.jp \
--to=skuribay@ruby.dti.ne.jp \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.