The default enabled display interface for the phyCORE-AM572x Rapid Development kit is the parallel display port utilizing a PHYTEC LCD Kit (LCD-018-070KAP). To enable use of HDMI with the Linux demo, the Linux device tree file will need to be modified. The following provides a walkthrough for modifying and rebuilding the device tree binary to enable HDMI.
- You will need to have a working build of the BSP to modify the device tree source file. Instructions for building the BSP are provided in the Quickstart guide: BSP-Yocto-TISDK-AM57xx-PD17.1.1 Quickstart
- On your Host PC navigate to the Linux source. The path to the source may differ on your machine. The following example path should be valid if you have completed the QuickStart and still have your terminal open.
- Open the device tree source file (am57xx-phycore-rdk.dts) in your favorite Linux text editor. vim for an example in this article.
- In the device tree source (DTS) file, find and change the display0 binding to HDMI.
You will notice that sound0 = &hdmi; is commented out. This binding is for audio over HDMI. It is recommended to keep this commented out if you are connecting to a device that does not support HDMI audio.
- In the DTS file, disable LCD and enable HDMI bindings. The changes should look like the following.
- Save and exit the DTS file. If you are using vim as your text editor use ':wq' to write-quit.
- Navigate back to the build directory to initiate a re-build of the kernel.
- Re-build the kernel using the following commands. These commands will rebuild the kernel (zImage) and device tree binary (DTB).
- The newly built images will be available here: $YOCTO_DIR/build/arago-tmp-external-linaro-toolchain/deploy/images/<machine>/zImage-am572x-phycore-rdk.dtb. Update your software to include the new device tree binary (DTB). For more details on how see the Quickstart Guide: BSP-Yocto-TISDK-AM57xx-PD17.1.1 Quickstart