Thanks for confirming, that there is no immediate method for querying the SoC stepping, because I was trying to find one too. I'm understanding your position, but I need this information for my bare metal software. I will be careful.Please be a little cautious in relying on that - we're in the process of upstreaming drivers, and compatible strings may well change based on mainline's requirements.If not, is there any value inside the RPi5 one can read out to know if the SoC has C1 or D0 stepping?It's "brcm,bcm2712-vc6" on the RPi 5 with C1 stepping.Code:
$ cat /sys/firmware/devicetree/base/axi/gpu/compatible brcm,bcm2712d0-vc6
Userspace should never need to care about whether it is C1 or D0, which is part of the reason why there is no immediate mechanism to tell. Any kernel driver that needs to know will have device tree updated either by configuration of compatible string.
Statistics: Posted by rst — Mon Aug 26, 2024 9:05 pm