Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3.2.r1.4] init: initramfs: Add config option to change the skip_initramfs bp name #2040

Merged
merged 1 commit into from
Jul 29, 2019
Merged

[2.3.2.r1.4] init: initramfs: Add config option to change the skip_initramfs bp name #2040

merged 1 commit into from
Jul 29, 2019

Conversation

MartinX3
Copy link

@MartinX3 MartinX3 commented Jul 29, 2019

Part of the following pull request:
#2024

Backported from 4.14 to 4.9

Description by kholk:

Some bootloaders will set this boot parameter whenever a direct
boot from a newly uploaded-to-RAM boot image is requested.
Sometimes though we want it to load the initramfs anyway, even
if it's a direct boot.
This configuration option will rename the "skip_initramfs" to
"do_skip_initramfs".

This is a kernel hack. Definitely say N.

TL;DR
Makes it possible to "fastboot boot twrp.img"
(Workarounds the current bootloader ?bug?, if it wasn't intended)


This change is Reviewable

Some bootloaders will set this boot parameter whenever a direct
boot from a newly uploaded-to-RAM boot image is requested.
Sometimes though we want it to load the initramfs anyway, even
if it's a direct boot.
This configuration option will rename the "skip_initramfs" to
"do_skip_initramfs".

This is a kernel hack. Definitely say N.
@danielgusvt
Copy link

Please prepend the name of the branch in the pull request name

@MartinX3 MartinX3 changed the title init: initramfs: Add config option to change the skip_initramfs bp name [2.3.2.r1.4] init: initramfs: Add config option to change the skip_initramfs bp name Jul 29, 2019
@MartinX3
Copy link
Author

Please prepend the name of the branch in the pull request name

Done, thank you

@kholk
Copy link
Contributor

kholk commented Jul 29, 2019

Porting was right. Safe to merge.

@jerpelea jerpelea merged commit 25b391a into sonyxperiadev:aosp/LE.UM.2.3.2.r1.4 Jul 29, 2019
@MartinX3 MartinX3 deleted the MartinX3/fastbootBootDefconfigInitramfs branch July 30, 2019 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants