File systems and Disk on Chips
Hello from Gregg C Levine
I have here a 2 Megabyte Disk on Chip device, plugged into a carrier board. It is now wearing the GRUB based firmware. How when I bring up my system, the DOC device complains about the lack of a file system. Any ideas as to how I could put a file system on this device? Preferably as a native Linux format.
-------------------
Gregg C Levine [email protected]
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi
"Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
(See below)
Quoted 10 lines
-----Original Message-----
From: [email protected] [mailto:linux-mtd- [email protected]] On Behalf Of Gregg C Levine
Sent: Saturday, July 05, 2003 8:01 PM
To: [email protected]
Subject: File systems and Disk on ChipsHello from Gregg C Levine
I have here a 2 Megabyte Disk on Chip device, plugged into a carrier board. It is now wearing the GRUB based firmware. How when I bring
up
Quoted 12 lines
my system, the DOC device complains about the lack of a file system. Any ideas as to how I could put a file system on this device? Preferably as a native Linux format.
-------------------
Gregg C Levine [email protected]
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
Quoted 3 lines
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Hello again from Gregg C Levine
Not a reply to myself, a correction. Replace the word, "How" with "However".
-------------------
Gregg C Levine [email protected]
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
Quoted 6 lines · Gregg C Levine
Hello from Gregg C Levine
I have here a 2 Megabyte Disk on Chip device, plugged into a carrier board. It is now wearing the GRUB based firmware. How when I bring up my system, the DOC device complains about the lack of a file system. Any ideas as to how I could put a file system on this device? Preferably as a native Linux format.
Basically, you put a block filesystem on top of NFTL that grub understands. Grub does not at this point understand YAFFS or JFFS2 on NAND flash, but I'm sure there a lot of people who are looking for that and it wouldn't be difficult to do.
Signature · 1 line
Russ Dill <[email protected]>
(See below, to honor the hosting list's policies.)
Quoted 11 lines
-----Original Message-----
From: [email protected] [mailto:linux-mtd- [email protected]] On Behalf Of Russ Dill
Sent: Sunday, July 06, 2003 2:42 AM
To: Gregg C Levine
Cc: [email protected]
Subject: Re: File systems and Disk on ChipsQuoted 2 lines · Gregg C Levine
Hello from Gregg C Levine
I have here a 2 Megabyte Disk on Chip device, plugged into a
carrier
Quoted 1 line
Quoted 1 line
board. It is now wearing the GRUB based firmware. How when I bring
up
Quoted 1 line
Quoted 1 line
my system, the DOC device complains about the lack of a file
system.
Quoted 5 lines
Quoted 2 lines
Any ideas as to how I could put a file system on this device? Preferably as a native Linux format.
Basically, you put a block filesystem on top of NFTL that grub understands. Grub does not at this point understand YAFFS or JFFS2
on
Quoted 1 line
NAND flash, but I'm sure there a lot of people who are looking for
that
Quoted 9 lines
and it wouldn't be difficult to do.
--
Russ Dill <[email protected]>______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Hello again from Gregg C Levine
Okay that makes more sense. But now how do I go about creating the " block filesystem on top of NFTL", that I need to use?
For example, I've gotten with my test image, as far as creating a floppy disk image, and booting that, inside the Bochs emulator. It worked, the test kernel launched, and told me that the kernel did what it was supposed to do.
My other problem, is that I still can not get the utilities inside that directory to properly compile, they always break when trying to create the ones that manage the JFFS2 stuff. I am hoping that the snapshot from yesterday has been fixed, but I don't know.
-------------------
Gregg C Levine [email protected]
------------------------------------------------------------
"The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi
(This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
Quoted 3 lines
Okay that makes more sense. But now how do I go about creating the " block filesystem on top of NFTL", that I need to use?
basically use nftl_format with the proper offset, then modprobe nftl, fdisk /dev/nftla (Optional), mkfs.ext2 /dev/nftla (or nftla1, 2, etc if fdisked)
Quoted 9 lines
For example, I've gotten with my test image, as far as creating a floppy disk image, and booting that, inside the Bochs emulator. It worked, the test kernel launched, and told me that the kernel did what it was supposed to do.
My other problem, is that I still can not get the utilities inside that directory to properly compile, they always break when trying to create the ones that manage the JFFS2 stuff. I am hoping that the snapshot from yesterday has been fixed, but I don't know.
don't know what to say, worked for me, but at this point, I just use prepackaged binaries from my distro anyway.
Signature · 1 line
Russ Dill <[email protected]>
Quoted 1 line · Gregg C Levine
(See below, to honor the hosting list's policies.)
Gregg, I've asked you about this before. Please see below to see how your mail _should_ have looked. Perhaps you can count the errors?
Note that in my version you have only quoted the single line (with appropriate attribution) of Russ's mail to which you are replying, and you do not add noise to your reply. Your paragraphs are clearly separated by newlines and not merged together into gratuitously quoted mailing list footers. Your bizarre signature is correctly separated by the '-- ' separator.
I am, of course, only addressing the _form_ of your mail here, which makes me object to its mere presence on my mailing list. If you actually want me to bother to read it and try to help you, you'd _also_ have to do basic things like quoting the errors you see rather than describing them in such vague terms that I can't tell what you're wittering on about. Perhaps it would have helped to omit the weird paragraph about Bochs, since I can't see how getting a kernel to boot in an emulator which doesn't emulate a DiskOnChip could be at all relevant.
Describe, coherently and concisely, precisely what you have done and precisely the manner in which it broke. Then we can attempt to help you. If we haven't spent long enough just trying to get sense out of you in the first place, that is.
-------------
Quoted 2 lines · Russ Dill
Basically, you put a block filesystem on top of NFTL that grub understands.
Okay that makes more sense. But now how do I go about creating the "block filesystem on top of NFTL" that I need to use?
For example, I've gotten with my test image, as far as creating a floppy disk image, and booting that, inside the Bochs emulator. It worked, the test kernel launched, and told me that the kernel did what it was supposed to do.
My other problem, is that I still can not get the utilities inside that directory to properly compile, they always break when trying to create the ones that manage the JFFS2 stuff. I am hoping that the snapshot from yesterday has been fixed, but I don't know.
Signature · 11 lines
Gregg C Levine [email protected] ------------------------------------------------------------ "The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke." Obi-Wan Kenobi (This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda ) -------------- -- dwmw2
Quoted 8 lines · Russ Dill
Quoted 6 lines · Gregg C Levine
Hello from Gregg C Levine
I have here a 2 Megabyte Disk on Chip device, plugged into a carrier board. It is now wearing the GRUB based firmware. How when I bring up my system, the DOC device complains about the lack of a file system. Any ideas as to how I could put a file system on this device? Preferably as a native Linux format.
Quoted 4 lines
Basically, you put a block filesystem on top of NFTL that grub understands. Grub does not at this point understand YAFFS or JFFS2 on NAND flash, but I'm sure there a lot of people who are looking for that and it wouldn't be difficult to do.
There is a YAFFS bootloader in CVS. Integrating into any loader (eg. grub) should not be a big effort. estimate less than a day.
-- CHarles
Quoted 8 lines
Quoted 5 lines
Basically, you put a block filesystem on top of NFTL that grub understands. Grub does not at this point understand YAFFS or JFFS2 on NAND flash, but I'm sure there a lot of people who are looking for that and it wouldn't be difficult to do.
There is a YAFFS bootloader in CVS. Integrating into any loader (eg. grub) should not be a big effort. estimate less than a day.
you haven't touched much grub code, have you?
Signature · 1 line
Russ Dill <[email protected]>