mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: Denis Roio <jaromil@dyne.org>
Cc: barebox@lists.infradead.org
Subject: Re: setup for a working framebuffer in qemu
Date: Tue, 15 Oct 2019 23:57:41 +0300	[thread overview]
Message-ID: <20191015235741.434bac5dbcc287aa8d984cbf@gmail.com> (raw)
In-Reply-To: <20191015150842.pti6kze33kcsmrsm@reflex>

On Tue, 15 Oct 2019 17:08:42 +0200
Denis Roio <jaromil@dyne.org> 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 ?
> 
> 
> I have made some tries already with no success:
> 
> - qemu emulated mips-malta boots, but no fb0

Sorry, mips-malta does not support fb0.

Use sandbox (you have to install libsdl development package):

$ wget https://www.barebox.org/download/barebox-2019.10.0.tar.bz2
$ tar vfx barebox-2019.10.0.tar.bz2
$ cd barebox-2019.10.0
$ make sandbox_defconfig
$ echo CONFIG_DRIVER_VIDEO_SDL=y >> .config
$ make oldconfig
$ make

$ ./barebox


Enable framebuffer console from barebox command line:

barebox@barebox sandbox:/ fbconsole0.active=oe

or you can enable only framebuffer (without console):

barebox@barebox sandbox:/ fb0.enable=1

use 'splash /logo/barebox-logo-240.png' to test picture output.

-- 
Best regards,
  Antony Pavlov

> - qemu emulated vexpress boots, but no fb0
> - qemu emulated sabrelite can't even get it to boot
> 
> I'm a bit out of ideas. Would really appreciate guidance, this is
> mostly for fun while poking around this wonderful project.
> 
> 
> Thanks!
> 
> 
> -- 
>   Denis "Jaromil" Roio      https://Dyne.org think &do tank
>   Ph.D, CTO & co-founder    software to empower communities
>   ✉ Haparandadam 7-A1, 1013AK Amsterdam, The Netherlands
>   𝄞 crypto κρυπτο крипто गुप्त् 加密 האנוסים المشفره
>   ⚷ 6113D89C A825C5CE DD02C872 73B35DA5 4ACB7D10
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2019-10-15 20:57 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
2019-10-15 20:57 ` Antony Pavlov [this message]

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=20191015235741.434bac5dbcc287aa8d984cbf@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=jaromil@dyne.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