AT91SAM9260-EK NAND Driver error

Fabio Porcedda Fabio.Porcedda at telit.com
Fri Nov 5 13:26:43 EDT 2010


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:/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20101105/9d6067bd/attachment.html>


More information about the barebox mailing list