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-...