入口
    OF 1/2 の場合
    OF 3 の場合
      設置後すぐ
      CDROM 無で
    Mac OS の場合
    その他
  NetBSD
  Booting Media
Primary
  bootxx
Secondary
  xcf/elf
    release(7)
    /usr/mdec
ofwboot
  Locore.c
  boot.c
    main()
    boot-file
    chain()
    OF_chain()
kernel(1)
  locore.S
  machdep.c
    initppc()
kernel(2)
  init_main.c
    main()
その他
  installboot
    旧版
    新版
    実例
  DEFAULT CATCH
GENERIC_MD
  mdsetimage

NetBSD/macppc booting

mdsetimage

GENERIC_MD は ramdisk 付のカーネルである。 設置する時、sysinst を実行する時に動く。 sysinst は GENERIC_MD 等から起動される。

その GENERIC_MD を作るために必要な mdsetimage(8) が実行される時の様子を ./build.sh の記録から採録して見た。

all ===> macppc/floppies/md-kernel
mdsetimage: /ex2/current/src/obj/sys/arch/macppc/compile/INSTALL/netbsd
      with: /ex2/current/src/distrib/macppc/floppies/ramdisk/obj/ramdisk.fs
      into: netbsd.INSTALL
/ex2/current/src/tools/obj/tools.NetBSD-1.6A-powerpc/bin/powerpc--netbsd-mdsetimage -v netbsd.INSTALL /ex2/current/src/distrib/macppc/floppies/ramdisk/obj/r
amdisk.fs
got symbols from netbsd.INSTALL
mapped netbsd.INSTALL
copying image from /ex2/current/src/distrib/macppc/floppies/ramdisk/obj/ramdisk.fs into netbsd.INSTALL
done copying image
exiting
/ex2/current/src/tools/obj/tools.NetBSD-1.6A-powerpc/bin/powerpc--netbsd-nm netbsd.INSTALL | gzip -9 > netbsd.INSTALL.symbols.gz
/ex2/current/src/tools/obj/tools.NetBSD-1.6A-powerpc/bin/powerpc--netbsd-strip netbsd.INSTALL
rm -f netbsd.INSTALL.gz
gzip -9c netbsd.INSTALL > netbsd.INSTALL.gz
mdsetimage: /ex2/current/src/obj/sys/arch/macppc/compile/GENERIC_MD/netbsd
      with: /ex2/current/src/distrib/macppc/floppies/ramdisk/obj/ramdisk.fs
      into: netbsd.GENERIC_MD
/ex2/current/src/tools/obj/tools.NetBSD-1.6A-powerpc/bin/powerpc--netbsd-mdsetimage -v netbsd.GENERIC_MD /ex2/current/src/distrib/macppc/floppies/ramdisk/ob
j/ramdisk.fs
got symbols from netbsd.GENERIC_MD
mapped netbsd.GENERIC_MD
copying image from /ex2/current/src/distrib/macppc/floppies/ramdisk/obj/ramdisk.fs into netbsd.GENERIC_MD
done copying image
exiting
/ex2/current/src/tools/obj/tools.NetBSD-1.6A-powerpc/bin/powerpc--netbsd-nm netbsd.GENERIC_MD | gzip -9 > netbsd.GENERIC_MD.symbols.gz
/ex2/current/src/tools/obj/tools.NetBSD-1.6A-powerpc/bin/powerpc--netbsd-strip netbsd.GENERIC_MD
rm -f netbsd.GENERIC_MD.gz
gzip -9c netbsd.GENERIC_MD > netbsd.GENERIC_MD.gz
Last Update: Sat, 04 May 2019 00:45:20 GMT 1.66 2008/03/08