Kernel 2.6.15 to Flash! The writing of warning 1)Flash is dangerous. Please be determined and carry out, after preparing enough. 2) When the boot-loader have been destroyed, restoration of those other than JTAG cannot be performed. 3) Unless there are a serial console and Mr.tatsuya's boot-loader, cut return cannot be performed in an emergency when the written-in kernel should not boot. This also serves as JTAG correspondence. 4) There is no EM mode in image. It does not become EM mode in root=/dev/ram0 grade. Therefore, when a boot flag is NGNG, it does not boot. 5) No matter what situation may occur, I do not take any responsibility. Please judge by accountability whether it uses. Introductory procedure 0) environmental check and loader.o check boot by loader.o with Kernel 2.6.15.4 boots and it can log in normally stop loader.o booting (rename /boot/vmlinux.bin to other name) 1) creation of the file for return, and transmission original -- mtd0 is kept. cat/dev/mtd0 >firmimg.bin The present firmimg.bin is beforehand changed into srec so that it can return. objcopy-I binary-O srec -- srec-len 120 / dev/mtd0 firmimg.srec Let's transmit to PC by the side of a serial console. 2) Acquisition of a file Let's get firmimg_2.6.15.4.kuroHG.bin from the file here. Do not forget the check of md5sum. 3) Writing! Decisively, let's write in. cat firmimg_2.6.15.4.kuroHG.bin >/dev/mtdblock0 4) write-in check It can still return to normal kuro-box. Let's check enough. Comparison of mtd0 and a file is also important. 5) reboot Let's never reboot mind. When it cut, return 1) If kernel rose and it has login(ed) Saved firmimg.bin is written in flash. And reboot cat firmimg.bin >/dev/mtdblock0 2)When [ -reboot2 kernel does not go up in ] it cannot log in It is a premise that there are a Mr.tatsuya boot loader and a serial console. - Make it stop by the boot loader and put into debug mode. - loads 00c00000 - (it is upload about firmimg.srec currently created) - setimage 00c00000 - setkparam root=/dev/ram - quit Now, it boots in original EM mode. it had saved after login - saved firmimg.bin is written in flash. And reboot - cat firmimg.bin >/dev/fl1 3)When [ -reboot3 kernel does not go up in ] it cannot log in. There is no serial console. Attachment of > serial console The boot loader was not replaced. Let's correct by >JTAG. The boot loader has not bootn. Let's correct by >JTAG. At the last When it has failed, recovery is impossible if the above has not gathered. Be fully careful.