From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.telit.com ([88.37.127.140]) by canuck.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PEQIW-0005yc-3r for barebox@lists.infradead.org; Fri, 05 Nov 2010 17:41:58 +0000 From: Fabio Porcedda Date: Fri, 5 Nov 2010 18:26:43 +0100 Message-ID: <24A9345B397CD24AA76A4E82E237956544B9560AE5@XCHTS.tmt.telital.com> Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0133366213==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: AT91SAM9260-EK NAND Driver error To: "barebox@lists.infradead.org" --===============0133366213== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_24A9345B397CD24AA76A4E82E237956544B9560AE5XCHTStmttelit_" --_000_24A9345B397CD24AA76A4E82E237956544B9560AE5XCHTStmttelit_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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) NA= ND 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 [] to update kernel into flash type udate_root [] to update rootfs into flash barebox:/ --_000_24A9345B397CD24AA76A4E82E237956544B9560AE5XCHTStmttelit_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

I have trouble reading from the nand device driver.

I’m using the Atmel AT91SAM9260-EK board with ba= rebox 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:<= o:p>

 

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 AT91= SAM9260-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 (Sam= sung 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 kerne= l into flash

type udate_root [<imagename>] to update rootfs i= nto flash

 

barebox:/

--_000_24A9345B397CD24AA76A4E82E237956544B9560AE5XCHTStmttelit_-- --===============0133366213== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============0133366213==--