this is just for reference to known what is in the prebuilt kernels: - patch to enable reboot to EDL with sony sdm845 tama platform kernel - patch to disable skip_initramfs kernel command line option to support 'fastboot boot' way to boot into twrp from usb - device tree overlay compatibility fix for sdm845 tama platform in order to allow 'fastboot boot' into twrp even with recent LOS releases - cherry pick 'tama: Disable AVB on /vendor' from LOS sony sdm845 kernel - cherry pick 'somc: sdm845-tama-common: fix invalid thermal trips'
25 lines
723 B
Diff
25 lines
723 B
Diff
Subject: [PATCH] disable skip_initramfs option to allow fastboot boot
|
|
|
|
this is inspired by binary patch done by magisk in order to force
|
|
boot into initramfs even in case when bootloader tries to make
|
|
kernel boot directly from system as root partition
|
|
---
|
|
init/initramfs.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/init/initramfs.c b/init/initramfs.c
|
|
index bf3af10c..fe91420c 100644
|
|
--- a/init/initramfs.c
|
|
+++ b/init/initramfs.c
|
|
@@ -616,7 +616,7 @@ static int __init skip_initramfs_param(char *str)
|
|
do_skip_initramfs = 1;
|
|
return 1;
|
|
}
|
|
-__setup("skip_initramfs", skip_initramfs_param);
|
|
+__setup("want_initramfs", skip_initramfs_param);
|
|
|
|
static int __init populate_rootfs(void)
|
|
{
|
|
--
|
|
2.49.1
|
|
|