Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

powermac 7200/ppc 601 dmesg and video



I'm getting close to having patches ready for Powermac 7200/PPC601.
I've gotten it to boot multi-user through serial console (dmesg
below).

I'm still having issues though trying to get video.  Is there an
output-device in openfirmware that can be used?

0 > devalias

vci0                /chaos@F0000000
pci1                /bandit@F2000000
pci2                /bandit@F4000000
fd                  /bandit/gc/swim3
kbd                 /bandit/gc/via-cuda/adb/keyboard
ttya                /bandit/gc/escc/ch-a
ttyb                /bandit/gc/escc/ch-b
enet                /bandit/gc/mace
scsi                /bandit/gc/53c94
scsi-int            /bandit/gc/mesh

0 > dev /  ok
0 > ls   


FF828F80: /PowerPC,601@0
FF829898: /chosen@0
FF8299C8: /memory@0
FF829B10: /openprom@0
FF829BD0: /AAPL,ROM@FFC00000
FF829DE8: /options@0
FF82A288: /aliases@0
FF82A4C8: /packages@0
FF82A550:   /deblocker@0,0
FF82AD50:   /disk-label@0,0
FF82B290:   /obp-tftp@0,0
FF82D6D0:   /mac-files@0,0
FF82DEC8:   /mac-parts@0,0
FF82E628:   /aix-boot@0,0
FF82EAA0:   /fat-files@0,0
FF830070:   /iso-9660-files@0,0
FF8309B8:   /xcoff-loader@0,0
FF831378:   /terminal-emulator@0,0
FF831410: /bandit@F2000000
FF832600:   /gc@10
FF832A38:     /53c94@10000
FF8342C0:       /sd@0,0
FF834EF0:       /st@0,0
FF835B68:     /mace@11000
FF8369E0:     /escc@13000
FF836B38:       /ch-a@13020
FF8371E8:       /ch-b@13000
FF837898:     /awacs@14000
FF837980:     /swim3@15000
FF838A88:     /via-cuda@16000
FF839618:       /adb@0,0
FF839708:         /keyboard@0,0
FF839E58:         /mouse@1,0
FF839F08:       /pram@0,0
FF839FB8:       /rtc@0,0
FF83A480:       /power-mgt@0,0
FF83A628:     /nvram@1D000
FF83B040:   /pci106b,1@B
FF83A8D8: /platinum@F8000000


0 >  reset-all file: 192.168.0.3,obloading XCOFF                                
             
tsize=EDE0 dsize=258 bsize=2750 entry=E00000 
SECTIONS:
.eh_fram 00000074 00000074 00001CA8 0000014C
.text    00E00000 00E00000 0000EDE0 00001E00
.data    00E0F000 00E0F000 00000258 00010BE0
.bss     00E0F258 00E0F258 00002750 00000000
.gnu.att 00000000 00000000 00000014 00010E38
.ident   00000000 00000000 00000076 00010E4C
loading .text, done..
loading .data, done..
clearing .bss, done..
>> NetBSD/macppc OpenFirmware Boot, Revision 1.12 (Mon Feb 10 19:50:18 MST 2014)
file: 192.168.0.3,obUsing IP address: 192.168.0.99
root addr=192.168.0.3 path=/export/client/root
2933196+126352 [164608+159415]=0x33a5bc
 start=0x100000
powerpc_fixup_stubs: 0 fixups done in 4049 cycles
calling mem_regions
regcnt=8 num=1 acell=1 scell=1
mem region 0 start=0 size=10000000
available
00009000 00df7000 00e12000 000ee000
this appears to be a mac...
regcnt=24 num=3 acell=1 scell=1
to OF_avail
0
avail region 0 start=9000 size=df7000
1
avail region 1 start=e12000 size=ee000
2
avail region 2 start=1000000 size=f000000
Loaded initial symtab at 0x3eb404, strtab at 0x413704, # entries 10269
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    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 6.99.31 (GENERIC-$Revision: 1.311 $) #4: Wed Feb 12 09:10:20 MST 2014
        scole@dstar:/home/scole/nbsd/src/sys/arch/macppc/compile/obj/GENERIC_601
