JT_irl
06/18/2025, 7:30 AMDan D.
06/18/2025, 2:47 PMJT_irl
06/20/2025, 1:58 PMDan D.
06/20/2025, 2:52 PMJT_irl
06/20/2025, 8:12 PMDan D.
06/20/2025, 8:18 PMInfoOverload
06/21/2025, 3:57 AMfirstrun.sh
and look at/copy the entry in cmdline.txt
that references the firstrun.sh script.
3. Use the tpi advanced msd -n <CM4 node>
to present the CM4 partitions to the BMC OS, they should be /dev/sda (at least usually). Check using lsblk
4. Mount the smaller partition (usually /dev/sda1) and then copy the firstrun.sh
to the root of that partition. Use Nano to edit the cmdline.txt
to include the call to firstrun.sh
i.e. init=/usr/lib/raspberrypi-sys-mods/firstboot systemd.run=/boot/firstrun.sh systemd.run_success_action=reboot systemd.unit=kernel-command-line.target
5. Unmount the device and reboot the node.
6 . This should then boot up the CM4 and enable all of the settings contained in the firstrun.sh
JT_irl
06/26/2025, 9:47 PM