Ha - it works!
It was indeed a typo. And, I have reverted the change of
root_device_name in do_mounts.c because that appeared to be a
duplicate when the boot args are overwritten.
On ext3 I have tried a debian etch rootfs and I can login! Great!
Now I have to find out how to connect ethernet/wlan to install more
packages and get Debian to run a Xserver...
And, of course - upgrade to a Debian Lenny rootfs first.
BR,
Nikolaus
Am 24.04.2010 um 15:54 schrieb Ruben Viets:
Hi Nikolaus,
I remember had the same issue.
Therefore I modified the boot part in init/do_mount.c to root=/dev/
mmcblk0p2
Four other suggestions if this doesn't work:
1) Make sure you have a working linux distro for trendtac on second
SD partition ext3
2) sometimes bootloader automount doesn't start correctly (restart
several times to try-out )
3) You may not have read/write access to /dev/mmcblk0
Still I think if you have a previous working trendtac distro on
second SD partition this should not be critical.
For correct mounting afterwards it is necessary to have the below
ones for accessing the SD partitions:
mknod /dev/mmcblk0 b 179 0
mknod /dev/mmcblk0p1 b 179 1
mknod /dev/mmcblk0p2 b 179 2
add read/write access with
chmod +rw mmcblk*
4)
You could also try to use the distro installed on your nand. By
changings the bootloader command in init/main.c by
"mem=128M rootfstype=yaffs2 root=/dev/mtdblock4". Make sure you have
a backup before trying this ;-)
Grt Ruben.
From: h...@computer.org
To: r_vi...@hotmail.com
Subject: Re: [Mipsbook-devel] Compiling kernel 2.6
Date: Sat, 24 Apr 2010 14:35:12 +0200
Hi Ruben,
Am 24.04.2010 um 11:12 schrieb Ruben Viets:
Hi Nikolaus,
tty1 = the terminal1 output (you will see it on the lcd screen when
trying the compiled uImage on SD card)
Good luck with the compiling and trying out the 2.6.24.3 kernel mods.
With the tty1 patch I now get a small Tux on the top left corner of
the screen. And tons of boot log messages!
Finally it dies with "Kernel panic - not syncing: VFS: Unable to
mount root fs on unknown-block(2.0)".
Another message approx. 10 lines before the kernel panic says:
"Please append a correct root= boot option; here are the available
partitions:". This is followed by a list. Including mmcblk (and
mmcblk0p1, p2).
Maybe I have a typo or something in the overwritten boot args.
It starts to be the same fun as working on the BeagleBoard :)
BR,
Nikolaus
Express yourself instantly with MSN Messenger! MSN Messenger
_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel