Hi there,
I want to set up a test environment where I can access the USB port of a CM4 to burn an operating system (WIC files) and then restart the CM4 to boot and enable UART.
The example scenario would involve creating a new distribution using Yocto, putting the CM4 into rpiboot mode, installing the Yocto WIC files, then restarting the device and accessing the CM4 UART to verify if my WIC distribution is correct.
My plan is to create a separate circuit, possibly using an Arduino, with two relays: one for CM4 power and one for CM4 nRPIBOOT. I can then create a shell script to control the relays, allowing me to turn the device on and off and put it into USB mode.
I basically do not want to change any wires or turn the device on/off manually. I want this whole setup to be automated to the point where I just run a command, and it will burn the operating system and let me check my changes.
Do you see any problems with this approach? Do you have any advice or suggestions for improvements?
Thank you in advance.
I want to set up a test environment where I can access the USB port of a CM4 to burn an operating system (WIC files) and then restart the CM4 to boot and enable UART.
The example scenario would involve creating a new distribution using Yocto, putting the CM4 into rpiboot mode, installing the Yocto WIC files, then restarting the device and accessing the CM4 UART to verify if my WIC distribution is correct.
My plan is to create a separate circuit, possibly using an Arduino, with two relays: one for CM4 power and one for CM4 nRPIBOOT. I can then create a shell script to control the relays, allowing me to turn the device on and off and put it into USB mode.
I basically do not want to change any wires or turn the device on/off manually. I want this whole setup to be automated to the point where I just run a command, and it will burn the operating system and let me check my changes.
Do you see any problems with this approach? Do you have any advice or suggestions for improvements?
Thank you in advance.
Statistics: Posted by funkpunkt — Wed Jul 17, 2024 2:04 pm — Replies 0 — Views 20