I have developed a module and built the image for arm64v8 architecture as my Edge device is running in Raspberry Pi 4. I got the file deployment.arm64v8.json in the config folder correctly. But when I right-click on the device in Visual Studio Code and select Create Deployment for Single Device, the modules are getting added, but one of the modules is showing Backoff state. What could be the problem here, and was strictly following this doc.
I also tried restarting the services.
Device Information
Host OS: Raspberry OS Architecture: Arm64v8 Container OS: Linux containers
Runtime Versions
iotedged: iotedge 1.0.9.4 Docker/Moby [run docker version]:
Update:
I am trying to build arm32 image in my 64 bit Windows Dev Machine, I guess that is the reason why I am getting this issue. Now I have 3 options.
- Install the 64 bit version of Raspberry OS from here
- Set up a 32 bit virtual machine and use it as a dev machine and build 32 bit images
- I already have a WSL running, maybe running the Visual Studio code solution there?
Could you please tell me what would be the better way?