News for hackers. Stuff that matters.
[dead]
Re:Future of 32-bit platform support in FreeBSD by galangalalgol on Tuesday February 20, 2024 @09:03AM (#39441384)
The gp did say embedded. The RPi Zero is still selling, and its popular. and 32bit is still the big end of microcontrollers. But almost none of those have memory management units, so normal linux is off the table (not sure about FreeBSD) but it is possible to build a linux for those platforms.
Re:Future of 32-bit platform support in FreeBSD by zokier on Tuesday February 20, 2024 @09:35AM (#39441811)
The 32 bit RPis have this notice though

> Raspberry Pi Zero will remain in production until at least January 2026

Considering the roughly 2ish year release cycle of FreeBSD, it seems likely that 32bit RPIs will be eol'd before FreeBSD 16 is released.

Re:Future of 32-bit platform support in FreeBSD by galangalalgol on Tuesday February 20, 2024 @10:22AM (#39442351)
Broadcom released new quadcore 32bit router SOCs as recently as last year. The rpi may have moved on, but I wouldn't be surprised if there is a niche for an rpi -1 what with inflation. The rpi zero 2 is 64bit and the same price as the old one. But cheaper is always cheaper. With microcontrollers growing to 32bit, you still see 8bit used all the time just for the price difference. If the 32bit part is even a little cheaper on a high volume item, it will be used, and routers lean on free operating systems heavily.
Re:Future of 32-bit platform support in FreeBSD by zokier on Tuesday February 20, 2024 @11:37AM (#39443380)
> Broadcom released new quadcore 32bit router SOCs as recently as last year

Which SoC are you referring to here?

Re:Future of 32-bit platform support in FreeBSD by galangalalgol on Tuesday February 20, 2024 @03:39PM (#39446594)
I was referring to the BCM47722, but I was basing the assumption on the assumption that all the other 64bit SOCs had 64bit in the title page, and that one didn't. But it is also 64bit. After poking around it does indeed seem like they don't make anything 32bit with an mmu anymore.
Re:Future of 32-bit platform support in FreeBSD by azinman2 on Tuesday February 20, 2024 @10:46AM (#39442664)
Interestingly it seems 32-but raspbian is recommended over 64-bit even on the zero 2 which is 64-bit. Note it still has the same tiny amount of ram.
Re:Future of 32-bit platform support in FreeBSD by loeg on Tuesday February 20, 2024 @10:41AM (#39442598)
I don't believe FreeBSD has any support for micros without memory controllers.
Re:Future of 32-bit platform support in FreeBSD by pantalaimon on Tuesday February 20, 2024 @10:38AM (#39442563)
You wouldn't run FreeBSD on an MCU but rather something like Zephyr.
Re:Future of 32-bit platform support in FreeBSD by rurban on Tuesday February 20, 2024 @09:52AM (#39441986)
I had to switch off from macOS when they retired the 32bit system libraries, because I simulate my armv7/avr embedded firmware natively. On linux I still can, but on other systems soon not anymore.

My simulator is not an qemu/renode like CPU emulator, which would be too slow, just some mesh routing algorithms, with like 200 nodes simulated on a single machine. https://blog.nubix.de/2022/04/testing-baremetal-firmware-at-...

Re:Future of 32-bit platform support in FreeBSD by pantalaimon on Tuesday February 20, 2024 @10:49AM (#39442711)
Sounds a lot like what RIOT is doing, but there support for 64 bit `native` was just merged recently, so you can also build for the virtual `native64` board and run your code as a 64 bit Linux executable.

(Support for macOS was removed a few years ago due to a lack of maintenance and no active developers with access to a macOS machine)

It also comes with a mesh simulator: https://github.com/RIOT-OS/RIOT/tree/master/dist/tools/zep_d...

Re:Future of 32-bit platform support in FreeBSD by rurban on Tuesday February 20, 2024 @11:21AM (#39443163)
No, my mesh runs on 8bit atmel's. 32bit would be way too big. Just the simulator needs 32bit and cannot run on 64bit.
Re:Future of 32-bit platform support in FreeBSD by pantalaimon on Tuesday February 20, 2024 @11:45AM (#39443485)
RIOT also runs on 8 bit AVRs, e.g. ATmega256RFR2

But that's pretty much retro-computing these days, I don't see why anyone would use those on new projects when Cortex-M0+ parts are much cheaper and more power efficient.

Re:Future of 32-bit platform support in FreeBSD by rurban on Thursday February 22, 2024 @04:36AM (#39465016)
Ha, small sensors still rule. Everywhere. Cortex are way too large.

And gcc-avr still rules over gcc-arm. qemu on avr easy, on arm horrible.

Re:Future of 32-bit platform support in FreeBSD by jbaber on Tuesday February 20, 2024 @09:29AM (#39441745)
I was happily running Arch on my netbook until they dropped support. I ran the Arch32 variant for a while, but could see the writing on the wall and got an irritatingly larger laptop only for its 64 bitness. The netbook sits in a drawer now.
Re:Future of 32-bit platform support in FreeBSD by nubinetwork on Tuesday February 20, 2024 @08:29AM (#39440944)
I routinely install old 32bit applications in wine because they never got a 64bit version. It's literally the only reason I haven't tried running 64-only.
Re:Future of 32-bit platform support in FreeBSD by zoky on Tuesday February 20, 2024 @08:35AM (#39441015)
We’re not talking about 32-bit applications though. We’re talking about a 32-bit kernel.

The 64-bit FreeBSD kernel is perfectly capable of running 32-bit applications, and will be so for the foreseeable future. The only reason I can see to support a 32-bit kernel is to allow for installation on hardware that is approaching decades of obsolescence, so again I ask, what is the point?

Re:Future of 32-bit platform support in FreeBSD by wiredfool on Tuesday February 20, 2024 @09:52AM (#39441980)
The only place I see it is people who are using 32-bit python on windows for compatibility with something and can't use the 64 bit builds.