��と、言っても震度1~2ぐらいだけど。
九大の九州の地震活動(自動更新)
によると、警固断層付近ではそれほど大きな地震は起きていないらしい。
尚、OpenBlockSも使えるOpenBlockS266 でWINを動かそう!という地震観測システムのページも発見した。
久々のOBSネタだな。









http://genbako.vodapone.com/からkurobox-sources-2.6.18.patchを頂いて、linux-2.6.18.5にパッチをあててmake uImageを行った。
mkimageが無いと怒られたけど、http://www.kurobox.com/sylver/u-boot/mkimageを頂いた。
その後make uImageがうまくいったときの、スクリーンログは以下のような感じ。
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/ppc/boot/images/vmlinux.bin
GZIP arch/ppc/boot/images/vmlinux.gz
UIMAGE arch/ppc/boot/images/uImage
Image Name: Linux-2.6.18.5-kuroboxHG
Created: Sun Dec 17 20:55:46 2006
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1293562 Bytes = 1263.24 kB = 1.23 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Image: arch/ppc/boot/images/uImage is ready
まだ、リブートさせてない。
カーネルの2.6化もうまくいったので、LinkStationのHDD(SAMSUNGの160GB)を以前から持っていた日立の160GBに入れ替えた。
LinkStationにUSB外箱を繋いで、まるごとコピーした。
リブート時のu-bootのメッセージでも、下記のように確認できる。
U-Boot 1.1.4 LiSt 2.1.0 (Sep 21 2006 - 00:14:53) LinkStation HG / KuroBox HG
stdin : nc
stdout: nc
stderr: nc
IDE: Bus 0: OK
Device 0: Model: HDT722516DLAT80 Firm: V43OA70A Ser#: VD271ATCC5B13A
Type: Hard Disk
Supports 48-bit addressing
Capacity: 157066.8 MB = 153.3 GB (321672960 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/vmlinux.UBoot
1296431 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.18-kuroboxHG
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1296367 Bytes = 1.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
なんちゃってdebian化していたHD-HGLAN160にU-Boot for the LinkStationをいれてみた。
バイナリはhttp://genbako.vodapone.com/u-boot_loader/配下にあったu-boot-hg.flash.binを使わせて頂いた。
内蔵Flashメモリへの書き込み方法は
# cat u-boot-hg.flash.bin >/dev/fl2
また、u-boot用のカーネルイメージ群http://genbako.vodapone.com/uImage/の中からkernelimage-2.6.18-kuroHG-uImage.tgzとカーネルモジュールmodules-2.6.18-kuroHG.tgzをインストール。
カーネルは/boot配下でtgzを展開し、出来てきたuImageと言うファイルをvmlinux.UBootにコピー(mvでもlnでもOKだけど)。
http://genbako.vodapone.com/u-boot_loader/readme.txtに書いているようにnetconsoleでrebootさせながら
$ nc -v -v -n -u -s 192.168.11.149 -p 6666 192.168.11.150 6666
U-Boot 1.1.4 LiSt 2.1.0 (Sep 21 2006 - 00:14:53) LinkStation HG / KuroBox HG
stdin : nc
stdout: nc
stderr: nc
IDE: Bus 0: OK
Device 0: Model: SAMSUNG SV1604N Firm: SD100-26 Ser#: 0624J1FX102310
Type: Hard Disk
Supports 48-bit addressing
Capacity: 152627.8 MB = 149.0 GB (312581808 x 512)
Boot in 01 seconds ('s' to stop)...
Loading 0:1:boot/vmlinux.UBoot
1296431 bytes read
## Booting image at 00800000 ...
Image Name: Linux-2.6.18-kuroboxHG
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1296367 Bytes = 1.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
ちなみに、http://genbako.vodapone.com/u-boot_loader/readme.txtには誤記がある。
Set PC's ip address to 192.168.2.149
unameでも
# uname -a
Linux hglan160 2.6.18-kuroboxHG #1 Wed Sep 20 23:00:10 JST 2006 ppc GNU/Linux
但し、lsmodを実行すると、QM_MODULES: Function not implemented.って怒られたので、
# apt-get module-init-tools
追記:
U-Boot for the LinkStationはかなり優れもので、/boot/vmlinux.UBootがおかしい形式だと、
Loading 0:1:boot/vmlinux.UBoot
2822277 bytes read
## Booting image at 00800000 ...
Not a Linkstation kernel
## Booting image at ffc00000 ...
******* Product Information *******
----------------------------------
Product Name: HD-HGLAN(IEMITSU)
VER: 1.08
Date: 2005/2/25 17:44:21
----------------------------------
Verifying checksum... OK
Uncompressing kernel...done.
Loading Ramdisk at 0x07C7A000, end 0x07E6E4F9 ... OK
Booting the kernel