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

[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