Hello
I want to make an image with ‘verified boot’ feature. When I follow the guides from Khadas wiki page on U-boot and after make CROSS_COMPILE=aarch64-linux-gnu-
command I get this error:
../common/cmd_autoscript.c: In function ‘autoscript’:
../common/cmd_autoscript.c:67:7: error: ‘IMAGE_FORMAT_LEGACY’ undeclared (first use in this function)
case IMAGE_FORMAT_LEGACY:
^
../common/cmd_autoscript.c:67:7: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [common/cmd_autoscript.o] Error 1
make[1]: *** [common] Error 2
make: *** [sub-make] Error 2
Anyone has tested it? My config file (edited kvim_defconfig) is as follows:
CONFIG_ARM=y
CONFIG_TARGET_MESON_GX=y
CONFIG_KVIM=y
CONFIG_DM=y
CONFIG_DM_GPIO=y
CONFIG_AML_GPIO=y
CONFIG_ENABLE_VBOOT=y
CONFIG_RSA=y
CONFIG_FIT=y
CONFIG_FIT_SIGNATURE=y
CONFIG_OF_CONTROL=y
CONFIG_OF_SEPARATE=y
CONFIG_OF_LIBFDT=y
CONFIG_FIT_VERBOSE=y
CONFIG_CMD_IMI=y
Thanks.