I am building Secure Boot environment with iMX8MINI board.
but now I cannot build it because of following result.
[host os (Ubuntu) terminal]
$ sudo ./fastboot oem set-rsa-atte-key
FAILED (remote: command not defined)
Finished. Total time: 0.004s
$ Unknown flashing command:oem set-rsa-atte-key
I understand that above U-Boot's message means the U-Boot program do not support trustyOS option for fastboot command.
I builded android_build following command lines at host os.
$ source build/envsetup.sh
$ lunch evk_8mm-user
$ make 2>&1 | tee build-log.txt
I refered to these steps with i.MX_Android_Security_User_Guide.pdf page 3.
and I executed fastboot_imx_flashall.sh to flash U-Boot image to eMMC boot area.
How can I execute above fastboot command ?
Please teach me correct build steps if above steps are wrong for to build Secure Boot environment.
thank you for your support.
> Does it output something?
fastboot command outputted following message.
above strings "xxxxxxxxxxxxxxxx" are serial number,
so i think fastboot command can communicate the board physically .
I notice that you're using user as your build type this could be causing your issue since it is a production-ready image, no debug, so could you please try changing your build to userdebug or eng:
$ lunch evk_8mm-user-debug or $ lunch evk_8mm-eng
Hope this helps,
Thank you for your reply.
> PRODUCT_IMX_TRUSTY := true
I didn't set this parameter ,so i set it in evk_8mm.mk and builded codes and flashed images.
However fastboot command reported the same error message.
Do you know other options for Trusty OS ?