ARM: Tegra: add support for ramoops
authorAjay Nandakumar <anandakumarm@nvidia.com>
Mon, 11 Nov 2013 08:56:44 +0000 (13:56 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Thu, 22 May 2014 23:05:32 +0000 (16:05 -0700)
commit1d7db53e14048e142c0a01a1f9925ad7a8d18e8a
tree7e776baee569b6e93d856356018848b39449636f
parenta924ba7922d340803bb5ae5c060e8b90d3eca28e
ARM: Tegra: add support for ramoops

Ramoops is an oops/panic logger that writes its logs to RAM before
the system crashes.
This replaces the old methods which uses last_kmsg.

the last kernel logs can now be found at
/sys/fs/pstore/console-ramoops.

If not found it can be manually mounted using the command from shell
prompt:

mount -t pstore pstore /sys/fs/pstore

Bug 1258617

Change-Id: I7507bfe66a36ae882ad1d2a8f4b111bce9a1d8bc
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/309549
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
(cherry picked from commit 5e18da24e97561f8590f3ef0256906d967351a2b)
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com>
Reviewed-on: http://git-master/r/408431
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
arch/arm/mach-tegra/board-ardbeg.c
arch/arm/mach-tegra/board-dalmore.c
arch/arm/mach-tegra/board-loki.c
arch/arm/mach-tegra/board-macallan.c
arch/arm/mach-tegra/board-pismo.c
arch/arm/mach-tegra/board-pluto.c
arch/arm/mach-tegra/board-roth.c
arch/arm/mach-tegra/board-vcm30_t124.c
arch/arm/mach-tegra/board.h
arch/arm/mach-tegra/common.c