LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-12-2015, 06:27 AM   #1
g_shyam1682
LQ Newbie
 
Registered: Jan 2015
Posts: 7

Rep: Reputation: Disabled
fw_printenv throw atmel spi error


Hello Friend,

We are use atmel at91sam9260ek base linux board, in which we use DataFlash:AT45DB642. Our uboot, environment variable as well as kernel are place here while root file system place in NAND flash and work fine.

Now problem is that whenever we use fw_printenv command to read environment variable from linux terminal it give following error.

Code:
# fw_printenv
atmel_spi atmel_spi.0: overrun (4031/4032 remaining)
Read error on /dev/mtd3: Input/output error
# fw_printenv
atmel_spi atmel_spi.0: overrun (4034/4034 remaining)
Read error on /dev/mtd3: Input/output error
# fw_printenv
atmel_spi atmel_spi.0: overrun (4026/4026 remaining)
Read error on /dev/mtd3: Input/output error
# fw_printenv
atmel_spi atmel_spi.0: overrun (4029/4030 remaining)
Read error on /dev/mtd3: Input/output error
Our fw_env.config file is as below..

# cat /etc/fw_env.config
Code:
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# MTD SPI-dataflash example
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
/dev/mtd3               0x4200          0x4200

please help to resolve issue...

Regards,
Ghanshyam
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't access spi flash(w25q128) on atmel SAM9G25 poplinux Linux - Hardware 1 12-08-2014 02:24 AM
What happens to c++ throw exception? fantasy1215 Programming 3 01-17-2013 09:08 AM
BSD licensed alternative for fw_setenv fw_printenv myuboot Linux - Software 1 03-20-2010 01:59 PM
Ipsec error: SPI piggyj Linux - Security 0 11-09-2006 10:34 PM
does catch and throw statement ? ashwinipahuja Programming 4 06-07-2004 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration