The reason I think the RAM is cleared that ram_console reports
sig=0xffffffff after I restart it. Or is it supposed to be like this?
I'm a bit dumb at that part...
About mini kernel - it's the kdump kernel one, which should boot after
crash? Currently, I am trying to boot a custom kernel on the
"recovery" mode, and when it crashes, it reboots in "normal" mode.
A offtopic question - all those parameters after MACHINE_START
(.reserve, .init_early), in which order are those started?
On Feb 11, 9:22 am, Jagadish K <
jagdish.kris...@gmail.com> wrote:
> Hi,
> During kernel panic, as the name suggests kernel is going to die. So its
> not a good idea to save logs at that time.
> However, you can Register your function in panic_notifier_list. Your
> function will be called during panic. In that function, you can modify how
> the device should reboot or any other suitable action.
> After arch_reset, ram dumps can be saved to mmc card either through
> bootloader or by using mini kernel concept (allow a separate kernel to boot
> which will save ram dumps into mmc).
> Old Ram data exists till kernel boots again after reset. Not sure how in
> your case ram content is cleared. Ram data is cleared only when battery is
> removed.
>