QorIQ P1020 - Booting from Nand Memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QorIQ P1020 - Booting from Nand Memory

1,211 Views
leandross
Contributor I

Hello,

 

I am working in a QorIQ P1020 Design without NOR memory, just a big NAND and a DDR3 Memories.

 

Documentation say is possible boot from nand, and I try this in my Reference Design Board.

 

In Fact this work with the u-boot+spl are in first block of NAND Memory.

 

My question is how can I test if its work with bad blocks on first block.

 

Any sugestion.

 

Thanks.

Leandro

 

0 Kudos
1 Reply

729 Views
scottwood
NXP Employee
NXP Employee

On most NAND chips the first block is guaranteed to not be bad, but regardless this should work on P1020 as described in section 12.4.3.4.2 of the reference manual

("Boot Block Loading into the FCM Buffer RAM").

To test, you'd manually mark the block bad by writing a value other than 0xff to the first byte of the spare area (assuming large page NAND), then write the boot image again.  Make sure that whatever you use to write the image skips bad blocks.  If you're using U-Boot or Linux (or anything else that uses the on-flash bad block table) to write the image, make sure you erase the bad block table after marking the block bad, before you write the image again.

0 Kudos