イメージが作れない
--- GENERIC 2008-08-11 00:31:22.000000000 +0900 +++ C700 2009-11-01 13:31:50.000000000 +0900 @@ -27,8 +27,8 @@ # CPU options # For XScale systems -#options CPU_XSCALE_PXA250 # Support the XScale PXA25x core -options CPU_XSCALE_PXA270 # Support the XScale PXA27x core +options CPU_XSCALE_PXA250 # Support the XScale PXA25x core +#options CPU_XSCALE_PXA270 # Support the XScale PXA27x core makeoptions CPUFLAGS="-mcpu=xscale" # Architecture options
なんとなくNetBSD-5.0.1のソースで上のようにPXA270からPXA250に変更し、コンパイルしてみたところ普通にカーネルが作成できた。
まぁできてしまったものは仕方ないので、「NetBSD Documentation: Porting NetBSD to a new ARM SoC」を斜め読みしつつmakefsでイメージを作成し、mdsetimageでくっつけ……ようとしたのだが、
$ /common/netbsd5-zaurus/usr/tools-zaurus/bin/arm--netbsdelf-mdsetimage -s -v netbsd /common/netbsd5-zaurus/binary/rootfs_ramdisk.img arm--netbsdelf-mdsetimage: could not find symbols in netbsd
と怒られた。なんぞこれ。