Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 00:43 29 Mar 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : We now have Unix

     Page 1 of 2    
Author Message
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 07:46am 16 Aug 2011
Copy link to clipboard 
Print this post




unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
Bob

Regular Member

Joined: 11/08/2011
Location: United Kingdom
Posts: 41
Posted: 10:06am 16 Aug 2011
Copy link to clipboard 
Print this post

Hi haiqu,

That's impressive!
Congratulations on Unix-ifying MM ;-)

All you need now is to create the root filesystem and add a user, and compile those programmes for sd0! That should be the easy part...
No chance of swap though :-(

Regards,
Bob

Bob Dalley
http://www.m0rjd.co.uk
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 02:25pm 16 Aug 2011
Copy link to clipboard 
Print this post

i told people this was going to be big ....you carn`t stop progress...regards sparkey
technicians do it with least resistance
 
Bob

Regular Member

Joined: 11/08/2011
Location: United Kingdom
Posts: 41
Posted: 03:08pm 16 Aug 2011
Copy link to clipboard 
Print this post

  haiqu said  



Rob,
It looks as if you resolved the serial port 'problem'.
Which way did you do it?

Regards,
Bob
Bob Dalley
http://www.m0rjd.co.uk
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 08:10am 17 Aug 2011
Copy link to clipboard 
Print this post

Hi Guys,

I do actually have a root file system on the card but there's some minor bug preventing it from loading. I strapped a MAX232 to the audio port (UART4) to get the console happening Bob, as described earlier. Quick-n-easy.

This is a port of RetroBSD which was announced only 10 days before I had it working. The author Serge Vakulenko worked on it for a year in his spare time and posted the announcement on 6 Aug to the MIPS Developer website. He's running a UBW32 board but he has a Maximite on order too. :-)

RetroBSD is based on 2.11BSD which was the last of the series for the PDP-11 architecture, and thus supports CPUs without a memory management unit. It has a standard Posix API including multitasking (fork, exec, wait4 etc) and on the PIC32 supports up to 6 consoles (multiuser).

So far I have the whole build done, comms working to the board and blinkenlights. The SD card is seen but can't be read, as mentioned above. I'll be implementing the reset switch tonight and working on the SD card problem some more. Serge just added z-modem protocol to the svn repository for file transfers.

It's a beautiful thang!

Rob
Edited by haiqu 2011-08-18
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
Bob

Regular Member

Joined: 11/08/2011
Location: United Kingdom
Posts: 41
Posted: 09:11am 17 Aug 2011
Copy link to clipboard 
Print this post

  haiqu said   Hi Guys,

I do actually have a root file system on the card but there's some minor bug preventing it from loading. I strapped a MAX232 to the audio port (UART4) to get the console happening Bob, as described earlier. Quick-n-easy.


I imagined you would implement async comms in that way. Great!

  Quote  

This is a port of RetroBSD which was announced only 10 days before I had it working. The author Serge Vakulenko worked on it for a year in his spare time and posted the announcement on 6 Aug to the MIPS Developer website. He's running a UBW32 board but he has a Maximite on order too. :-)

RetroBSD is based on 2.11BSD which was the last of the series for the PDP-11 architecture, and thus supports CPUs without a memory management unit. It has a standard Posix API including multitasking (fork, exec, wait4 etc) and on the PIC32 supports up to 6 consoles (multiuser).

So far I have the whole build done, comms working to the board and blinkenlights. The SD card is seen but can't be read, as mentioned above. I'll be implementing the reset switch tonight and working on the SD card problem some more. Serge just added z-modem protocol to the svn repository for file transfers.

It's a beautiful thang!

Rob


Good luck with the filesystem interface, Rob. It will work soon. Just keep up with the caffeine <g>

Regards,
Bob

Bob Dalley
http://www.m0rjd.co.uk
 
wizard

Newbie

Joined: 29/07/2011
Location: United States
Posts: 38
Posted: 01:40pm 17 Aug 2011
Copy link to clipboard 
Print this post

Hi All,

Really cool.

I pulled the svn OK.

But the pages retrobsd.sf.net and virtualmips.sf.net.
seem to be unavailable from here?

Could someone post a mirror.

Thanks,
Wiz
 
wizard

Newbie

Joined: 29/07/2011
Location: United States
Posts: 38
Posted: 01:44pm 17 Aug 2011
Copy link to clipboard 
Print this post


I misspoke :(.

its code.google.com/p/retrobsd and virtualmips that I
can't get to load. Or get to the docs.

Perhaps too many other folks and google.com has gotten tired?

Wiz
 
wizard

Newbie

Joined: 29/07/2011
Location: United States
Posts: 38
Posted: 01:59pm 17 Aug 2011
Copy link to clipboard 
Print this post

Guess I spoke too soon.

They seem to be coming up now!

Sorry for noise!
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 03:26pm 18 Aug 2011
Copy link to clipboard 
Print this post

If you're checking out sources, use -r224 because there's a bug introduced after that which causes a memory fault in the MIPS emulator, and probably the hardware too although I haven't tried that.

Also note that my changes to make it run on the Maximite have been sent to Serge but he hasn't yet added them. Meanwhile, you can run it in the emulator and have fun, or load it into a UBW32 if you happen to have one handy.

Rob
Edited by haiqu 2011-08-20
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 04:55pm 18 Aug 2011
Copy link to clipboard 
Print this post

  Bob said  Good luck with the filesystem interface, Rob. It will work soon. Just keep up with the caffeine <g>

Regards,
Bob


Copious amounts of caffeine *are* being consumed, and much midnight oil burned.

Rob
Edited by haiqu 2011-08-20
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 09:37am 19 Aug 2011
Copy link to clipboard 
Print this post

Current sources at -r229 now include my changes and previous warnings about memory faults can be ignored. Still no SD card though ... mutter, mutter.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 09:38am 19 Aug 2011
Copy link to clipboard 
Print this post





We're getting there.
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
pito
Newbie

Joined: 09/06/2011
Location:
Posts: 25
Posted: 10:10am 19 Aug 2011
Copy link to clipboard 
Print this post

Hi guys,
if in doubt move to:

www.retrobsd.org

Regards,
Pito
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 10:46am 19 Aug 2011
Copy link to clipboard 
Print this post

Hi Pito,

Nice to see you found the Maximite forum. I got it working at last!!





Woo-hoo!!!!

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 12:18pm 19 Aug 2011
Copy link to clipboard 
Print this post

Congratulations Rob!!!

Vasi

Edit:
PIC32 have DMA? If you extend the RAM then it will be more than usable.Edited by vasi 2011-08-20
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
pito
Newbie

Joined: 09/06/2011
Location:
Posts: 25
Posted: 04:49pm 19 Aug 2011
Copy link to clipboard 
Print this post

Hi Rob, congratulation with retrobsd!
Hopefuly the discussions and experience sharings will start on the retrobsd.org..
BTW, I joined Maximites 2 months earlier than you (;-))!!
PS: E0 is dedicated to AUX LED, so therefore comes your trouble with it..
PitoEdited by pito 2011-08-21
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 05:29pm 19 Aug 2011
Copy link to clipboard 
Print this post

Vasi, AFAIK memory expansion on the PIC32 is impossible unless you're talking about serial flash boot or something. But even with the kernel loaded there's still 96k available, should be plenty! See my sig below...

pito, E0 is SD card select on Maximite, no Aux LED present.

Rob
Edited by haiqu 2011-08-21
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 05:32pm 19 Aug 2011
Copy link to clipboard 
Print this post

pito: And maybe you joined Maximite earlier, but I was posting on retrobsd.org first! Hehehe
Edited by haiqu 2011-08-21
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 06:13pm 19 Aug 2011
Copy link to clipboard 
Print this post

Vasi: Sorry, forgot to mention ... there's also a 2Mb virtual memory swapfile (expandable to any size that will fit on the SD card) so memory really isn't an issue.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
     Page 1 of 2    
Print this page
© JAQ Software 2024