feat(hal): add RK3588 (Radxa CM5) HAL with sysfs fan control (#155)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Cedric Specht <cedric@specht-labs.de>
This commit is contained in:
weslson
2026-03-04 04:30:45 -10:00
committed by GitHub
parent ed39f8320b
commit 03541febb2
4 changed files with 300 additions and 1 deletions
+2
View File
@@ -31,6 +31,8 @@ func NewHal(ctx context.Context, opts ComputeBladeHalOpts) (ComputeBladeHal, err
return newBcm2712Hal(ctx, opts)
case strings.Contains(compatStr, "bcm2711"):
return newBcm2711Hal(ctx, opts)
case strings.Contains(compatStr, "rockchip,rk3588"):
return newRk3588Hal(ctx, opts)
default:
return nil, fmt.Errorf("unsupported platform: %s", strings.ReplaceAll(compatStr, "\x00", ", "))
}