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

cmprovision working on cm5 #61

Open
jcaptitude opened this issue Dec 13, 2024 · 2 comments
Open

cmprovision working on cm5 #61

jcaptitude opened this issue Dec 13, 2024 · 2 comments

Comments

@jcaptitude
Copy link

jcaptitude commented Dec 13, 2024

Hi,

I've just got some CM5s and installed the cmprovision on cm5. The static ip was setup following this issue

But it seems that it cannot detect any CM5 connected to it.

The dnsmasq log only shows 'no address range available for DHCP request via wlan0' after start up
And the rpiboot log stops at 'Waiting for BCM2835/6/7/2711/2712...'

So I'm wondering if cmprovision is able to work on CM5?

The OS installed on CM5 is 'Raspberry Pi OS (64-bit)'

@timg236
Copy link

timg236 commented Dec 16, 2024

I believe rpi-sb-provisioner is the preferred tool on CM5 which should support a superset of the cmprovsion features (although some are implemented differently)
https://github.com/raspberrypi/rpi-sb-provisioner

Re "rpiboot" please can you make sure that you are using the very latest APT release of rpiboot. Early versions of the bootloader (including bootfiles.bin) won't boot on a CM5 or Pi500.

@maxnet
Copy link
Collaborator

maxnet commented Dec 16, 2024

The dnsmasq log only shows 'no address range available for DHCP request via wlan0' after start up

I do not have a CM5, but am guessing that it is advertising a different GUID, and that you need to modify /var/lib/cmprovision/etc/dnsmasq.conf to add: dhcp-match=set:client_is_a_pi,97,whatever-guid-cm5-is-using to solve the detection problem.
Then you will likely run into the next hurdle that it doesn't serve a kernel suitable for CM5.
Will require that you patch up https://github.com/raspberrypi/scriptexecutor to build new kernel and .dtb using a suitable kernel config for CM5, and toss the result in `/var/lib/cmprovision/scriptexecute

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

3 participants