Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JinShil opened this issue Jul 17, 2023 · 7 comments

Comments

@JinShil
Copy link

JinShil commented Jul 17, 2023

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

@maxnet
Copy link
Collaborator

maxnet commented Jul 17, 2023

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.

@JinShil
Copy link
Author

JinShil commented Jul 17, 2023

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.

@JamesH65
Copy link
Collaborator

@pelwell FYI

@pelwell
Copy link

pelwell commented Jul 17, 2023

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.

@JinShil
Copy link
Author

JinShil commented Jul 17, 2023

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

@pelwell
Copy link

pelwell commented Jul 17, 2023

I needs to be newer than Aug 17 2022.

@JinShil
Copy link
Author

JinShil commented Sep 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants