From: Martin Chan <martinc@milliontech.com>
To: linux-mtd@lists.infradead.org
Subject: booting DOC2000 with jffs2 as root
Date: Mon, 22 Dec 2003 17:39:36 +0800 [thread overview]
Message-ID: <3FE6BBD8.5000106@milliontech.com> (raw)
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
reply other threads:[~2003-12-22 9:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FE6BBD8.5000106@milliontech.com \
--to=martinc@milliontech.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox