编译完内核并加载文件系统后出现以下信息,原以为是内核未设置好,最后发现是nand flash的坏块问题引起的。
Error -3 while decompressing!
c02321b4(757461136)->c3c79000(4096)
end_request: I/O error, dev mtdblock3, sector 912
Buffer I/O error on device mtdblock3, logical block 114
end_request: I/O error, dev mtdblock3, sector 912
Buffer I/O error on device mtdblock3, logical block 114
end_request: I/O error, dev mtdblock3, sector 920
Buffer I/O error on device mtdblock3, logical block 115
end_request: I/O error, dev mtdblock3, sector 920
Buffer I/O error on device mtdblock3, logical block 115
end_request: I/O error, dev mtdblock3, sector 912
Buffer I/O error on device mtdblock3, logical block 114
end_request: I/O error, dev mtdblock3, sector 920
Buffer I/O error on device mtdblock3, logical block 115
Error -3 while decompressing!
c02321e0(-468904)->c3c8e000(4096)
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
解决方法vivi参数: param set linux_cmd_line "...root=/dev/mtdblock/3 ..."
改为:param set linux_cmd_line "...root=/dev/mtdblock/4 .."即将文件系统从新挂载在新的分区。
另外,用ifconfig设置Mac地址命令:ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx