Which version of M-SYS DFORMAT?
I'm following the instructions at
http://lakeshoremicro.com/diskonchip-grub-howto.html
on installing Grub on to a DOC2000 chip. With M-Sys' v5.14 DFORMAT, I get the "Sorry, we don't support UnitSizeFactor of != 1 yet." message during bootup. The kernel (2.4.20) was patched with mtd-snapshot-20030423.tar.bz2. According to the instructions, patching with the latest mtd patches should take care of the problem. This leads me to wonder if I should have used the V4.2 DFORMAT instead?
Thanks,
Stephen
Quoted 9 lines · Stephen Lee
I'm following the instructions at
http://lakeshoremicro.com/diskonchip-grub-howto.html
on installing Grub on to a DOC2000 chip. With M-Sys' v5.14 DFORMAT, I get the "Sorry, we don't support UnitSizeFactor of != 1 yet." message during bootup. The kernel (2.4.20) was patched with mtd-snapshot-20030423.tar.bz2. According to the instructions, patching with the latest mtd patches should take care of the problem. This leads me to wonder if I should have used the V4.2 DFORMAT instead?
Replying to my own message. The answer is that "dformat /win:d800 /BDKF0:grub_firware" only works with v5.14. The next question is did I screwup the mtd patch? It doesn't appear to be as all kinds of MTD-related kernel config settings appeared after patching. I should also mention that Grub was installed correctly onto the DOC2000 as it booted up to the Grub prompt as expected. The only thing I can't do is mount /dev/nftla1 to install the kernel and menu.lst. Suggestions?
Thanks,
Stephen
Quoted 7 lines · Stephen Lee
Replying to my own message. The answer is that "dformat /win:d800 /BDKF0:grub_firware" only works with v5.14. The next question is did I screwup the mtd patch? It doesn't appear to be as all kinds of MTD-related kernel config settings appeared after patching. I should also mention that Grub was installed correctly onto the DOC2000 as it booted up to the Grub prompt as expected. The only thing I can't do is mount
/dev/nftla1to install the kernel and menu.lst. Suggestions?
Stephen,
I apologize if the instructions aren't clear - if you use version 5.x of DFORMAT, you'll have to use your patched kernel twice. In order to mount /dev/nftla1 and copy the bzImage to the DiskOnChip, you would need to boot from a hard drive using the patched kernel, or insmod the appropriately patched modules.
Once you are able to copy the kernel to /dev/nftla1, the patched kernel will also be necessary to boot directly from the DiskOnChip.
Mark
Quoted 11 lines · Mark Meade
Quoted 7 lines · Stephen Lee
Replying to my own message. The answer is that "dformat /win:d800 /BDKF0:grub_firware" only works with v5.14. The next question is did I screwup the mtd patch? It doesn't appear to be as all kinds of MTD-related kernel config settings appeared after patching. I should also mention that Grub was installed correctly onto the DOC2000 as it booted up to the Grub prompt as expected. The only thing I can't do is mount
/dev/nftla1to install the kernel and menu.lst. Suggestions?Stephen,
Quoted 9 lines
I apologize if the instructions aren't clear - if you use version 5.x of DFORMAT, you'll have to use your patched kernel twice. In order to mount
/dev/nftla1and copy the bzImage to the DiskOnChip, you would need to boot from a hard drive using the patched kernel, or insmod the appropriately patched modules.Once you are able to copy the kernel to
/dev/nftla1, the patched kernel will also be necessary to boot directly from the DiskOnChip.
Thanks Mark. That did it. Now I've managed to fdisk and install the kernel and menu.list onto the DOC but upon reboot, Grub command line appears but Grub cannot find the root device (refering to the Grub root). Entering "root (<tab>" only gives fd0 or hd0 as the choices. "dc0" is not available. Did I do something wrong during building of Grub-mtd? The main difficulty in build mtd-compliant Grub was making sure the autoconf and automake versions were correct. In the end I did get grub_firmware in the stage1 directory but how to be sure the build was correct?
Thanks again,
Stephen
Quoted 5 lines · Stephen Lee
Did I do something wrong during building of
Grub-mtd? The main difficulty in build mtd-compliant Grub was making sure the autoconf and automake versions were correct. In the end I did getgrub_firmwarein the stage1 directory but how to be sure the build was correct?
Autoconf was indeed the problem. Upgrading it resulted in a functional grub_firmware file. It turns out that I also needed to upgrade Perl :-(
Stephen