patch: uboot: v2023.07.02: bananapicm4: nvme boot support
#5840
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.
HACK: BOOT ORDER: NVMe SDCARD eMMC.
NOTES:
In my testing there has been no false starts or hangs up. Meaning the boot process has been stable.
The downside to this in my opinion is that if there is an OS on the NVMe it will always take boot priority. The drive would need to be pulled or DD'd in order for SD eMMC boot to kick in.
This has been tested by pulling the NVMe and booting from the drive and killing it;
dd if=/dev/zero of=/dev/nvme0n1 bs=32768 count=32768
Tested-on: Waveshare CM4-IO-BASE-B
Checklist: