Re: [9fans] Plan 9 port to Raspberry Pi 3 Model B (ARM64)?

2016-03-01 Thread Ramakrishnan Muthukrishnan
On Tue, Mar 1, 2016, at 01:58 AM, Richard Miller wrote:
> 
> Incidentally I can confirm that the Raspberry Pi Zero runs Plan 9
> happily.

Very nice to know that Richard. Is the image and the code available
somewhere?

-- 
  Ramakrishnan



Re: [9fans] Plan 9 port to Raspberry Pi 3 Model B (ARM64)?

2016-03-01 Thread Aram Hăvărneanu
On Tue, Mar 1, 2016 at 11:04 AM, Mark Lee Smith  wrote:
> What about NetBSD drivers?

What about them? NetBSD doesn't support the Pi3. What drivers do
we want anyway?

> As I understand it the Rump project provides a clean way to run
> NetBSD drivers in different environments. I guess the bigger problem
> here is be getting them past the compiler?

It is unfeasible to use the Plan 9 toolchain for this. Not only is
the C dialect different, and the assembly dialect completely
different, but the code expects a certain calling convention provided
by gcc and different from the Plan 9 calling convention.

Doing a rump port with gcc, cross-compiling on Unix and running on
Plan 9, should be easy though.

-- 
Aram Hăvărneanu



Re: [9fans] Plan 9 port to Raspberry Pi 3 Model B (ARM64)?

2016-03-01 Thread Mark Lee Smith
What about NetBSD drivers? As I understand it the Rump project provides a
clean way to run NetBSD drivers in different environments. I guess the
bigger problem here is be getting them past the compiler?

On Mon, 29 Feb 2016, 22:48 erik quanstrom,  wrote:

> > 10-12 years ago FreeBSD had "project Evil" for an NDIS shim
> > layer that allowed use of windows network drivers on FreeBSD.
> > Has anyone considered writing a shim that allows use of a
> > FreeBSD driver with plan9?
>
> i looked at that a bit, and was not convinced that the surface area was
> manageable
>
> - erik
>
>