イメージが作れない→作れた
usr.sbin/mdsetimage/mdsetimage.cのソースを適当に読んでみて、「カーネルオプションがなんか足りていない故にシンボルが未登録になっている?」と推測。んでi386のGENERICや「NetBSD Documentation: Porting NetBSD to a new ARM SoC」をまたチェックしてみたところ、
options MEMORY_DISK_HOOKS # boottime setup of ramdisk options MEMORY_DISK_ROOT_SIZE=10000 # Size in 512-byte blocks options MEMORY_DISK_IS_ROOT # use memory disk as root options MEMORY_DISK_SERVER=1 # make the ramdisk writeable
と何やら怪しげな項目が。
早速こいつらをコピペしてカーネルを再ビルドし、再びmbsetimage。
$ /common/netbsd5-zaurus/usr/tools-zaurus/bin/arm--netbsdelf-mdsetimage -v -s netbsd /common/netbsd5-zaurus/binary/rootfs_ramdisk.img got symbols from netbsd mapped netbsd arm--netbsdelf-mdsetimage: fs image (5242880 bytes) too big for buffer (5120000 bytes)
あら、シンボルは無事見つかったがファイルが溢れた。深く考えずにキリの良いところで5,120KiB(=5,120×1,024=5,242,880byte)で作成したんだった。というわけで、さっくりと5,120kBで再構築してGo。
$ makefs -s 5000k rootfs_ramdisk.img ramdisk Calculated size of `rootfs_ramdisk.img': 5120000 bytes, 113 inodes Extent size set to 8192 rootfs_ramdisk.img: 4.9MB (10000 sectors) block size 8192, fragment size 1024 using 1 cylinder groups of 4.88MB, 625 blks, 128 inodes. super-block backups (for fsck -b #) at: 32, Populating `rootfs_ramdisk.img' Image `rootfs_ramdisk.img' complete
$ /common/netbsd5-zaurus/usr/tools-zaurus/bin/arm--netbsdelf-mdsetimage -v -s netbsd /common/netbsd5-zaurus/binary/rootfs_ramdisk.img got symbols from netbsd mapped netbsd copying image /common/netbsd5-zaurus/binary/rootfs_ramdisk.img into netbsd done copying image setting md_root_size to 5120000 exiting
おーけい。
しかしここまでやっておいて何だが、w100ドライバが存在しないためもし起動したとしても画面は一切表示されないというオチ。