mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Vanhauwaert Wouter <W.Vanhauwaert@TELEVIC.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: at91sam9260-ek ...
Date: Wed, 5 Mar 2014 10:55:16 +0100	[thread overview]
Message-ID: <E78BBE677EB9144B8F0A0A29674CD5338F93D8D2DF@SRV-VS06.TELEVIC.COM> (raw)

Hello,

Is the setup for a at91sam9260-ek still functioning?
I have troubles with my nand flash. At first it boots and writes BBT-tables.
However, next boot, it won't read the BBT, and has errors with the magic on the environment variables.
Erase /dev/env0 and saveenv do not make a difference.
Nandtest does not give me errors...

I'm just using the latest barebox 2014.2 and loading it on a at91sam9260-ek through usb (sam-ba). I'm just using the plain at91sam9260ek_defconfig

My output:

First boot:
barebox 2014.02.0 #4 Wed Mar 5 10:39:35 CET 2014

Board: Atmel at91sam9260-ek
AT91: Detected soc type: at91sam9260
AT91: Detected soc subtype: Unknown
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
netconsole: registered as cs1
atmel_nand: Use On Flash BBT
nand: NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3                                                      V 8-bit), 256MiB, page size: 2048, OOB size: 64
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
Bad block table written to 0x00000ffe0000, version 0x01
Bad block table written to 0x00000ffc0000, version 0x01
mdio_bus: miibus0: probed
macb macb0: Cadence MACB at 0xfffc4000
at91_udc at91_udc0: at91_udc version 3 May 2006
atmel_mci atmel_mci0: version: 0x210
atmel_mci atmel_mci0: registered as atmel_mci0
atmel_mci atmel_mci0: command/data timeout
atmel_mci atmel_mci0: command/data timeout
atmel_mci atmel_mci0: command/data timeout
malloc space: 0x23b00000 -> 0x23efffff (size 4 MiB)
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
enable tty over USB Device, increase the boot delay to 16s

Hit any key to stop autoboot

Second boot:
barebox 2014.02.0 #4 Wed Mar 5 10:39:35 CET 2014

Board: Atmel at91sam9260-ek
AT91: Detected soc type: at91sam9260
AT91: Detected soc subtype: Unknown
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
netconsole: registered as cs1
atmel_nand: Use On Flash BBT
nand: NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3                                                      V 8-bit), 256MiB, page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_bbt: error reading BBT
mdio_bus: miibus0: probed
macb macb0: Cadence MACB at 0xfffc4000
at91_udc at91_udc0: at91_udc version 3 May 2006
atmel_mci atmel_mci0: version: 0x210
atmel_mci atmel_mci0: registered as atmel_mci0
atmel_mci atmel_mci0: command/data timeout
atmel_mci atmel_mci0: command/data timeout
atmel_mci atmel_mci0: command/data timeout
malloc space: 0x23b00000 -> 0x23efffff (size 4 MiB)
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
enable tty over USB Device, increase the boot delay to 16s

Hit any key to stop autoboot

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

             reply	other threads:[~2014-03-05  9:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05  9:55 Vanhauwaert Wouter [this message]
2014-03-05 14:56 ` at91sam9260-ek Vanhauwaert Wouter
2014-03-06  9:55 ` at91sam9260-ek Sascha Hauer
2014-03-06 10:04   ` at91sam9260-ek Vanhauwaert Wouter
2014-03-06 10:18     ` at91sam9260-ek Sascha Hauer
2014-03-06 12:04       ` at91sam9260-ek Vanhauwaert Wouter
2014-03-06 12:20         ` at91sam9260-ek Vanhauwaert Wouter
2014-03-06 14:29           ` at91sam9260-ek Alexander Shiyan

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=E78BBE677EB9144B8F0A0A29674CD5338F93D8D2DF@SRV-VS06.TELEVIC.COM \
    --to=w.vanhauwaert@televic.com \
    --cc=barebox@lists.infradead.org \
    /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