Project

General

Profile

Actions

Feature #1068

closed

Add support for PinePhone Pro to piboxGetPlatform()

Added by Hammel 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
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.

Actions #1

Updated by Hammel 6 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

The change for this is in the libpibox sandbox. It needs testing on both RPi and Xeon.

Actions #2

Updated by Hammel 6 months ago

  • % Done changed from 30 to 50

Worked on an RPI3B. Xeon buildroot is being updated. When that's done I'll test the update libpibox on there.

Actions #3

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

Also available in: Atom PDF