Hey Tobias, I think I may have found something ... tell me if I'm on the right track here or not...
All of the memory between 50000000 - 50f001f0 is set to 8A8A 8A8A 8A8A 8A8A 8A8A 8A8A 8A8A 8A8A Then the mem between 50f00200 -50F003F0 is set to A0A0 A0A0 A0A0 A0A0 ... Then 50f00400 - 50f005e0 is 8080 ... 50f00600 - 50f007e0 2828 ... Then things start to get really interesting, and there seems to be some data stored in registers 50f00800 - 50f009f0 (and it changes everytime i check it with dp) 50f00a00 - seem to be uniform per line of output, but changte each time i check dp. Am I looking at the right registers here? How can you tell? Sincerely, Toby Dylan Hocking http://www.ocf.berkeley.edu/~tdhock On Sun, 9 Jul 2006, Toby Dylan Hocking wrote: > Hi Tobias, > > The dmesg on my PB1400 reads as follows: > > ... > NuBus: Scanning NuBus slots. > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > Journalled Block Device driver loaded > Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). > ... > > What were you expecting? > > I'm in the process of getting MacsBug onto it, I have to burn a CD and then > load it on... when I get to scanning address space, should I just use db, dp, > and dw on all those addresses until I get a certain response? What response > should I be expecting when I find the address of my ethernet card? > > Thanks again... > > Sincerely, > Toby Dylan Hocking > http://www.ocf.berkeley.edu/~tdhock > > On Mon, 3 Jul 2006, Tobias Netzel wrote: > >> You won't need the MacOS driver. I'm sure you could find it on the web >> somewhere. >> Once you have found the card's base address things should be easy. >> It should be in the same address range as mine. >> >> Tobias >> >> >> Am 03.07.2006 um 17:56 schrieb Toby Dylan Hocking: >> >>> Hi Tobias, >>> >>> Thanks for the quick and informative reply! It's a bit much since I've >>> never had to deal with accessing registers in memory before, but I >>> think >>> I'll be able to figure it out --- I do have some experience using >>> MacsBug, >>> and I do have system 7.6 loaded on a small partition on the PB1400, so >>> it >>> should be a simple matter of DL'ing the MacsBug extension and >>> installing. >>> I'm not in front of the computer right now, but I'll do it tonight, and >>> get back to you then. However, I don't know if I still have the driver >>> that Farallon supplied with the card... if that is the case, is there >>> any >>> hope? >>> >>> Thanks again for the help, this has been somewhat of a difficult >>> project >>> for me, but having some help from somebody who seems to know what he's >>> doing is very encouraging. >>> >>> Sincerely, >>> Toby Dylan Hocking >>> http://www.ocf.berkeley.edu/~tdhock >>> >>> On Sun, 2 Jul 2006, Tobias Netzel wrote: >>> >>>> Hi Toby, >>>> >>>> the driver for the SMC9194 is already ported to the NuBus-PowerMacs. >>>> However if the card hasn't got any NuBus ROM it will not be detected >>>> by >>>> the kernel. >>>> In the result of dmesg there should be a line saying "NuBus: Scanning >>>> NuBus slots." >>>> What is printed right after that line? >>>> >>>> I have ported another driver for the Focus EtherLAN internal ethernet >>>> card for the PB 1400. So I can help you in getting your card working. >>>> If there is nothing reported about a NuBus card in any slot you will >>>> have to go find it's address in the memory address space. >>>> For that purpose you should get MacsBug for MacOS - you need have >>>> MacOS >>>> installed. Unfortunately I did not yet use any linux debugger. and so >>>> I >>>> don't know how to use them in order to scan address space. MacsBug is >>>> downloadable from Apple or I could send it to you. >>>> >>>> Here is a guide I recently posted to this mailing list: >>>> ---------------------------------------------------------------------- >>>> -- >>>> ----------------- >>>> Here are the addresses that you should look at for NuBus Cards: >>>> 0xf1000000 - 0xff000000 >>>> >>>> 0xf1000000 - 0xf1ffffff is for NuBus Slot 1 (doesn't exist as far as I >>>> know) and >>>> 0xff000000- 0xffffffff is for Slot F (doesn't exist as well). >>>> >>>> Valid Slots are 9 - E as far as I know. >>>> >>>> My PB 1400 internal ethernet card uses slot E address space (internal >>>> video cards do as well). >>>> It's registers addresses are mapped starting at 0xfe600000. >>>> They are repeated until address 0xfe7fffff. >>>> At the very end of the address space is the NuBus ROM. >>>> The rest of slot E address space has values of 0 or 0001 (from >>>> 0xfe400000 - 0xfe5fffff). >>>> I think in slot address space you should increase the address values >>>> you are looking at by 0x00100000. But that's just guessed . >>>> >>>> Comm-Slot cards are mapped in the address space of the onboard I/O >>>> devices (at least the comm-slot SONIC cards are). >>>> That is 0x50f00000 - 0x50ffffff. >>>> In the kernel sources in the file arch/ppc/platforms/nbpmac_node.h you >>>> can find the addresses for many of the onboard devices (on my PB 1400 >>>> I >>>> found 2 more devices) for the PDM PowerBook and Performa machines. >>>> So if you find registers at other places they are probably the ones >>>> you >>>> are searching for. >>>> If there aren't any registers at an address you enter you will get an >>>> error message. >>>> You should then increase the address value in steps of 0x1000. >>>> The additional device registers I found are at 0x50f80000 (PBX memory >>>> controller) and 0x50f96000 (a really interesting one that MacOS uses >>>> when accessing the floppy drive). >>>> At address 0x50f36000 there are registers that seem to always be zero >>>> so I don't know what device they belong to. >>>> >>>> I know nothing about the addresses PDS cards use - you could browse >>>> the >>>> source of the different macintosh ethernet drivers in the kernel tree. >>>> >>>> You also need to know the interrupt the device is using. In the files >>>> nbpmac_pfm.c (Performa) nbpmac_amic.c (PDM) and nbpmac_m2.c >>>> (PowerBook) >>>> in arch/ppc/platforms you should be able to find out the interrupt >>>> number that are used for each slot. For comm-slot and PDS cards I >>>> don't >>>> know what interrupts they use (SONIC uses the interrupt of slot 9). >>>> >>>> In MacsBug you enter addresses without "0x" in front of the values. >>>> Some registers are not accessible with the display page (dp) command. >>>> You can use "db" for byte (8 bit) access, "dw" for word (16 bit) >>>> access >>>> and "dl" for long word (32 bit) access. >>>> >>>> I hope that will help you to find the addresses of the cards you don't >>>> know. >>>> You might as well use MacsBug to see what addresses a MacOS driver >>>> accesses to but that's a bit more complicated. >>>> >>>> You can also disassemble the MacOS driver (with MacsBug but better >>>> with >>>> ResEdit). >>>> MacOS drivers are in the DRVR resource of either the System file or >>>> the >>>> driver's system extension. >>>> ---------------------------------------------------------------------- >>>> -- >>>> ----------------- >>>> >>>> Feel free to ask me if you get any problems. >>>> >>>> Tobias Netzel >>>> >>>> >>>> >>>> Am 02.07.2006 um 01:54 schrieb Toby Dylan Hocking: >>>> >>>>> Hey guys, >>>>> >>>>> I've been trying to get Debian Sarge onto my PowerBook 1400, using >>>>> the >>>>> resources provided in the nubus-pmac sourceforge group. I have found >>>>> your >>>>> software and links to be extremely helpful, and I have got a Linux >>>>> 2.4.31 >>>>> kernel compiled and running on it, using the miBoot iso from Tobias >>>>> Netzel >>>>> and the linuxppc-2.4-nubus sources from CVS. My hardware setup >>>>> includes a >>>>> G3/250 NUpowr upgrade from Newer, and the standard media bay cdrom >>>>> drive, >>>>> both of which the kernel seems to be recognizing just fine. I load >>>>> the >>>>> kernel and boot to 6 login terminals which all work just fine. >>>>> >>>>> However, my problem is that I have installed a SMC9194 ethernet card >>>>> (a >>>>> farallon 10BaseT card) in the machine's internal expansion slot, and >>>>> I'd like >>>>> to get that working with my linux kernel, so I can apt-get and browse >>>>> the web >>>>> and whatnot. However, even after I enable the SMC9194 support in the >>>>> kernel >>>>> configuration options, my ifconfig eth0 still says no device found, >>>>> and i'm not >>>>> seeing any driver say anything about ethernet in the dmesg. I talked >>>>> to one of >>>>> my friends and he said that I'd have to write a driver for it or port >>>>> a driver. >>>>> >>>>> Two questions: >>>>> >>>>> 1. Has anybody got their internal PB1400 ethernet card to work with >>>>> the Linux >>>>> kernel? How? >>>>> >>>>> 2. What do you think is the best course of action? I never have >>>>> ported >>>>> drivers >>>>> before, but I have C programming experience. Should I learn how to >>>>> port the >>>>> driver? Where should I start? >>>>> >>>>> Thanks in advance. >>>>> >>>>> Sincerely, >>>>> Toby Dylan Hocking >>>>> http://www.ocf.berkeley.edu/~tdhock >>>>> >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make your >>>>> job >>>>> easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>>> Geronimo >>>>> http://sel.as-us.falkag.net/sel? >>>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> Nubus-pmac-users mailing list >>>>> Nubus-pmac-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users >>>>> >>>> >>>> >>>> Using Tomcat but need to do more? Need to support web services, >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make your >>>> job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>>> Geronimo >>>> http://sel.as-us.falkag.net/sel? >>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> Nubus-pmac-users mailing list >>>> Nubus-pmac-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users >>>> >>> >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your job >>> easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel? >>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> Nubus-pmac-users mailing list >>> Nubus-pmac-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users >>> >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nubus-pmac-users mailing list >> Nubus-pmac-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users >> > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nubus-pmac-users mailing list Nubus-pmac-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nubus-pmac-users