This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP L138 MTD block permission denied

Hi, 

 

I mount m25p80 partition table under Linux, but not able to write the partition, 

flash_eraseall: /dev/mtd3: Permission denied

 

what I could do to make it writable ?

 

trace: mtdchar.c found the mtd->flags must be MTD_WRITEABLE

and in board-da850-evm.c, I have made :

[2] = {

.name = "U-Boot",

.offset = MTDPART_OFS_APPEND,

.size = 288 * SZ_1K,

.mask_flags = MTD_WRITEABLE,

},

[3] = {

.name = "Logo Bmp",

.offset = MTDPART_OFS_APPEND,

.size = 160 * SZ_1K,

.mask_flags = MTD_WRITEABLE,

},

 

use mtd_debug info /dev/mtd3:

mtd.type = MTD_NORFLASH

mtd.flags = MTD_BIT_WRITEABLE

mtd.size = 153600 (150K)

mtd.erasesize = 4096 (4K)

mtd.writesize = 1 

mtd.oobsize = 0 

regions = 0

 

wired......

 

 

Best regards

Power Pan