The hardware is configured using Device Tree. The Device Tree files for your module are located in:
platform-<platformname>/build-target/linux-<version>/arch/arm/boot/dts/<devicetreefile>.dts(i)
after the prepare step of the kernel package.

Documentation of Device Tree for your kernel version can be found in the kernel tree under Documentation/devicetree.

Attention: Changes in the build directory are not saved. You need to create a patch to make the changes permanent.

Attention: Changes of the Device Tree must be compiled. To do this enter the following commands:

$ ptxdist drop dtc compile
$ ptxdist go
$ ptxdist images

If you want to update the kernel image you need to transfer the resulting Device Tree blob to your device. It has to be copied to your TFTP directory:

$ cp platform-<platformname>/images/<devicetreblob>.dtb <your TFTP directory>

Afterwards it can be loaded to the device via TFTP and updated in U-Boot. On how to do that, please have a look at:

Updating existing firmware over ethernet

  • Last modified: 2022/08/04 15:02