[OLPC-devel] writing nand flash on OLPC

Marcelo Tosatti marcelo at kvack.org
Sat Jul 22 16:54:38 EDT 2006


Hi Ron,

On Fri, Jul 21, 2006 at 06:23:50PM -0600, Ronald G Minnich wrote:
> What's the correct mkjffs2 command to write the part?
> 
> One suggestion I have is this:
> mkjffs2 -e128KiB -n -r root

Right. Attached is a script that I'm using to generate Fedora's JFFS2 image.

The plan is to have such installation process semi-automatic...

> How to write it?

nandwrite /dev/mtd0 -p /olpc-stream-jffs2.img

And then

mount -t jffs2 "mtd:NAND 512MiB 3,3V 8-bit" /path

Cheers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gen-fedora-jffs2-image.sh
Type: application/x-sh
Size: 311 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20060722/521ba85b/attachment.sh>


More information about the Devel mailing list