Subject: sparc64 and LFS success
To: None <port-sparc64@netbsd.org>
From: Zafer Aydogan <zafer@aydogan.de>
List: port-sparc64
Date: 06/03/2007 13:54:19
hello list,

some of you might know that LFS works fine with sparc64.
I've been successfully working with LFS on a root partition on i386,
an i've tried to do the same on sparc64.

Whereas i386 can really boot from LFS (bootstrap code), i've did some
tricks to get it working on sparc64.

I've created a small ffsv1 partition where the netbsd kernel and ofwboot relies
and a big LFS partition. Then I compiled a custom kernel that dumps
root on the LFS partition.
This works fine.

$ uname -a
NetBSD sparc64.aydogan.net 4.99.20 NetBSD 4.99.20 (ZASPARC) #2: Fri
Jun  1 00:38:25 CEST 2007
zafer@h980372:/home/zafer/netbsd/usr/src/sys/arch/sparc64/compile/obj/ZASPARC
sparc64

$ mount
/dev/wd0d on / type lfs (local)
ptyfs on /dev/pts type ptyfs (local)
tmpfs on /tmp type tmpfs (local)

Regards,
Zafer Aydogan.