zImage.initrd: zvmlinux.initrd bootcode $(SETSUM) ../../../../firminfo.txt ../images/vmlinux.gz -r ../images/ramdisk.image.gz -o ../images/firmimg.bin mv zvmlinux.initrd ../images/$@.sandpoint mv bootcode.bin ../images/bootcode.bin rm ../images/vmlinux.gz rm ./bootcode$B$H$$$&5-=R$,$"$k$3$H$r8+$D$1$?!#(B
$B$D$^$j!"(Bfirmimg.bin $B$O!"(B
[yasunari@ls tmp]$ od -xc fl1 | less 0000000 0000 0001 0000 1001 4b55 524f 2d42 4f58 0$B1_(B 0$B1_(B 0$B1_(B 001 0$B1_(B 0$B1_(B 020 001 K U R O - B O X 0000020 2849 4554 5355 4e41 2900 0000 0000 0000 ( I E T S U N A ) 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0000040 0000 0000 0000 0000 464c 4153 4820 312e 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B F L A S H 1 . 0000060 3100 0000 0000 0000 0000 0000 0000 0000 1 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0000100 0000 0000 0000 0000 0001 0000 0000 6802 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B 001 0$B1_(B 0$B1_(B 0$B1_(B 0$B1_(B h 002 0000120 0910 1e2a 002d a21b 320d 8c9f 0000 006c \t 020 036 * 0$B1_(B - 242 033 2 \r 214 237 0$B1_(B 0$B1_(B 0$B1_(B l 0000140 000a f8b5 000a f921 0022 a8fa 1f8b 0808 0$B1_(B \n 370 265 0$B1_(B \n 371 ! 0$B1_(B " 250 372 037 213 \b \b 0000160 2037 2740 0203 766d 6c69 6e75 7800 ec5c 7 ' @ 002 003 v m l i n u x 0$B1_(B 354 \OK$B!#(B
-rwxr-xr-x 1 yasunari root 653164 Mar 23 20:56 vmlinux.gz*$B$G(B 000a f8b5 (719029) $B$K6a$$!#(B $B$H$$$&$3$H$O!"$3$l$O%+!<%m%k$n%5%$%:$+(b?
linkstationVine# tar ztvf ramdisk.image.gz |less gzip: stdin: decompression OK, trailing garbage ignored tar: $B;R%W%m%;%9$,%9%F!<%?%9(b 2 $B$rJV$7$F$-$^$7$?(B tar: $B=hM}Cf$K%(%i!<$,5/$-$^$7$?$,!":g8e$^$g=hm}$7$f$+$i%(%i!<=*n;$5$;$^$7$?(b$B$"$l(B?$B$@$a(B?
linkstationVine# gunzip ramdisk.image.gz gunzip: ramdisk.image.gz: decompression OK, trailing garbage ignored linkstationVine# file ramdisk.image ramdisk.image: Linux rev 1.0 ext2 filesystem data linkstationVine# mkdir /tmp/ramdisk/ linkstationVine# mount -o loop ramdisk.image /tmp/ramdisk linkstationVine# ls /tmp/ramdisk/ bin dev etc lib lost+found mnt mnt2 proc root sbin tmp usr var www$B$d$C$?$!(B!$B$D$$$K8+$D$1$?$>!"(Bramdisk image!
$B:#F|$O$3$3$^$G!#(B