NetBSD Progress On Sega's Dreamcast 78
See below for a sample dmesg output,
Please stay tuned for more information!
- Hubert Feyrer, The NetBSD Project
Copyright (c) 1996, 1997, 1998, 1999, 2000
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 1.5_ALPHA (DREAMCAST) #8: Fri Jul 14 01:42:14 JST 2000
msaitoh@vslock.xxx.yyy:/var/sources/src/sys/arch/evbsh3/compile/DREAMCAST
total memory = 16384 KB
avail memory = 12988 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
shb0 at mainbus0
scif0 at shb0 port 0xffe80000-0xffe8000f irq 12
scif0: console
biomask c0000000 netmask c0000000 ttymask e0000000
md0: internal 1440K image area
rn_init: radix functions require max_keylen be set
boot device:
root on md0a dumps on md0b
cannot mount root, error = 22
root device (default md0a):"
Of course, what you do with a Dreamcast running NetBSD is up to you. Errr ... just what could you do with a Dreamcast running NetBSD?
Dreamcast emulator (Score:1)
Re:The Point (Score:1)
Slow day on /.; get a haiku. (Score:1)
to another game console.
Now go get a life.
um... (Score:1)
Sheesh.
opensource beginners tool (Score:3)
It'd be *nix for dummies.
Just pop in the netbsd CD (dreamcast does run on CD's does it ? I don't know for sure) and you're off. The users could mess with the system all they'd want. On the next reboot of the dreamcast you'd have a fresh install again.
And I know you could do this with a PC too. But then you'd have to build a VERY generic kernel, or several ones depending on the PC config. The single dreamcast platform is so much simpler to make a distro for.
Re:Tucows BSD site (Score:1)
Gandhi drank urine every morning and was obsessed with feces -- is he really the expert to be quoted on when it comes to civilization??
--
Irina Romanov
Dreamcast (Score:4)
NetBSD was able to get their code bootstrapped due to a programming backdoor left in by Sega which lets the console be started from the second session of a standard CDROM, as opposed to sega's proprietary GDROM [min.net] format. This was the same method used by the Gameshark CDX disc. Unfortunately, due to recent innovations [dcisos.com] using this boot method, Sega is rumored to be phasing out the backdoor in the newest releases of the Dreamcast to keep third-party developers happy.
Anyway, I hope Sega gets themselves in gear and releases the Dreamcast NIC [min.net] sometime soon. Then all we need is a NetBSD-based distributed.net client disc.. ;>
Check out Marcus Comstedt [mangakai.org]'s site for more tasty tidbits about Dreamcast programming.
Have you ever tried Debian? (Score:1)
Not that this is likely to work too well with a DreamCast unit; I suspect they don't do DSL...
Seems less than amazingly useful to me... (Score:2)
Those factors would likely make such a unit pretty useful as a "cheap terminal," rather like the $200 Think NIC [thinknic.com] units.
Unfortunately, I suspect the cost and effort would outweigh the cost of a Think NIC, meaning that while the concept is still a "cool hack," it's not a terribly practical one...
Add a NIC and it costs more... (Score:2)
Unfortunately, more hardware costs more money, so that the Dreamcast + NIC + more RAM (of some form) is liable to put the pricetag way past that of the rather similar Think NIC that already has the "more RAM" and the NIC.
Re:make sure your dreamcast never becomes obsolete (Score:2)
Nethack.
Xpilot...
--
Re:render farm (Score:3)
The DC controler ports are pretty fast. I had a thery that they were USB, but after reading more I don't think they are, they are "only" around 3Mbits/sec each. The modem module can be remoed, and an ethernet can be pluged in (if they ever start selling it) which might make the DC a useful MP3 player. A Zip drive (with USB ports) can also be hooked up (I'm unclear on how).
So it's a bit limited as a Unix box, but not toatally worthless.
Besides with NetBSD on it I could play nethack on it, which somehow appeals to me :-)
Re:Overly paranoid Import/Export controls? (Score:5)
This is not true. I travelled to Japan in Early June. I asked the customs officer if the Sony Playstation 2 had any export controls on it, since I was thinking of buying a few to bring back to the US. He told me that no, there were no export controls on it. That the whole thing was some confusion at central government and was cleared up within two days. He also told me that I'd only have to worry about import issues on the country I was bringing them into.
He didn't come out and say it, but some of my Japanese friends did. It was just a ploy by Sony to make the playstation sound really cool.
Oh, there is one last issue with taking a PS2 out of Japan. Sony will not honor the warantees on these units outside of Japan. At least that's what I was told by my Japenese friends. That was a deal killer for me.
ObOnTopic: I think that the port to dreamcast is way cool. Look at how useful the NetBSD/hpcmips port is for the WindowsCE machines that are now being dumped on the market cheaply.
Know of an URL to more info? (Score:2)
Re:Overly paranoid Import/Export controls? (Score:1)
One other thing: It's a well-known fact in Japan that the ban will be lifted just a little earlier than the US release of the PS2.
Re:render farm (Score:1)
Re:WHAT? You honestly haven't got a clue (Score:1)
did the moderators take a day off? (Score:1)
Re:Creates possibility for new (unsanctioned) apps (Score:1)
Haiklue (Score:2)
(Now that word I like!)
It's not about 'Useful' Einstein... (Score:1)
It already runs Linux (Score:3)
Though there was no shell yet, but the kernel booted and could be manipulated via the VS. communication cable. Quite impressive.
Tucows BSD site (Score:1)
Just in case...
Re:I guess we could fight daemons... (Score:1)
Re:Have you ever tried Debian? (Score:1)
Not that this is likely to work too well with a DreamCast unit; I suspect they don't do DSL...
I don't know why this isn't posted as Clueless Newbie, because that was retarded.
This may be the stupidest, most clueless post in recent memory. I pray it's a joke, because this guy has lots of other good posts in recent weeks (barring the bizarre Hitler one). I mean which stupid thought in this post do you attack first? The idea that Debian will run on this thing? Or the question of where one might stick floppies? And as for the DSL bit - of course not, the thing doesn't even have NIC and you know it from your earlier post. Or maybe the joke is the retarded, blind Linux advocacy - "Honey, the toaster is broken!" "Oh, did you try loading RedHat on it?" Or maybe "Dr., I have an itching, burning sensation when I urinate." "Try open source. It's the community model you know - cathedral and the bazaar and all that. Good for the kidneys."
This must be a joke. But a bizarre and poorly executed one.
Re:I guess we could fight daemons... (Score:2)
There is the doom/ps util. Allows graphical "admin" of a box. Be vewy vewy quiet, I'm hunting your wogin shell...
Check it out. [unm.edu]
Of course a BSD port of a more modern game would be needed, but I think a few Internet-Enabled-Rocket-Launcher applications could be very popular...
Re:Seems less than amazingly useful to me... (Score:1)
Re:render farm (Score:2)
I figured that a cost of about AU$200 (thats about US $130) per machine, you could build a large cluster of 64 bit machines.
At least with dreamcast you won't need a custom cartrage but at least with a custom cart, there is room for a fast I/O device.
Re:The Point (Score:2)
_I'd_ check it out, if you took some snapshots and put it up on the web. And you could probably make slashdot quickies with something like that.
Heck, if you were Canadian, there'd probably be some sort of Can-Con art grant you could get, and tons of PEI farmers would donate the 'materials'.
[/me gets to thinking]
I guess we could fight daemons... (Score:1)
Adam
ChainSaw Linux [chainsawlinux.com]
Re:Why this port is good... (Score:1)
I've heard that Linux on SH is further along in terms of booting to console then NetBSD is. I also have a Linux bias, but I'm willing to try out NetBSD when I get my stuff together. I've been wanting to try out FreeBSD as a devel. platform for a while now, just haven't had the time or motivation ;P.
SDL is the Simple Direct media Library at libsdl.org [libsdl.org]. It's a small, low-level (but it sits over X, the frame buffer, GGI, DirectX, etc.) multimedia library that is responsible for most of Loki's ports to Linux.
Marcus
Why this port is good... (Score:4)
I don't really agree with some of the other posts which say this is limited to serving content or security, I see the advantages of this is increasing the ability to port *nix games and to be able to develop for multiple platforms at once.
I'm pushing for Linux to be ported to the DC, because then we can have a port of OpenGL (I hear the PowerVR2 supports it natively), and SDL (which AFAIK has been ported to FreeBSD) among other things. Just porting OpenGL and/or SDL would allow QuakeForge to be compiled for DC with probably little to no modifications. With a ppp driver in the kernel (or on a ramdisk if you prefer) you will have netplay for these types of games with a *minimum* of porting effort. Any linux games that don't require X (unless you want to port X, but why??) could be ported, off the top of my head I can think of xmame, lsdldoom, just to name some obvious ones.
Here's what I thought needed to be done:
Get the linux kernel up and running with a console on the serial port.
Allow the kernel to load a ramdisk from a CDR.
Write an accel. frame buffer to access the DC's frame buffer.
Impose certain constraints on the dev. system since this is a *console* and not an athalon w/ 128MB ram. One constraint would be instead of porting glibc, use newlib instead (is this even possible?). This would eliminate the majority of command-line Linux utils, but why would you want these anyway?
Port SDL using the frame buffer, I have no clue about OpenGL though.
This would replace WinCE as a devel. system, and allow broke college students such as myself to go nuts with the DC. Third-party developers might even be interested in this.
Marcus
The problem with farms (Score:3)
If a substantial portion of people/companies go out and buy 100+ machines each for their own compute farms, the manufacturers are going to eventually notice that the ratio of games bought to consoles sold is declining. At some point they will attempt to prevent non-game (or really, non-royalty generating uses of their hardware. Kind of like the whole i-opener fiasco.
However, there is probably a point up to which the manufacturers are happy to have unix ported because it will increase their raw sales figures, and act as an incentive for game development companies, whose suits would never conceive of the idea that a console might be used for something other than gaming, to port to the console.
Re:The problem with farms (Score:1)
Unfortunately I don't really expect console manufacturers to have such an enlightened attitude to intellectual property - their paranoia will probably lead them to lock down the platform even though a little bit of openness could encourage a disproportionate amount of interest from hacker types.
NetBSD, you win! (Score:1)
A few months ago I hoped that one day I will have at least one machine of every port NetBSD runs on (except pc532 wich is just too rare), but they are too fast for me.
Re:Seems less than amazingly useful to me... (Score:1)
If one could replace the modem module (which is replaceable) with a pair of USB ports, you could then add a USB ethernet port or modem, a keyboard, mouse, and hard-drive. Then you'd have an open-source web-TV/email box, or an open-source game development platform, or drop it in a kiosk with a touch-screen for a cheap, public web-browser, or etc...
Granted, not as good or powerful as a full computer system, but pretty slick in a dedicated application.
Which brings up the question, does anyone have the pinout for the internal modem connector?
Re:What can one do with a Dreamcast? (Score:1)
Don't need'em. PS2 has USB and firewire ports. Just plug in a USB ethernet adaptor or modem. When PS2 will support ethernet or a modem is a different question.
Re:Creates possibility for new (unsanctioned) apps (Score:1)
An intriguing idea, what about the resolution issue? Text that is normal-sized and easy to read on a desktop monitor will become incomprehensible on the average TV.
-J
Wow (Score:1)
It is the sole reason that a number of hardware platforms are still viable.
Good work, guys!
--
Max V.
Re:I guess we could fight daemons... (Score:1)
--
Max V.
this sounds like a lie (Score:1)
Seth
Re:The Point (Score:1)
That was 29 years before Hillary and Tenzing.
Overly paranoid Import/Export controls? (Score:5)
Now back to porting OpenBSD to a games platform...so consider this overtly paranoid scenario that might just scare the pants off export authorities:
Games platform with massive graphics processing power + OpenBSD = Massively secure and un-crackable* encrypted system for controlling nuclear weapons from so-called rogue states!
(*some may argue that OpenBSD merely creates this illusion)
Now wouldn't that be an amusing thought!
Re:render farm (Score:1)
kick some CAD [cadfu.com]
Re:this sounds like a lie (Score:1)
kick some CAD [cadfu.com]
render farm (Score:3)
kick some CAD [cadfu.com]
Re:I am happy (Score:1)
He who knows not, and knows he knows not is a wise man
"How can this be useful?" - Reply (Score:3)
He who knows not, and knows he knows not is a wise man
Creates possibility for new (unsanctioned) apps (Score:4)
It opens the console.
All of a sudden, you've got an open, cheap, extensible platform. It's got sound, it's got video output to TV or VGA, it's got a CD-ROM drive, it's got a modem, it's got a keyboard, and it's got the possibility for further expansion through the serial port, as well as swapping out the modem for an ethernet card in the future.
You could port VNC to it under GGI or SVGALIB or even plain old X, and turn any TV into a desktop, you don't even need a VGA monitor.
Take it one step further, and now it's a cheap network computer or thin client, with a light word processing app, web browser, and solitaire game on a free ISP like NetZero or whatever.
Or maybe it's an MP3 player stereo component with an on-screen interface and cool visualization options. Hell, it'd fit great in your car.
Or let's take this as far as you can go. Why not port something really massive to it? Say, something like the Unreal engine. There are projects out there like Digitalo [digitalo.com]'s Virtual Reality Notre Dame Project [vrndproject.com], where you can tour giant heritage structures like the Notre Dame de Paris Cathedral in full 3D, led around by a virtual tour guide, and teach kids things they'd never otherwise learn. Porting the engine to the Dreamcast (there's already an x86 Linux and PSX2 port) would give you a $199 learning console that plugs right into the TVs most schools already have (moreso than computers), and suddenly gives them classroom access to more power and technology than any PC initiative ever did. From light web browsing to 3D learning applications, a BSD port to the Dreamcast could make dreams of computers in the classroom real.
Disclaimer: Yeah, I'm an engine licensee, producing 3D tours using the engine with my Unrealty [unrealty.net] product. But I want to see a cheap platform for them as much as any teacher who's seen the potential for such a thing.
--Vito
Re:What can one do with a Dreamcast? (Score:1)
2. you'll be able to pick 'em up for $30 soon enough
3. you need inspiration
Secure Gaming (Score:1)
Re:Elite hackers don't care about Linux/BSD/Etc (Score:1)
6. Seasoned Sysadmins These users have grown up and do not feel it necessary to pigeonhole the rest of the users on the networks and servers they administer. They do not feel compelled to quote the jargon file or write in threeleet-speak in order to impress their peers.
Exercise (Score:1)
Quit the bitching!
Kyle Gibbons
haha (Score:1)
make sure your dreamcast never becomes obsolete... (Score:2)
Nethack.
Re:Uhhh... (Score:1)
with mozilla on NetBSD.
Re:What can one do with a Dreamcast? (Score:1)
Re:render farm (Score:1)
The Point (Score:1)
But perhaps the best reason of all for porting an OS to an unconventional hardware platform is because they could.
I call it 'mountain climber' logic.
Knunov
Re:What can one do with a Dreamcast? (Score:1)
One is coming out by the end of summer. They have already said it will be DSL and cable-modem compatible.
Josh Sisk
Re: Why Dreamcast? (Score:1)
There is a NIC coming out, release date is somewhere near the end of summer.
I agree the playstation 2 makes a much more capable target, particularly with USB and PCMCIA.
I believe they have dropped the PCMIA slot to make room for the drive bay. I'm not 100% sure of this, however.
Josh Sisk
Re:Linux / Open Source Bias? What did you expect (Score:1)
Get of the computer man, and step outside. See that bright, yellow light? That's the sun.
Josh Sisk
Dreamcast, think about PS2... (Score:1)
The hardest question is what are you going to do with such a machine? Beowolves? Internetting? Or play? But then, playing is much better from it's Original OS, isn't it?
Thus, what has been proven once again about the NetBSD and all the *nix community:
1. It CAN be ported to Dreamcast
2. It is not very useful, when ported.
Conclusion: Once a game machine, always a game machine. End of story.
Re: Why Dreamcast? (Score:1)
Re:Dreamcast emulator (Score:1)
Re:Secure Gaming (Score:1)
Re:Tucows BSD site (Score:1)
http://slashdot.org/a rticle.pl?sid=00/06/29/1542258&mode=thread [slashdot.org]
Re:Overly paranoid Import/Export controls? (Score:1)
Personally, I'm not going to run out and get myself one until they get X working on it.
Re:"How can this be useful?" - Reply (Score:1)
In short, turn it into a useful computer, which can "dual boot" to play games.
Re:The Point (Score:1)
"Because it is there" - Sir Edmund Hillary first man to climb, Mt. Everest
a haiku (Score:1)
now I'm gonna have to get
a friggin' dreamcast!
Re:The Point (Score:1)
For example: was there any good reason for your post? Hell no.
Re:'Whats the point' wah wah (Score:1)
Come on. Part of the OSS spirit is doing something "because we can." That's why you see systems like Linux and *BSD being ported to hardware that, generally, makes no sense from a practical point of view. Can there be a point to this? I dunno; I'd have to get a look at a Dreamcast and at what you can do with this *BSD before I say "sure." But it sounds like a fun project, that's for sure.
WHAT? You honestly haven't got a clue (Score:1)
Re:[OT] (Score:1)
Re:Why this port is good... (Score:1)
Given that NetBSD is pretty much assured to be ported to just about any platform, its investing in a system that will have the widest hardware coverage from a single source tree.
Being able to reliably swap over NFS would give you the option to run more VM hungry apps during development (assuming you have some form of reasonably fast IP running I/O :)
Would you have any references to SDL?
Re:No Thanks (Score:1)
You may jest about watches, but if they progress to the level of power needed to run NetBSD, it will be ported. NetBSD already runs on a wide range of mips based windows CE devices, and that gives mobile unix with exceptional battery life.
What is impressive is not that it runs on the Dreamcast, but how little Dreamcast specific changes were needed to the NetBSD tree to get it to this point.
Besides, some people find it cool
Re: Why Dreamcast? (Score:2)