Post History
I need to flash an OS + some goodies to a RPI module. Currently I am using rpiBoot for this, following these steps: start rpiboot - waiting for bcm... plug in rpi over usb connection ...
#2: Post edited
How to determine compute module model over rpiBoot
Hi, i need to setup a script to validate the raspberry hardware connected to a desktop PC, and im not sure how to go about it.We are in an environment where we need to flash an OS + some goodies to a RPI module, and currently this is done using rpiBoot.the current setup is:start rpiboot - waiting for bcm...plug in rpi over usb connectionmount the diskconfigure/validate some partitioningwrite our software to pivalidatecompleteUp until recently we have only worked with CM3 modules, so no need to double check the compute module type, but i want to be certain of the device hardware during this process, preferable between steps 3 and 4.i have been doing some experiments myself, but all information online points to using feature that are not available without the raspberry actually running such as:- cat /sys/firmware/devicetree/base/model
- cat /proc/cpuinfo
And looking around in the /boot folder doesn't provide me any obvious solution, since that seems to contain bcm... files for multiple version, as far as i can tell, so im not sure i can go by that somehow.So "all" i need is a way to tell if the device mounted is a CM3, CM4, CM4S ( or CM5 in the future )Any tips would be appreciated :)
- I need to flash an OS + some goodies to a RPI module. Currently I am using rpiBoot for this, following these steps:
- * start rpiboot - waiting for bcm...
- * plug in rpi over usb connection
- * mount the disk
- * configure/validate some partitioning
- * write the software to pi
- * validate
- * complete
- Up until recently I have only worked with CM3 modules, so there's no need to double-check the compute module type. However, I want to be certain of the device hardware during this process - preferably right after mounting the disk. **How can I do this?**
- I have been doing some experiments myself, but all information online points to using feature that are not available without the raspberry actually running such as:
- ```
- cat /sys/firmware/devicetree/base/model
- cat /proc/cpuinfo
- ```
- I tried looking around in the `/boot` folder, but it seems to contain `bcm...` files for multiple versions, so that doesn't suggest an obvious solution.
- How can I tell if the device that was mounted is a CM3, CM4, CM4S ( or CM5 in the future )?
#1: Initial revision
How to determine compute module model over rpiBoot
Hi, i need to setup a script to validate the raspberry hardware connected to a desktop PC, and im not sure how to go about it.
We are in an environment where we need to flash an OS + some goodies to a RPI module, and currently this is done using rpiBoot.
the current setup is:
start rpiboot - waiting for bcm...
plug in rpi over usb connection
mount the disk
configure/validate some partitioning
write our software to pi
validate
complete
Up until recently we have only worked with CM3 modules, so no need to double check the compute module type, but i want to be certain of the device hardware during this process, preferable between steps 3 and 4.
i have been doing some experiments myself, but all information online points to using feature that are not available without the raspberry actually running such as:
cat /sys/firmware/devicetree/base/model
cat /proc/cpuinfo
And looking around in the /boot folder doesn't provide me any obvious solution, since that seems to contain bcm... files for multiple version, as far as i can tell, so im not sure i can go by that somehow.
So "all" i need is a way to tell if the device mounted is a CM3, CM4, CM4S ( or CM5 in the future )
Any tips would be appreciated :)
