Port-sandpoint archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
KURO-BOX/T4 booted and sysinst went fine.
I've got KURO-BOX/T4, which is U-boot-in-flash-ROM-already
version of the TS-TGL, and found console was already out
without pushing red button at power on.
I have some modifications to the src, to have
atactl
raidctl
wd{2,3}*
raid{0,1,2}
are in the MD kernel (Attached).
I have tftp booted, with the u-boot command
bootp; tftp 1000000 altboot.bin; g 1000000 tftp:netbsd
and have raid setup (manually) before sysinst run. Then
installed the whole thing with sysinst onto raid partition.
The multi-user mode boots fine with
bootp; tftp 1000000 altboot.bin; g 1000000 wd0a:netbsd
(Suprizingly enough, wd0a is not a root file system, but
just a boot partition include only /netbsd, but it
finds correct (to me) root file system on raid1a.)
The next issue is boot from hd. I have small Linux Ext2
partition in second (but f:) partition on wd0. and
placed altboot.bin in it.
(wd0)
---------------
# size offset fstype [fsize bsize cpg/sgs]
a: 512064 512127 4.2BSD 1024 8192 0 # (Cyl. 508*- 1016*)
c: 488397168 0 unused 0 0 # (Cyl. 0 - 484520)
d: 12288528 1024191 RAID # (Cyl. 1016*- 13207*)
e: 475084449 13312719 RAID # (Cyl. 13207*- 484520)
f: 512064 63 Linux Ext2 0 0 # (Cyl. 0*- 508*)
---------------
The u-boot command is
setenv bootcmd1
'sata part; ext2load sata 0:1 1000000 altboot.bin; g 1000000 wd0a:netbsd'
The first 'sata part;' is the magic word to assure some timing
for ext2load to find sata partition.
Now everything fine. Thanks the folks here, for fantastic jobs.
Really appreciate.
My misc memo in Japanese (sorry) is in my diary (of three days) at
http://www.ki.nu/~makoto/diary/2012/04/07/
Index: distrib/sandpoint/ramdisk/Makefile
===================================================================
RCS file: /cvs/cvsroot/src/distrib/sandpoint/ramdisk/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- distrib/sandpoint/ramdisk/Makefile 13 May 2011 19:14:17 -0000 1.8
+++ distrib/sandpoint/ramdisk/Makefile 8 Apr 2012 12:06:44 -0000
@@ -15,7 +15,7 @@
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= be
-MAKEDEVTARGETS= std md0 wd0 wd1 sd0 cd0 pty0 satmgr
+MAKEDEVTARGETS= std md0 wd0 wd1 wd2 wd3 sd0 cd0 pty0 satmgr raid0 raid1
raid2
IMAGEDEPENDS= ${CRUNCHBIN} \
dot.profile \
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
Index: distrib/sandpoint/ramdisk/list
===================================================================
RCS file: /cvs/cvsroot/src/distrib/sandpoint/ramdisk/list,v
retrieving revision 1.10
diff -u -r1.10 list
--- distrib/sandpoint/ramdisk/list 14 Jan 2011 10:26:35 -0000 1.10
+++ distrib/sandpoint/ramdisk/list 8 Apr 2012 12:06:45 -0000
@@ -22,6 +22,7 @@
PROG bin/stty
PROG bin/sync
+PROG sbin/atactl
PROG sbin/chown bin/chgrp
PROG sbin/disklabel
PROG sbin/dmesg
@@ -37,6 +38,7 @@
PROG sbin/mount_nfs
PROG sbin/newfs sbin/mount_mfs
PROG sbin/ping
+PROG sbin/raidctl
PROG sbin/reboot sbin/halt
PROG sbin/restore sbin/rrestore
PROG sbin/route
---
Makoto Fujiwara,
Chiba, Japan, Narita Airport and Disneyland prefecture.
Home |
Main Index |
Thread Index |
Old Index