Is nand padding needed for U-Boot on Yocto 3.1 (dunfell) for Colibri VF50 / u-boot do_install returns error on u-boot-toradex_2020.07

Hi,

we were currently migrating our development system to Yocto 3.1 (dunfell)

Using the meta-toradex-nxp layer the do_install() fails:
The u-boot-nand.imx file which is stated in the machine configuration colibri-vf.conf in meta-freescale-3rdparty is not found.

I found out that in meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb there is and additional task added for colibri-imx6ull and colibri-imx7 which does add the zero padding in the u-boot.imx file and creates the u-boot-nand.imx file.

I added that statement also for the colibri-vf machine.

index 4add74e..f965e28 100644
--- a/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
+++ b/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
@@ -38,3 +38,7 @@ do_compile_append_colibri-imx6ull () {
 do_compile_append_colibri-imx7 () {
     nand_padding
 }
+
+do_compile_append_colibri-vf () {
+    nand_padding
+}

Now the do_install() task of u-boot works without any errors.

Is the padding still needed for U-Boot on Colibri VF50?

Thanks in advance.

Kind regards,
Sebastian

Two complete another monologue, it works, at least the flashed U-Boot is starting on the VF50 Module.

Unfortunately the Kernel is not starting up, but thats another topic.

Please note that what you are trying to achieve is not supported, sorry.

The fix for this got merged:

http://git.toradex.com/cgit/meta-toradex-nxp.git/commit/?h=dunfell-5.x.y&id=6c8aa68911936a004a4febf369ec31e254b89c1c

Plus another fix solving the not starting issue mentioned above:

https://git.toradex.com/cgit/u-boot-toradex.git/commit/?h=toradex_2020.07&id=7c9c42e93b9fda8c0bc27d5b8c81c4c289921c4b