Re: Is OpenPIC mandatory for an ofppc-machine?
Maxim Bourmistrov <[email protected]> Fri, 5 Sep 2014 22:06:38 +0200
| Newsgroups | gmane.os.netbsd.ports.ofppc |
|---|---|
| Message-ID | <[email protected]> |
if(ukrop) {
while(1) {
punch();
if(!ukrop)
break;
}
}
On 5 sep 2014, at 22:01, Artyom Tarasenko <[email protected]> wrote:
> Hi,
>=20
> experimenting with Open Firmware for QEMU PReP target.
>=20
> The kernel starts loading, but hangs at (I guess OpenPIC) =
initialization:
>=20
> ok boot cdrom:,\NBSD\OFWBOOT
> Boot device: /pci/ide/disk@2,0:,\NBSD\OFWBOOT Arguments:
>=20
>>> NetBSD/ofppc OpenFirmware Boot, Revision 1.10
>>> ([email protected], Sat Nov 6 17:13:39 UTC 2010)
> open /netbsd.ofppc: Device not configured
> open /netbsd: Device not configured
> open /netbsd.gz: Device not configured
> open onetbsd: Device not configured
> Boot: disk1
> 9760152+174104 [260608+254888]=3D0x9f774c
> start=3D0x100000
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, =
2005,
> 2006, 2007, 2008, 2009, 2010, 2011, 2012
> The NetBSD Foundation, Inc. All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
>=20
> NetBSD 6.1.3 (INSTALL)
> Model: QEMU PReP
> total memory =3D 128 MB
> avail memory =3D 113 MB
> bootpath: disk1/netbsd
> mainbus0 (root)
> cpu0 at mainbus0: 603 (Revision 1.0), ID 0 (primary)
> cpu0: HID0 0x90c002<DOZE,DPM,ICE,DCE,NOPDST>, powersave: 1
> cpu0: L1 I-cache 8 KB 0B/line, D-cache 8 KB 0B/line
> ofwpci0 at mainbus0
>=20
> And here it hangs. Saw in some boot logs openpic initialization here.
> QEMU uses an i8259, can this be the reason?
>=20
> --=20
> Regards,
> Artyom Tarasenko
>=20
> SPARC and PPC PReP under qemu blog: =
http://tyom.blogspot.com/search/label/qemu