Template:Yocto uboot splash mx8mp: Difference between revisions

From Variscite Wiki
No edit summary
 
(3 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 ===


Variscite's U-Boot branch is based on NXP's U-Boot, which does not natively support LVDS.
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:
 
However, NXP provides out-of-tree patches that can be applied to enable LVDS in U-Boot: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Add-i-MX8MP-LVDS-driver-in-uboot/ta-p/1434826
 
Using NXP's patches, Variscite provides the following reference patches which can be applied on top of U-Boot:


* [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/0001-Add-i.MX8MP-LVDS-support-in-uboot.patch 0001-Add-i.MX8MP-LVDS-support-in-uboot.patch]
Line 15: Line 11:
=== Patching U-Boot with Yocto ===
=== Patching U-Boot with Yocto ===


These patches can be applied to U-Boot by appending [https://github.com/varigit/meta-variscite-bsp-imx/blob/scarthgap_6.6.23-2.0.0_var01/recipes-bsp/u-boot/u-boot-variscite.bb u-boot-variscite.bb] or creating u-boot-variscite.bbappend in your own Yocto layer:
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 = " \
  SRC_URI:append:imx8mp-var-dart = " \
Line 26: Line 22:
  $ cd uboot-imx
  $ cd uboot-imx
  $ git am 0001-Add-i.MX8MP-LVDS-support-in-uboot.patch 0002-imx8mp_var_dart-Add-support-for-LVDS.patch
  $ 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>

Latest revision as of 20:06, 15 November 2024