public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: marcio at netopen.com.br <marcio@netopen.com.br>
To: u-boot@lists.denx.de
Subject: [U-Boot] AT91SAM9M10 Custom Board U-boot reboot after Wrong Image Format
Date: Sun, 17 Mar 2013 06:24:02 -0700 (PDT)	[thread overview]
Message-ID: <2cdadf107dc5e7a0a90a8c7838230b43@netopen.com.br> (raw)
In-Reply-To: <51452E4E.5000704@gmail.com>

  

Hi Bo 

Thanks a lot for your help. 

Best regards 

MArcio 

On
Sat, 16 Mar 2013 19:46:06 -0700 (PDT), Bo Shen [via U-Boot] wrote: 

>
Hi Marcio, 
> This is not u-boot related, I think you should post this
issue to 
> Linux kernel mailing list. 
> 
> On 03/16/2013 10:58 PM,
[hidden email] wrote: 
> 
> [Snip] 
> 
>> NAND device: Manufacturer ID:
0x2c, Chip 
>> ID: 0xba (Micron NAND 256MiB 1,8V 16-bi 
>> t) 
>>
Scanning device for bad 
>> blocks 
>> Bad eraseblock 40 at
0x000000500000 
>> Bad eraseblock 41 at 
>> 0x000000520000 
>> Bad
eraseblock 800 at 0x000006400000 
>> Bad eraseblock 801 
>> at
0x000006420000 
>> Creating 3 MTD partitions on 
>> "atmel_nand": 
>>
0x000000000000-0x000000500000 : 
>> "Bootstrap" 
>>
0x000000500000-0x000006400000 : 
>> "system" 
>>
0x000006400000-0x000010000000 : "userdata" 
>> UBI: attaching mtd1 
>>
to ubi0 
>> UBI: physical eraseblock size: 131072 bytes (128 KiB) 
>>
UBI: 
>> logical eraseblock size: 129024 bytes 
>> UBI: smallest flash
I/O unit: 
>> 2048 
>> UBI: sub-page size: 512 
>> UBI: VID header
offset: 512 (aligned 
>> 512) 
>> UBI: data offset: 2048 
> I check the
NAND flash spec and find you may use wrong 
> parameters for generating
UBIFS image. 
> 
> --->8--- 
> Page size x16: 1056 words (1024 + 32
words) 
> ---
> and no sub-page. 
> 
> So, I think mini I/O unit should
be 1024 x 4 = 4096 Bytes 
> 
>> uncorrectable error : 
>> uncorrectable
error 
>> : 
>> uncorrectable error : 
>> uncorrectable error : 
>> UBI
error: ubi_io_read: 
>> error -74 (ECC error) while reading 64 bytes
from PEB 2: 
>> 0, read 64 
>> bytes 
> 
> This is ECC error, I think
you should also update 
> the driver for atmel_nand.c (mainly ECC
layout) 
> 
> Best Regards, 
> Bo Shen 
> 
>
_______________________________________________ 
> U-Boot mailing list

> [hidden email] 
> http://lists.denx.de/mailman/listinfo/u-boot [1]
>

> -------------------------
> 
> If you reply to this email, your
message will be added to the discussion below:
http://u-boot.10912.n7.nabble.com/AT91SAM9M10-Custom-Board-U-boot-reboot-after-Wrong-Image-Format-tp149567p149902.html
[2] 
> To unsubscribe from AT91SAM9M10 Custom Board U-boot reboot after
Wrong Image Format, click here [3].
> NAML [4]

  

Links:
------
[1]
http://lists.denx.de/mailman/listinfo/u-boot
[2]
http://u-boot.10912.n7.nabble.com/AT91SAM9M10-Custom-Board-U-boot-reboot-after-Wrong-Image-Format-tp149567p149902.html
[3]
http://u-boot.10912.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code|+|amp|+|node=149567|+|amp|+|code=bWFyY2lvQG5ldG9wZW4uY29tLmJyfDE0OTU2N3wxMDMwNzQyMzcx
[4]
http://u-boot.10912.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer|+|amp|+|id=instant_html%21nabble%3Aemail.naml|+|amp|+|base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace|+|amp|+|breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml




--
View this message in context: http://u-boot.10912.n7.nabble.com/AT91SAM9M10-Custom-Board-U-boot-reboot-after-Wrong-Image-Format-tp149567p149918.html
Sent from the U-Boot mailing list archive at Nabble.com.

  reply	other threads:[~2013-03-17 13:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 12:26 [U-Boot] AT91SAM9M10 Custom Board U-boot reboot after Wrong Image Format marcio at netopen.com.br
2013-03-14  1:26 ` Bo Shen
2013-03-14 12:01   ` marcio at netopen.com.br
2013-03-14 12:23   ` marcio at netopen.com.br
2013-03-15  2:09     ` Bo Shen
2013-03-15 18:46       ` marcio at netopen.com.br
2013-03-16  0:02         ` Bo Shen
2013-03-16 11:27           ` marcio at netopen.com.br
2013-03-16 14:58           ` marcio at netopen.com.br
2013-03-17  2:45             ` Bo Shen
2013-03-17 13:24               ` marcio at netopen.com.br [this message]
2013-03-15 19:56       ` marcio at netopen.com.br

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=2cdadf107dc5e7a0a90a8c7838230b43@netopen.com.br \
    --to=marcio@netopen.com.br \
    --cc=u-boot@lists.denx.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