Add /etc/platform-hw-info for firstboot hardware detection (no hotplug)

Won't Fix

Description

This is step 2 for https://lf-automotivelinux.atlassian.net/browse/SPEC-720#icft=SPEC-720:

at first boot, add information related to "deep" hardware detection, like detecting hardware features that can't be specified as machne-specific. Scriptlets mode envisioned here = add a way to specify a script fragment at build time that would land in the right folder to be launched at first boot. This is very close to the first boot mechanism to install widgets, propbably occuring earlier in the boot workflow.

 

Environment

None

Activity

Show:

Stephane Desneux 
August 2, 2019 at 9:51 AM

I have something cooking but not all platforms are supported ATM: this only works completely for Renesas boards.

IMO, we should add support at least for intel and RPI to push a decent patch on meta-agl.

That said, when back from vacation mid-August, I can also push what we have now and call for people to complete the hw detection logic for other boards.

Walt Miner 
July 31, 2019 at 5:25 PM

Status of this issue?

Tom Rini 
October 3, 2018 at 12:53 PM

That's getting ahead of ourselves.  We need to define what and why we need almost any of that information in general (rather than some specific test setup) and further probably shouldn't do some of that in scripts even if we do, ie should have something calling get_nprocs(3) in the binding or ship nproc from coreutils to get the correct value if we really need to count CPUs for some reason in the end.

Stephane Desneux 
October 3, 2018 at 12:45 PM

Yes, agreed. Can we port that script to other platforms ?

Details

Assignee

Reporter

Labels

Contract ID

Priority

Created September 18, 2018 at 9:13 PM
Updated August 27, 2020 at 7:41 PM
Resolved August 27, 2020 at 1:23 PM

Flag notifications