B4860 boot from NAND/SPI flash problem

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

B4860 boot from NAND/SPI flash problem

2,034 Views
frank2li
Contributor I

I have a customize B4860 board, there is no NOR flash.

There is one spansion spi flash and one MT29F4G08ABBDAH4 nand flash which is same with B4860QDS board. I'm using SDK-1.6, and use the u-boot config of B4860QDS_NAND_config to compile the u-boot. Final I got the u-boot-with-spl-pbl.bin image. Using codewarrior to write the uboot to the first block of nand flash. Then I switch the hw rcw_souce with 1_0000_01nn (for nn, I tried 00, 11, 01, 10, none of them work), seems the B4860 can't bootup. Anything wrong?

Anybody know the exact procedure to boot from NAND/SPI flash for B4860? 

Labels (1)
Tags (2)
0 Kudos
3 Replies

1,660 Views
frank2li
Contributor I

Thanks!

From B4860 RM,  1_0000_01nn is for "8-bit NAND Flash, 2-Kbyte page, 64 pages/block", 1_0000_10nn is for "8-bit NAND Flash, 2-Kbyte page, 128 pages/block".

0 Kudos

1,660 Views
frank2li
Contributor I

Now spiboot works, b4860 uboot need to be changed to support spi boot. Thanks!

0 Kudos

1,660 Views
ufedor
NXP Employee
NXP Employee

You wrote:

> rcw_souce with 1_0000_01nn

This RCW corresponds to the 16-bit NAND Flash, for the 8-bit one it should be 1_0000_10nn

0 Kudos