From: Ernie <st...@ma...> - 2001-12-20 19:45:43
|
Hello all, Once Sega dropped the price of the DC to $50, i jumped on it. I figure it can't get much lower than this, and $50 isn't much ... of course, now i have the Dreamcast, a DC keyboard, the BBA, a serial cable, a mouse adapter, and Shenmue :). Still, total, it was probably still cheaper than the PS2. So, I managed to get an SH4 cross compiler installed on my mandrake 8.1 box (even though I think bill mentions he used red hat 7.1 in his article, i had a lot of problems with my red hat 7.1 server). I managed to boot the dc using a kernel i got from a link on this list, and even managed to compile a few utilities ... but first a few questions .... I managed to configure the net-tools package, and they even execute correctly on the dc! Except, there is no /proc file system, nor can i seem to mount one ... does /proc work on the dc yet? Is the busybox util not able to mount it? Has anyone gotten bash to run? I compiled it, but i get a 'unaligned' error... Another mount question ... can the busybox 'mount' binary mount nfs shares? i have an nfs server i can easily throw some sh4 binaries on, which would probably be a lot faster than uploading via the serial cable (which is probably still easier than burning a CD every couple of minutes). Is this possible, or do i have to use nfsroot? I'm thinking it'd be great if i could just copy binaries to the nfs share,and mount it as /usr/local on the dc ... Is there some way to redirect the console back through the serial cable, even though i'm using the serial cable for uploading the kernel? I only have one monitor, and 3 computers, so its a big jumble of wires behind my desk ... and i noticed some 'console' options in the dc-load tool ... What are ya'll using your DC's for? I guess if I could get X working, that'd be cool. And maybe a dynamic linker? I've read a few posts indicating X is kinda slow, but i suppose things can only get better as more people discover more about the DC hardware ... I mean, all the games run pretty quickly :). Thanks in advance, and any tips or tricks anyone would like to share, i'd appreciate ... -ernie |
From: Adrian M. <ad...@mc...> - 2001-12-20 20:36:47
|
On Thursday 20 Dec 2001 7:45 pm, Ernie wrote: > Hello all, > Once Sega dropped the price of the DC to $50, i jumped on it. I figure > it can't get much lower than this, and $50 isn't much ... of course, > now i have the Dreamcast, a DC keyboard, the BBA, a serial cable, a > mouse adapter, and Shenmue :). Still, total, it was probably still > cheaper than the PS2. [snipped] > > -ernie > I guess from this that you are using Bill Gatliff's stuff - that's how I finally got it too work too. But once I got there I moved on to the Debian 'distro' on m17n - see http://www.m17n.org/linux-sh/dreamcast/ This has X but don't expect anything slick. But I kept the more up to date kernel - I mount all this via NFS (and it is possible to do that with busybox too - but you have to hack the configuration files). To mount NFS make sure you have the kernel compiled to do this and the command line configured properly and it's not too difficult (eventually!). If you've got a BBA then you can load the kernel via IP - see http://www.cerc.utexas.edu/~andrewk/dc/ for dcload-ip And do you know about the IRC channel - #LinuxDC on irc.openprojects.net |
From: M. R. B. <mr...@0x...> - 2001-12-20 20:39:05
|
* Ernie <st...@ma...> on Thu, Dec 20, 2001: >=20 > I managed to configure the net-tools package, and they even execute=20 > correctly on the dc! Except, there is no /proc file system, nor can i=20 > seem to mount one ... does /proc work on the dc yet? Is the busybox=20 > util not able to mount it? >=20 You need to add a /proc entry to /etc/fstab, and use `mount -a` (preferably in a boot script) to automatically mount it at boot. Of course, you need /proc compiled into the kernel in the first place. Here is my /etc/fstab (the backslashes continue to the next line, don't use them in your fstab): 192.168.1.11:/home/mrbrown/dcdev/nfs/nfsroot / nfs \ defaults,errors=3Dremount-ro 0 0 proc /proc proc defaults 0 0 #none /dev devfs defaults 0 0 #none /var/shm shm defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 /dev/gdrom /gdrom iso9660 defaults,user,noauto 0 0 > Has anyone gotten bash to run? I compiled it, but i get a 'unaligned'=20 > error... >=20 Yeah, but it's not that trivial to cross-compile bash. Look for hidden (well, not really) patches on ftp.m17n.org/pub/super-h/ in the debian directories, they might help. > Another mount question ... can the busybox 'mount' binary mount nfs=20 > shares? i have an nfs server i can easily throw some sh4 binaries on,=20 > which would probably be a lot faster than uploading via the serial cable= =20 > (which is probably still easier than burning a CD every couple of=20 > minutes). Is this possible, or do i have to use nfsroot? I'm thinking= =20 > it'd be great if i could just copy binaries to the nfs share,and mount=20 > it as /usr/local on the dc ... >=20 You need to enable NFS mounting in busybox, and enable "IP: kernel level autoconfiguration" under "Networking options" and "NFS file system support" and "Root file system on NFS" under "Network File Systems" in the kernel. Then, pass the appropiate command line to the kernel. Details on the command line format are in Documentation/nfsroot.txt. > Is there some way to redirect the console back through the serial cable,= =20 > even though i'm using the serial cable for uploading the kernel? I only= =20 > have one monitor, and 3 computers, so its a big jumble of wires behind=20 > my desk ... and i noticed some 'console' options in the dc-load tool ... >=20 Yes, enable "Serial (SCI, SCIF) support" and "Support for console on serial port" under "Character Devices". > What are ya'll using your DC's for? I guess if I could get X working,=20 > that'd be cool. And maybe a dynamic linker? I've read a few posts=20 > indicating X is kinda slow, but i suppose things can only get better as= =20 > more people discover more about the DC hardware ... I mean, all the=20 > games run pretty quickly :). >=20 glibc runs under LinuxDC so the dynamic linker is already in place. X is slow and will always be slow (and will never be officially supported by yours truly). All new discoveries into the black hole of Dreamcast internals get put back into the kernel drivers. > Thanks in advance, and any tips or tricks anyone would like to share,=20 > i'd appreciate ... >=20 Here is the command line I normally use (again remove the backslashes): mem=3D16M video=3Dpvr2fb:640x480-16 console=3DttySC1,115200 root=3D/dev/n= fs \ nfsroot=3D192.168.1.11:/home/mrbrown/dcdev/nfs/nfsroot \ ip=3D192.168.1.21::192.168.1.254:255.255.255.0:blackbox::off=20 This enables the pvr2fb console (just the penguin, no output), with the main console on the serial port; it also sets up a static IP and mounts NFS root off of my workstation. The "mem=3D16M" will go away in a couple of kernel iterations. Our goal is to get the website back up by Christmas 2001. That's next Tuesday :P. We already have preliminary "Getting Started" guides, so any other docs you would like to see from us, tips or tricks you'd like to contribute, and even off-site links, please send them our way. M. R. |
From: Adrian M. <ad...@mc...> - 2001-12-25 12:40:01
|
Ernie, Out of interest - what is the production date listed on the bottom of your DC? (I am assuming you are in the US). Adrian |
From: Adrian M. <ad...@mc...> - 2001-12-27 11:36:33
|
I know it's Christmas and all that ... but I've had no feedback on this whatsoever, does that mean it all works for people or that it doesn't or that nobody has tried :-> Any comments would be welcome. If anybody has had difficulties becuase they are not sure how to build it then let me know and I'll write a mini HOWTO if that would help. Adrian |
From: Jason D. <min...@ya...> - 2001-12-27 17:52:46
|
Im lazy. I will try it, as I evetually want to see if I can get Bochs running some old DOS games. But like I said, Im lazy. As soon as I give it a spin, Ill let you know. ----- Original Message ----- From: "Adrian McMenamin" <ad...@mc...> To: <lin...@li...> Sent: Thursday, December 27, 2001 6:36 AM Subject: [linuxdc-dev]Sound driver > I know it's Christmas and all that ... but I've had no feedback on this > whatsoever, does that mean it all works for people or that it doesn't or that > nobody has tried :-> > > Any comments would be welcome. > > If anybody has had difficulties becuase they are not sure how to build it > then let me know and I'll write a mini HOWTO if that would help. > > Adrian > > _______________________________________________ > Linuxdc-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxdc-dev _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Jay C. <no...@no...> - 2001-12-27 18:16:04
|
On Thursday, December 27, 2001, at 12:52 PM, Jason Dodson wrote: > Im lazy. I will try it, as I evetually want to see if I can get Bochs > running some old DOS games. But like I said, Im lazy. As soon as I give > it a > spin, Ill let you know. You may want to try MESS as well. MESS tries hard to get timing right; I had problems getting Kroz to run at reasonable speeds on Bochs. Also, the versions of Bochs I was playing with (1.2 and 1.3) had terrible problems with OpenDOS and FreeDOS---in particular, after touching a floppy drive, the disk suddenly appeared blank. Jay |
From: Oliver M . B. <ol...@go...> - 2001-12-27 22:03:55
|
Hi! On Thu, Dec 27, 2001 at 11:36:48AM +0000, Adrian McMenamin <ad...@mc...> wrote... > I know it's Christmas and all that ... but I've had no feedback on this > whatsoever, does that mean it all works for people or that it doesn't or that > nobody has tried :-> I have been just lazy and away from my DC. The possibility of sound is really great news as I always wanted to let my DC spend it's afterlife as an MP3 juke-box. > If anybody has had difficulties becuase they are not sure how to build it > then let me know and I'll write a mini HOWTO if that would help. How about putting an working kernel image somewhere. This way, people could easily boot it using eCos/RedBoot or whatever. After all, we have the fortune to all own exactly identical hardware. -- Oliver M. Bolzer ol...@go... GPG (PGP) Fingerprint = 621B 52F6 2AC1 36DB 8761 018F 8786 87AD EF50 D1FF |
From: Adrian M. <ad...@mc...> - 2001-12-31 15:23:54
|
I know this isn't really likely to have much to do with the LinuxDC kernel, but someone here might know the answer... I was using the m17n distro as my NFS mounted file system for the DC, but I had real problems running programs I had compiled, so I dumped that, rebuilt my toolset and went back to using busybox. I have successfully mounted busybox as NFS root, but when I attempt to run other applications I get messages such as: "./mpg123: No such file or directory" Is this because there is a library missing or is there some other problem with bb I am unaware of? I am using ASH as the shell. Finally - another question: On m17n using devfs I could do things like cat somefile > /dev/dsp But bb (again using devfs) insists on me writing cat somefile > /dev/sound/dsp Why? On m17n |
From: M. R. B. <mr...@0x...> - 2001-12-31 16:13:20
|
* Adrian McMenamin <ad...@mc...> on Mon, Dec 31, 2001: >=20 > I have successfully mounted busybox as NFS root, but when I attempt to ru= n=20 > other applications I get messages such as: >=20 > "./mpg123: No such file or directory" >=20 > Is this because there is a library missing or is there some other problem= =20 > with bb I am unaware of? > Do you have glibc installed in your NFS root environment? Is busybox statically-linked? > I am using ASH as the shell. >=20 > Finally - another question: >=20 > On m17n using devfs I could do things like cat somefile > /dev/dsp >=20 > But bb (again using devfs) insists on me writing cat somefile > /dev/soun= d/dsp >=20 > Why? >=20 The first is because the m17n distro created/maintained legacy device nodes (/dev/dsp). You would have to manually create /dev/dsp and others if you *didn't* want to use devfs with busybox. M. R. |
From: Adrian M. <ad...@mc...> - 2001-12-31 17:04:53
|
On Monday 31 Dec 2001 4:13 pm, M. R. Brown wrote: > * Adrian McMenamin <ad...@mc...> on Mon, Dec 31, 2001: > Do you have glibc installed in your NFS root environment? Is busybox > statically-linked? Busybox is statically linked - I couldn't get init to work with it dynamically linked. I had copied over libc, but then found that there was a dependency on libm. When I copied over all the library files - as per instructions on linuxsh.org I got a different error: "./mpg123: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory" I thought this was a PATH error, but even with PATH pointing to /lib I still have this problem? Is it something to do with the symlinks? The library is there... > > > I am using ASH as the shell. > > > > Finally - another question: > > > > On m17n using devfs I could do things like cat somefile > /dev/dsp > > > > But bb (again using devfs) insists on me writing cat somefile > > > /dev/sound/dsp > > > > Why? > > The first is because the m17n distro created/maintained legacy device nodes > (/dev/dsp). You would have to manually create /dev/dsp and others if you > *didn't* want to use devfs with busybox. > Thanks for this. > M. R. |
From: M. R. B. <mr...@0x...> - 2001-12-31 18:51:26
|
* Adrian McMenamin <ad...@mc...> on Mon, Dec 31, 2001: > I had copied over libc, but then found that there was a dependency on lib= m.=20 > When I copied over all the library files - as per instructions on linuxsh= .org=20 > I got a different error: >=20 > "./mpg123: error while loading shared libraries: libm.so.6: cannot open= =20 > shared object file: No such file or directory" >=20 > I thought this was a PATH error, but even with PATH pointing to /lib I st= ill=20 > have this problem? Is it something to do with the symlinks? The library i= s=20 > there... >=20 s/PATH/LD_LIBRARY_PATH/. M. R. |
From: Adrian M. <ad...@mc...> - 2001-12-31 19:00:15
|
On Monday 31 Dec 2001 6:51 pm, M. R. Brown wrote: > * Adrian McMenamin <ad...@mc...> on Mon, Dec 31, 2001: > > I had copied over libc, but then found that there was a dependency on > > libm. When I copied over all the library files - as per instructions on > > linuxsh.org I got a different error: > > > > "./mpg123: error while loading shared libraries: libm.so.6: cannot open > > shared object file: No such file or directory" > > > > I thought this was a PATH error, but even with PATH pointing to /lib I > > still have this problem? Is it something to do with the symlinks? The > > library is there... > > s/PATH/LD_LIBRARY_PATH/. > Yes, that worked. Thanks, as always. > M. R. |
From: Adrian M. <ad...@mc...> - 2001-12-31 20:59:51
|
Just for info...(those of you on IRC will already know this) Have successfully run mpg123, madplay (two MP3 players) and epic (IRC client) on the Dreamcast So - even more reasobns to get your friends to get a Dreamcast :-> |