Template:Yocto uboot splash mx8mp: Difference between revisions
From Variscite Wiki
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=== i.MX 8M Plus LVDS Support in U-Boot === | === i.MX 8M Plus LVDS Support in U-Boot === | ||
U-Boot for the i.MX8MP does not natively support LVDS. However, NXP provides an [https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-i-MX8MP-LVDS-driver-in-uboot/ta-p/1434826 out-of-tree] patch to enable this functionality. Variscite has created an additional patch to extend support to the DART-MX8M-PLUS and VAR-SOM-MX8M-PLUS system on modules: | |||
* [https://raw.githubusercontent.com/varigit/meta-variscite-bsp-imx/refs/heads/{{#var:META_VARISCITE_BRANCH}}/recipes-bsp/u-boot/u-boot-variscite/imx8mp-var-dart/0001-Add-i.MX8MP-LVDS-support-in-uboot.patch 0001-Add-i.MX8MP-LVDS-support-in-uboot.patch] | |||
* [https://raw.githubusercontent.com/varigit/meta-variscite-bsp-imx/refs/heads/{{#var:META_VARISCITE_BRANCH}}/recipes-bsp/u-boot/u-boot-variscite/imx8mp-var-dart/0002-imx8mp_var_dart-Add-support-for-LVDS.patch 0002-imx8mp_var_dart-Add-support-for-LVDS.patch] | |||
=== Patching U-Boot with Yocto === | |||
These patches can be applied to U-Boot by appending [https://github.com/varigit/meta-variscite-bsp-imx/blob/{{#var:META_VARISCITE_BRANCH}}/recipes-bsp/u-boot/u-boot-variscite.bb u-boot-variscite.bb] or creating u-boot-variscite.bbappend in your own Yocto layer: | |||
SRC_URI:append:imx8mp-var-dart = " \ | |||
file://0001-Add-i.MX8MP-LVDS-support-in-uboot.patch \ | |||
file://0002-imx8mp_var_dart-Add-support-for-LVDS.patch \ | |||
" | |||
Or, they can be applied directly to your U-Boot tree: | |||
$ cd uboot-imx | |||
$ git am 0001-Add-i.MX8MP-LVDS-support-in-uboot.patch 0002-imx8mp_var_dart-Add-support-for-LVDS.patch | |||
'''Important Note''' | |||
Until these patches are added to the official NXP U-Boot tree, they should be considered experimental. The patch from NXP that adds the LVDS driver makes changes that may not be compatible with other machines. It also modifies clock settings, which might not work with all displays. Use these patches at your own risk. | |||
</includeonly> | </includeonly> |