Actions
Feature #1068
closedAdd support for PinePhone Pro to piboxGetPlatform()
Start date:
05 Nov 2023
Due date:
% Done:
100%
Estimated time:
Severity:
01 - Critical
Description
The first test is to check that
/sys/firmware/devicetree/base/model
exists. If it does, read the first word of its contents and test against the following:
- Raspberry
- Pine64
Choose an appropriate subroutine to call based on that.
If that file does not exist, call the subroutine for Raspberry Pi, which would be the old way of doing things anyway.
Note that the existing code that tests the hardware type from /proc/cpuinfo needs to be moved into a RaspberryPi specific subroutine.
Updated by Hammel 6 months ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
This is probably okay, but the X server failed to boot so until I fix that I can't quite test this fully.
Going to commit and push this code and will deal with it on Xeon later.
Code committed and pushed.
Closing issue.
Actions