3 weeks ago I asked for it "For what is worth I believe the OMAP and
PMIC reset reason registers should be part of the boot log so future
reboot problems can be sorted.".

But I just asked, I didn't actually code!

Not sure if it is easy to retrieve both, or if PMIC is that much
relevant for this issues.

Anyway, this will surely take out black magic from the equation when
debugging this problems.

Nuno

On Mon, Aug 10, 2015 at 5:12 PM, Robert Nelson <[email protected]> wrote:
> On Mon, Aug 10, 2015 at 11:09 AM, Nuno Gonçalves <[email protected]> wrote:
>> On Mon, Aug 10, 2015 at 5:04 PM, Robert Nelson <[email protected]> 
>> wrote:
>>> PS, i'm working on adding a PRM_RSTST check to u-boot so i can catch
>>> the reboot reason..
>>
>> That's really great Robert. Thanks!
>
> Felipe actually pointed me to it. ;)
>
> It'll give us something:
>
> Table 8-197. PRM_RSTST Register Field Descriptions
> Bit Field Type Reset Description
> 31-10 RESERVED Rreturns0s 0h
> 9 ICEPICK_RST R/W1toClr 0h IcePick reset event.
> This is a source of global warm reset initiated by the emulation.
> [warm reset insensitive]
> 0h = 0x0 : No ICEPICK reset.
> 1h = 0x1 : IcePick reset has occurred.
> 8-6 RESERVED Rreturns0s 0h
> 5 EXTERNAL_WARM_RST R/W1toClr 0h External warm reset event [warm reset
> insensitive]
> 0h = 0x0 : No global warm reset.
> 1h = 0x1 : Global external warm reset has occurred.
> 4 WDT1_RST R/W1toClr 0h Watchdog1 timer reset event.
> This is a source of global WARM reset.
> [warm reset insensitive]
> 0h = 0x0 : No watchdog reset.
> 1h = 0x1 : watchdog reset has occurred.
> 3 RESERVED R/W1toClr 0h Reserved.
> 2 RESERVED R/W1toClr 0h Reserved.
> 1 GLOBAL_WARM_SW_RS R/W1toClr 0h Global warm software reset event
> [warm reset insensitive]
> T
> 0h = 0x0 : No global warm SW reset
> 1h = 0x1 : Global warm SW reset has occurred.
> 0 GLOBAL_COLD_RST R/W1toClr 1h Power-on (cold) reset event [warm reset
> insensitive]
> 0h = 0x0 : No power-on reset.
> 1h = 0x1 : Power-on reset has occurred.
> 1338 Power, Reset, and Clock Management (PRCM)
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to