Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure/verified u-boot: error: ‘IMAGE_FORMAT_LEGACY’ undeclared #21

Open
t33m opened this issue Apr 8, 2016 · 2 comments
Open

Secure/verified u-boot: error: ‘IMAGE_FORMAT_LEGACY’ undeclared #21

t33m opened this issue Apr 8, 2016 · 2 comments

Comments

@t33m
Copy link

t33m commented Apr 8, 2016

Hello,

I have tried configure verified boot for odroid_c2 board using following presentation
http://www.denx.de/wiki/pub/U-Boot/MiniSummitELCE2013/U-Boot_verified_RSA_boot_flow_on_arm_target.pdf

I have changed configs/odroidc2_defconfig like this

CONFIG_ARM=y
CONFIG_TARGET_MESON_GX=y
CONFIG_ODROID_C2=y
CONFIG_DM=y
CONFIG_DM_GPIO=y
CONFIG_AML_GPIO=y
CONFIG_CMD_FUSE=y
CONFIG_CMD_OTP=y
CONFIG_FIT=y
CONFIG_OF_CONTROL=y
CONFIG_OF_SEPARATE=y
CONFIG_FIT_SIGNATURE=y
CONFIG_RSA=y

but got following error during compilation:
../common/cmd_autoscript.c:67:7: error: ‘IMAGE_FORMAT_LEGACY’ undeclared (first use in this function) case IMAGE_FORMAT_LEGACY:

It's possible to build u-boot with secure/verified boot support for odroid c2/c1 boards?

Kind regards,
Timur

@mdrjr
Copy link
Collaborator

mdrjr commented Apr 11, 2016

never actually tested this option..
but check if cmd_autoscript.c includes image.h that where's its defined as 0x01

@t33m
Copy link
Author

t33m commented May 4, 2016

@mdrjr , thanks for reply!

Yes, image.h included.

Can you help and test this config

CONFIG_ARM=y
CONFIG_TARGET_MESON_GX=y
CONFIG_ODROID_C2=y
CONFIG_DM=y
CONFIG_DM_GPIO=y
CONFIG_AML_GPIO=y

CONFIG_FIT=y
CONFIG_OF_CONTROL=y
CONFIG_OF_SEPARATE=y
CONFIG_FIT_SIGNATURE=y
CONFIG_RSA=y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants