pieeprom-2026-06-29: 2712: Fix auto_initramfs take 3 (latest)#856
Merged
Conversation
* Fix auto_initramfs take 3 The previous fix to avoid a double os_prefix in the initramfs path was wrong in three ways: 1. It ignored the os_prefix when checking for the existence of the matching initramfs file. 2. It didn't use any absolute path in kernel_file= when looking for the initramfs. 3. It created a whole new path when one already existed. See: https://forums.raspberrypi.com/viewtopic.php?t=399185 * Revert "arm_ldconfig: Avoid double os_prefix on initramfs" This reverts commit 3992d6660028925ddde17479ddd949a857ef6cd7. See: https://forums.raspberrypi.com/viewtopic.php?t=399185 * dtoverlay: Permit writing dtb phandles Overwriting a phandle in a base DTB is usual a bad idea, but there are cases where doing so (or writing one into a target node that doesn't yet have one) can be useful. Rather than trying to do something clever and/or time-consuming, invent a magic property that enables such overwriting on a per-fragment basis.
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous fix to avoid a double os_prefix in the initramfs path was wrong in three ways:
This reverts commit 3992d6660028925ddde17479ddd949a857ef6cd7. See: https://forums.raspberrypi.com/viewtopic.php?t=399185
Overwriting a phandle in a base DTB is usual a bad idea, but there are cases where doing so (or writing one into a target node that doesn't yet have one) can be useful. Rather than trying to do something clever and/or time-consuming, invent a magic property that enables such overwriting on a per-fragment basis.