ITADN

Problems building for RP2 on M1 Mac

#90Openpaulg1 创建于 2025-08-18
P
paulg1commented
I am running mpbuild on an M1 iMac. If I try to build for an RP2 target I get the following error: ``` Unable to find image 'micropython/build-micropython-arm:bookworm' locally docker: Error response from daemon: no matching manifest for linux/arm64/v8 in the manifest list entries: no match for platform in manifest: not found ``` I discovered that lukstep has produced a pico-sdk build container for Mac. I ran this as follows: ``` mpbuild build --build-container lukstep/raspberry-pi-pico-sdk:latest PIMORONI_TINY2040 FLASH_8M ``` This gave a warning ``` The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ``` but continued to build without any problems and produced the firmware.uf2 file. I flashed my board with this file and it runs ok. I then decided to enable ROMFS and rebuild. Running mpbuild clean failed. If I did not specify the build container it complained: ``` Unable to find image 'micropython/build-micropython-arm:bookworm' locally docker: Error response from daemon: no matching manifest for linux/arm64/v8 in the manifest list entries: no match for platform in manifest: not found ``` If I specified the build container it complained: ``` No such option: --build-container ``` I ran mpbuild build anyway. It errored. I wasn't surprised as I have experienced this before. Could you please fix the problem with mpbuild clean ASAP?
4 条评论