From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: setup for a working framebuffer in qemu
Date: Tue, 15 Oct 2019 17:22:49 +0200 [thread overview]
Message-ID: <729772a1-c869-5346-595a-3c0986e3f7f9@pengutronix.de> (raw)
In-Reply-To: <20191015150842.pti6kze33kcsmrsm@reflex>
Hello Denis,
On 10/15/19 5:08 PM, Denis Roio wrote:
>
> hi all! noob question here, hope you don't mind
>
> is there a recommended, matching configuration to run barebox in qemu
> with a working /dev/fb0 ?
Easiest way is to use barebox sandbox. It has a SDL fb driver.
>
>
> I have made some tries already with no success:
>
> - qemu emulated mips-malta boots, but no fb0
> - qemu emulated vexpress boots, but no fb0
Could be that they don't have driver support in barebox.
Check under drivers/fb.
> - qemu emulated sabrelite can't even get it to boot
There's a CONFIG_BOARD_ARM_GENERIC_DT option that yields a barebox image
that boots like Linux does and can be passed to qemu's -kernel
option. The commit introducing it has some extra info on how to use
it with QEMU + sabrelite.
https://www.spinics.net/lists/u-boot-v2/msg38795.html
>
> I'm a bit out of ideas. Would really appreciate guidance, this is
> mostly for fun while poking around this wonderful project.
>
>
> Thanks!
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-10-15 15:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 15:08 Denis Roio
2019-10-15 15:22 ` Ahmad Fatoum [this message]
2019-10-15 20:57 ` Antony Pavlov
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=729772a1-c869-5346-595a-3c0986e3f7f9@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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