mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* How to run barebox gui on linux, fb or x?
@ 2016-04-30 10:13 DU HUANPENG
  2016-04-30 11:19 ` Antony Pavlov
  0 siblings, 1 reply; 4+ messages in thread
From: DU HUANPENG @ 2016-04-30 10:13 UTC (permalink / raw)
  To: barebox

Hello, I want to test the is the barebox font working
correctly, but I still don't know how to run barebox(sandbox)
on linux fb or x.
any one can help?
thanks very much!

...
duhuanpeng.
u74147@gmai1.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to run barebox gui on linux, fb or x?
  2016-04-30 10:13 How to run barebox gui on linux, fb or x? DU HUANPENG
@ 2016-04-30 11:19 ` Antony Pavlov
  2016-04-30 12:39   ` DU HUANPENG
  0 siblings, 1 reply; 4+ messages in thread
From: Antony Pavlov @ 2016-04-30 11:19 UTC (permalink / raw)
  To: DU HUANPENG; +Cc: barebox

On Sat, 30 Apr 2016 10:13:28 +0000
DU HUANPENG <no_rep1y@hotmail.com> wrote:

> Hello, I want to test the is the barebox font working
> correctly, but I still don't know how to run barebox(sandbox)
> on linux fb or x.
> any one can help?

Here is barebox-sandbox-sdl howto.

Go to your barebox repo directory and checkout next branch.
Generate .config and enable SDL support:

    $ make mrproper
    $ make defconfig
    $ sed -i "s/# CONFIG_DRIVER_VIDEO_SDL is not set/CONFIG_DRIVER_VIDEO_SDL=y/" .config

Next, compile sandbox barebox and run it:

    $ make
    $ ./barebox

Inside barebox enable fbconsole0 output:

    barebox@barebox sandbox:/ fbconsole0.active=oe
    fb0: framebuffer console 80x30 activated

-- 
Best regards,
  Antony Pavlov

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to run barebox gui on linux, fb or x?
  2016-04-30 11:19 ` Antony Pavlov
@ 2016-04-30 12:39   ` DU HUANPENG
  2016-04-30 14:35     ` Antony Pavlov
  0 siblings, 1 reply; 4+ messages in thread
From: DU HUANPENG @ 2016-04-30 12:39 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Sat, Apr 30, 2016 at 02:19:37PM +0300, Antony Pavlov wrote:
> On Sat, 30 Apr 2016 10:13:28 +0000
> DU HUANPENG <no_rep1y@hotmail.com> wrote:
> 
> > Hello, I want to test the is the barebox font working
> > correctly, but I still don't know how to run barebox(sandbox)
> > on linux fb or x.
> > any one can help?
> 
> Here is barebox-sandbox-sdl howto.
> 
> Go to your barebox repo directory and checkout next branch.
> Generate .config and enable SDL support:
> 
>     $ make mrproper
>     $ make defconfig
>     $ sed -i "s/# CONFIG_DRIVER_VIDEO_SDL is not set/CONFIG_DRIVER_VIDEO_SDL=y/" .config
thanks very much!
i got this error msg when compiling:
- - - - - - - - - - - - - - - - - - - - 
  CC      arch/sandbox/os/sdl.o
  arch/sandbox/os/sdl.c:8:17: fatal error: SDL.h: No such file or directory
  compilation terminated.
  scripts/Makefile.build:249: recipe for target 'arch/sandbox/os/sdl.o' failed
  make[1]: *** [arch/sandbox/os/sdl.o] Error 1
  Makefile:775: recipe for target 'arch/sandbox/os' failed
  make: *** [arch/sandbox/os] Error 2
- - - - - - - - - - - - - - - - - - - - 
there are many sdl pageages, which one should i install?


> 
> Next, compile sandbox barebox and run it:
> 
>     $ make
>     $ ./barebox
> 
> Inside barebox enable fbconsole0 output:
> 
>     barebox@barebox sandbox:/ fbconsole0.active=oe
>     fb0: framebuffer console 80x30 activated
> 
> -- 
> Best regards,
>   Antony Pavlov

...
duhuanpeng.
u74147@gmai1.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to run barebox gui on linux, fb or x?
  2016-04-30 12:39   ` DU HUANPENG
@ 2016-04-30 14:35     ` Antony Pavlov
  0 siblings, 0 replies; 4+ messages in thread
From: Antony Pavlov @ 2016-04-30 14:35 UTC (permalink / raw)
  To: DU HUANPENG; +Cc: barebox

On Sat, 30 Apr 2016 12:39:20 +0000
DU HUANPENG <no_rep1y@hotmail.com> wrote:

> On Sat, Apr 30, 2016 at 02:19:37PM +0300, Antony Pavlov wrote:
> > On Sat, 30 Apr 2016 10:13:28 +0000
> > DU HUANPENG <no_rep1y@hotmail.com> wrote:
> > 
> > > Hello, I want to test the is the barebox font working
> > > correctly, but I still don't know how to run barebox(sandbox)
> > > on linux fb or x.
> > > any one can help?
> > 
> > Here is barebox-sandbox-sdl howto.
> > 
> > Go to your barebox repo directory and checkout next branch.
> > Generate .config and enable SDL support:
> > 
> >     $ make mrproper
> >     $ make defconfig
> >     $ sed -i "s/# CONFIG_DRIVER_VIDEO_SDL is not set/CONFIG_DRIVER_VIDEO_SDL=y/" .config
> thanks very much!
> i got this error msg when compiling:
> - - - - - - - - - - - - - - - - - - - - 
>   CC      arch/sandbox/os/sdl.o
>   arch/sandbox/os/sdl.c:8:17: fatal error: SDL.h: No such file or directory
>   compilation terminated.
>   scripts/Makefile.build:249: recipe for target 'arch/sandbox/os/sdl.o' failed
>   make[1]: *** [arch/sandbox/os/sdl.o] Error 1
>   Makefile:775: recipe for target 'arch/sandbox/os' failed
>   make: *** [arch/sandbox/os] Error 2
> - - - - - - - - - - - - - - - - - - - - 
> there are many sdl pageages, which one should i install?
> 

I use the 'libsdl1.2-dev' Debian package.

-- 
Best regards,
  Antony Pavlov

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-30 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-30 10:13 How to run barebox gui on linux, fb or x? DU HUANPENG
2016-04-30 11:19 ` Antony Pavlov
2016-04-30 12:39   ` DU HUANPENG
2016-04-30 14:35     ` Antony Pavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox