varigit / linux-imx

Linux kernel for Variscite SOMs using NXP i.MX SoCs
https://variwiki.com
Other
73 stars 178 forks source link

Building "lf-5.10.y_var04" for DART-6UL fails #18

Open davidatrsp opened 1 year ago

davidatrsp commented 1 year ago

Hej Building the "lf-5.10.y_var04" branch at current head (https://github.com/varigit/linux-imx/commit/32517d87926efb61d38cb05ddad932ebfa0526f7) for the DART-6UL SOM fails for two reasons. The "lf-5.10.y_var04" branch is the suggested version for DART-6UL by the wiki (https://variwiki.com/index.php?title=Yocto_Build_Linux&release=mx6ul-yocto-hardknott-5.10.72_2.2.1-v1.0). Looks like both of the reason were present and solved on branch "5.4-2.1.x-imx_var01". Note: using custom gcc 11.x toolchain and custom defconfig derived from the provided "imx_v7_var_defconfig".

Reasons for failure:

Applying these 3 commits enables the build to finish and yields a bootable kernel.

varigigi commented 1 year ago

Hi @davidatrsp, I've repeated the steps in the wiki, but using the official imx_v7_var_defconfig I'm not able to reproduce the failure you described. Is a custom defconfig mandatory required ? Thanks Best Regards

davidatrsp commented 1 year ago

Hej @varigigi Did the same with our custom toolchain and I can confirm that "imx_v7_var_defconfig" builds fine. So did some further digging.