mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* AT91SAM9260-EK NAND Driver error
@ 2010-11-05 17:26 Fabio Porcedda
  2010-11-07 11:48 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Porcedda @ 2010-11-05 17:26 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 2709 bytes --]

Hi all,
I have trouble reading from the nand device driver.
I'm using the Atmel AT91SAM9260-EK board with barebox v2010.11.0,
I'm using the at91sam9260ek default config with the "Atmel (AT91SAM9xxx) NAND driver" enabled .

When I try to access the nand device I have an error:

barebox:/ md -s /dev/nand0
err -74
read: error 74

I'm making some mistake?
It's a know issue of the nand driver on the AT91SAM9260-EK?

Thanks in advance for any help
Fabio Porcedda


Barebox starup log:

U-Boot> go 0x22000000
## Starting application at 0x22000000 ...


barebox 2010.11.0-00182-g3d4f24e (Nov  5 2010 - 17:20:12)

Board: Atmel 91SAM9260-EK
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bi
t)
Scanning device for bad blocks
Bad eraseblock 256 at 0x02000000
Bad eraseblock 257 at 0x02020000
Bad eraseblock 258 at 0x02040000
Bad eraseblock 259 at 0x02060000
Bad eraseblock 260 at 0x02080000
Bad eraseblock 282 at 0x02340000
Bad eraseblock 283 at 0x02360000
Bad eraseblock 284 at 0x02380000
Bad eraseblock 285 at 0x023a0000
Bad eraseblock 286 at 0x023c0000
Bad eraseblock 287 at 0x023e0000
Bad eraseblock 288 at 0x02400000
Bad eraseblock 289 at 0x02420000
Bad eraseblock 290 at 0x02440000
Bad eraseblock 291 at 0x02460000
Bad eraseblock 292 at 0x02480000
Bad eraseblock 293 at 0x024a0000
Bad eraseblock 294 at 0x024c0000
Bad eraseblock 295 at 0x024e0000
Bad eraseblock 296 at 0x02500000
Bad eraseblock 297 at 0x02520000
Bad eraseblock 298 at 0x02540000
Bad eraseblock 299 at 0x02560000
Bad eraseblock 300 at 0x02580000
Bad eraseblock 301 at 0x025a0000
Bad eraseblock 302 at 0x025c0000
Bad eraseblock 303 at 0x025e0000
Bad eraseblock 304 at 0x02600000
Bad eraseblock 305 at 0x02620000
Bad eraseblock 306 at 0x02640000
Bad eraseblock 307 at 0x02660000
Bad eraseblock 308 at 0x02680000
Bad eraseblock 309 at 0x026a0000
Bad eraseblock 310 at 0x026c0000
Bad eraseblock 311 at 0x026e0000
Bad eraseblock 312 at 0x02700000
Bad eraseblock 313 at 0x02720000
Bad eraseblock 314 at 0x02740000
Bad eraseblock 315 at 0x02760000
Bad eraseblock 316 at 0x02780000
Bad eraseblock 317 at 0x027a0000
Bad eraseblock 318 at 0x027c0000
Bad eraseblock 319 at 0x027e0000
Malloc space: 0x23b00000 -> 0x23f00000 (size  4 MB)
Stack space : 0x23af8000 -> 0x23b00000 (size 32 kB)
err -74
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...

Hit any key to stop autoboot:  1

type update_kernel [<imagename>] to update kernel into flash
type udate_root [<imagename>] to update rootfs into flash

barebox:/

[-- Attachment #1.2: Type: text/html, Size: 7518 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-16 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 17:26 AT91SAM9260-EK NAND Driver error Fabio Porcedda
2010-11-07 11:48 ` Sascha Hauer
2010-11-16 10:26   ` Fabio Porcedda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox