9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Plan 9 on mmuless systems.
@ 2006-01-15  9:25 Noah Evans
  2006-01-15 12:15 ` Russ Cox
  0 siblings, 1 reply; 16+ messages in thread
From: Noah Evans @ 2006-01-15  9:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Has there been any work on porting Plan 9 to systems without an mmu?  
I seem to recall Sape saying something about running Plan 9 embedded  
at the labs. Has any of that work made it back to the main tree?

Best Regards,

Noah


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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-15  9:25 [9fans] Plan 9 on mmuless systems Noah Evans
@ 2006-01-15 12:15 ` Russ Cox
  2006-01-15 16:28   ` Noah Evans
  0 siblings, 1 reply; 16+ messages in thread
From: Russ Cox @ 2006-01-15 12:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Has there been any work on porting Plan 9 to systems without an mmu?
> I seem to recall Sape saying something about running Plan 9 embedded
> at the labs. Has any of that work made it back to the main tree?

All the embedded systems that run Plan 9 have MMUs.

Russ


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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-15 12:15 ` Russ Cox
@ 2006-01-15 16:28   ` Noah Evans
  2006-01-15 18:08     ` Bruce Ellis
  2006-01-15 20:26     ` Brantley Coile
  0 siblings, 2 replies; 16+ messages in thread
From: Noah Evans @ 2006-01-15 16:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

That's too bad. I'm stuck with inferno I guess. :(

Noah

On Jan 15, 2006, at 9:15 PM, Russ Cox wrote:

>> Has there been any work on porting Plan 9 to systems without an mmu?
>> I seem to recall Sape saying something about running Plan 9 embedded
>> at the labs. Has any of that work made it back to the main tree?
>
> All the embedded systems that run Plan 9 have MMUs.
>
> Russ



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-15 16:28   ` Noah Evans
@ 2006-01-15 18:08     ` Bruce Ellis
  2006-01-15 23:27       ` Noah Evans
  2006-01-15 20:26     ` Brantley Coile
  1 sibling, 1 reply; 16+ messages in thread
From: Bruce Ellis @ 2006-01-15 18:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

i found that for various projects (e.g. ps2) no mmu was great.
no tlb misses - it just screams.  in a situation where you don't
need a mmu inferno rocks.

brucee

On 1/16/06, Noah Evans <noah.evans@gmail.com> wrote:
> That's too bad. I'm stuck with inferno I guess. :(
>
> Noah
>
> On Jan 15, 2006, at 9:15 PM, Russ Cox wrote:
>
> >> Has there been any work on porting Plan 9 to systems without an mmu?
> >> I seem to recall Sape saying something about running Plan 9 embedded
> >> at the labs. Has any of that work made it back to the main tree?
> >
> > All the embedded systems that run Plan 9 have MMUs.
> >
> > Russ
>
>


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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-15 16:28   ` Noah Evans
  2006-01-15 18:08     ` Bruce Ellis
@ 2006-01-15 20:26     ` Brantley Coile
  1 sibling, 0 replies; 16+ messages in thread
From: Brantley Coile @ 2006-01-15 20:26 UTC (permalink / raw)
  To: 9fans

