From: Stuart M. <stu...@st...> - 2008-02-26 14:32:01
|
Hi Sudhakar KRISHNAN SUDHAKAR-NRD743 wrote: > I am facing few flash file accessing problems ST Linux based systems. > I have modified the code in stboards.c file for creating partitions ... > > Partition looks like the following > > /tmp # cat /proc/mtd > dev: size erasesize name > mtd0: 00500000 00020000 "VIP800 Boot" > mtd1: 00100000 00020000 "FFS0" > mtd2: 01a00000 00020000 "FFS1" > > if I do a flash info its working fine > > / # flash_info /dev/mtd2 > Device /dev/mtd2 has 0 erase regions > > if i try to unlock the partion its not happeniing > > / # flash_unlock /dev/mtd2 > Could not unlock MTD device: /dev/mtd2 > / # > > It will be very helpful if some one give some solutions The implication is that changing the partition table has broken this, is this correct or has it never worked? If its never worked I'd be suspicious that your board has a write protect signal, VPP enable or something similar which you need to enable. Stuart |