LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2014, 08:39 AM   #1
mlig
LQ Newbie
 
Registered: Oct 2014
Posts: 1

Rep: Reputation: Disabled
nandwrite mtd-utils does not work with embedded iMX6


Hi,
I am trying to write uImage to nand partition on iMX6 from linux using nandwrite mtd-utils:
nandwrite -p /dev/mtd0 uImage
When I boot the board and in uboot try to load the uImage from nand using nboot I am getting the error:
Loading from nand0, offset 0x0
NAND read from offset 0 failed -74
** Read error

However when I write to nand from uboot (nand write)
the board load the kernel without any problem.

What am I missing how to write uImage kernel from linux?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can not write (nandwrite) to MTD devices ... tompo Linux - Embedded & Single-board computer 3 01-20-2012 04:08 AM
Cross compiling mtd utils priyadarshan Linux - Newbie 2 12-20-2010 12:11 AM
Doesn't work: spawn cat <file> | ssh root@$ip mtd -r -e linux write - linux wtfman Programming 3 01-14-2010 09:43 AM
Does "mtd write" clear/erase the end of the mtd block by default? (no man page found) maddes.b Linux - Kernel 0 08-17-2009 03:07 AM
porttime in Shadow utils dosent work javalino Linux - Security 1 05-15-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:21 AM.

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