cmprovision icon indicating copy to clipboard operation
cmprovision copied to clipboard

bcm2711-rpi-cm4s.dtb is missing for CM4S. CM4S provisioning fails to boot scriptexecute firmware.

Open JinShil opened this issue 1 year ago • 7 comments

The bcm2711-rpi-cm4s.dtb file is missing from the scriptexecute firmware. Without it, the scriptexecute firmware fails to boot on the CM4S. With it, the scriptexecute firmware boots, but does not start the provisioning process.

Regardless adding bcm2711-rpi-cm4s.dtb to the scriptexecute firmware appears to be part of the solution to get provisioning over USB to work on the CM4S.

Related discussion at https://forums.raspberrypi.com/viewtopic.php?p=2120656

JinShil avatar Jul 17 '23 00:07 JinShil

With it, the scriptexecute firmware boots, but does not >start the provisioning process.

I am afraid I do not have a cm4s at the moment, so cannot test.

But looking at the console output in your forum post, it has the wrong cmdline for using USB to communicate with server, so it is waiting for eth0 instead. So it seems your [cm4s] config.txt section is not being applied.

maxnet avatar Jul 17 '23 01:07 maxnet

Thank you. As stated later in the forum thread, adding the following to the config.txt file allowed me to provision the CM4S over a USB cable.

[board-type=0x15]
dtoverlay=dwc2,dr_mode=peripheral
cmdline=cmdline.txt.ipv6ll

I'm assuming the scriptexecute firmware in the latest cmprovision software is old, so it did not recognize the [cm4s] filter.

JinShil avatar Jul 17 '23 04:07 JinShil

@pelwell FYI

JamesH65 avatar Jul 17 '23 07:07 JamesH65

I'm not sure what I am supposed to take from this issue and the associated forum thread, other than it looks like at least some CM4s boards have been manufactured with an EEPROM image that pre-dates the addition of support for the "[cm4s]" section. As @JinShil has shown, [board-type=0x15] is a suitable alternative.

The absence of bcm2711-rpi-cm4s.dtb from this repo is one for @maxnet.

pelwell avatar Jul 17 '23 07:07 pelwell

I think its the scriptexecute firmware in the latest version of cmprovision that does not recognize the [cm4s] filter.

JinShil avatar Jul 17 '23 08:07 JinShil

I needs to be newer than Aug 17 2022.

pelwell avatar Jul 17 '23 08:07 pelwell

Can we please get an update to the scriptexecute firmware in this repository?

JinShil avatar Sep 08 '23 01:09 JinShil