In this phase, you use lopper, which is a device tree manipulation
framework, to transform the generic SDT into a Zephyr-specific device tree with OpenAMP
support.
Lopper Overview
You use lopper as a device tree manipulation and transformation
tool. It uses "lops" (lopper operations), which are plugins that modify device
trees. You can use these lops to apply overlays, prune nodes, translate bindings,
and generate domain-specific views.
You typically find
lopper in the Yocto build output, as shown
in the
following:# Typically found in:
# tmp/work/x86_64-linux/esw-conf-native/<version>/recipe-sysroot-native/usr/bin/lopper
You can set the following environment variable before you run
lopper:
export LOPPER_DTC_FLAGS="-b 0 -@"
# -b 0: Generate blob version 0 (compatible)
# -@: Enable symbols/labels for overlay support