arch64 chroot on raspberry pi 3b+ armv7 OS

Ask questions about Arch Linux ARM. Please search before making a new topic.

arch64 chroot on raspberry pi 3b+ armv7 OS

Postby lilmike » Sat Jun 16, 2018 7:39 pm

Hi,
I'm looking into getting a pi 3b+ for ARM builds of some software. I would prefer to use arch linux for the OS, and if possible to do both arch64 and armv7 builds on the same machine/boot that would be nice. I gather arch64 builds are not available for archlinux arm on the pi 3b+ at this time, but I *think* this is because they don't boot. Would it be possible to chroot into a arch64 directory, for example, and do the builds there? If so, how would I set this up and maintain it?
Thanks!
-Michael.
lilmike
 
Posts: 4
Joined: Thu Jun 09, 2016 3:24 am

Re: arch64 chroot on raspberry pi 3b+ armv7 OS

Postby graysky » Sat Jun 16, 2018 9:54 pm

I don't think you can boot to aarch64 and have an armv7/6 chroot or the other way around. Perhaps someone can correct me if I am mistaken.
graysky
Developer
 
Posts: 1728
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: arch64 chroot on raspberry pi 3b+ armv7 OS

Postby WarheadsSE » Tue Jun 19, 2018 8:05 pm

While it is _technically_ possible to make use of QEMU to run AArch64 code on less than ARMv8 hardware, which is what I think graysky is referring to.

As for the Pi3 family, as the instructions are supported on the SoC, it may be possible to do a direct chroot. I've not tried it. I would suggest making use of nspawn if you do go this route.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 5 guests