Skip to content

SM8250: add 'gpt' to EXTRA_CMDLINE - #3217

Merged
porschemad911 merged 1 commit into
ROCKNIX:nextfrom
porschemad911:sm8250-kernel-cmdline-gpt
Aug 20, 2026
Merged

SM8250: add 'gpt' to EXTRA_CMDLINE#3217
porschemad911 merged 1 commit into
ROCKNIX:nextfrom
porschemad911:sm8250-kernel-cmdline-gpt

Conversation

@porschemad911

@porschemad911 porschemad911 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

SM8250: add 'gpt' to EXTRA_CMDLINE

Testing

Tested on my RP Mini V2

Additional Context

Parameter doco, from: https://www.kernel.org/doc/html/v7.1/admin-guide/kernel-parameters.html

gpt: [EFI] Forces disk with valid GPT signature but invalid Protective MBR to be treated as GPT. If the primary GPT is corrupted, it enables the backup/alternate GPT to be used instead.

This works around a situation discovered after flashing Retroid recovery images for the Retroid Pocket Mini V2 and then attempting to install the ROCKNIX ABL. The primary GPT partition table for the block device containing the ABL partitions is corrupt, and so they cannot be found. Adding 'gpt' to the kernel cmdline resolves this since the backup GPT partition table is fine. After flashing the ROCKNIX ABL the primary partition table is no longer corrupt.

Details of Retroid recovery image flashing and partition table corruption can be found on this PR: #3127


AI Usage

Did you use AI tools to help write this code? NO

This works around a situation discovered after flashing Retroid
recovery images for the Retroid Pocket Mini V2 and then
attempting to install the ROCKNIX ABL. The primary GPT partition
table for the block device containing the ABL partitions is corrupt,
and so they cannot be found. Adding 'gpt' to the kernel cmdline
resolves this. After flashing the ROCKNIX ABL the primary partition
table is no longer corrupt.
@porschemad911
porschemad911 force-pushed the sm8250-kernel-cmdline-gpt branch from ddb7c7c to 0878019 Compare August 20, 2026 13:29
@porschemad911
porschemad911 added this pull request to the merge queue Aug 20, 2026
Merged via the queue into ROCKNIX:next with commit ff681ae Aug 20, 2026
4 checks passed
@porschemad911
porschemad911 deleted the sm8250-kernel-cmdline-gpt branch August 20, 2026 13:31
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.

1 participant