diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-05-03 10:57:05 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-05-04 14:07:09 -0300 |
commit | 122bfa162197075949adf826a39119cc21c6955f (patch) | |
tree | 766d608ce2f3a93a9c7e8434c4cedf015b0a84e0 /conf/machine/include/imx8mn-evk.inc | |
parent | e465b75e5cc6bce98d7fb2aacbd2eb1c98b21a22 (diff) | |
download | meta-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/include/imx8mn-evk.inc')
-rw-r--r-- | conf/machine/include/imx8mn-evk.inc | 19 |
1 files changed, 19 insertions, 0 deletions
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 | ||
47 | SERIAL_CONSOLES = "115200;ttymxc1" | 47 | SERIAL_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. | ||
55 | UBOOT_EXTLINUX_use-mainline-bsp = "1" | ||
56 | UBOOT_EXTLINUX_LABELS_use-mainline-bsp = "default" | ||
57 | UBOOT_EXTLINUX_DEFAULT_LABEL_use-mainline-bsp = "i.MX8M Nano EVK" | ||
58 | |||
59 | UBOOT_EXTLINUX_MENU_DESCRIPTION_default_use-mainline-bsp = "i.MX8M Nano EVK" | ||
60 | UBOOT_EXTLINUX_FDT_default_use-mainline-bsp = "../${KERNEL_DEVICETREE_BASENAME}.dtb" | ||
61 | UBOOT_EXTLINUX_CONSOLE_default_use-mainline-bsp = "console=${console}" | ||
62 | UBOOT_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 | ||
66 | IMAGE_BOOT_FILES_append_use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" | ||
67 | |||
49 | BOOT_SPACE = "65536" | 68 | BOOT_SPACE = "65536" |
50 | LOADADDR = "" | 69 | LOADADDR = "" |
51 | UBOOT_SUFFIX = "bin" | 70 | UBOOT_SUFFIX = "bin" |