Page 1 of 1

Building BalenaOS RevPi Connect S Image Fails

Posted: 01 Sep 2022, 09:16
by wickywaka33
Hello,

We are trying to use the RevPi Connect S with Balena OS. None of the existing images works on RevPi Connect S so we are thinking of changing the yocto recipes/scripts to develop one. Does anyone here already tried something like this and can provide some help?

Currently, our approach is use the raspberry pi 4 base and some revpi-connect parts as seen their revpi-connect image build setup. Would that approach work? Here is the relevant directory in the https://github.com/balena-os/balena-ras ... aspberrypi repository. This is a layer that according to my understanding modifies the vanilla raspberry pi layer to support RevPi devices. We just need to add support for RevPi-Connect-S.

Best regards,
Waqar

Re: Building BalenaOS RevPi Connect S Image Fails

Posted: 01 Sep 2022, 12:21
by nicolaiB
Hi Wagar,

your approach sounds right to me. The only difference between Connect and Connect S is the new compute module 4S, which is using the same CPU (BCM2711) as the CM4. So you need to change the existing recipes in terms of compute module relevant parts.

Nicolai

Re: Building BalenaOS RevPi Connect S Image Fails

Posted: 02 Sep 2022, 13:04
by wickywaka33
nicolaiB wrote: 01 Sep 2022, 12:21 Hi Wagar,

your approach sounds right to me. The only difference between Connect and Connect S is the new compute module 4S, which is using the same CPU (BCM2711) as the CM4. So you need to change the existing recipes in terms of compute module relevant parts.

Nicolai
Ok. We opened a merge request that include what we have done so far to balena-raspberrypi here https://github.com/balena-os/balena-ras ... i/pull/913.

Lets hope this speeds up the collaboration process.

Waqar & Team

Re: Building BalenaOS RevPi Connect S Image Fails

Posted: 02 Sep 2022, 15:45
by nicolaiB
Thanks! I left some comments in your PR

-Nicolai

Re: Building BalenaOS RevPi Connect S Image Fails

Posted: 17 Sep 2022, 00:19
by wickywaka33
Since we would like to update the kernel version for BalenaOS, we thought it would be better to start with revpi connect as that will probably resolve the Ethernet issues as well.
Here is the merge request https://github.com/balena-os/balena-ras ... i/pull/917

Would love to have your feedback on this.

Waqar