* [U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II)
@ 2008-05-29 12:42 wong
2008-05-30 12:49 ` Vlad Lungu
2008-06-28 15:51 ` maxki
0 siblings, 2 replies; 3+ messages in thread
From: wong @ 2008-05-29 12:42 UTC (permalink / raw)
To: u-boot
hi, all
I'm a newbie to both u-boot and qemu.
Maybe it's a silly question, but I can not find the solution through the
Internet for almost 2 weeks, sorry :(
Here is my question:
I wanna run u-boot as a standalone app (or image?) in qemu, and I do't wanna
any create linux image.
Is that possible? I just wanna to study u-boot.
And now, my idea is to create a flash image with u-boot, how about this
way?
Any reply would be appreciated.
Thank you in advance :)
stones.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080529/91ebbb2d/attachment.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II)
2008-05-29 12:42 [U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II) wong
@ 2008-05-30 12:49 ` Vlad Lungu
2008-06-28 15:51 ` maxki
1 sibling, 0 replies; 3+ messages in thread
From: Vlad Lungu @ 2008-05-30 12:49 UTC (permalink / raw)
To: u-boot
wong wrote:
> hi, all
>
> I'm a newbie to both u-boot and qemu.
> Maybe it's a silly question, but I can not find the solution through the
> Internet for almost 2 weeks, sorry :(
>
> Here is my question:
>
> I wanna run u-boot as a standalone app (or image?) in qemu, and I do't wanna
> any create linux image.
> Is that possible? I just wanna to study u-boot.
I have no idea if it is possible with that particular emulation, but I did something similar
with qemu-system-mips. Qemu loads a bootloader binary image on startup (if available) with most
emulations, for you it should be named arm_bios.bin probably. You can tell Qemu from what directory
to load it with the -L option, so just create a symlink to u-boot.bin named arm_bios.bin and launch
qemu-system-mips -L . /dev/null (/dev/null is needed so it will not complain that you have no kernel
and no disk image)
When you pass the -kernel option to qemu, it usually has a very small internal bootloader to setup a
few registers and pass control to the kernel. I know it does this for mips.
> And now, my idea is to create a flash image with u-boot, how about this
> way?
>
It depends on how that particular machine is emulated. Check the -pflash option Qemu, it might help.
Regards,
Vlad
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II)
2008-05-29 12:42 [U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II) wong
2008-05-30 12:49 ` Vlad Lungu
@ 2008-06-28 15:51 ` maxki
1 sibling, 0 replies; 3+ messages in thread
From: maxki @ 2008-06-28 15:51 UTC (permalink / raw)
To: u-boot
this works for me ,
assuming you are in the u-boot directory
$ make versatile_config
$ make
$ qemu-system-arm -nographic -m 256 -M versatileab -kernel u-boot.bin
wong-10 wrote:
>
> hi, all
>
> I'm a newbie to both u-boot and qemu.
> Maybe it's a silly question, but I can not find the solution through the
> Internet for almost 2 weeks, sorry :(
>
> Here is my question:
>
> I wanna run u-boot as a standalone app (or image?) in qemu, and I do't
> wanna
> any create linux image.
> Is that possible? I just wanna to study u-boot.
>
> And now, my idea is to create a flash image with u-boot, how about this
> way?
>
> Any reply would be appreciated.
> Thank you in advance :)
>
>
> stones.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
--
View this message in context: http://www.nabble.com/can-u-boot-run-standalone-in-qemu%28qemu-system-arm%29-without-kernel-image%28for-mainstone-II%29-tp17534853p18172076.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-28 15:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 12:42 [U-Boot-Users] can u-boot run standalone in qemu(qemu-system-arm) without kernel image(for mainstone II) wong
2008-05-30 12:49 ` Vlad Lungu
2008-06-28 15:51 ` maxki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox