booting DOC2000 with jffs2 as root

Martin Chan martinc at milliontech.com
Mon Dec 22 04:39:36 EST 2003


Hi,

I can copy a root.jffs2 image to DiskOnChip2000 and mount it. I can't
install the boot loader using patched lilo-mtd in mtd-snapshot. This is
my lilo.conf

default=linux
linear
bios=0x80
vga=Extended
image=/boot/vmlinuz
label=linux
root=/dev/mtdblock0


When running lilo-mtd -r /mnt -v -v -v
It gives the following errors:

Reading boot sector from current root
Caching devices /dev/mtdblock0 (0x1f00)
mtdblock_open
mtdblock: read on "DiskOnChip 2000" ar 0x0, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0x200, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0x400, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0x600, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0x800, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0xa00, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0xc00, size 0x200
mtdblock: read on "DiskOnChip 2000" ar 0xe00, size 0x200
Merging with /boot/boot.b
mtdblock_open
Sorry, don't know hw to handle device 0x1f00
mtdblock_release
ok
mtdblock_release
ok

What can I do? Does the lilo-mtd support /dev/mtdblock[n] or it just
support nftla?

Thanks,
Martin Chan






More information about the linux-mtd mailing list