Skip to contentSkip to conversation

Problem with flash _info

DISCUSSION Rahanesh 2 participants 3 messages Sep 11, 2009 Memory technology devices (MTD)

lore
Share & tools
lore

Rahanesh

author
#0 lore raw

Hi all,

I am using flash_info command on board. i have 4 mtd devices. /dev/mtd0, /dev/mtd1, /dev/mtd2, /dev/mtd3.

how do i find the size of each mtd device.? I used flash_info.

But when i used that i got the following message. "Device /dev/mtd2 has 0 erase regions". It is same for all the mtd devices.

What might be the problem?

Please help

Rahanesh
.

#1 lore raw

----- Original Message -----
From: "Rahanesh" <[email protected]>
To: <[email protected]>
Sent: Friday, September 11, 2009 3:44 PM
Subject: Problem with flash _info

Quoted 6 lines

Hi all,

I am using flash_info command on board. i have 4 mtd devices. /dev/mtd0, /dev/mtd1, /dev/mtd2, /dev/mtd3.

how do i find the size of each mtd device.? I used flash_info.

flash_info has some problem in mtd-utils. I also observed the same. You can try "mtd_debug" to get the size of the mtd device. $mtd_debug info /dev/mtd2

Quoted 15 lines

But when i used that i got the following message. "Device /dev/mtd2 has 0 erase regions". It is same for all the mtd devices.

What might be the problem?

Please help

Rahanesh
.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

author
#2 lore raw

Hai Sarath

Thank you so much

Rahanesh

Quoted 39 lines · Tadimarri Sarath Babu

----- Original Message -----
From: "Rahanesh" <[email protected]>
To: <[email protected]>
Sent: Friday, September 11, 2009 3:44 PM
Subject: Problem with flash _info

Quoted 6 lines

Hi all,

I am using flash_info command on board. i have 4 mtd devices. /dev/mtd0, /dev/mtd1, /dev/mtd2, /dev/mtd3.

how do i find the size of each mtd device.? I used flash_info.

flash_info has some problem in mtd-utils. I also observed the same. You can try "mtd_debug" to get the size of the mtd device. $mtd_debug info /dev/mtd2

Quoted 15 lines

But when i used that i got the following message. "Device /dev/mtd2 has 0 erase regions". It is same for all the mtd devices.

What might be the problem?

Please help

Rahanesh
.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/