build/kmutil: Add dev script to automate kmutil configure-boot#573
Open
jannau wants to merge 1 commit intoAsahiLinux:mainfrom
Open
build/kmutil: Add dev script to automate kmutil configure-boot#573jannau wants to merge 1 commit intoAsahiLinux:mainfrom
kmutil configure-boot#573jannau wants to merge 1 commit intoAsahiLinux:mainfrom
Conversation
Initial m1n1 bringup on new targets may require installing m1n1 multiple times via 1TR until chainload is working. Automate it to make it less painful. Add an optionally built script which embeds m1n1.bin which can be executed fropm 1TR on the target device. The script is not built be default since it requires uuencode (sharutils) which doesn't seem to commonly installed by default. The script can be served via http and directly executed from curl or copied to and USB stick. The following demonstrates the use via http: ``` make build/kmutil && python3 -m http.server --directory build ``` The target device must be booted into 1TR for the desired installation. The script can then be executed from the recovery terminal with: ``` sh <(curl HOST:8000/kmutil) ``` The script can not be piped directly into the shell since the script (and kmutil) use stdin. Signed-off-by: Janne Grunau <j@jannau.net>
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.
Initial m1n1 bringup on new targets may require installing m1n1 multiple times via 1TR until chainload is working. Automate it to make it less painful.
Add an optionally built script which embeds m1n1.bin which can be executed fropm 1TR on the target device. The script is not built be default since it requires uuencode (sharutils) which doesn't seem to commonly installed by default.
The script can be served via http and directly executed from curl or copied to and USB stick.
The following demonstrates the use via http:
The target device must be booted into 1TR for the desired installation. The script can then be executed from the recovery terminal with:
The script can not be piped directly into the shell since the script (and kmutil) use stdin.