Dear twebb,
In message dbdb2ea60912110929y5a41b1a7yf3d8e35c74d56...@mail.gmail.com you
wrote:
I've cross-compiled and am running fw_printenv on an ARM system using
linux-2.6.28. The u-boot environment is kept in SPI-based NOR flash.
The configuration within fw_env.h is...
...
//#define
Maybe reading 512 bytes is possible with your driver, but reading 128
KiB is not?
That turned out to be true. I wondered if others had run into this
problem and whether any work had been done towards breaking up the
read (and write too) into a loop that read a smaller chunk at a time.
I've cross-compiled and am running fw_printenv on an ARM system using
linux-2.6.28. The u-boot environment is kept in SPI-based NOR flash.
The configuration within fw_env.h is...
//#define CONFIG_FILE /etc/fw_env.config
//#define HAVE_REDUND /* For systems with 2 env sectors */
#define
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 CRC,
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
Bad
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
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 a
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 error : Cannot
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 your
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
10 matches
Mail list logo