summaryrefslogtreecommitdiff
path: root/conf/machine/verdin-am62.conf
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-02-07 17:45:52 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2023-02-13 14:43:52 +0100
commit7b186f18a718d889b5f2a986958b109bf6e9ded6 (patch)
tree9d59e0450ca6a840c14217bfb2d6dcae3875f4f4 /conf/machine/verdin-am62.conf
parent3d3f03492053111e0205394c705ac6a276bcb252 (diff)
verdin-am62: add kernel and friends to bootfs
We want to load the kernel/device tree/device tree overlays from the first partition. So deploy them there and stop having them in the rootfs /boot/. Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'conf/machine/verdin-am62.conf')
-rw-r--r--conf/machine/verdin-am62.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/machine/verdin-am62.conf b/conf/machine/verdin-am62.conf
index 76bdee4..9f59443 100644
--- a/conf/machine/verdin-am62.conf
+++ b/conf/machine/verdin-am62.conf
@@ -5,8 +5,12 @@
MACHINE_NAME = "Verdin-AM62"
+require conf/machine/verdin-am62.inc
require conf/machine/include/am62xx.inc
+# Don't include kernels in standard images
+# keep it for now RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
+
PREFERRED_PROVIDER_virtual/kernel = "linux-toradex-ti"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-ti-staging"
PREFERRED_PROVIDER_u-boot = "u-boot-toradex-ti-staging"
@@ -28,6 +32,12 @@ TEZI_EXTERNAL_KERNEL_DEVICETREE_BOOT = ""
UBOOT_MACHINE = "am62x_evm_a53_defconfig"
+IMAGE_BOOT_FILES:append = " \
+ boot.scr-${MACHINE};boot.scr \
+ ${KERNEL_IMAGETYPE} \
+ ${@make_dtb_boot_files(d)} \
+"
+
WKS_FILE_DEPENDS:append = " u-boot-distro-boot"
WIC_CREATE_EXTRA_ARGS:append = " --no-fstab-update"