Support native SD storage and consolidate fds-flash tooling
Accept native SD cards for internal settings alongside legacy NVMe, reject USB ancestry and ambiguous disks, and preserve read-only boot loading with explicit recovery writes. Require built-in MMC drivers, validate cached kernel configuration, and provide SD-only, SD-first and USB-first EEPROM profiles. Expose typed create and inspect commands through fds-flash, reuse the existing cartridge creation code, and document the optional e2fsprogs package dependency. Extend storage, EEPROM, flashing and hardware-test coverage and advance the wiki reference to the published SD guide. Validation: rootfs checks for CLI/development, boot matrix, internal storage, EEPROM, flash, workstation, emulator, make check and wiki checks passed. The full internal suite passed on an unchanged rerun after one unexplained VM shutdown stall. Standalone init-test was blocked by its unavailable pinned upstream kernel. Physical Pi checks remain pending.
This commit is contained in:
@@ -99,4 +99,4 @@ for name, source in [('fds-boot.img', work.name+'/boot.fat'), ('boot-volume', wo
|
||||
target.symlink_to(source)
|
||||
target.replace(project/'out'/name)
|
||||
print(f'PASS: 512 MiB FDS_BOOT FAT32 partition image, all files verified: {work}')
|
||||
print('SKIP: firmware boot, NVMe and display mode validation require a physical Pi')
|
||||
print('SKIP: firmware boot, native SD and display mode validation require a physical Pi')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Create a complete internal NVMe GPT image as a new ordinary file."""
|
||||
"""Create a complete internal SD/NVMe GPT image as a new ordinary file."""
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
@@ -93,5 +93,5 @@ if args.output_directory is None:
|
||||
link = project / 'out/fds-internal.img.next'
|
||||
link.symlink_to(work.name + '/internal.img')
|
||||
link.replace(project / 'out/fds-internal.img')
|
||||
print(f'PASS: complete internal NVMe image, three verified GPT payloads: {work}')
|
||||
print('SKIP: no physical disk was written; Pi firmware/NVMe boot requires hardware')
|
||||
print(f'PASS: complete internal SD/NVMe image, three verified GPT payloads: {work}')
|
||||
print('SKIP: no physical disk was written; Pi firmware/SD boot requires hardware')
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# FDS/OS Raspberry Pi 5: internal NVMe supplies boot files.
|
||||
# FDS/OS Raspberry Pi 5: native microSD supplies boot files.
|
||||
[pi5]
|
||||
arm_64bit=1
|
||||
kernel=kernel_2712.img
|
||||
initramfs fds-initramfs.img followkernel
|
||||
dtparam=pciex1
|
||||
dtoverlay=vc4-kms-v3d,noaudio
|
||||
camera_auto_detect=0
|
||||
display_auto_detect=0
|
||||
|
||||
Reference in New Issue
Block a user