AnsweredAssumed Answered

how to make pbl integrated uboot image which used to boot from nand flash

Question asked by Liu Jianbo on Aug 29, 2016
Latest reply on Sep 21, 2016 by Yiping Wang

About the uboot Image which used to burn into nand flash on T2080 target, it include rcw, pbl and uboot, based on my understanding of boot sequence, only first 8k of flash will be copied into sram firstly, then run some pbi etc.. command to setup init env.

 

But check the PBI command in this image, we found the pbi's CRC command(0x13_8040: PBI CRC check command) will end in address 0x2A908, it's far away from the first 8k, looks PBL can not be copied to sram completely, if we use the wrong image for nand flash booting?

 

The image I used is came from build_t2080rdb-64b/tmp/work/t2080rdb_64b-fsl-linux/u-boot-qoriq/2016.01+fslgit-r0/git/T2080RDB_NAND_config/u-boot-with-spl-pbl.bin

 

/***************************************/
000000: aa55 aa55 010e 0100 1005 0013 0800 0000  .U.U............
0000010: 0000 0000 0000 0000 6c2d 0002 f010 4200  ........l-....B.
0000020: fc02 7000 a100 0000 0000 0000 0000 0000  ..p.............
0000030: 0000 0000 0001 9000 0000 0000 8000 0004  ................
0000040: 0000 0000 0000 0004 0901 0000 0020 0400  ............. ..
0000050: 0913 8000 0000 0000 0913 80c0 0000 0100  ................
0000060: 0901 0100 0000 0000 0901 0104 fff8 0009  ................
0000070: 0901 0f00 0800 0000 0901 0000 8000 0000  ................
0000080: 0900 0d00 0000 0000 0900 0d04 fff8 0000  ................
0000090: 0900 0d08 8100 0012 0911 0000 8000 0403  ................
00000a0: 0911 0020 2d17 0008 0911 0024 0010 0008  ... -......$....
00000b0: 0911 0028 0010 0008 0911 002c 0010 0008  ...(.......,....
00000c0: 094f c030 0000 8148 094f d030 0000 8148  .O.0...H.O.0...H
00000d0: 0900 0010 0000 0000 0900 0014 ff00 0000  ................
00000e0: 0900 0018 8100 0000 0913 8000 0000 0000  ................
00000f0: 0913 80c0 0000 0000 81fd 8000 2705 1956  ............'..V
0000100: 552d 426f 6f74 2032 3031 362e 3031 322e  U-Boot 2016.012.
0000110: 302b 6761 3962 3433 3766 2028 4175 6720  0+ga9b437f (Aug
...........
002a8d0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
002a8e0: 0000 0000 0000 0000 0000 0000 0000 0000  ................
002a8f0: 0000 0000 4bff f004 0913 8000 0000 0000  ....K...........
002a900: 0913 80c0 0000 0000 0813 8040 3475 4866  ...........@4uHf
/***************************************/

Outcomes