Hi
Since I am using Colibri imx6ull NAND flash module, after going through [Build U-Boot From Source Code], I have landed up here. The example given is of a imx7 NAND flash module. When I use the same od command I get following result -
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Mansij,
Thank you for reaching out with your question. It seems like you’re encountering an issue with the U-Boot binary for your Colibri iMX6ULL NAND module, as indicated by the ‘od’ command output showing all zeros. Let’s go through some steps to help you resolve this:
Verify U-Boot Configuration:
Ensure you are using the correct configuration for the Colibri iMX6ULL NAND module. The appropriate defconfig file is typically named colibri_imx6ull_defconfig or something similar.
Check the Build Process:
Confirm that the build process completed without errors. Review the build logs for any warnings or errors that might indicate issues.
Rebuild U-Boot:
Clean the build environment using make distclean to remove any previous build artifacts.
Reconfigure U-Boot with the correct defconfig: make colibri_imx6ull_defconfig.
Compile U-Boot again using make.
Inspect the U-Boot Binary:
After rebuilding, check the size and content of the u-boot-nand.imx file. It should not be empty or filled with zeros.
Use the file command to verify that the binary is recognized as a valid U-Boot image.
Cross-Check with Documentation:
Ensure you are following the specific steps outlined in the Toradex documentation for building U-Boot for NAND-based modules, including any necessary patches or adjustments for the iMX6ULL.
By following these steps, you should be able to identify and correct any issues in the U-Boot build process for your Colibri iMX6ULL NAND module. If the problem persists, double-check the toolchain and environment setup to ensure compatibility with the module’s requirements.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
In contrast original instructions used u-boot-dtb.imx as od command argument. Which is correct to look at IVT. *-nand.imx file is padded one, IVT is at offset 1024.