I would like update Node.js to the latest version and I need to choose between ARMv6 and ARMv7. From the package manager point of view this is an ARMv6 processor and dmesg tells it is

CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7) 

so... probably ARMv7.

Googling, I saw lot of people used ARMv7 without problem. But is it correct?

  • 1
    ALL Raspbian code (except for kernel) is ARM6, even though Pi2 and up CAN run ARM7, this depends on library support. – Milliways Apr 28 '18 at 7:14

First: It's ARMv6.

The Zero uses the original BCM2835 SoC used on the first generation of Pi's and all the other single core models, with a ARM1176JZF-S processor (although the Zero models have ones binned as 1000 Mhz instead of 700).

All ARM11 cores use the ARMv6 instruction set architecture. Since those using ARMv7 or 8 are backward compatible with ARMv6, Raspbian has stuck with that. This is also the reason most of the distros used on the multicore models cannot be used on the Zero -- because they are ARMv7.

I would like update nodejs to the latest version

You can in many cases run code compiled for ARMv7 with an otherwise ARMv6 userland, if the processor itself can run it (meaning, you'd also be using an ARMv7 kernel), which the Zero cannot.

| improve this answer | |
  • 4
    OMG, I've read your answer 10 times already and still can't understand: is it ARMv6 or ARMv7? – Rafael Eyng Feb 10 '19 at 3:49
  • 1
    @RafaelEyng "a ARM1176JZF-S" = subcategory of ARM11, so the ISA is ARMv6. Big clue here is the last sentence ;) – goldilocks Feb 10 '19 at 13:34
  • 10
    Note to future self: ARMv6 – Rafael Eyng Feb 20 '19 at 0:03
  • @RafaelEyng thank you! – Gabriel A. Zorrilla Sep 12 '19 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.