Implement crashdump
crashdump is a small binary which copies the ramdump from /proc/vmcore
to /dev/hvc3 which will be backed by a file outside of the VM.
crashdump is included in a init ramdisk image, and will be executed as
the init process when a kernel panic occurs.
Bug: 237381237
Test: N/A (follow-up CL needed)
Change-Id: Iecac0b437a2f512348ee28abe8b2bf6b23640029
diff --git a/microdroid/Android.bp b/microdroid/Android.bp
index 8bac103..21a6c06 100644
--- a/microdroid/Android.bp
+++ b/microdroid/Android.bp
@@ -104,6 +104,7 @@
"microdroid_plat_sepolicy.cil",
"microdroid_plat_mapping_file",
+ "microdroid_crashdump_initrd",
],
},
lib64: {