i.MX8 Generate a cold reboot to refresh bootloader .text/.data section

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

i.MX8 Generate a cold reboot to refresh bootloader .text/.data section

1,320件の閲覧回数
clementperon
Contributor II

Hi NXP Community,

 

We are looking to update the bootloader of i.MX8QM remotely on the field for board that's are always powered-on.

Unfortunately right now when you update the bootloader and then reboot from Linux the bootloader and SPL aren't reloaded: 

When doing partition reboot, the boot image won't be reloaded by ROM,it is just CPU reset to boot entry. The SW has to keep the boot imageinside the RAM unchanged. It includes both the TEXT section and DATAsection.



As I said the board are always powered and can't be unplug/replug easily to generate a cold reboot.

Do you see any solution to generate a cold reboot from linux?

Thanks for your help,

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,314件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

  what I refer to is imx8qm-mek design files.

Linux reboot executes the PMIC_WDOG_IN network on the hardware, and PMIC_WDOG_IN is connected to the WDI pin of the PMIC. If you want cold reset, we must reset PMIC. Therefore, you can try it like this:
1. Connect R63 and R66 together with a wire
2. Connect R110 and R113 together with a wire
The purpose is to pull down the PWRON pin when WDOG sends a LOW level to reset the PMIC.

If this method fails to achieve your goal, it is difficult to find a better way.

 

Hope this information is helpful to you.

Have a nice day!

B.R,

weidong

 

0 件の賞賛
返信

1,294件の閲覧回数
clementperon
Contributor II

Hi @weidong_sun,

 

This behavior was not observed with Linux 4.14 and appears in 5.4 release.

Also board are already shipped and can't be modify.

 

Regards,

Clement

0 件の賞賛
返信