Let’s say I have some code that can’t compile for ARM64 without a significant development effort, but can compile on 32 Bit ARM and work fine.
Now I want to take that code and compile on a Jetson Nano (I’ve done this by pulling an armhf gcc compiler) – This is all possible, I’ve compiled 32 bit binary on the Nano.
Now, how do I run it? Like, specifically on the Nano assuming I have a JetPack version R32.2 installed, how do I reconfigure the system to run the 32 bit binaries I built?
Can I use an older Jetpack version on a Nano/Xavier that would enable AArch32 mode in some way? I hear that R24.1 still fully supported 32 bit stack.
I’ve seen some alluding to installing ‘foreign architecture support’ like this
dpkg --add-architecture armhf then
apt-get update – but this gives an error when pulling packages from nvidia website (sorry, don’t have the exact error code at this time, couldn’t copypaste it) – and I’m not even sure if this method is supposed to technically be supported.
Is there another way to just redo the whole userspace on a Nano/Xavier to be completely 32 bit? What would be the starting point to installing a 32 bit rootfs?
The nearest forum answer I can find is from here (but it seems rather dated now and I don’t know how to feasibly implement the approaches suggested on my dev boards)
Your thoughts are appreciated! Cheers -AD