Skip to content
Snippets Groups Projects
Commit 6fc965a0 authored by Tobias Kahlki's avatar Tobias Kahlki Committed by Jonas Höppner
Browse files

bootscript:dt: Added devicetree description file for i.MX8

Added an description file with the default devicetree for i.MX8
devices.
The file is parsed/used by the post-install scripts to generate
the boot configuration.

BCS 746-000877

(cherry picked from commit 283c6dfb)
parent cf9b0316
No related branches found
No related tags found
1 merge request!249Pull changes from dunfell branch
SUMMARY = "SECO Northern Europe platform bootscript for FNGBoot" SUMMARY = "SECO Northern Europe platform bootscript for FNGBoot"
HOMEPAGE = "https://www.seco.com" HOMEPAGE = "https://north.seco.com"
LICENSE = "Apache-2.0" LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
...@@ -9,6 +9,9 @@ inherit deploy ...@@ -9,6 +9,9 @@ inherit deploy
RPROVIDES:${PN} += " boot.cfg " RPROVIDES:${PN} += " boot.cfg "
PROVIDES += " boot.cfg " PROVIDES += " boot.cfg "
RPROVIDES:${PN}:append:mx8 = " devicetree "
PROVIDES:append:mx8 = " devicetree "
SRC_URI = " \ SRC_URI = " \
file://boot.cfg \ file://boot.cfg \
" "
...@@ -24,4 +27,9 @@ do_install() { ...@@ -24,4 +27,9 @@ do_install() {
install -m 0644 ${S}/boot.cfg ${D}/boot/boot.cfg install -m 0644 ${S}/boot.cfg ${D}/boot/boot.cfg
} }
do_install:append:mx8() {
echo ${DEFAULT_DEVICETREE} >> ${D}/boot/devicetree
}
FILES:${PN} = "boot/boot.cfg" FILES:${PN} = "boot/boot.cfg"
FILES:${PN}:append:mx8 = " boot/devicetree "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment