Skip to content

Commit

Permalink
Merge pull request #31 from EdTheBearded/tor-3333
Browse files Browse the repository at this point in the history
initramfs-framework: add modules to support plymouth on AM62
  • Loading branch information
jsrc27 authored Feb 29, 2024
2 parents 6e5029c + 121b3cc commit ee846b5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
12 changes: 12 additions & 0 deletions recipes-core/initramfs-framework/files/50-am62-graphics.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pwm_tiehrpwm
fb_sys_fops
sysimgblt
sysfillrect
syscopyarea
drm_kms_helper
drm_dma_helper
tidss
display_connector
tc358768
ti_sn65dsi83
lontium_lt8912b
21 changes: 21 additions & 0 deletions recipes-core/initramfs-framework/initramfs-framework_1.0.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,24 @@ do_install:append:mx8-nxp-bsp() {
install -d ${D}/etc/modules-load.d/
install -m 0755 ${WORKDIR}/50-imx8-graphics.conf ${D}/etc/modules-load.d/50-imx8-graphics.conf
}

SRC_URI:append:ti-soc = " file://50-am62-graphics.conf"
RDEPENDS:initramfs-module-kmod:append:ti-soc = " \
kernel-module-pwm-tiehrpwm \
kernel-module-fb-sys-fops \
kernel-module-sysimgblt \
kernel-module-sysfillrect \
kernel-module-syscopyarea \
kernel-module-drm-kms-helper \
kernel-module-drm-dma-helper \
kernel-module-tidss \
kernel-module-display-connector \
kernel-module-tc358768 \
kernel-module-ti-sn65dsi83 \
kernel-module-lontium-lt8912b \
"

do_install:append:ti-soc() {
install -d ${D}/etc/modules-load.d/
install -m 0755 ${WORKDIR}/50-am62-graphics.conf ${D}/etc/modules-load.d/50-am62-graphics.conf
}

0 comments on commit ee846b5

Please sign in to comment.