LS1012A process boot from serial NAND flash

cancel
Showing results for 
Search instead for 
Did you mean: 

LS1012A process boot from serial NAND flash

536 Views
minalnemade
Contributor II

  We have designed a custom board using LS1012A process and using serial NAND flash W25N01GW. As per the application note AN5376 for serial NAND flash, u-boot patch is need to support serial NAND. So from where we will get this u-boot patch?. Also we are not getting following binary files in tmp/deploy/images/ls1012ardb/ folder

1. rcw_pbl_first_stage_all_in_one_2k.bin
2. u-boot-spl-ls1012rdb.bin;
3. u-boot-dtb-ls1012rdb.bin

and after compile u-boot we are only getting below binary files

1. u-boot-ls1012ardb.bin

2. u-boot-qspi-secure-boot.bin

So please help us to resolve this.

Thanks & regards

Minal Nemade

0 Kudos
2 Replies

261 Views
Pavel
NXP TechSupport
NXP TechSupport

The LS1012a PBL uses the following for QSPI boot:

0x03 as READ command

24-bit address mode

Operate at minimum speed of 15 MHz

 

Perhaps your problem concerns to byte ordering in RCW and u-boot for QSPI.

See attached snapshot. This file shows the LS1021aRDB PBL (address 0x4000_0000) and u-boot (address 0x4010_0000).

Find the following

40000080: 00000200 09570158 00000001 894c0014

40000090: 000f400c 09550000 40006108 15c98e05

 

The 894c0014 000f400c code is the following command:

write - 0x000F400C at address ox01550000              // set QSPI_MCR[END_CFG] to 0b11


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

261 Views
minalnemade
Contributor II

Hi Pavel,

Do you mean to say that by updating QSPI_MCR[END_CFG] to 0b11 we

should be able to boot from NAND flash without needing any other

binary files stated in AN5376 application note?

If Serial NAND flash supports following three conditions then

LS1012A will not require any other drivers to boot from Serial NAND

flash?

0x03 as READ command

24-bit address mode

Operate at minimum speed of 15 MHz

Thanks & Regards

Minal

0 Kudos