9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Loongson port, and 64 bit MIPS
@ 2014-08-15  2:07 cherry
  2014-08-15  4:41 ` Skip Tavakkolian
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: cherry @ 2014-08-15  2:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs, minux ma

Hello 9Fans,

I just got a Loongson 2F machine (Yeeloong 8089A laptop) (MIPS LE), so
I extended my previous Loongson 2E port (32 bit) to run on it. Now
both machines can run Plan 9. Specific to 2F laptop, the keyboard,
mouse, screen and ethernet are supported. The hard drive is supported
only on 2E. USB does not work yet on either machine. And for the
userland of MIPS LE, all the commands built and seem to work okay,
including acme and page. If anybody interested, check it out at
https://bitbucket.org/cherry9/plan9-loongson
(lucio, is it the same machine as yours?)

Currently the 2F kernel specific bits are kept in a separated
directory. It is quite similar to 2E but I haven't tried to unify both
kernels. Bind it before the 2E sources to use it.

As a separated message, upon minux's request, I started to look into
64 bit MIPS. Both 2E and 2F machines are 64 bit, though R4000-ish, not
standard MIPS64. Currently I build the compiler, 4c, based on the old
one from /n/sources/contrib/tim, now at
https://bitbucket.org/cherry9/4c

With this compiler, the 64 bit kernel is in progress. For now, it
boots on my 2E machine, with serial console only. I haven't got time
to look into any device drivers. PCI space is 32 bit... Will do it
ASAP.

Hope this message is useful.

Thanks,
-cherry



^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] Loongson port, and 64 bit MIPS
@ 2014-08-17 12:37 Richard Miller
  2014-08-17 14:17 ` lucio
  0 siblings, 1 reply; 21+ messages in thread
From: Richard Miller @ 2014-08-17 12:37 UTC (permalink / raw)
  To: 9fans

Lucio said:

> USB you should probably adopt from 9pi rather than the Bell Labs
> distribution

Some confusion I think - 9pi image is Bell Labs distribution built with kernel
/sys/src/9/bcm and arm binaries, not from any separate source tree.

USB kernel driver for the pi was written specially for the usbdwc host
adapter in the bcm2835 SoC, not relevant anywhere else unless some other
vendor adopts the same usb core (which I fervently hope never happens).




^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [9fans] Loongson port, and 64 bit MIPS
@ 2014-08-17 15:49 Richard Miller
  0 siblings, 0 replies; 21+ messages in thread
From: Richard Miller @ 2014-08-17 15:49 UTC (permalink / raw)
  To: 9fans

No offence at all - clarification was offered because I don't want to be
credited with more than I've actually done.  9pi was a conservative (changing
as little as possible) port.  The usbdwc driver was born out of necessity,
and probably a deadend because most usb host hardware follows one of the
standard (uhci, ohci, ehci) patterns.




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

end of thread, other threads:[~2014-08-17 18:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-15  2:07 [9fans] Loongson port, and 64 bit MIPS cherry
2014-08-15  4:41 ` Skip Tavakkolian
2014-08-15  5:54   ` Fausto Saporito
2014-08-15 14:20     ` cherry
2014-08-15  7:23 ` David du Colombier
2014-08-15 17:34   ` cherry
2014-08-15 18:30     ` David du Colombier
2014-08-16 20:29       ` cherry
2014-08-16  6:54     ` lucio
2014-08-16 10:13       ` Shane Morris
2014-08-16 20:58         ` cherry
2014-08-16 22:34           ` Shane Morris
2014-08-17  5:28           ` lucio
2014-08-17 18:16             ` cherry
2014-08-16 16:03 ` lucio
2014-08-16 20:42   ` cherry
2014-08-17  5:24     ` lucio
2014-08-17 18:39       ` cherry
2014-08-17 12:37 Richard Miller
2014-08-17 14:17 ` lucio
2014-08-17 15:49 Richard Miller

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).