IMX8ULP: How to update M33 firmware from A35?

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

IMX8ULP: How to update M33 firmware from A35?

1,240 次查看
texnikk
Contributor III

We are working o a project where M33 in iMX8ULP should boot from SPI flash and A35 from eMMC.

Is there a documented process for updating the M33 firmware from the A35? Can this be done via some form of remote communication, such as SPI or another inter-core communication protocol? If so, what are the recommended approaches for this?

Thanks

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

1,206 次查看
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @texnikk 

 

For single boot option it appears to be possible since code is copied to either TCM or DDR once execution of the M33 firmware finished loading. With this in consideration it is possible to overwrite the flash.bin created by imx-mkimage using kernel commands (dd), but please note that a reboot will be needed for the changes to be seen. Take the following as a reference of how it should be done:

 

//mmc is the block number of the eMMC on the system

$ echo 0 > /sys/block/mmcblk${mmc}boot0/force_ro
$ dd if=/tmp/_flash.bin of=/dev/mmc${mmc}boot0 bs=1K seek=32
$ echo 1 > /sys/block/mmcblk${mmc}boot0/force_ro

 

In other i.MX processor it is easier to achieve because there is a remoteproc driver, but in i.MX8ULP this is not supported.

Best regards,

Salas.

0 项奖励
回复

853 次查看
sert1m
Contributor I

Thanks for your reply!

It was figured out if M33 firmware was corrupted A35 is not booting. It stops in U-Boot SPL and it is not possible to update M33 firmware anymore. Is there any recovery process?

0 项奖励
回复

1,180 次查看
texnikk
Contributor III
Hello @Manuel_Salas
Thank you for reply. Can you advice any options in case a dual boot option is being used?
Thanks
0 项奖励
回复