Fastboot flashing not working on iMX8M Mini DDR4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fastboot flashing not working on iMX8M Mini DDR4

Jump to solution
8,610 Views
Hrithik
Contributor III

Hi NXP Team,

We are working on Android 11 on iMX8M Mini DDR4 board.

.
When we try to flash android images using fastboot, it gives following error:
FAILED (remote: device is locked.)

When we try fastboot OEM unlock command, it gives below error:

FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed

When we try fastboot flashing unlock:
FAILED (remote: unlock device failed.)

We tried both "adb reboot fastboot" as well as "adb reboot bootloader".
Fastboot device is detected after the command but not able to flash after that.

We got one log after UUU flashing - In boota get fastboot lock status error. Set lock status

Kindly help us in solving this issue.

Thanks.

Tags (2)
0 Kudos
Reply
1 Solution
8,518 Views
Hrithik
Contributor III

Hi @Zhiming_Liu ,

 

Thanks for the reply.

But we had tried all these commands prior to posting it here.

We resolved the issue by enabling the "trusty" flag in the defconfig.

 

Regards,

Hrithik

View solution in original post

0 Kudos
Reply
3 Replies
8,591 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi 

Please try to enter uboot fastboot mode:

Qmiller_0-1650765252476.png

 

0 Kudos
Reply
8,519 Views
Hrithik
Contributor III

Hi @Zhiming_Liu ,

 

Thanks for the reply.

But we had tried all these commands prior to posting it here.

We resolved the issue by enabling the "trusty" flag in the defconfig.

 

Regards,

Hrithik

0 Kudos
Reply
6,192 Views
venu_mos
Contributor II

Hi,

in which def config file i need to add trusty flag, can you share the path ?

Thanks.

0 Kudos
Reply