diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-10-17 09:09:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-27 11:13:29 +0200 |
commit | 7f8f629c50dce14bb83e7d4e2614bdd518ca3952 (patch) | |
tree | 0765d66204b46928a11cf584af1a989067afb04c /drivers/clk | |
parent | 594d5d58afcdb717620ca526ab390cef91e8ba21 (diff) | |
download | barebox-7f8f629c50dce14bb83e7d4e2614bdd518ca3952.tar.gz barebox-7f8f629c50dce14bb83e7d4e2614bdd518ca3952.tar.xz |
ARM: i.MX7: describe USB serial download boot mode
Due to i.MX7 erratum e10574: "Watchdog: A watchdog timeout or software
trigger will not reset the SOC", we can't do warm reset via imxwd-warm
for BootROM reboot mode as we do on other i.MX SoCs.
What we can do instead though, is use the SoC's reset controller to
toggle the Cortex-A7's reset. This will have us reenter BootROM with
GPR registers intact. Forcing serial download on the i.MX7 now possible
with:
gpr.reboot_mode.next=serial reset -w
Note that the new restart handler is not fit for general purpose.
Depending on boot medium, it may hang, because the BootROM may not
reinitialize the peripheral properly.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221017071000.1458292-8-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions