summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2021-05-03 10:57:05 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2021-05-04 14:07:09 -0300
commit122bfa162197075949adf826a39119cc21c6955f (patch)
tree766d608ce2f3a93a9c7e8434c4cedf015b0a84e0 /conf/machine
parente465b75e5cc6bce98d7fb2aacbd2eb1c98b21a22 (diff)
downloadmeta-freescale-122bfa162197075949adf826a39119cc21c6955f.tar.gz
conf: machine: imx8m[m,n,p]: enable extlinux support
Newer U-Boot versions enables distro boot option as a default. This requires that the target uses either Syslinux or boot script in order to start instead of customized boot environment. Since according to U-Boot documentation [1], Syslinux is considered as a preferred way of using distro boot - enable it for imx8mm, imx8mn and imx8mp derivatives for mainline BSP. Syslinux options are introduced in machine-specific headers in order to assemble correct extlinux.conf file. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Link: [1]: https://source.denx.de/u-boot/u-boot/-/blob/master/doc/README.distro
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/include/imx8mm-evk.inc19
-rw-r--r--conf/machine/include/imx8mn-evk.inc19
-rw-r--r--conf/machine/include/imx8mp-evk.inc19
3 files changed, 57 insertions, 0 deletions
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc
index 9b590fe0..bcf838ab 100644
--- a/conf/machine/include/imx8mm-evk.inc
+++ b/conf/machine/include/imx8mm-evk.inc
@@ -45,6 +45,25 @@ IMX_BOOT_SOC_TARGET = "iMX8MM"
45 45
46SERIAL_CONSOLES = "115200;ttymxc1" 46SERIAL_CONSOLES = "115200;ttymxc1"
47 47
48# Add support for Syslinux to mainline BSP.
49# U-Boot has the Distro Boot mode enabled by default, which
50# require that either Syslinux to be enabled, or a boot script
51# to be used to define the boot process.
52# We opt-in for Syslinux, since it is designated as a preferred
53# distro boot mode according to the U-Boot documentation.
54UBOOT_EXTLINUX_use-mainline-bsp = "1"
55UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default"
56UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Mini EVK"
57
58UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Mini EVK"
59UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb"
60UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}"
61UBOOT_EXTLINUX_ROOT_default_use-mainline-bsp = "root=/dev/mmcblk1p2"
62
63# Add extlinux.conf to the lis of files, which are deployed onto the
64# boot partition
65IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
66
48LOADADDR = "" 67LOADADDR = ""
49UBOOT_SUFFIX = "bin" 68UBOOT_SUFFIX = "bin"
50UBOOT_MAKE_TARGET = "all" 69UBOOT_MAKE_TARGET = "all"
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc
index 6a5b31f7..a0e39857 100644
--- a/conf/machine/include/imx8mn-evk.inc
+++ b/conf/machine/include/imx8mn-evk.inc
@@ -46,6 +46,25 @@ IMX_BOOT_SOC_TARGET = "iMX8MN"
46 46
47SERIAL_CONSOLES = "115200;ttymxc1" 47SERIAL_CONSOLES = "115200;ttymxc1"
48 48
49# Add support for Syslinux to mainline BSP.
50# U-Boot has the Distro Boot mode enabled by default, which
51# require that either Syslinux to be enabled, or a boot script
52# to be used to define the boot process.
53# We opt-in for Syslinux, since it is designated as a preferred
54# distro boot mode according to the U-Boot documentation.
55UBOOT_EXTLINUX_use-mainline-bsp = "1"
56UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default"
57UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Nano EVK"
58
59UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Nano EVK"
60UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb"
61UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}"
62UBOOT_EXTLINUX_ROOT_default_use-mainline-bsp = "root=/dev/mmcblk1p2"
63
64# Add extlinux.conf to the lis of files, which are deployed onto the
65# boot partition
66IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
67
49BOOT_SPACE = "65536" 68BOOT_SPACE = "65536"
50LOADADDR = "" 69LOADADDR = ""
51UBOOT_SUFFIX = "bin" 70UBOOT_SUFFIX = "bin"
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc
index 872d07a0..814638d0 100644
--- a/conf/machine/include/imx8mp-evk.inc
+++ b/conf/machine/include/imx8mp-evk.inc
@@ -43,6 +43,25 @@ IMX_BOOT_SOC_TARGET = "iMX8MP"
43 43
44SERIAL_CONSOLES = "115200;ttymxc1" 44SERIAL_CONSOLES = "115200;ttymxc1"
45 45
46# Add support for Syslinux to mainline BSP.
47# U-Boot has the Distro Boot mode enabled by default, which
48# require that either Syslinux to be enabled, or a boot script
49# to be used to define the boot process.
50# We opt-in for Syslinux, since it is designated as a preferred
51# distro boot mode according to the U-Boot documentation.
52UBOOT_EXTLINUX_use-mainline-bsp = "1"
53UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default"
54UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Plus EVK"
55
56UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Plus EVK"
57UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb"
58UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}"
59UBOOT_EXTLINUX_ROOT_default_use-mainline-bsp = "root=/dev/mmcblk1p2"
60
61# Add extlinux.conf to the lis of files, which are deployed onto the
62# boot partition
63IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf"
64
46LOADADDR = "" 65LOADADDR = ""
47UBOOT_SUFFIX = "bin" 66UBOOT_SUFFIX = "bin"
48UBOOT_MAKE_TARGET = "all" 67UBOOT_MAKE_TARGET = "all"