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 ===


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
* [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]


Using NXP's patches, Variscite provides the following reference patches which can be applied on top of U-Boot:
=== 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 \
"


* [https://variscite-public.nyc3.cdn.digitaloceanspaces.com/DART-MX8M-PLUS/Software/patches/u-boot/lf_v2024.04_6.6.23-2.0.0_var01/0001-Add-i.MX8MP-LVDS-support-in-uboot.patch 0001-Add-i.MX8MP-LVDS-support-in-uboot.patch]
Or, they can be applied directly to your U-Boot tree:
* [https://variscite-public.nyc3.cdn.digitaloceanspaces.com/DART-MX8M-PLUS/Software/patches/u-boot/lf_v2024.04_6.6.23-2.0.0_var01/0002-imx8mp_var_dart-Add-support-for-LVDS.patch 0002-imx8mp_var_dart-Add-support-for-LVDS.patch]


=== Patching U-Boot with Yocto ===
$ 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'''


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:
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.


SRC_URI += " \
    https://variscite-public.nyc3.cdn.digitaloceanspaces.com/DART-MX8M-PLUS/Software/patches/u-boot/lf_v2024.04_6.6.23-2.0.0_var01/0001-Add-i.MX8MP-LVDS-support-in-uboot.patch;sha256sum=7c734559834ff3301ec7f638095698e28001e59b5fbb3df35b126fc59f20b961 \
    https://variscite-public.nyc3.cdn.digitaloceanspaces.com/DART-MX8M-PLUS/Software/patches/u-boot/lf_v2024.04_6.6.23-2.0.0_var01/0002-imx8mp_var_dart-Add-support-for-LVDS.patch;sha256sum=ce0d9fd2ee94574d41d91eabfef260816311897346dbdd7e7e7eb40686c8a840 \
"
</includeonly>
</includeonly>

Latest revision as of 20:06, 15 November 2024