[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Jffs2 flash protection



There is a flash_unlock in the mtd-utils package, but I don't see it in 
the PetaLinux version of mtd-utils. It might need to be ported from the 
master source:

http://www.linux-mtd.infradead.org/

Steve
------------------------------------------------------------------------
 Steven J. Magnani               "I claim this network for MARS!
 www.digidescorp.com              Earthling, return my space modulator!"

 #include <standard.disclaimer>

-----Original Message-----
From: Guillaume.Gastebois@xxxxxxxxxxxxxxxxxxx
To: microblaze-uclinux@xxxxxxxxxxxxxx
Date: Fri, 13 Mar 2009 10:00:25 +0100
Subject: [microblaze-uclinux] Jffs2 flash protection

> Hello,
> 
> I'm trying to use a jffs2 filesystem on mtd5 using ml505 ll temac 
> reference design with these commands :
> 
> cd /tmp
> mkdir J
> mkfs.jffs2 -d J -o J.img
> erase /dev/mtd5
> cp J.img /dev/mtd5
> mount -t jffs2 /dev/mtdblock5 /tmp/J
> 
> All works fine when I unprotect flash area in U-boot.
> 
> My question is : is there a command to protect/unprotect Intel flash
> when 
> petalinux image is launched ?
> 
> Regards 
> 
> G.Gastebois


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/