Which BSP version are you using? Also, did you build the flash binary files (Flash-missingPDAT.bin) or you downloaded the one from the community? In case you build it, could you specify which changes did you do to the image? Finally, just to double check, you are able to flash the image into the board, but at certain point of the booting process it reboots again, is this correct?
The Flash-missingPDAT.bin was downloaded from the community. Now i want to build my own .bin file for the prototype by using bsp1.2.0. but have no idea about the image modify task,(modify the kernel? in order to bootup my prototype.) would you please give me some datasheet or example about this task. thank you very much
You can build the Flash-missingPDAT.bin by following section 8 of the BSP Build Guide.
Another option would be to build a small Linux for SPI flash (section 6.2 of the BSP Build Guide), but prior to run the command bitbake image-spi, you’ll need to use bitbake linux-yocto -c menuconfig this will display a window in which you can add, remove or make changes into the kernel. If you need more information about it I suggest you to check the Yocto Project Development Manual, specially the section Configuring The Kernel. Once the kernel is modified it will generate a .conf file what you need to copy into your build configuration and replace it with the default version. At this point you can start building the image with the changes in the kernel.