-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Towboot PinePhone compatibility #399
Open
ArenM
wants to merge
3
commits into
dreemurrs-embedded:master
Choose a base branch
from
ArenM:ogpp-towboot
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
Marking as ready since #398 got fixed |
DrRac27
reviewed
Jun 14, 2022
Move the u-boot configuration to the device meta-package, and change mmc_bootdev to devnum for compatibility with tow-boot. When booting from tow-boot mmc_bootdev points at the emmc, even if arch is installed to the sd card, devnum gets set to be the correct device though.
tytan652
reviewed
Dec 7, 2022
Danct12
added
enhancement
New feature or request
device: pinephone
PINE64 PinePhone
labels
Mar 2, 2023
I've tested this to make sure it boots with both the uboot-pinephone and tow-boot when booting from the sd card and emmc. And since it seemed like there might be a little confusion, this doesn't replace uboot-pinephone with tow-boot by default, it just makes it so tow-boot can boot arch from the sd card. |
Danct12
reviewed
Mar 30, 2023
Danct12
reviewed
Mar 30, 2023
Move the u-boot configuration to the device meta-package, and change mmc_bootdev to devnum for compatibility with tow-boot. When booting from tow-boot mmc_bootdev points at the emmc, even if arch is installed to the sd card, devnum gets set to be the correct device though.
These files are now installed in the device meta-packages
bump, is there anything blocking this? |
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 u-boot boot script thinks it's booting from emmc even if it's booting an sd card when using tow-boot. It seems to be possible to resolve this by replacing
mmc_bootdev
withdevnum
.This also makes it possible to remove the uboot-pinephone package when using tow-boot.
I'm suspicious of the code duplication this causes, and wonder if it would be better to use something like Debian's u-boot-menu script, Unfortunately that doesn't support device tree overlays yet, so that might be a project for a later time.