Project

General

Profile

Actions

Feature #1145

closed

Add system type to pibox-version for Xeon.

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

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
14 May 2024
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

Current pibox-version file:

$ cat /etc/pibox-version 
VERSION: PiBox 1.0.0
HW: rk3399
BUILD: Wed May  1 03:32:47 UTC 2024

It should look like this instead.

VERSION: PiBox 2.0
HW: rpi2
BUILD: Fri May  3 21:14:10 UTC 2024
MODEL: Raspberry Pi 3 Model B Plus Rev 1.3
SYSTEM: pistore

Model can be pulled from /sys/firmware/devicetree/base/model.
System is Xeon.

Actions #1

Updated by Hammel 6 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This isn't a feature, it's a bug. The genModel() function in functions had the MODEL setting reversed based on checking if it was already in pibox-version.

This is fixed.
Code committed and tested on hardware.
Code pushed.
Closing issue.

Actions

Also available in: Atom PDF