2014年12月25日 星期四

Add some file into /conf

1. Copy the files into "source/sys_defaultcfg-1.0.0-src/data/defaults/etc/defconfig"

or

2. Copy the files into source/sys_base-2.159.0-src/data/defaults/etc/defconfig/

[Linux]mount the jffs2 image.

modprobe jffs2;modprobe mtdram;modprobe mtdchar;modprobe mtdblock

dd if=conf.bin of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 /media