**** BEGIN LOGGING AT Fri Apr 16 03:00:29 2021 Apr 16 09:02:57 Hi, I'm pretty new to the arm universe. I'm trying to package an application for armhf. I have an Ubuntu arm64 VM running on an Mac Mini (M1 Chip) and my arm64 Pacakges are working fine. Now I'm trying to also build armhf packages for the Raspberry Pi. Is it possible to run an armhf version of Ubuntu/Debian somehow? I need to package npm and php composer stuff which is pretty bad at cross compiling so I thoug Apr 16 09:02:57 ht the easiest would be to run the build directly on the target platform. Apr 16 09:17:46 You should be able to run an armhf userspace on an arm64 platform. For example with mk-sbuild/schroot/sbuild. Apr 16 09:24:33 is armhf the 32-bit version of arm64? Apr 16 09:33:42 Sort of. The two architectures are completely different. But they come from the same people, and most arm64 platforms support the previous 32-bit architecture that armhf runs on. Apr 16 09:34:57 No idea about the M1 specifically though. Apr 16 09:38:55 The thing is, all my builds are running inside of a Docker container. (I used pbuilder in the past and had a very bad experience with it). So i guess I can't use mk-sbuild Apr 16 09:39:58 Let's see if i can run an armhf container on arm64^^ Apr 16 09:53:50 Unfortunately no. Apr 16 10:42:56 Looks like the M1 Chip has no 32bit support Apr 16 12:54:41 yeah, the M1 kernel does not enable the 32bit layer ... you could use a Pi to build though ... the Ubuntu arm64 kernls for the pi fully support 32bit containers too Apr 16 13:10:28 ogra: I'm using a Pi - or at least i'm trying to use a Raspberry Pi 3 Model B. I's booted via NFS from a SSD drive but the build is super slow and running since 9:00 ( 5 hours ) so that's not an option for production. Apr 16 13:11:36 ah, i only use Pi4's fr builds, with rootfs on USB3.1 SSDs ... thats usually faster than a build on the launchpad builders Apr 16 13:11:58 (likely not as fast as on an M1 indeed, but reasonably usable) Apr 16 13:13:44 dziegler, NFS on a pi3 will be pretty slow -- remember that it's only got a 100Mbps eth port connected over USB, so all your rootfs IO has to squeeze through that (and contend with anything else on that bus). The pi4 is indeed a *much* better option, not least due to the extended RAM Apr 16 13:14:35 yeah, more RAM and actually usable disk IO die to USB3 Apr 16 13:14:50 and rootfs on a USB3 attached SSD on a pi4 (preferably a 4GB or 8GB RAM model) is very speedy indeed (again, I'm sure the M1 would trounce it, but personally I find the pi4 more than acceptable for local builds) Apr 16 13:15:30 (we introduced one originally to the piwheels build cluster and a single 4GB pi4 there outperformed 5 pi3's in terms of build throughput :) Apr 16 13:16:42 (not a scientific measure by any means, but it was impressive to watch!) Apr 16 13:16:47 Makes sense. My hope was to test everything on the Pi3 i had laying around bevor I spend money on a Pi4 + SSD Apr 16 13:16:47 * ogra waits for someone to develop a proper NVME/PCIe equipped base board for the CM4 Apr 16 13:17:16 But it looks like I have to purchase a Pi4 and give it a try. Apr 16 13:17:25 👍 Apr 16 13:18:09 I think that's probably a wise move -- I'd avoid the 2GB model, and go straight for the 4 or even 8 (though I've found the 4 to be perfectly fine for all the piwheels builders so far) Apr 16 13:18:41 (but the 8 is definitely preferable when running a hefty desktop environment) Apr 16 13:18:46 the 8 is good for big projects like kodi or libreoffice ... but for general purpose builds 4GB are fine Apr 16 13:19:04 ah yes, I imagine an 8 would definitely be needed for lo :) Apr 16 13:20:09 I will go with the 8GB version Apr 16 13:20:18 better safe than sorry Apr 16 13:20:32 🙂 Apr 16 13:23:22 Can you recommend any USB adapter that will work properly? Apr 16 13:34:26 I'll just dig out the one I'm using here... Apr 16 13:35:57 dziegler, https://www.amazon.co.uk/gp/product/B00IJNDBM4/ is the enclosure and according to lsusb it's an ASMedia ASM1051E and ASM1153E SATA bridge Apr 16 13:36:40 thanks! Apr 16 19:14:42 waveform, you about my dude? **** ENDING LOGGING AT Sat Apr 17 02:59:57 2021