komatsuma
Posts: 7
Joined: Tue Oct 01, 2019 8:39 am

Swapping a micro SD card between 3B+ and zero w

Tue Oct 01, 2019 9:14 am

Hi.
I want to develop with zero w.
Sometimes, It takes very long time when pip installing (building pypi application) on RPizero w(arm6).
So, if possible, I want to build that kind of application on RPi3B+(arm7), then just swap the micro SD card to RPizero w.
Does this work?

If it works,
Is there anything to care about?
does it work also with RPi4(arm8)?

If it doesn't work,
Is there any advise to shorten the time of pip installing.

Sometime I found pre-build .whl data for arm7 someone provided. In this case, no problem.(no need to build on RPizero w.) I download it and use it. (Thank you very much to someone!)
I found some articles to use MEmu as a raspbian emulator on PC. but this way looks very difficult to me.

I use raspbian buster updated.
Please give me any advice. Thank you very much.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26660
Joined: Sat Jul 30, 2011 7:41 pm

Re: Swapping a micro SD card between 3B+ and zero w

Tue Oct 01, 2019 9:27 am

The SD card will work fine across al lthe Pi range.

What you need to be careful about is if you are compiling your own apps, where you must ensure that the app is built for the right processor type - the Zero has an older processor.

Python should be fine though.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

GOTO GOSUB
Posts: 12
Joined: Tue Oct 01, 2019 11:15 am

Re: Swapping a micro SD card between 3B+ and zero w

Tue Oct 01, 2019 11:20 am

Another potential gotcha that I can think of is that the mode of operation with regards to the activity LED on the Zero is reversed to that of the other Pi's. If you are messing with onboard LED's then this is something to be aware of (most people probably don't, but if your application requires the LEDs be turned off or behave in a different manner than the default then be mindful of this).

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Swapping a micro SD card between 3B+ and zero w

Tue Oct 01, 2019 2:01 pm

GOTO GOSUB wrote:
Tue Oct 01, 2019 11:20 am
Another potential gotcha that I can think of is that the mode of operation with regards to the activity LED on the Zero is reversed to that of the other Pi's. If you are messing with onboard LED's then this is something to be aware of (most people probably don't, but if your application requires the LEDs be turned off or behave in a different manner than the default then be mindful of this).
IIRC you can actually change the behaviour with dtparams / dtoverlays in config.txt
And you can add conditional settings (e.g. depending on model Pi)

And as you say: hardly anybody uses it anyway...

komatsuma
Posts: 7
Joined: Tue Oct 01, 2019 8:39 am

Re: Swapping a micro SD card between 3B+ and zero w

Wed Oct 02, 2019 12:04 am

Hello.
jamesh, GOTO GOSUB, and DirkS, I very thank you all for your fast reply and good advice!!! :D :D :D

OK. I will use Rpi3B+ for developing a product. Then, I will just swap the micro SD card to a RpiZero W at last.
I do use Rpi4 when it starts to be sold in my country, Japan.

Thank you very much!

Return to “Beginners”