public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Confused about how to make a UBIFS root filesystem
@ 2008-04-11 22:06 Bruce_Leonard
  2008-04-12  9:00 ` Artem Bityutskiy
  2008-04-12  9:02 ` Artem Bityutskiy
  0 siblings, 2 replies; 4+ messages in thread
From: Bruce_Leonard @ 2008-04-11 22:06 UTC (permalink / raw)
  To: linux-mtd

I'm sorry if this is a basic/dumb question but I'm not really strong yet 
on the higher layer/user space aspects of running the kernel.  I've got my 
NAND flash driver done and now I want to get my root filesystem on the 
NAND flash.  I sort of asked this question a couple of weeks ago when I 
asked about ubimkvol but I didn't know enough then to ask the right 
questions.

I've gotten all the tools I'm just not sure what order to use them in and 
on what devices/files.  If I understand it correctly, I use mkfs.ubifs on 
a filesystem that I want to ultimately be my rfs and output that to 
someother file (say ubi_rootfs.img).  I then process that through ubinize 
which produces a config file (say ubi_rootfs.cfg).  I then use 
ubiupdatevol to write ubi_rootfs.img to the NAND using ubi_rootfs.cfg to 
control the parameters of how the image gets written.  Where I get lost 
(if I'm not already lost) is how do I prep the NAND device to receive the 
image?  Do I use ubimkvol or mkfs.ubifs?  I've looked through the FAQ at 
infradead and if I knew more about filesystems and the kernel it might all 
make sense, but I'm afraid I'm one of those folks that has to have his 
nose rubbed in it to understand, kind of like an irish setter.  Any help 
or pointers to good references are greatly appreciated.  Thanks.

Bruce

------------------------------------------------

This e-mail may contain SEL confidential information.  The opinions
expressed are not necessarily those of SEL.  Any unauthorized disclosure,
distribution or other use is prohibited.  If you received this e-mail in
error, please notify the sender, permanently delete it, and destroy any
printout.

Thank you.

------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-12 11:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 22:06 Confused about how to make a UBIFS root filesystem Bruce_Leonard
2008-04-12  9:00 ` Artem Bityutskiy
2008-04-12 11:22   ` Carl-Daniel Hailfinger
2008-04-12  9:02 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox