Repository navigation
Conversation
Work in progress on the Windows version. - The boards on USB come from Windows' device list (nusb), the disks and the USB device each hangs on from its storage management (PowerShell). A disk is opened by its device path, which names its vendor and serial number, after its old partition table is removed (diskpart), since Windows writes into no volume it has mounted. - The boot ROM needs a driver on Windows: packaging/windows/driver binds it to Windows' own WinUSB. The "Allow USB access" step installs it there (pnputil); its catalog is made in CI and signed by a release. - rpiboot is built in Cygwin, as Raspberry Pi builds it, with Cygwin's DLLs next to it. It is not told the port on Windows, so one board at a time. - The app asks for administrator rights when it starts (writing a disk and installing a driver need them). - CI builds and tests on windows-latest too. A virtual disk stands in for the eMMC in the raw-disk test. Nothing of this has run on Windows yet: this Mac cannot compile for it, only type-check the core and the CLI. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The driver's catalog is made with New-FileCatalog, which is part of Windows (the runner has no Driver Kit, so no Inf2Cat). CI now also checks, on the Windows runner: rpiboot.exe starts, Windows takes the driver package once its signer is trusted (a certificate made for the run stands in for HARDWARIO's), the installer installs and its uninstaller removes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…se jobs
The first full test run on Windows found two things. PowerShell's comma binds
tighter than its plus, so the diskpart script was one line ('select disk 3
clean'); and the sysfs test makes a folder with a colon in its name, which
Windows has none of.
The Release workflow builds the Windows exe, and sign-windows signs it with
rpiboot, the driver's catalog and the uninstaller, makes the installer and
the portable zip, and signs the installer. It also checks that Windows takes
the driver package as HARDWARIO signs it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ts disk Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… notes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
Work in progress: FIBER Setup for Windows.
Not yet tested on a Windows PC with a FIBER. CI compiles and tests it on
windows-latest; a virtual disk stands in for the eMMC there.🤖 Generated with Claude Code