Hello everyone,
I am developing custom software for a project using the OSD32MP157F/C SiP and am encountering issues when trying to boot on my custom hardware.
I would appreciate some guidance on the correct procedure.
Initially, I attempted to follow the official Octavo GitHub tutorial, but I was unsuccessful due to a persistent build failure related to the libiio library. I then found a potential fix for the libiio issue on this forum, but unfortunately, it did not resolve the problem for me.
Finally, I switched to a manual build process by unpacking the OpenSTLinux 3.0.0 source files (https://www.st.com/en/embedded-software/stm32mp1dev.html)( MP1-DEV-SRC and MP1-DEV-x86 in version menu 3.0.0) and using the minimalconfig (https://octavosystems.com/files/osd32mp15x_minimalconfig/) intended for the OSD32MP1-BRK board. This manual build was successful, and I correctly generated the .dtb, uImage, and the necessary files for TFA and U-Boot. I made script for process optimization and I can share it here.
To verify my manual build, I tested the artifacts on an OSD32MP1-BRK board. I successfully booted the board by only replacing the existing .dtb file and uImage in the system with my newly generated one. This confirms that my build artifacts (kernel, u-boot, etc.) are functional, at least in the BRK environment.
As a further test, I also tried to manually modify the .dts file and recompile it. I was able to successfully enable an LED, but this manual change caused a kernel failure during boot on the BRK board.
My main goal is to run this build on my custom hardware. I have taken the .dtb file from my manual build and adapted it to match my custom board’s schematic that is based on brk schematic.
However, when I try to boot my custom board with this modified image and DTB, the system fails to boot. I have also tried using several different SD cards to ensure it is not a media issue, but the result remains the same.
I am looking for guidance on the correct procedure to deploy these manually built artifacts (TFA, U-Boot, Kernel, DTB) from an OpenSTLinux 3.0.0 build to new custom hardware.
Specifically, I need to know if modifying the device tree (.dtb) file is the only step required, or if I also need to reconfigure/rebuild U-Boot or TFA when migrating from the OSD32MP1-BRK reference to my custom hardware.
I would also appreciate any insights, into the likely cause of the failure and the recommended next steps for debugging.
Thank you in advance for your help.