Trusty OS reporting RPMB key was destroyed and halting device

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Trusty OS reporting RPMB key was destroyed and halting device

790 次查看
james_young_thorcom
Contributor I

I have recently integrated trusty OS to my IMX8MQ device and started flashing to the eMMC using uuu. Now when I boot the device the console outputs the RPMB key was destroyed.

U-Boot SPL 2019.04-ga748adea7e-dirty (Nov 17 2021 - 15:21:49 +0000)
PMIC:  PFUZE100 ID=0x10
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1

FATAL - RPMB key was destroyed!

The RPMB has not been configured by this point, my understanding is RPMB is configured in fastboot using fastboot oem set-rpmb-hardware-key, is this not correct and if so how do I configure RPMB prior to first boot? 

My uuu command script:

uuu_version 1.1.81
# uuu scripts for imx8mq Android imx_pi9.0 eMMC
SDP: boot -f u-boot-imx8mq-smarcimx8mq_4g_uuu.imx
# This command will be run when use SPL
SDPU: delay 1000
SDPU: write -f u-boot-imx8mq-smarcimx8mq_4g_uuu.imx -offset 0x57c00
SDPU: jump

# This command will be run when use SDPV
SDPV: delay 1000
SDPV: write -f u-boot-imx8mq-smarcimx8mq_4g_uuu.imx -offset 0x57c00
SDPV: jump

# This command will be run when ROM support stream mode
SDPS: boot -f u-boot-imx8mq-smarcimx8mq_4g_trusty.imx

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 0
FB: ucmd mmc dev 0
FB: flash bootloader0 u-boot-imx8mq-smarcimx8mq_4g_trusty.imx
FB[-t 600000]: flash gpt partition-table.img

# erase environment variables of uboot
FB: ucmd mmc dev 0 0
FB: ucmd mmc erase 0x2000 8
FB: ucmd mmc partconf 0 0 1 0

FB: flash boot_a boot.img
FB: flash boot_b boot.img
FB[-t 100000]: flash system_a system.img
FB[-t 100000]: flash system_b system.img
FB: flash vbmeta_a vbmeta-smarcimx8mq-hdmi.img
FB: flash vbmeta_b vbmeta-smarcimx8mq-hdmi.img
FB: flash vendor_a vendor.img
FB: flash vendor_b vendor.img
FB: flash dtbo_a dtbo-smarcimx8mq-hdmi.img
FB: flash dtbo_b dtbo-smarcimx8mq-hdmi.img

# erase userdata and misc partition
FB[-t 600000]: ERASE userdata
FB: ERASE misc
FB[-t 100000]: ERASE presistdata
FB[-t 100000]: ERASE fbmisc

FB: done

标记 (3)
0 项奖励
回复
1 回复

774 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Can you attach your steps for me to reproduce issue?

0 项奖励
回复