beaglev-ahead.conf: sparse images and add flashing script helper#573
Open
lslrt wants to merge 1 commit intoriscv:masterfrom
Open
beaglev-ahead.conf: sparse images and add flashing script helper#573lslrt wants to merge 1 commit intoriscv:masterfrom
lslrt wants to merge 1 commit intoriscv:masterfrom
Conversation
Image files flashed with fastboot must be in sparse format otherwise they may fail to be flashed. It looks like if image size < fastboot buffer size, it accidently works but rootfs image is likely to be larger than that. Wrapping fastboot flash commands into a helper script. Signed-off-by: Leo Sartre <leo@missingno.tech>
Collaborator
|
Its adding a dependency on meta-oe which might be something to consider, regardless we need to add |
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.
conf/machine/beaglev-ahead.conf: inherit image_types_sparse from meta-openembedded layer so the rootfs can be converted to a sparse image otherwise fastboot will likely fail to flash it.
recipes-kernel/linux/linux-beaglev-dev.bb: sparse the boot.ext4 image to remove the 'fastboot flash boot boot.ext4' command generate a warning message "Invalid sparse file format at header magic"
recipes-support/flashing-scripts/flashing-script_1.0.bb: introducing a new "deploy only recipe" that deploy a flash.sh utility script to deploydir/. This may help end user to flash the device.
Signed-off-by: Leo Sartre leo@missingno.tech