Skip to content
Snippets Groups Projects
Unverified Commit 19a4cf79 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

set fdtfile environment variable

 - with our boot.scr this is a no-op because flash-kernel stores a
   symlink from /dtb-5.18.0-4-arm64 to /dtbs/${fk_kvers}/${fdtfile}
 - with extlinux.conf under debian-installer only sets fdtdir to /dtbs/
   and then expects u-boot to read /dtbs/freescale/imx8mq-mnt-reform2.dtb
 - without this patch, u-boot will try reading /dtbs/imx8mq-MNT Reform 2.0.dtb
   which doesn't exist
parent d17f0c7b
No related branches found
No related tags found
1 merge request!10set fdtfile environment variable
...@@ -328,6 +328,7 @@ static void set_env_vars(void) ...@@ -328,6 +328,7 @@ static void set_env_vars(void)
printf("set_env_vars()"); printf("set_env_vars()");
env_set("board", "MNT Reform 2.0"); env_set("board", "MNT Reform 2.0");
env_set("soc", "imx8mq"); env_set("soc", "imx8mq");
env_set("fdtfile", "freescale/imx8mq-mnt-reform2.dtb");
env_set("imx_cpu", get_imx_type((get_cpu_rev() & 0xFF000) >> 12)); env_set("imx_cpu", get_imx_type((get_cpu_rev() & 0xFF000) >> 12));
env_set("uboot_defconfig", CONFIG_DEFCONFIG); env_set("uboot_defconfig", CONFIG_DEFCONFIG);
env_set("stdin", "serial,usbkbd"); env_set("stdin", "serial,usbkbd");
......
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