imx6: Remove extra quotes in fdtfile environment variable
PATCH 1/1 imx6: Remove extra quotes in fdtfile environment variable
After commit 395110284b56 ("nitrogen6x: Populate FDTFILE at build-time for all platforms") iMX.6Q Sabrelite fails to boot due to a bad fdtfile string:
Retrieving file: /dtbs/5.18.0-0.deb11.4-armmp/"imx6q-sabrelite".dtb ** File not found /dtbs/5.18.0-0.deb11.4-armmp/"imx6q-sabrelite".dtb **
CONFIG_DEFAULT_DEVICE_TREE option is string typed, so __stringify() is adding extra quotes. Remove this.
--- include/configs/nitrogen6x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/nitrogen6x.h +1 -1
@@ -76,7 +76,7 @@"fdt_high=0xffffffff\0" \"initrd_high=0xffffffff\0" \"fdt_addr_r=0x18000000\0" \ - "fdtfile=" __stringify(CONFIG_DEFAULT_DEVICE_TREE) ".dtb\0" \ +"fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "pxefile_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
Signature · 1 line
2.37.2
Hi Ariel,
Quoted 5 lines · Ariel D'Alessandro
After commit
395110284b56("nitrogen6x: Populate FDTFILE at build-time for all platforms") iMX.6Q Sabrelite fails to boot due to a bad fdtfile string:
Quoted 7 lines
Retrieving file: /dtbs/5.18.0-0.deb11.4-armmp/"imx6q-sabrelite".dtb ** File not found /dtbs/5.18.0-0.deb11.4-armmp/"imx6q-sabrelite".dtb **
CONFIG_DEFAULT_DEVICE_TREEoption is string typed, so__stringify()is adding extra quotes. Remove this.Signed-off-by Ariel D'Alessandro <[email protected]>
Just a nit: in the Subject, it would be better to change it like this:
nitrogen6x: Remove extra quotes in fdtfile
Stefano/Tom,
This is 2022.10 material IMHO.
Hi Fabio,
Quoted 12 lines · Fabio Estevam
Hi Ariel,
Quoted 8 lines · Ariel D'Alessandro
After commit
395110284b56("nitrogen6x: Populate FDTFILE at build-time for all platforms") iMX.6Q Sabrelite fails to boot due to a bad fdtfile string:Retrieving file: /dtbs/5.18.0-0.deb11.4-armmp/"imx6q-sabrelite".dtb ** File not found /dtbs/5.18.0-0.deb11.4-armmp/"imx6q-sabrelite".dtb **
Quoted 8 lines
Quoted 4 lines
CONFIG_DEFAULT_DEVICE_TREEoption is string typed, so__stringify()is adding extra quotes. Remove this.Signed-off-by Ariel D'Alessandro <[email protected]>Just a nit: in the Subject, it would be better to change it like this:
nitrogen6x: Remove extra quotes in fdtfile
Makes sense. Will amend it right away.
Quoted 6 lines
Reviewed-by Fabio Estevam <[email protected]>Stefano/Tom,
This is 2022.10 material IMHO.
Thanks!