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

RE: fatal flash error(1)



Hi Stefano,
it looks like you have written directly to the /dev/flash* nodes. That will surely mess up the flash partitions. Doing that is like writing directly to a disk partition (i.e. /dev/hda2), you must know exactly what you are doing to get it right.

/dev/flash0 - boot block (incl. serial no)
/dev/flash1 - kernel + romfs
/dev/flash2 - jffs (the /etc directory, mounted on /mnt/flash).

We have a journaling flash file system (jffs) on top of the flash drivers so that you don't have to worry about writing directly to the flash. The jffs-partition (/dev/flash2) is mounted on /mnt/flash. Every file you write in /mnt/flash or subdirectories will be written to the flash so you don't have to worry about /dev/flash*.

To restore your jffs partition that seems to have been damaged, do a factory default (keep the test-button pressed while booting until you se the factory default message on COM2). If that does not help (other partitions may have been damaged) then write a new timage to the flash (boot_elinux -f). See <http://developer.axis.com/doc/software/tools/network_boot.html>.

Best regards
/Jonas


-----Original Message-----
From: Stefano Vicenzetto [mailto:tesi01@xxxxxxx.com]
Sent: Thursday, March 01, 2001 4:17 PM
To: Etrax100 mailing list
Subject: fatal flash error(1)


Hi,
I started two programs (at the same time) that write a file on \dev\flash\  but now I have a problem: if I try to read or write on the flash I obtain the following error on COM2 
 
*programAddress = 0x00a8, *theData = 0x3931
Flash: verify error 0x801cdba8. (flash_write() 1)
*programAddress = 0x00a8, *theData = 0x3931
Flash: verify error 0x801cdba8. (flash_write() 1)
*programAddress = 0x00a8, *theData = 0x3931
Flash: verify error 0x801cdba8. (flash_write() 1)
*programAddress = 0x00a8, *theData = 0x3931
Flash: verify error 0x801cdba8.(flash_write() 1)
*programAddress = 0x00a8, *theData = 0x3931
FATAL FLASH ERROR (1)
JFFS: jffs_write_node: Failed to write raw_inode.
 
I obtain this error even if I reboot the board. How can I solve this problem?
 
Thanks
 

Stefano Vicenzetto
 
Comerson
Via Lombardia
20048 Carate Brianza (MI)
Italy
Fax +39/0362.94.5151