mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Stutz Sven <stutzsven@web.de>
Cc: barebox@lists.infradead.org
Subject: Re: AT91SAM9263-EK
Date: Mon, 16 Jul 2012 11:10:21 +0200	[thread overview]
Message-ID: <20120716091021.GH30009@pengutronix.de> (raw)
In-Reply-To: <4FFFEBEB.40605@web.de>

On Fri, Jul 13, 2012 at 11:35:39AM +0200, Stutz Sven wrote:
> Hello everybody,
> 
> 
> But everything without success. It's a little bit strange because
> when I execute the command
>     bootm -v /dev/nand0.kernel.bb
> First I get the following output
>         Barebox:/ bootm -v /dev/nand0.kernel.bb
>             Image Name:     Linux-3.4.0
>             OS:                      Linux
>             Architecture:     ARM
>             Type:                   Kernel Image
>             Compression:    uncompressed
>             Data Size:           2034784 Bytes = 1.9 MB
>             Load Address:    20008000
>             Entry Point:        20008000
>         err -74
>         loading os image failed with Out of memory
> 
> and if I try again the same command
>         Barebox:/ bootm -v /dev/nand0.kernel.bb
>         err -74
>         Unknown OS filetype (try -f)
> 
> also if I try to memcpy or uimage I always get this err 74.
> 
> What is this Error 74 (-- Reset level 3)?

-74 is EBADMSG, see include/asm-generic/errno.h. The nand driver throws
this when it can't read due to ecc errors. Something seems wrong with
your nand driver. I remember Jean-Christophe mentioned that the atmel
nand support is currently broken. Could you please try if either:

- barebox v2012.07.0 or
- current master

works for you?

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-07-16  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13  9:35 AT91SAM9263-EK Stutz Sven
2012-07-16  9:10 ` Sascha Hauer [this message]
     [not found] <50065575.4090808@web.de>
2012-07-18  9:44 ` AT91SAM9263-EK Stutz Sven
2012-07-18 15:06   ` AT91SAM9263-EK Sascha Hauer
2012-07-18 16:38     ` AT91SAM9263-EK Jean-Christophe PLAGNIOL-VILLARD
  -- strict thread matches above, loose matches on Subject: below --
2012-07-13  9:33 AT91SAM9263-EK Stutz Sven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120716091021.GH30009@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=stutzsven@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox