I'm working with i.MX93 evaluation board. To introduce changes to the machine device tree, a new custom machine has to be created and that's what I did, however during the build that had machine set to `imx93-custom-evk`, *bitbake* started to complain about lack of `defconfig` file, like below:
| ***
| *** Can't find default configuration "arch/../configs/imx93_11x11_custom_evk_defconfig"!
| ***
| make[2]: *** [/build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/git/scripts/kconfig/Makefile:96: imx93_11x11_custom_evk_defconfig] Error 1
| ERROR: oe_runmake failed
| make[1]: Leaving directory 'build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/build/imx93_11x11_custom_evk_defconfig'
| make: Leaving directory '/build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/git'
| WARNING: exit code 1 from a shell command.
| make[1]: *** [/build-ixm/tmp/work/imx93_custom_evk-poky-linux/u-boot-imx/2023.04-r0/git/Makefile:575: imx93_11x11_custom_evk_defconfig] Error 2
| make: *** [Makefile:177: sub-make] Error 2
My way of omitting this was to let my new machine use the old `UBOOT_CONFIG_BASENAME = "imx93_11x11_evk"` and not UBOOT_CONFIG_BASENAME = "imx93_custom_evk". I suppose this is considered to be an ugly hack, however I cannot find the original defcong anywhere, is there a better way to achieve this?
How does that u-boot defconfig differ from the regular linux kernel configuration file `.config`?
There's one more problem, it seems that to build the machine a `<machine>-aud-hat.dts` file is required, are there any resources on how such file should be created? Or is it okay if I just copy and rename `imx93-11x11-evk-aud-hat.dts`?