Re: [U-Boot] error in fw_printenv

2009-09-17 Thread Detlev Zundel
Hi Rahanesh, >> Well, that most certainly means that your /dev/mtd0 is not a NOR or >> NAND flash device. >> >> >Now used the fw_printenv under tools/env directory of uboot. It > does not have IOCTL error. > > On issuing a fw_printenv it showd following messages > >

Re: [U-Boot] error in fw_printenv

2009-09-17 Thread Rahanesh
Hi Wolfgang, > Well, that most certainly means that your /dev/mtd0 is not a NOR or > NAND flash device. > > Now used the fw_printenv under tools/env directory of uboot. It does not have IOCTL error. On issuing a fw_printenv it showd following messages Bad data C

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Rahanesh
Dear Wolfgang, > Well, that most certainly means that your /dev/mtd0 is not a NOR or > NAND flash device. > I use mtd_debug utility to identify the /dev/mtd0 device. It said it is Nor flash. Thanks Rahanesh ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Wolfgang Denk
Dear Rahanesh, please do not top post / full quote. Please make sure to read http://www.netmeister.org/news/learn2quote.html In message <4ab0e9c3.10...@tataelxsi.co.in> you wrote: > > Cannot get MTD information: Inappropriate ioctl for device got printed Well, that most certainly means that yo

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Rahanesh
Hi Wolfgang Cannot get MTD information: Inappropriate ioctl for device got printed Thanks Rahanesh Wolfgang Denk wrote: > Dear Rahanesh, > > In message <4ab0dfca.4040...@tataelxsi.co.in> you wrote: > >> When i executed fw_printenv on an embedded board , it threw an error >> >> >> IOCTL err

Re: [U-Boot] error in fw_printenv

2009-09-16 Thread Wolfgang Denk
Dear Rahanesh, In message <4ab0dfca.4040...@tataelxsi.co.in> you wrote: > > When i executed fw_printenv on an embedded board , it threw an error > > > IOCTL error : Cannot get MTD information!! Any idea why this error > occurred? Well, looking in the source code, I see a single place with

[U-Boot] error in fw_printenv

2009-09-16 Thread Rahanesh
Hi All, When i executed fw_printenv on an embedded board , it threw an error IOCTL error : Cannot get MTD information!! Any idea why this error occurred? The contents of config file which i used shown below # MTD device name Device offset Env. size Flash sector size Number of