[yasunari@tp310 kurobako]$ ./setsum firminfo.txt vmlinux.gz -o kernimg.bin Firm information struct size = 108 2 read config file:firminfo.txt set date:2004/6/12 1:0:8 read Kernel file:vmlinux.gz(838590 bytes) Firmware ID :00001001 Name:KURO-BOX(take) ver 1.00 Date:2004/7/12 1:0:8 kernel_offset:0000006C (838590bytes) initrd_offset:00000000 (0bytes) total size: 838698bytes check sum = F7D817E2 4 Done.. [yasunari@tp310 kurobako]$ ls -l kernimg.bin -rw-r--r-- 1 yasunari yamasita 838698 Jul 12 01:00 kernimg.bin
[root@hackkit /root]# dd if=/dev/fl1 of=firmimg.bin.2M bs=2048k count=1kernimg.bin をくっつけて、fl1 に書く
[root@hackkit /root]# cat firmimg.bin.2M kernimg.bin > /dev/fl1 [root@hackkit /root]# cmp firmimg.bin /dev/fl1 cmp: ファイルfirmimg.binの末尾 [root@hackkit /root]# cmp firmimg.bin.2M /dev/fl1 cmp: ファイルfirmimg.bin.2Mの末尾 [root@hackkit /root]#準備完了。
******* Product Information ******* ---------------------------------- Product Name: KURO-BOX(maru) VER: 1.00 Date: 2004/7/10 15:6:33 ---------------------------------- Firmware check:done. >>root=/dev/hda1 Now Loading...done. Now Booting Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb Linux version 2.4.17_kuro-box (root@toda_dev.melcoinc.co.jp) (gcc version 2.95.3 20010315 (release/MontaVista)) #4 2004年 4月 16日 金曜日 11:45:05 JST KURO-BOX (C) 2004 KUROUTO-SHIKOU. : :OK。
******* Product Information ******* ---------------------------------- Product Name: KURO-BOX(maru) VER: 1.00 Date: 2004/7/10 15:6:33 ---------------------------------- Firmware check:done. >>root=/dev/hda12 second kernel ******* Product Information ******* ---------------------------------- Product Name: KURO-BOX(take) VER: 1.00 Date: 2004/7/12 1:0:8 ---------------------------------- Firmware check:Warning:invalid data size done. >>root=/dev/hda1 Now Loading...done. Now Booting Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb Linux version 2.4.17_mvl21-sandpoint (root@toda_dev.melcoinc.co.jp) (gcc version 2.95.3 20010315 (release/MontaVista)) #990 2004年 5月 21日 金曜日 13:39:00 JST BUFFALO Network Attached Storage Series 2002-2004 BUFFALO INC. : :やったぁ。
← | ハックの記録 | → FLASH ROM 異常 |