/init: /r/dev/console not found

Anton
Hi, everyone!
I'm trying to get mini6410 work. Unfortunately, when I load kernel and
rootfs to NAND and reset it, kernel loads successfull, but says that /init:
/r/dev/console not found. I've tested plenty of kernels and filesystems,
but have the sane result. I don't understand where it found init, if it
can't mount filesystem? Could anyone help me, please?
Thanks!

open-nandra
Init process search for /dev/console. It's a part of kernel not init
program. Check if you have correct kernel root parameter.

Anton
Thanks for reply so much! I passed console=ttySAC0,115200 to the kernel as
explained in manual. If I try ttyS0,115200 there doesn't appear any
messages from kernel. So, I think console=ttySAC0,115200 is write, isn't
it?
Thanks!

open-nandra
Yes ttySAC0 is correct. Anyway if you get an error it continue boot or it
hangs? COuld you post some last lines of log?

Anton
Shure!
Last lines of log before Kernel panic:
...
yaffs_read_super: isCheckpointed 0
/init: line 81: can't open /r/dev/console: no such file
Kernel panic - not syncing: Attempted to kill init!

P.S.
I loaded kernel at 0x80000, rootfs at 580000 addresses.
my bootargs line is: root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc
console=ttySAC0,115200

Maybe it's related to MTD params?

open-nandra
Maybe it's not related co console. Try to add to parameters:  user_debug=31
and post a log please.

Anton
I've added user_debug=31 as You suggested. Unfortunatelly, log is the same
as it was earlier. Nothing is changed. I've being using zImage_v70 kernel
from mini6410 dvd. Maybe, it wasn't compiled with debug mode?

open-nandra
Well maybe not. Have similar problems and this shows that init process was
compiled with wrong compiler. Anyway you need to compile kernel with debug.

Anton
Thank's for help!

Anton
I thought, I load kernel and rootfs to NAND incorrect using u-boot. I do
this without counting aligned size, just "write.i offset addr
count_of_bytes". If it's so, could You give me short explanation of doing
that, please?
Thanks!

open-nandra
Follow:http://sites.google.com/site/belina76/android-booting

Anton
I found the solving of my problem. 
All mistakes caused that I flashed rootfs just by 'write' command, instead
'write.jffs'. Thats why kernel couldn't recognize filesystem geometry. 
Now all works fine.
Thanks for help so much!