iMX8M Plus warm boot or warm reset

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

iMX8M Plus warm boot or warm reset

2,079 Views
gunnarsson
Contributor II

Hi,

We want to do a "warm-reset" or "warm-boot" of an iMX8M Plus MPU.
By this we mean that we want to rest the MPU, and reload all firmware and OS, but retain parts of the external DDR memory-content.
We have experimented with this task, and found the following thread on the forum: https://community.nxp.com/t5/i-MX-Processors/i-MX8M-POR-when-reboot/m-p/1309342/highlight/true
It seems like the PMIC is reset on the nWDG signal, disabling power to the DDR and corrupting the memory. Our experiments supports this, we get data loss when resetting the only running CPU core from u-boot.

Warm-boot support for the iMX8M Plus platform seems to be lacking from u-boot, are there any plans to support this functionality?.

We realize that getting this to work would mean implementing support for warm-boot in u-boot.
The questions we have now, before we spend an inordinate amount of work on this is:

- Can a warm-boot be triggered and performed, without retraining the DDR, on the iMX8M Plus platform. We realize that is not supported, but can it be done?


Best regards,

Martin

Tags (2)
1 Reply

1,054 Views
DavidFlir
Contributor III

I came to the conclusion a warm reset can not be done.

I guess not getting an answer on this question in 2 years confirms it!

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1720184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX8M%20Plus%20warm%20boot%20or%20warm%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1720184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20want%20to%20do%20a%20%22warm-reset%22%20or%20%22warm-boot%22%20of%20an%20iMX8M%20Plus%20MPU.%3CBR%20%2F%3EBy%20this%20we%20mean%20that%20we%20want%20to%20rest%20the%20MPU%2C%20and%20reload%20all%20firmware%20and%20OS%2C%20but%20retain%20parts%20of%20the%20external%20DDR%20memory-content.%3CBR%20%2F%3EWe%20have%20experimented%20with%20this%20task%2C%20and%20found%20the%20following%20thread%20on%20the%20forum%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2Fi-MX8M-POR-when-reboot%2Fm-p%2F1309342%2Fhighlight%2Ftrue%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors%2Fi-MX8M-POR-when-reboot%2Fm-p%2F1309342%2Fhighlight%2Ftrue%3C%2FA%3E%3CBR%20%2F%3EIt%20seems%20like%20the%20PMIC%20is%20reset%20on%20the%20nWDG%20signal%2C%20disabling%20power%20to%20the%20DDR%20and%20corrupting%20the%20memory.%20Our%20experiments%20supports%20this%2C%20we%20get%20data%20loss%20when%20resetting%20the%20only%20running%20CPU%20core%20from%20u-boot.%3C%2FP%3E%3CP%3EWarm-boot%20support%20for%20the%20iMX8M%20Plus%20platform%20seems%20to%20be%20lacking%20from%20u-boot%2C%20are%20there%20any%20plans%20to%20support%20this%20functionality%3F.%3C%2FP%3E%3CP%3EWe%20realize%20that%20getting%20this%20to%20work%20would%20mean%20implementing%20support%20for%20warm-boot%20in%20u-boot.%3CBR%20%2F%3EThe%20questions%20we%20have%20now%2C%20before%20we%20spend%20an%20inordinate%20amount%20of%20work%20on%20this%20is%3A%3C%2FP%3E%3CP%3E-%20Can%20a%20warm-boot%20be%20triggered%20and%20performed%2C%20without%20retraining%20the%20DDR%2C%20on%20the%20iMX8M%20Plus%20platform.%20We%20realize%20that%20is%20not%20supported%2C%20but%20can%20it%20be%20done%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMartin%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1720184%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208%20Family%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPMIC%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179872%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX8M%20Plus%20warm%20boot%20or%20warm%20reset%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179872%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20came%20to%20the%20conclusion%20a%20warm%20reset%20can%20%3CSTRONG%3Enot%3C%2FSTRONG%3E%20be%20done.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20guess%20not%20getting%20an%20answer%20on%20this%20question%20in%202%20years%20confirms%20it!%3C%2FP%3E%3C%2FLINGO-BODY%3E