hns - 日記自動生成システム - Version 2.19.9

先月 2012年01月 来月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2012年01月18日(水) 旧暦 [n年日記] [更新:"2012/01/18 23:18:15"]

#1 [NetBSD] evbppc

準備
  131  cd ..
  132  mv src-20120117 src-20120117-patched
  133  cd src-20120117-patched
  135  zcat /e/kurobsd.z.ki.nu/home/ftp
  /pub/testing/evbppc/patch-current/.tmp/20120117.evbppc-current.diff.bz2 | patch -s -p0
build.sh
% time sudo ./build.sh -j 8 -m evbppc release >& ../log/evbppc-20120117
9129.54s 1855.01s 1:01:08.07 299% 0+0k 9441+27757io 150672pf+0w
結果
--- kern-EXPLORA451 ---
/export/src-20120117-patched/sys/arch/evbppc/explora/machdep.c: In function 'cpu_startup':
/export/src-20120117-patched/sys/arch/evbppc/explora/machdep.c:212:19: error: 
'module_machine_ibm4xx' undeclared (first use in this function)
元の src からの差分は次の通り
--- sys/arch/evbppc/include/cpu.h.orig	2011-06-20 15:35:40.000000000 +0900
+++ sys/arch/evbppc/include/cpu.h	2012-01-18 10:32:13.000000000 +0900
@@ -58,9 +58,15 @@
 
 #include <powerpc/cpu.h>
 
-#if defined(_KERNEL)
+#ifdef PPC_OEA
+#ifdef _KERNEL
+extern char *bootpath;
 extern char module_machine_booke[];
+#endif
+#endif
+
+#ifdef _KERNEL
 extern char module_machine_ibm4xx[];
-#endif	/* _KERNEL */
+#endif
 
-#endif	/* _EVBPPC_CPU_H_ */
+#endif	/* _MACHINE_CPU_H_ */
Following is restart with -u, not whole thing. I will do it again.
===> Successful make release
===> build.sh ended:      Wed Jan 18 11:07:22 JST 2012
===> Summary of results:
         build.sh command:    ./build.sh -u -j 8 -m evbppc release
         build.sh started:    Wed Jan 18 10:32:25 JST 2012
         NetBSD version:      5.99.60
         MACHINE:             evbppc
         MACHINE_ARCH:        powerpc
         Build platform:      NetBSD 5.1 amd64
         HOST_SH:             /bin/sh
         TOOLDIR path:        /export/src-20120117-patched/obj/tooldir.NetBSD-5.1-amd64
         DESTDIR path:        /export/src-20120117-patched/obj/destdir.evbppc
         RELEASEDIR path:     /export/src-20120117-patched/obj/releasedir
         Updated makewrapper: /export/src-20120117-patched/obj/tooldir.NetBSD-5.1-amd64/bin/nbmake-evbppc
         Successful make release
         build.sh ended:      Wed Jan 18 11:07:22 JST 2012
===> .
4657.71s 743.11s 34:58.35 257% 0+0k 8709+17285io 22513pf+0w
0.20s 2.62s 34:58.35 0% 0+0k 0+447io 0pf+0w
starting over,
===> build.sh ended:      Wed Jan 18 12:35:13 JST 2012
===> Summary of results:
         build.sh command:    ./build.sh -j 8 -m evbppc release
         build.sh started:    Wed Jan 18 11:09:42 JST 2012
         NetBSD version:      5.99.60
         MACHINE:             evbppc
         MACHINE_ARCH:        powerpc
         Build platform:      NetBSD 5.1 amd64
         HOST_SH:             /bin/sh
         TOOLDIR path:        /export/src-20120117-patched/obj/tooldir.NetBSD-5.1-amd64
         DESTDIR path:        /export/src-20120117-patched/obj/destdir.evbppc
         RELEASEDIR path:     /export/src-20120117-patched/obj/releasedir
         Updated makewrapper: /export/src-20120117-patched/obj/tooldir.NetBSD-5.1-amd64/bin/nbmake-evbppc
         Successful make release
         build.sh ended:      Wed Jan 18 12:35:13 JST 2012
===> .
12016.41s 2276.52s 1:25:36.07 278% 0+0k 18332+36466io 167808pf+0w
0.68s 12.75s 1:25:36.07 0% 0+0k 9+1084io 19pf+0w
In this build.sh, kernel (KUROBOX) won't be compiled, so I did
sudo ./build.sh -j 8 -T /export/src-20120117-patched/obj/tooldir.NetBSD-5.1-amd64
 kernel=KUROBOX
And netbsd.bin built.
I have copied this netbsd.bin onto USB memory stick and booted on TeraStation. Kernel booted fine. The dmesg for 5.99.60.



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)