From: Kevin Moore <kevin@moore-and-moore.com>
To: mtd@infradead.org
Cc: Volker Sonn <mlist@sonn-online.de>,
Alessandro GARDICH <gremlin@gremlin.it>
Subject: Kernel change for booting off DOC 2000 and Millenium
Date: Wed, 18 Oct 2000 09:48:21 -0700 [thread overview]
Message-ID: <20001018094821.A29254@flapjack> (raw)
My problem with "I have no root and I want to scream" during boot-up
using DOC Millenium was pleasantly easy to solve. The following
kernel patch adds "/dev/nftla" to the list of devices which can
be specified as a root device on the command line. Without this,
the kernel is unable to parse "root=/dev/nftla1" and can't find
it's root filesystem (for any DOC). Booting using an rdev'ed
kernel should work without any kernel change, since it doesn't rely
on parsing the kernel command line options.
--- linux-2.4.0-test9/init/main.c Fri Oct 6 23:20:25 2000
+++ linux-2.4.0-test9-working/init/main.c Wed Oct 18 09:08:58 2000
@@ -170,6 +170,7 @@
{ "hdr", 0x5A40 },
{ "hds", 0x5B00 },
{ "hdt", 0x5B40 },
+ { "nftla", 0x5D00 },
{ "sda", 0x0800 },
{ "sdb", 0x0810 },
{ "sdc", 0x0820 },
{"nftlb", 0x5d10}, etc. can be added to allow using DOC's other than
the first as a root filesystem.
Also, to those who've been having trouble with getting DOC 2000's
to work with the grub - the grub patches for DOC 2000 support have
a lot of parameters hard-wired, and undoubtedly fail with chips
different than the ones used in development, so that could be the
cause of your trouble. Check nand.h (latest CVS it's nand_ids.h),
I believe the grub patches for DOC 2000 have the last 3 columns
of nand_flash_ids hard-coded as "1, 3, 0x2000" (page256 true,
pageadrlen=3, and erasesize=0x2000). Not positive about those though,
as I'm going from memory (certain of the 0x2000 erasesize).
I'm planning to get the general DOC support from the kernel driver
into grub when I have time, but this is a spare-time project, so
I'm not sure when that will be.
-- Kevin
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next reply other threads:[~2000-10-18 16:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-18 16:48 Kevin Moore [this message]
2000-10-18 17:57 ` Kernel change for booting off DOC 2000 and Millenium Fernando Fuganti
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=20001018094821.A29254@flapjack \
--to=kevin@moore-and-moore.com \
--cc=gremlin@gremlin.it \
--cc=mlist@sonn-online.de \
--cc=mtd@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