trying out the torizoncore builder and ran into a lot of issues .
Following - TorizonCore Builder Tool - Customizing Torizon OS Images | Toradex Developer Center and Also First Steps with Device Trees | Toradex Developer Center
So far:
- did the source tcb-env-setup.sh (I did have to add a -k on the script for the 2 curl command, certificate issues)
- made a template
3)downloaded the base image, in may case it was
torizon-core-docker-evaluation-verdin-imx8mp-Tezi_6.7.0+build.18.container.tar - unpacked the .tar
- cloned the device-trees and linux-toradex dir.
- Then I deviated and went to the other page to modify a device tree.
- modified a dts.
- added the line dtb-$(CONFIG_ARCH_MXC) += myCustom.dtb to the Makefile
- ran $make DTC_FLAGS=“-@” myCustom.dtb…this gave me an error "make: *** No rule to make target "
- Ran $torizoncore-builder dt apply myCustom.dts … this gave me “imx8mp-verdin.dtsi:6:10: fatal error: dt-bindings/pwm/pwm.h: No such file or directory”
- I cheated a bit and added the dtbinding folder from the Device Tree repo.
- This only gave me more errors of can’t find files but it was #include <dt-bindings…>
I saw this note “Keep in mind that you previously need to configure your build environment accordingly to you Linux kernel version”
- Brings me to Kernel Compilation. but it first wants me to do a Kernel Configuration
- I go to the tdxref-oe-prod-frankfurt/kirkstone-6.x.y/release. link I have no idea what release it is, it show 1 to 9. need help knowing what release to get.
- tried to get 6 → verdin-imx8mp and it give me an error that the allowable download size is 512MB and the file is much larger… need help here.
All I’m trying to do is modify some pin configuration
What I have:
BSP - TorizonCore 6.7.0+build.18 \n \l
Kernel - Linux mallow 5.15.148-6.7.0+git.bfdbfb2c85fb #1-TorizonCore SMP PREEMPT Thu Jun 20 15:59:41 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux