Use DTBO to change extension device - TechNexion/u-boot-tn-imx GitHub Wiki
Device Tree Blob for Overlay(DTBO)
For FLEX-IMX8MM
DTS | DTBO | dtoverlay value | Description |
---|---|---|---|
imx8mm-flex-pi-m4-overlay.dts | imx8mm-flex-pi-m4.dtbo | m4 | Cortex M4 |
imx8mm-flex-wizard-voicehat-overlay.dts | imx8mm-flex-wizard-voicehat.dtbo | voicehat | Voice Hat |
imx8mm-flex-wizard-ov7251-overlay.dts | imx8mm-flex-wizard-ov7251.dtbo | ov7251 | Camera OV7251 |
imx8mm-flex-wizard-mipi5-overlay.dts | imx8mm-flex-wizard-mipi5.dtbo | mipi5 | MIPI 5" ili9881c |
imx8mm-flex-wizard-mipi8-overlay.dts | imx8mm-flex-wizard-mipi8.dtbo | mipi8 | MIPI 8" g080uan01 |
imx8mm-flex-wizard-mipi10-overlay.dts | imx8mm-flex-wizard-mipi10.dtbo | mipi10 | MIPI 10" g101uan02 |
imx8mm-flex-wizard-lvds10-overlay.dts | imx8mm-flex-wizard-lvds10.dtbo | lvds10 | MIPI to LVDS 10" m101nwwb |
imx8mm-flex-wizard-lvds15-overlay.dts | imx8mm-flex-wizard-lvds15.dtbo | lvds15 | MIPI to LVDS 15" g156xw01 |
imx8mm-flex-wizard-lvds21-overlay.dts | imx8mm-flex-wizard-lvds21.dtbo | lvds21 | MIPI to LVDS 21" g215hvn01 |
imx8mm-flex-wizard-mipi2hdmi-overlay.dts | imx8mm-flex-wizard-mipi2hdmi.dtbo | mipi2hdmi | MIPI to HDMI adv7535 |
imx8mm-flex-pi-clixwifi-overlay.dts | imx8mm-flex-pi-clixwifi.dtbo | clixwifi | CLIX WiFi |
imx8mm-flex-wizard-clix1wifi-overlay.dts | imx8mm-flex-wizard-clix1wifi.dtbo | clix1wifi | CLIX1 WiFi |
imx8mm-flex-wizard-clix1nfc-overlay.dts | imx8mm-flex-wizard-clix1nfc.dtbo | clix1nfc | CLIX1 NFC |
imx8mm-flex-wizard-clix2nfc-overlay.dts | imx8mm-flex-wizard-clix2nfc.dtbo | clix2nfc | CLIX2 NFC |
- Method 1: Use on u-boot
u-boot=> setenv dtoverlay "mipi5 voicehat chix1nfc"
- Method 2: Set dtoverlay into uEnv.txt
dtoverlay="mipi5 voicehat chix1nfc"
Automatic detection and setting of panels on U-boot
Support panel:
For FLEX-WIZARD
Panel | Panel Model | Parameter | Daughter Card |
---|---|---|---|
MIPI 5-inch | ILI9881C | ILI9881C_LCD | MIPI-TO-5-INCH-720×1280 |
MIPI 8-inch | G080UAN01 | G080UAN01_LCD | MIPI-TO-8-INCH-1200×1920 |
MIPI 10.1-inch | G101UAN02 | G101UAN02_LCD | MIPI-TO-10-INCH-1920×1200 |
LVDS 10.1-inch | M101NWWB | M101NWWB_LCD | MIPI-TO-DUAL-LVDS |
LVDS 15.6-inch | G156XW01 | G156XW01_LCD | MIPI-TO-DUAL-LVDS |
LVDS 21.5-inch | G215HVN01 | G215HVN01_LCD | MIPI-TO-DUAL-LVDS |
MIPI to HDMI | ADV7535 | MIPI2HDMI | MIPI-TO-HDMI |
The U-boot has added automatic detection, but LVDS panels do not support it.
Users need to set “panel” environment variable to “Parameter” value.
If the panel is not detected the default is to use the MIPI2HDMI.
- For LVDS 10.1-inch panel:
u-boot=> env default -a
u-boot=> setenv panel M101NWWB_LCD
u-boot=> saveenv
u-boot=> reset
- For LVDS 15.6-inch panel:
u-boot=> env default -a
u-boot=> setenv panel G156XW01_LCD
u-boot=> saveenv
u-boot=> reset
- For LVDS 21.5-inch panel:
u-boot=> env default -a
u-boot=> setenv panel G215HVN01_LCD
u-boot=> saveenv
u-boot=> reset
If you want to restore automatic detection:
u-boot=> env default -a
u-boot=> saveenv
u-boot=> reset
landscape mode
in wayland:
Change MIPI-DSI panel to By default, 5-inch MIPI-DSI panel(ILI9881) is portrait mode
.
After booting into Yocto system, add settings in weston.ini as below:
vi /etc/xdg/weston/weston.ini
[output]
name=DSI-1
transform=90
mode=1280x720@60
Restart weston
or reboot system to apply the settings.
systemctl restart weston