fatal error: configs/.h: No such file or directory

Andrew Ellis ajellisuk at yahoo.co.uk
Tue Dec 15 18:08:01 CET 2020


Hi

I'm in the processes of porting u-boot 2020 to an iMX6-Q7-Plus board 
from MSC technologies so that I have access to u-boot.

I worked meticulously though the instructions provided here to add the 
board support to uboot:

https://elinux.org/images/2/2a/Schulz-how-to-support-new-board-u-boot-linux.pdf

When I try and make u-boot, the build fails with "fatal error: 
configs/.h: No such file or directory"

I've created a Kconfig file in board\MSC\iMX6_Q7 which contains:

/if MSC_iMX6_Q7//
//
//config SYS_BOARD//
//    default "msc_q7_imx6plus"//
//
//config SYS_VENDOR//
//    default "MSC"//
//
//config SYS_CONFIG_NAME//
//    default "msc_q7_imx6plus"//
//
//endif/

and a maintainers file which contains:

/MSC BOARD//
//M:    Andrew //
//S:    Maintained//
//F:    board/MSC/iMX6_Q7///
//F:    include/configs/msc_q7_imx6plus.h//
//F:    configs/MSC_iMX6_Q7_defconfig/

I have added the following lines to arch\arm\mach-imx\mx6Kconfig:

/config TARGET_MSC_IMX6_Q7//
//    bool "MSC iMX6 Q7" //
//    depends on MX6QDL//
/

/source "board/MSC/iMX6_Q7/Kconfig"/

I'm not sure what else I've missed. The auto generated header file 
"include/config.h", should contain "#include <configs/msc_q7_imx6plus.h"

Can someone please give me a hint as to what is wrong?

Thanks in advance

Andrew

//






More information about the U-Boot mailing list