From: Vlad Lungu <vlad@comsys.ro>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Target support for qemu -M mips
Date: Mon, 17 Dec 2007 18:52:20 +0200 [thread overview]
Message-ID: <4766A944.90300@comsys.ro> (raw)
In-Reply-To: <47669CB5.8040801@ruby.dti.ne.jp>
Shinya Kuribayashi wrote:
> Hi Vlad,
>
> Vlad Lungu wrote:
>
>> With serial, NE2000, IDE support. Tested in big-endian mode.
>> Memory size hard-coded to 128M for now, so don't play with
>> the -m option.
>>
>
> very interesting B-). Applied to u-boot-mips/testing branch.
>
> I'd like to give it a try, but I have to admit that I've never tested
> qemu for U-Boot/Mips; I've tested only with Linux/Mips kernel. Could
> you give me some HOWTOs, steps to reproduce, expected output results,
> etc. Or any usuful pointers...
>
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.
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 .
Vlad
next prev parent reply other threads:[~2007-12-17 16:52 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 [this message]
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 ` [U-Boot-Users] Target support for qemu -M mips Shinya Kuribayashi
2007-12-23 10:37 ` 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=4766A944.90300@comsys.ro \
--to=vlad@comsys.ro \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox