Re: PegasosII can't boot

KIYOHARA Takashi <[email protected]> Wed, 05 Oct 2011 23:16:23 +0900 (JST)
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
Hi! Frank,


From: KIYOHARA Takashi <[email protected]>
Date: Wed, 28 Sep 2011 01:18:58 +0900 (JST)

> Ooops.  I have just create (and destroy...X-<) DOST_NBR by HDconfig on
> MorphOS 2.7 now.
> I will retry create partition and re-install NetBSD/ofppc at next
> weekend.  X-)

I have complete to install to my PegasosII.
I hope to FAT support.  I will commit next weekend.  ;-)

Thanks,
--
kiyohara
ofppc-fat-support.diff (text/plain, 717 B)
Index: disksubr.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ofppc/ofppc/disksubr.c,v
retrieving revision 1.23
diff -u -r1.23 disksubr.c
--- disksubr.c	18 Aug 2011 08:55:43 -0000	1.23
+++ disksubr.c	5 Oct 2011 14:10:35 -0000
@@ -448,6 +448,7 @@
 		case ADT_AMIX:
 		case ADT_EXT2:
 		case ADT_RAID:
+		case ADT_MSD:
 		case ADT_UNKNOWN:
 			pp = &lp->d_partitions[lp->d_npartitions];
 			break;
@@ -648,6 +649,10 @@
 		adt.archtype = ADT_RAID;
 		adt.fstype = FS_RAID;
 		return adt;
+	case DOST_MSD:
+		adt.archtype = ADT_MSD;
+		adt.fstype = FS_MSDOS;
+		return adt;
 	default:
 #ifdef DIAGNOSTIC
 		printf("warning unknown dostype: 0x%lx marking unused\n",