IMX8ULP: How to update M33 firmware from A35?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8ULP: How to update M33 firmware from A35?

1,549件の閲覧回数
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)
0 件の賞賛
返信
3 返答(返信)

1,515件の閲覧回数
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 件の賞賛
返信

1,162件の閲覧回数
sert1m
Contributor II

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,489件の閲覧回数
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 件の賞賛
返信