Subject: PR/18026 CVS commit: src/sys/arch/arm/footbridge
To: None <port-cats-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Chris Gilbert <chris@netbsd.org>
List: netbsd-bugs
Date: 12/14/2007 11:10:08
The following reply was made to PR port-cats/18026; it has been noted by GNATS.

From: Chris Gilbert <chris@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/18026 CVS commit: src/sys/arch/arm/footbridge
Date: Fri, 14 Dec 2007 11:08:04 +0000 (UTC)

 Module Name:	src
 Committed By:	chris
 Date:		Fri Dec 14 11:08:04 UTC 2007
 
 Modified Files:
 	src/sys/arch/arm/footbridge: dc21285reg.h footbridge.c footbridge_pci.c
 
 Log Message:
 Fix for PR cats/18026.
 
 cats was never able to dump a kernel core dump because reading from
 VGA addresses (0xb8000) was causing the system to hang.
 
 To workaround this reprogram the footbridge to map the memory to appear on
 the PCI bus at 0x20000000, rather than at 0x0.  Also configure the pci bus
 to have a DMA range so that data is mapped correctly.
 
 Note that -current kernels seem to hang when unmounting the fs.  This
 is a seperate issue, and appears to be because interrupts need to be
 enabled to unmount filesystems.
 
 So using reboot 0x104 does work, as it does a sync without unmounting the
 filesystems.
 
 Also arm savecore doesn't do anything with the memroy dump, as on arm we
 currently just dump the raw memory, there's no header block to indicate
 memory sizes or other useful information.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 src/sys/arch/arm/footbridge/dc21285reg.h
 cvs rdiff -r1.17 -r1.18 src/sys/arch/arm/footbridge/footbridge.c
 cvs rdiff -r1.13 -r1.14 src/sys/arch/arm/footbridge/footbridge_pci.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.