9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Hosted Inferno on Raspberry Pi
@ 2012-08-03  5:20 Graham Gallagher
  2012-08-03  9:34 ` Richard Miller
  2012-08-03 15:57 ` Christian Neukirchen
  0 siblings, 2 replies; 7+ messages in thread
From: Graham Gallagher @ 2012-08-03  5:20 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

The gcc flags: -march=armv6 -mfloat-abi=softfp -mfpu=vfp, will let you
compile the standard Inferno emu-g on the Raspberry Pi first go. Not
all the Linux VT interface ioctls are supported by the video driver so
a little work is needed to incorporate the framebuffer device.



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

* Re: [9fans] Hosted Inferno on Raspberry Pi
  2012-08-03  5:20 [9fans] Hosted Inferno on Raspberry Pi Graham Gallagher
@ 2012-08-03  9:34 ` Richard Miller
  2012-08-03  9:50   ` Graham Gallagher
  2012-08-03 15:57 ` Christian Neukirchen
  1 sibling, 1 reply; 7+ messages in thread
From: Richard Miller @ 2012-08-03  9:34 UTC (permalink / raw)
  To: 9fans

> Not
> all the Linux VT interface ioctls are supported by the video driver so
> a little work is needed to incorporate the framebuffer device.

To run inferno in fullscreen mode, would it be feasible to mmap the
framebuffer address into the inferno address space and just write
to it?




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

* Re: [9fans] Hosted Inferno on Raspberry Pi
  2012-08-03  9:34 ` Richard Miller
@ 2012-08-03  9:50   ` Graham Gallagher
  2012-08-03 10:09     ` Richard Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Graham Gallagher @ 2012-08-03  9:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> To run inferno in fullscreen mode, would it be feasible to mmap the
> framebuffer address into the inferno address space and just write
> to it?

yep, the standard fb mmap code works but just needs a little tweaking
for the input event handling devices and removal of a few
unimplemented ioctls



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

* Re: [9fans] Hosted Inferno on Raspberry Pi
  2012-08-03  9:50   ` Graham Gallagher
@ 2012-08-03 10:09     ` Richard Miller
  2012-08-03 11:24       ` Steve Simon
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Miller @ 2012-08-03 10:09 UTC (permalink / raw)
  To: 9fans

> yep, the standard fb mmap code works

I've got HDMI video working in Plan 9 too - it turned out to be
fairly simple to tell the GPU to set the resolution and divulge
the framebuffer address.

Putting console output on video frees up the serial port for more
interesting purposes ...




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

* Re: [9fans] Hosted Inferno on Raspberry Pi
  2012-08-03 10:09     ` Richard Miller
@ 2012-08-03 11:24       ` Steve Simon
  2012-08-03 12:18         ` Richard Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Steve Simon @ 2012-08-03 11:24 UTC (permalink / raw)
  To: 9fans

> I've got HDMI video working in Plan 9 too

Plan9 runs on the rasberry-PI?

-Steve



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

* Re: [9fans] Hosted Inferno on Raspberry Pi
  2012-08-03 11:24       ` Steve Simon
@ 2012-08-03 12:18         ` Richard Miller
  0 siblings, 0 replies; 7+ messages in thread
From: Richard Miller @ 2012-08-03 12:18 UTC (permalink / raw)
  To: 9fans

> Plan9 runs on the rasberry-PI?

/n/sources/contrib/miller/9/rpi

It's a work in progress - no usb yet, and therefore no keyboard,
mouse or ethernet.




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

* Re: [9fans] Hosted Inferno on Raspberry Pi
  2012-08-03  5:20 [9fans] Hosted Inferno on Raspberry Pi Graham Gallagher
  2012-08-03  9:34 ` Richard Miller
@ 2012-08-03 15:57 ` Christian Neukirchen
  1 sibling, 0 replies; 7+ messages in thread
From: Christian Neukirchen @ 2012-08-03 15:57 UTC (permalink / raw)
  To: 9fans

graham.gallagher@gmail.com (Graham Gallagher) writes:

> The gcc flags: -march=armv6 -mfloat-abi=softfp -mfpu=vfp, will let you
> compile the standard Inferno emu-g on the Raspberry Pi first go. Not
> all the Linux VT interface ioctls are supported by the video driver so
> a little work is needed to incorporate the framebuffer device.

I have been able to build the X11 version, which does not work with the
default depth of 16 bit due to lacking 16bit->16bit bitblt code, and
when you force the Pi into 32bit mode, everything is monochrome-green. ;)

It works fine with X11 forwarding however.

--
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org



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

end of thread, other threads:[~2012-08-03 15:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-03  5:20 [9fans] Hosted Inferno on Raspberry Pi Graham Gallagher
2012-08-03  9:34 ` Richard Miller
2012-08-03  9:50   ` Graham Gallagher
2012-08-03 10:09     ` Richard Miller
2012-08-03 11:24       ` Steve Simon
2012-08-03 12:18         ` Richard Miller
2012-08-03 15:57 ` Christian Neukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).