firmware-imx: add sdma-firmware.service to the rootfs
This commit adds the sdma-firmware.service to the rootfs to load the SDMA firmware during boot, that is necessary for some drivers to work correctly. Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
737230a2f4
commit
3df077d0ff
|
|
@ -11,21 +11,29 @@ SRC_URI_append = " \
|
||||||
file://epdc \
|
file://epdc \
|
||||||
file://regulatory \
|
file://regulatory \
|
||||||
file://hdmi \
|
file://hdmi \
|
||||||
|
file://sdma-firmware.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
|
|
||||||
inherit allarch
|
inherit allarch systemd
|
||||||
|
|
||||||
|
SYSTEMD_PACKAGES = "${PN}-sdma"
|
||||||
|
SYSTEMD_SERVICE_${PN}-sdma = "sdma-firmware.service"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${base_libdir}/firmware/imx
|
install -d ${D}${base_libdir}/firmware/imx
|
||||||
|
|
||||||
# Install loading scripts
|
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||||
install -d ${D}${sysconfdir}
|
# Install loading scripts
|
||||||
install -m 0755 ${WORKDIR}/sdma ${D}${sysconfdir}
|
install -d ${D}${sysconfdir}
|
||||||
install -m 0755 ${WORKDIR}/epdc ${D}${sysconfdir}
|
install -d ${D}${systemd_system_unitdir}
|
||||||
install -m 0755 ${WORKDIR}/regulatory ${D}${sysconfdir}
|
install -m 0755 ${WORKDIR}/sdma ${D}${sysconfdir}
|
||||||
install -m 0755 ${WORKDIR}/hdmi ${D}${sysconfdir}
|
install -m 0755 ${WORKDIR}/epdc ${D}${sysconfdir}
|
||||||
|
install -m 0755 ${WORKDIR}/regulatory ${D}${sysconfdir}
|
||||||
|
install -m 0755 ${WORKDIR}/hdmi ${D}${sysconfdir}
|
||||||
|
install -m 0644 ${WORKDIR}/sdma-firmware.service ${D}${systemd_system_unitdir}
|
||||||
|
fi
|
||||||
|
|
||||||
cd firmware
|
cd firmware
|
||||||
for d in *; do
|
for d in *; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue