Hi Nikolaus,

I have modified minifs recovery to get it work in kernel 2.6.
Modifications:
- add /dev/ tty4,5,6,7 
- add mknod /dev/mmcblk0p1 b 179 1
- change inittab recovery to start in tty1, and console on any key in tty3
- change /wkw_sh/find_img.sh mount -t vfat /dev/sda1 and mount -t vfat 
/dev/mmcblk0p1 
- removed /lib/modules

Herewith the tar.
http://www.divshare.com/download/12411231-964 [3MB]

For correct mounting /dev/mtdblock3 as jffs2 see below mod. Add it in 
do_mounts.c

if (strncmp(saved_root_name, "/dev/mtdblock3", 14) == 0)
fs_names_setup ("jffs2");
else
;

Problem in my case is that my /dev/mtdblock3 is 1664 bytes, because nandblocks 
are damaged.
The minifs busybox is already 2.7MB, this doesn't fit anymore.
For debug I have extracted the minifs.tar to /dev/mtdblock5 and startup with F5 
for recovery.
Better would be to reduce the busybox (by recompile a limited source) to 1MB if 
this is possible. 

Grt Ruben.
                                          
_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to