Hello NXP TechSupport
I'm working on Custom Board which is based on i.MX 8M Mini Processor.
1] I need to integrate the Driver in U-Boot and Compile it to build its image.
2] Can you please share the detailed procedure step by step.
Thanks
Nikhil
Hi
The key file is
/drivers/Kconfig
/drivers/Makefile
Then you can research the example driver:/drivers/ timer
BR
Zhiming
Hello Zhiming, Thanks for your time
1] I have written Makefile and Kconfig for integrating driver.
2] After that to bind that driver with the bootloader, I used the command,
bitbake -c menuconfig virtual/bootloader, but showing error
ERROR:-
========
1] ERROR: u-boot-variscite-1.0-r0 do_configure: Execution of '/home/nikhil/Variscite-DART-MX8M-MINI/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/u-boot-variscite/1.0-r0/temp/run.do_configure.17897' failed with exit code 1:
cp: cannot stat '/home/nikhil/Variscite-DART-MX8M-MINI/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/u-boot-variscite/1.0-r0/u-boot-variscite-1.0//.config': No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/nikhil/Variscite-DART-MX8M-MINI/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/u-boot-variscite/1.0-r0/temp/log.do_configure.17897
2] ERROR: Execution of '/home/nikhil/Variscite-DART-MX8M-MINI/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/u-boot-variscite/1.0-r0/temp/run.do_configure.17897' failed with exit code 1:
| cp: cannot stat '/home/nikhil/Variscite-DART-MX8M-MINI/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/u-boot-variscite/1.0-r0/u-boot-variscite-1.0//.config': No such file or directory
3] ERROR: Task (/home/nikhil/Variscite-DART-MX8M-MINI/var-fsl-yocto/sources/meta-variscite-imx/recipes-bsp/u-boot/u-boot-variscite.bb:do_configure) failed with exit code '1
Please provide a resulting solution for successful driver integration.
Thanks
Nikhil