> That's too bad. I'm stuck with inferno I guess. :(

With no mmu, doing your coding in Limbo will be a huge win.
Limbo is type safe.  Something that has great advantages
when working without the `net' of an mmu.

 Brantley
 



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-15 18:08     ` Bruce Ellis
@ 2006-01-15 23:27       ` Noah Evans
  2006-01-16  0:07         ` Charles Forsyth
  0 siblings, 1 reply; 16+ messages in thread
From: Noah Evans @ 2006-01-15 23:27 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On the case :) Last night before I went to bed I was trying to cross  
compile for an ARM using Inferno hosted on OSX. The endianness of my  
binaries seems to be reversed using 5a. Any idea what would cause  
this? Also, if you try to put in ROM headers in 5a using WORD how do  
you avoid 5a optimizing away your data(it's unreachable). Put in  
another TEXT?

Noah

On Jan 16, 2006, at 3:08 AM, Bruce Ellis wrote:

> i found that for various projects (e.g. ps2) no mmu was great.
> no tlb misses - it just screams.  in a situation where you don't
> need a mmu inferno rocks.
>
> brucee
>
> On 1/16/06, Noah Evans <noah.evans@gmail.com> wrote:
>> That's too bad. I'm stuck with inferno I guess. :(
>>
>> Noah
>>
>> On Jan 15, 2006, at 9:15 PM, Russ Cox wrote:
>>
>>>> Has there been any work on porting Plan 9 to systems without an  
>>>> mmu?
>>>> I seem to recall Sape saying something about running Plan 9  
>>>> embedded
>>>> at the labs. Has any of that work made it back to the main tree?
>>>
>>> All the embedded systems that run Plan 9 have MMUs.
>>>
>>> Russ
>>
>>



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-15 23:27       ` Noah Evans
@ 2006-01-16  0:07         ` Charles Forsyth
  2006-01-16  0:49           ` Noah Evans
  2006-01-16  0:52           ` Noah Evans
  0 siblings, 2 replies; 16+ messages in thread
From: Charles Forsyth @ 2006-01-16  0:07 UTC (permalink / raw)
  To: 9fans

5a isn't usually involved; i'd expect it to be 5l if anything.  it and 5c assume
little-endian (but the assumptions are isolated).
you've got a big-endian arm?  what is it?



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  0:07         ` Charles Forsyth
@ 2006-01-16  0:49           ` Noah Evans
  2006-01-16  1:25             ` Charles Forsyth
  2006-01-16  0:52           ` Noah Evans
  1 sibling, 1 reply; 16+ messages in thread
From: Noah Evans @ 2006-01-16  0:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hey,

No, I'm cross compiling (power)big->little(ARM7/ARM9 Nintendo DS). I  
dumped both the l.5 and the 5.out and both seem to be reversed. FWIW  
when I get the linker to produce assembly the values are correct.

Noah

On Jan 16, 2006, at 9:07 AM, Charles Forsyth wrote:

> 5a isn't usually involved; i'd expect it to be 5l if anything.  it  
> and 5c assume
> little-endian (but the assumptions are isolated).
> you've got a big-endian arm?  what is it?
>



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  0:07         ` Charles Forsyth
  2006-01-16  0:49           ` Noah Evans
@ 2006-01-16  0:52           ` Noah Evans
  1 sibling, 0 replies; 16+ messages in thread
From: Noah Evans @ 2006-01-16  0:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I lied, I meant just after linking, not after 5l.

Noah

On Jan 16, 2006, at 9:07 AM, Charles Forsyth wrote:

> 5a isn't usually involved; i'd expect it to be 5l if anything.  it  
> and 5c assume
> little-endian (but the assumptions are isolated).
> you've got a big-endian arm?  what is it?
>



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  0:49           ` Noah Evans
@ 2006-01-16  1:25             ` Charles Forsyth
  2006-01-16  1:32               ` Noah Evans
  0 siblings, 1 reply; 16+ messages in thread
From: Charles Forsyth @ 2006-01-16  1:25 UTC (permalink / raw)
  To: 9fans

> No, I'm cross compiling (power)big->little(ARM7/ARM9 Nintendo DS). I  
> dumped both the l.5 and the 5.out and both seem to be reversed. FWIW  

dumped them how?



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  1:25             ` Charles Forsyth
@ 2006-01-16  1:32               ` Noah Evans
  2006-01-16  1:42                 ` Charles Forsyth
  2006-01-16  1:45                 ` Bruce Ellis
  0 siblings, 2 replies; 16+ messages in thread
From: Noah Evans @ 2006-01-16  1:32 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

OS X od. My hex values are getting reversed, i.e. 3031    9600  
becomes 0096    3130 when I dump it. When I use 5l -a though, the  
values are correct. What am I doing wrong?

Noah

On Jan 16, 2006, at 10:25 AM, Charles Forsyth wrote:

>> No, I'm cross compiling (power)big->little(ARM7/ARM9 Nintendo DS). I
>> dumped both the l.5 and the 5.out and both seem to be reversed. FWIW
>
> dumped them how?
>



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  1:32               ` Noah Evans
@ 2006-01-16  1:42                 ` Charles Forsyth
  2006-01-16  1:46                   ` Noah Evans
  2006-01-16  1:45                 ` Bruce Ellis
  1 sibling, 1 reply; 16+ messages in thread
From: Charles Forsyth @ 2006-01-16  1:42 UTC (permalink / raw)
  To: 9fans

> OS X od. My hex values are getting reversed, i.e. 3031    9600  
> becomes 0096    3130 when I dump it. When I use 5l -a though, the  
> values are correct. What am I doing wrong?

assuming od is displaying the same order on a big endian machine as you'd see on a little-endian machine.
i see that od on mac is `obsolete', replaced by hexdump, which sounds fine,
but that dumps in octal too, half the time!  do they have brainstorming sessions where they invent these things?

try hexdump -C ...
and see if that makes any difference.



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  1:32               ` Noah Evans
  2006-01-16  1:42                 ` Charles Forsyth
@ 2006-01-16  1:45                 ` Bruce Ellis
  2006-01-16  1:54                   ` Noah Evans
  1 sibling, 1 reply; 16+ messages in thread
From: Bruce Ellis @ 2006-01-16  1:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

using OS X?

brucee

On 1/16/06, Noah Evans <noah.evans@gmail.com> wrote:
> OS X od. My hex values are getting reversed, i.e. 3031    9600
> becomes 0096    3130 when I dump it. When I use 5l -a though, the
> values are correct. What am I doing wrong?
>
> Noah
>
> On Jan 16, 2006, at 10:25 AM, Charles Forsyth wrote:
>
> >> No, I'm cross compiling (power)big->little(ARM7/ARM9 Nintendo DS). I
> >> dumped both the l.5 and the 5.out and both seem to be reversed. FWIW
> >
> > dumped them how?
> >
>
>


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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  1:42                 ` Charles Forsyth
@ 2006-01-16  1:46                   ` Noah Evans
  0 siblings, 0 replies; 16+ messages in thread
From: Noah Evans @ 2006-01-16  1:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I don't think that's it. I have a reference ROM header that I'm  
comparing the dumps to and the ROM header dumps fine. I tried it in  
Inferno's xd just to be sure and the values were still reversed.  
Hmmmm... this is beginning to spam the list, should we take this  
conversation to IRC or IM?

Noah

On Jan 16, 2006, at 10:42 AM, Charles Forsyth wrote:

>> OS X od. My hex values are getting reversed, i.e. 3031    9600
>> becomes 0096    3130 when I dump it. When I use 5l -a though, the
>> values are correct. What am I doing wrong?
>
> assuming od is displaying the same order on a big endian machine as  
> you'd see on a little-endian machine.
> i see that od on mac is `obsolete', replaced by hexdump, which  
> sounds fine,
> but that dumps in octal too, half the time!  do they have  
> brainstorming sessions where they invent these things?
>
> try hexdump -C ...
> and see if that makes any difference.
>



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  1:45                 ` Bruce Ellis
@ 2006-01-16  1:54                   ` Noah Evans
  2006-01-16  2:03                     ` Bruce Ellis
  0 siblings, 1 reply; 16+ messages in thread
From: Noah Evans @ 2006-01-16  1:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Yes, although the same thing happens if I dump in Inferno :)

On Jan 16, 2006, at 10:45 AM, Bruce Ellis wrote:

> using OS X?
>
> brucee
>
> On 1/16/06, Noah Evans <noah.evans@gmail.com> wrote:
>> OS X od. My hex values are getting reversed, i.e. 3031    9600
>> becomes 0096    3130 when I dump it. When I use 5l -a though, the
>> values are correct. What am I doing wrong?
>>
>> Noah
>>
>> On Jan 16, 2006, at 10:25 AM, Charles Forsyth wrote:
>>
>>>> No, I'm cross compiling (power)big->little(ARM7/ARM9 Nintendo  
>>>> DS). I
>>>> dumped both the l.5 and the 5.out and both seem to be reversed.  
>>>> FWIW
>>>
>>> dumped them how?
>>>
>>
>>



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

* Re: [9fans] Plan 9 on mmuless systems.
  2006-01-16  1:54                   ` Noah Evans
@ 2006-01-16  2:03                     ` Bruce Ellis
  0 siblings, 0 replies; 16+ messages in thread
From: Bruce Ellis @ 2006-01-16  2:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

just the usual response to "fix my mac".  make up
your own suggestion of what brucee would say.

brucee

On 1/16/06, Noah Evans <noah.evans@gmail.com> wrote:
> Yes, although the same thing happens if I dump in Inferno :)
>
> On Jan 16, 2006, at 10:45 AM, Bruce Ellis wrote:
>
> > using OS X?
> >
> > brucee
> >
> > On 1/16/06, Noah Evans <noah.evans@gmail.com> wrote:
> >> OS X od. My hex values are getting reversed, i.e. 3031    9600
> >> becomes 0096    3130 when I dump it. When I use 5l -a though, the
> >> values are correct. What am I doing wrong?
> >>
> >> Noah
> >>
> >> On Jan 16, 2006, at 10:25 AM, Charles Forsyth wrote:
> >>
> >>>> No, I'm cross compiling (power)big->little(ARM7/ARM9 Nintendo
> >>>> DS). I
> >>>> dumped both the l.5 and the 5.out and both seem to be reversed.
> >>>> FWIW
> >>>
> >>> dumped them how?
> >>>
> >>
> >>
>
>


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

end of thread, other threads:[~2006-01-16  2:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-15  9:25 [9fans] Plan 9 on mmuless systems Noah Evans
2006-01-15 12:15 ` Russ Cox
2006-01-15 16:28   ` Noah Evans
2006-01-15 18:08     ` Bruce Ellis
2006-01-15 23:27       ` Noah Evans
2006-01-16  0:07         ` Charles Forsyth
2006-01-16  0:49           ` Noah Evans
2006-01-16  1:25             ` Charles Forsyth
2006-01-16  1:32               ` Noah Evans
2006-01-16  1:42                 ` Charles Forsyth
2006-01-16  1:46                   ` Noah Evans
2006-01-16  1:45                 ` Bruce Ellis
2006-01-16  1:54                   ` Noah Evans
2006-01-16  2:03                     ` Bruce Ellis
2006-01-16  0:52           ` Noah Evans
2006-01-15 20:26     ` Brantley Coile

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