Tool/software:
Based on the official documentation, I downloaded the AM65X_09_03_05_02 SDK and Yocto.
I attempted to generate a patch file for k3-am654-base-board.dtb
using git diff
, and then created a custom layer and recipes to apply this patch.
However, when I recompile using MACHINE=am65xx-evm ARAGO_RT_ENABLE=1 bitbake tisdk-base-image
,
my patch is consistently not applied correctly to generate the corresponding device tree. This issue persists even after using clean
commands to clear the old cache.
```
meta-custom-layer
└── recipes-kernel
└── linux
│ └── linux-ti-staging-rt
│ └── 0001_modify_linux_device_tree.patch
└── linux-ti-staging-rt_%.bbappend
```
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " \
file://0001_modify_linux_device_tree.patch \
"