total memory = 256 MB
avail memory = 244 MB
found Grand Central PIC at f3000000
bootpath: enet/netbsd
mainbus0 (root)
cpu0 at mainbus0: 601 (Revision 2), ID 0 (primary)
cpu0: HID0 0x818100a0<CE,BA,BD,ES,EIU,DRF>, powersave: -1
memory0 at mainbus0
bandit0 at mainbus0
pci0 at bandit0 bus 0
pchb0 at pci0 dev 11 function 0
WARNING: module error: vfs load failed for `pciverbose', error 45
WARNING: module error: vfs load failed for `pciverbose', error 45
pchb0: vendor 0x106b product 0x0001 (rev. 0x03)
obio0 at pci0 dev 16 function 0: addr 0xf3000000
esp0 at obio0 offset 0x10000 irq 12: NCR53C94, 25MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
mc0 at obio0 offset 0x11000: irq 14,2,3: address 00:a0:40:02:bb:b5
zsc0 at obio0 irq 15,16
zstty0 at zsc0 channel 0 (console i/o)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
cuda0 at obio0 offset 0x16000 irq 18
nadb0 at cuda0: Apple Desktop Bus
iic0 at cuda0: I2C bus
nvram0 at obio0 offset 0x1d000
vmmask 7e000000 schedmask 7e000000 highmask 7e000000
scsibus0: waiting 2 seconds for devices to settle...
adbkbd0 at nadb0 addr 2: extended keyboard
wskbd0 at adbkbd0 mux 1
cd0 at scsibus0 target 3 lun 0: <SONY, CD-ROM CDU-8005, 1.0j> cdrom removable
cd0: sync (200.00ns offset 15), 8-bit (5.000MB/s) transfers
boot device: mc0
root on mc0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.3
nfs_boot: my_name=macppc
nfs_boot: my_addr=192.168.0.99
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.1
root on 192.168.0.3:/export/client/root
root time: 0x52fabf7f
root file system type: nfs
init: copying out path `/sbin/init' 11
Wed Feb 12 10:26:03 MST 2014
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
random_seed: /var/db/entropy-file: Not present
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: pmac
Configuring network interfaces:.
Adding interface aliases:.
add net default: gateway 192.168.0.1
Building databases: devDSISR 0x2
DSISR 0x2
192.168.0.3:/export/client/root: inaccurate wcc data (ctime) detected, 
disabling wcc (ctime )
, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Checking quotas: done.
swapctl: adding nfsserver:/export/client/swap as swap device at priority 0
Starting virecover.
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting powerd.
Starting sshd.
short packet len=2
Starting inetd.
Starting cron.
Wed Feb 12 10:26:55 MST 2014
Feb 12 10:26:58 pmac getty[313]: /dev/ttyE2: Device not configured
Feb 12 10:26:58 pmac getty[305]: /dev/ttyE0: Device not configured
Feb 12 10:26:59 pmac getty[318]: /dev/ttyE1: Device not configured
Feb 12 10:26:59 pmac getty[331]: /dev/ttyE3: Device not configured


NetBSD/macppc (pmac) (ttyZ0)

login: root
Password:

pmac# uname -a
NetBSD pmac 6.99.31 NetBSD 6.99.31 (GENERIC-$Revision: 1.311 $) #4: Wed Feb 12 
09:10:20 MST 2014...

pmac# top

load averages:  0.04,  0.11,  0.07;               up 0+00:06:06        10:31:36
16 processes: 15 sleeping, 1 on CPU
CPU states:  0.7% user,  0.0% nice,  5.6% system,  0.0% interrupt, 93.8% idle
Memory: 15M Act, 9612K Wired, 8192K Exec, 2044K File, 215M Free
Swap: 512M Total, 512M Free

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
  323 root      81    0    10M 3464K wait       0:05  0.00%  0.00% login
  250 root      85    0  8048K 9612K pause      0:03  0.00%  0.00% ntpd
    0 root     125    0     0K 2856K aiodoned   0:01  0.00%  0.00% [system]
  348 root      41    0  4624K 1724K CPU        0:00  0.00%  0.00% top
  117 root      85    0  7668K 1832K kqueue     0:00  0.00%  0.00% syslogd
  311 root      85    0  4360K 1824K wait       0:00  0.00%  0.00% sh
  260 root      85    0  8080K 1716K netio      0:00  0.00%  0.00% ntpd
  293 root      85    0  4136K 1504K nanoslp    0:00  0.00%  0.00% cron
  318 root      85    0  4272K 1376K nanoslp    0:00  0.00%  0.00% getty
  313 root      85    0  4272K 1376K nanoslp    0:00  0.00%  0.00% getty
  331 root      85    0  4272K 1376K nanoslp    0:00  0.00%  0.00% getty
  305 root      85    0  4272K 1376K nanoslp    0:00  0.00%  0.00% getty
  303 root      84    0  4340K 1148K kqueue     0:00  0.00%  0.00% inetd
  251 root      84    0  4256K 1036K kqueue     0:00  0.00%  0.00% powerd
  275 root      83    0    11M 2260K select     0:00  0.00%  0.00% sshd
    1 root      83    0  4208K 1372K wait       0:00  0.00%  0.00% init



Home | Main Index | Thread Index | Old Index