contents
  1. 準備
    1. ツールの作成
    2. MERAKI kernelの作成

NetBSD/foneraを動かそう

  • 2015/07/24

NetBSD/evbmips-eb参考に作業する。

準備

ツールの作成

mutoubushinokonpyuta [ hobby/NetBSD/src ] % ./build.sh -U -m evbmips-eb tools
  (snip)
===> Tools built to /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
===> build.sh ended:      Thu Jul 23 16:22:52 JST 2015
===> Summary of results:
         build.sh command:    ./build.sh -U -m evbmips-eb tools
         build.sh started:    Thu Jul 23 16:03:35 JST 2015
         NetBSD version:      6.1_STABLE
         MACHINE:             evbmips
         MACHINE_ARCH:        mipseb
         Build platform:      Darwin 14.4.0 x86_64
         HOST_SH:             /bin/sh
         TOOLDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
         DESTDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/destdir.evbmips
         RELEASEDIR path:     /Users/mutoh/hobby/NetBSD/src/obj/releasedir
         Updated makewrapper: /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/nbmake-evbmips-eb
         Tools built to /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
         build.sh ended:      Thu Jul 23 16:22:52 JST 2015
===> .

MERAKI kernelの作成

mutoubushinokonpyuta [ hobby/NetBSD/src ] % ./build.sh -U -m evbmips-eb kernel=MERAKI
===> build.sh command:    ./build.sh -U -m evbmips-eb kernel=MERAKI
===> build.sh started:    Fri Jul 24 13:21:05 JST 2015
===> NetBSD version:      6.1_STABLE
===> MACHINE:             evbmips
===> MACHINE_ARCH:        mipseb
===> Build platform:      Darwin 14.4.0 x86_64
===> HOST_SH:             /bin/sh
===> TOOLDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64
===> DESTDIR path:        /Users/mutoh/hobby/NetBSD/src/obj/destdir.evbmips
===> RELEASEDIR path:     /Users/mutoh/hobby/NetBSD/src/obj/releasedir
===> Updated makewrapper: /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/nbmake-evbmips-eb
  (snip)
/Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-d-ld -Map netbsd.map --cref -T /Users/mutoh/hobby/NetBSD/src/sys/arch/mips/conf/enlh-lrysNyi//msU-LECNIDOLc/--eukern.ldscript -Ttext 0x80041000 -e start -G 0 -X -o netbsd ${SYSTEM_OBJ} ${EXTRAB l_OBJ} vers.o
NetBSD 6.1_STABLE (MERAKI) #0: Fri Jul 24 13:23:54 JST 2015
   text    data     bss     dec     hex filename
2330772  430800   95856 2857428  2b99d4 netbsd

mv -f netbsd netbsd.gdb
/Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-d-strip -g -X -o netbsd netbsd.gdb
/Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-d-dbsym netbsd.gdb
mipseb--netbsd-dbsym: symbol table (364756 bytes) too big for buffer (360000 byteses)
Increase options SYMTAB_SPACE in your kernel config

*** Failed target:  netbsd
*** Failed command: /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/64/bin/nbsed '/const char sccs/!d;s/.*@(.)//;s/\\.*//' vers.c; /Users/mutoh/hobb/eBy/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-size netbsd; chd5nbin/nbmod 755 netbsd; echo ; echo mv -f netbsd netbsd.gdb; mv -f netbsd netbsd.gdb; ec/ruDscojtsed '/ho /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--ne-p-b;c eoodrDricotbsd-strip -g -X -o netbsd netbsd.gdb; /Users/mutoh/hobby/NetBSD/src/obj/tooldiri46/beDcjvfesnb-4nst char .Darwin-14.4.0-x86_64/bin/mipseb--netbsd-strip -g -X -o netbsd netbsd.gdb ; if g#.B stg/sorr-4x.b40x66/i/isccs/!rep '^#define.*SYMTAB_SPACE' opt_ksyms.h > /dev/null; then echo "/Users/mutoh/hoBodises--obe/oo6im-nb tdd sb-ebdbby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-dbsym netbsd.she's>nhobtdf frwibedr-X bh/e/t/gdb"; /Users/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb-bdri0/sbmrh//jiS_4-6nsndi nsd/ru-netbsd-dbsym netbsd.gdb || (rm -f netbsd ; exit 1) || exit 1; fi ; if grep '^#dTo /dnxn-.Uty//i.'kheln roobe.;gefine.*SYMTAB_SPACE' opt_ksyms.h > /dev/null; then echo "/Users/mutoh/hobby/NetBti6s1 fdMbs ex .16m--ngUubbBctriSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-dbsym netbsd"; /Users/brlouNo.'s/ns/fr8n--eb stB/oa48/mutoh/hobby/NetBSD/src/obj/tooldir.Darwin-14.4.0-x86_64/bin/mipseb--netbsd-dbsyr isd"tt/4b-y oBjfT'met mbefgdSPm netbsd || (rm -f netbsd ; exit 1) || exit 1; fi 
*** Error code 1

Stop.
nbmake: stopped in /Users/mutoh/hobby/NetBSD/src/sys/arch/evbmips/compile/obj/MERAKRAKI

ERROR: Failed to make all in "/Users/mutoh/hobby/NetBSD/src/sys/arch/evbmips/compile/obj/MERAKIpile/obj/MERAKI"
*** BUILD ABORTED ***
Last modified: 2015-07-24
Post-it: New Post-it (help)

Text color: [_][_][_][_]

Background: [_][_][_][_][_][_]

Draw Line:

x: y: