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

Re: [microblaze-uclinux] Jffs2 flash protection




Hello,

Thank you for answer. I take source (flash-unlock.c and  mtd-user.h) from linux-mtd compiled them and that works.

Regards
ZODIAC DATA SYSTEMS SAS
AEROSAFETY & TECHNOLOGY
logo
Guillaume Gastebois
Hardware/Firmware Engineer
2 rue de Caen - 14740 Bretteville l'orgueilleuse - France
Tel: +33 2 31 29 4888  - Fax: +33 2 31 80 6549
guillaume.gastebois@xxxxxxxxxxxxxxxxxxx
http://www.zodiacaerospace.com






"Steve Magnani" <steve@xxxxxxxxxxxxxxx>
Envoyé par : owner-microblaze-uclinux@xxxxxxxxxxxxxx

13/03/2009 15:09

Veuillez répondre à
microblaze-uclinux@xxxxxxxxxxxxxx

A
microblaze-uclinux@xxxxxxxxxxxxxx, Guillaume.Gastebois@xxxxxxxxxxxxxxxxxxx
cc
Objet
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/