Subject: Re: evbppc reserved-tlb cleanup
To: None <freza@dspfpga.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-powerpc
Date: 09/24/2006 23:28:58
freza@dspfpga.com wrote:

> Yes, ppc4xx_tlb_reserve() does the same. This however happened only
> in COM_IS_CONSOLE case. From the panic() message I assume tsutsui@
> is testing the other case?

The panic() happened on sources without your first patch.

> > 	ppc4xx_tlb_reserve(BASE_ISA, BASE_ISA, TLB_PG_SIZE, TLB_I | TLB_G);
> > #ifndef COM_IS_CONSOLE
> > 	ppc4xx_tlb_reserve(BASE_FB,  BASE_FB,  TLB_PG_SIZE, TLB_I | TLB_G);
> > 	ppc4xx_tlb_reserve(BASE_FB2, BASE_FB2, TLB_PG_SIZE, TLB_I | TLB_G);
> > #endif
> 
> Agreed, I'll make it so (if my second explora patch works).

This (with reserved-tlb cleanup) works fine. Thanks.
---
Izumi Tsutsui

---

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 4.99.2 (EXPLORA451) #2: Sun Sep 24 23:15:18 JST 2006
	tsutsui@mirage:/usr/src/sys/arch/evbppc/compile/EXPLORA451
NCD Explora451
total memory = 40960 KB
avail memory = 36912 KB
elb0 (root)
cpu0 at elb0: 66MHz 403 (PVR 0x201400)
cpu0: Instruction cache size 16384 line size 16
cpu0: Data cache size 8192 line size 16
pckbc0 at elb0 irq 31
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pmsprobe: reset error 5
com0 at elb0 irq 30: ns16550a, working fifo
lpt0 at elb0
fb0 at elb0: 64 x 160
wsdisplay0 at fb0 kbdmux 1: console (std, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
le0 at elb0 irq 28
le0: address 00:00:a7:03:26:c9
le0: 8 receive buffers, 2 transmit buffers
biomask 1c00 netmask 1c08 ttymask 1c08
Setting PIT to 66000000/100 = 660000
root on le0
mountroot: trying lfs...
mountroot: trying ffs...
mountroot: trying ext2fs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.20.17
nfs_boot: my_domain=private
nfs_boot: my_addr=192.168.20.26
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.20.17
root on eclipse:/export/NetBSD/evbppc/root
root time: 0x451693f8
root file system type: nfs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init: copying out path `/sbin/init' 11

---