Skip to contentSkip to conversation

Unable to get MTD info

DISCUSSION Rahanesh 1 participant 1 message Sep 16, 2009 Memory technology devices (MTD)

lore
Share & tools
lore

Rahanesh

author
#0 lore raw

Hi All,

I am trying to use fw_printenv and fw_setenv . These commands will help me to set an uboot environment variable.

I have compiled the code and fw_printenv executable is formed.

On Executing it i got an error

Cannot get MTD information : Inappropriate ioctl for device

what might be the issue? Have any one used this?

The contents of config file are shown below...

# MTD device name Device offset Env. size Flash sector size /dev/mtd0 0x0000 0x1000 0x10000

Any idea?

Thanks
Rahanesh