Try to use AHAB but ahab.c is not compiled

Oliver Graute oliver.graute at gmail.com
Wed Feb 26 09:58:51 CET 2020


On 20/02/20, Oliver Graute wrote:
> Hello Peng,
> 
> I try to use AHAB feature on my board. First of all I just want to
> perform a "ahab_status". I enabled CONFIG_AHAB_BOOT=y in my config but
> ahab.c isn't compiled. The ahab.o is missing after compilation.
> Is there anything else to consider? Do I overlook something?

there where just the following missing in the Makefile


--- a/arch/arm/mach-imx/imx8/Makefile
+++ b/arch/arm/mach-imx/imx8/Makefile
@@ -4,7 +4,7 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-y += cpu.o iomux.o misc.o lowlevel_init.o
+obj-y += ahab.o cpu.o iomux.o misc.o lowlevel_init.o
 obj-$(CONFIG_OF_SYSTEM_SETUP) += fdt.o
 
 ifdef CONFIG_SPL_BUILD

 Best regards,

 Oliver


More information about the U-Boot mailing list