hw/arm: add experimental iPhone 5 A6 platform

This commit is contained in:
2026-08-31 02:16:31 +02:00
parent cf256aa081
commit 47977dd34a
34 changed files with 4524 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#Requires -RunAsAdministrator
[CmdletBinding()]
param([string]$WdkRoot)
$ErrorActionPreference = 'Stop'
$projectDir = $PSScriptRoot
$repoRoot = (Resolve-Path (Join-Path $projectDir '..\..')).Path
. (Join-Path $projectDir 'common.ps1')
$wdkRoot = Find-Qa6WdkRoot -ExplicitRoot $WdkRoot -RepoRoot $repoRoot
$wdkVersion = Find-Qa6WdkVersion -WdkRoot $wdkRoot
$packageDir = Join-Path $projectDir 'package'
$certificate = Join-Path $packageDir 'QemuA6Ude-Test.cer'
$inf = Join-Path $packageDir 'QemuA6Ude.inf'
$devcon = Join-Path $wdkRoot "tools\$wdkVersion\x64\devcon.exe"
foreach ($required in @($certificate, $inf, $devcon)) {
if (-not (Test-Path -LiteralPath $required -PathType Leaf)) {
throw "Fichier requis introuvable : $required"
}
}
Import-Certificate -FilePath $certificate -CertStoreLocation Cert:\LocalMachine\Root | Out-Null
Import-Certificate -FilePath $certificate -CertStoreLocation Cert:\LocalMachine\TrustedPublisher | Out-Null
& $devcon install $inf 'Root\QemuA6Ude'
if ($LASTEXITCODE -ne 0) {
throw "Installation du pilote échouée ($LASTEXITCODE)."
}
Write-Host 'Pilote QemuA6Ude installé.'
Write-Host 'Le périphérique enfant USB\VID_05AC&PID_1227 doit maintenant apparaître.'