Grub support in DiskOnChip.
Kevin Moore
kevin at moore-and-moore.com
Mon Oct 16 11:34:26 EDT 2000
On Mon, 09 Oct 2000 02:07:54 David Woodhouse wrote:
>
> Grub doesn't yet support the DiskOnChip Millennium. It shouldn't be
> difficult to fix that, it's just that I did my development on DiskOnChip
> 2000.
>
> First you need to add Millennium support to Grub itself - you can boot Grub
> from a floppy to test this. Once Grub can detect and read the DiskOnChip,
> you also need to add Millennium support to the Grub loader found in the
> grub/ directory of my CVS tree.
>
I now have grub successfully detecting the DoC Millennium and (almost)
booting the kernel. Everything goes great until the kernel looks
for a filesystem, at which point it says:
Kernel panic: I have no root and I want to scream
This is with the same kernel that works fine for access to the DoC
when booted off the hard drive (all built-ins, no modules). The mtd
files are from a cvs checkout I made on 7 October. The grub commands
I use are:
root (dc0,0)
kernel /boot/vmlinuz-2.4.0-test9 root=/dev/nftla1
boot
The flash chips are detected fine during boot-up and 4 lines above
the kernel panic I see:
nftla: nftla1
Also, the /dev directory on the DoC is populated. If I specify the
root as "root=/dev/hda1", then I can boot using the kernel on the
DoC and the root filesystem on the hard drive. It seems like I'm
close.
Three questions:
- Does anybody have suggestions on what the problem is or how to
debug this? Could I be leaving the DoC in a bad state exiting
grub even though the kernel seems to detect it okay?
- Thinking past this, does anybody have suggestions on what needs
to be changed in the grub loader to support DoC Millennium? I've
not done much x86 assembly, but I'm willing to give it a shot.
- I've gotten this far by looking at doc2000.c, doc2001.c, and nftl.c
from the kernel driver. I saw many comments starting with "see
software requirement..." I've searched the M-systems website,
and haven't found any docs that look like this. Can somebody
point me to the proper documentation?
thanks,
Kevin
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list