I am having a T1022 processor based board, the uboot is booting from spi and nand flash is used to boot kernel, device tree and file system. When i am booting kernel from nand flash it sometimes got struck in kernel. This behavior is very frequent . Please look into the attached kernel log for reference.
Processor : T1022
Nand flash - Micron MT29F8G08ABBCAH4
Reset Configuration Word (RCW):
00000000: 0c10000e 0e000000 00000000 00000000
00000010: 85000000 00400112 ec110000 21000000
00000020: 00000000 00000000 60000000 0003a000
00000030: 00000000 d416aa05 00000000 00000000
已解决! 转到解答。
Please try whether this problem can be reproduce when using ramdisk boot, please refer to the following procedure.
=> setenv bootargs "root=/dev/ram rw console=ttyS0,115200"
=> tftp 0x1000000 nxa22585/t1024/uImage
=> tftp 0x2000000 nxa22585/t1024/uImage-t1024rdb.dtb
=> tftp 0x5000000 nxa22585/t1024/fsl-image-minimal-t1040d4rdb.ext2.gz.u-boot
=> bootm 0x1000000 0x5000000 0x2000000
I uploaded fsl-image-minimal-t1040d4rdb.ext2.gz.u-boot in the following link.
https://drive.google.com/file/d/1Dlnk-Cpn5im9IEdMGFv2mSduToIAYVoe/view?usp=sharing
If this problem cannot be reproduced with ramdisk boot, please check NAND FLASH IFC timing configuration in u-boot source include/configs/T102xRDB.h.
For IFC timing configuration configuration on the custom board, please refer to https://community.nxp.com/t5/Layerscape-Knowledge-Base/IFC-Controller-Configuration-on-QorIQ-Custom-...
Please try whether this problem can be reproduce when using ramdisk boot, please refer to the following procedure.
=> setenv bootargs "root=/dev/ram rw console=ttyS0,115200"
=> tftp 0x1000000 nxa22585/t1024/uImage
=> tftp 0x2000000 nxa22585/t1024/uImage-t1024rdb.dtb
=> tftp 0x5000000 nxa22585/t1024/fsl-image-minimal-t1040d4rdb.ext2.gz.u-boot
=> bootm 0x1000000 0x5000000 0x2000000
I uploaded fsl-image-minimal-t1040d4rdb.ext2.gz.u-boot in the following link.
https://drive.google.com/file/d/1Dlnk-Cpn5im9IEdMGFv2mSduToIAYVoe/view?usp=sharing
If this problem cannot be reproduced with ramdisk boot, please check NAND FLASH IFC timing configuration in u-boot source include/configs/T102xRDB.h.
For IFC timing configuration configuration on the custom board, please refer to https://community.nxp.com/t5/Layerscape-Knowledge-Base/IFC-Controller-Configuration-on-QorIQ-Custom-...