public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Squashfs over UBI
@ 2010-01-24 19:16 Saurabh Jain
  2010-02-03 16:17 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Saurabh Jain @ 2010-01-24 19:16 UTC (permalink / raw)
  To: linux-mtd

Hi!

I've been trying to get squashfs working on a new board with NAND
flash. However, the mtd of the mtdblock I am using contains bad
blocks. When I dd in the squashfs file system, the kernel throws
end_request, nand_erase_nand and mtdblock errors.

I therefore decided to use squashfs over UBI. I saw this discussed in
a couple of places on the web. However, the /dev/ubi0 device created
by ubiattach is a character device. I can't just dd my squashfs into
it. If I create a UBIFS over this /dev/ubi0, and then put my squashfs
into it, that works, but now I've got "double compression", something
I don't want on an embedded system.

Is it possible to get squashfs to use the bad block avoidance features
of UBI, without using UBIFS?

Regards,
Saurabh

http://www.thinvent.in

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

end of thread, other threads:[~2010-02-03 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-24 19:16 Squashfs over UBI Saurabh Jain
2010-02-03 16:17 ` Artem Bityutskiy

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