News for hackers. Stuff that matters.
Re:Future of 32-bit platform support in FreeBSD by adrian_b on Tuesday February 20, 2024 @08:06AM (#39440728)
For open-source operating systems there will always remain the older stable 32-bit releases like FreeBSD 16 in this case.

Even if there still are plenty of obsolete 32-bit CPUs running Linux or *BSD, since many years I have never seen a case where using them is the right technical choice.

When a UNIX-like OS is desired, it is a mistake to use anything less than a very cheap 64-bit CPU, like one with ARM Cortex-A55 cores.

For the many embedded applications where a 32-bit CPU is appropriate, either one of the many open-source RTOSes should be used or a bare-metal program, which is the best choice in many cases. For such embedded applications, a UNIX-like OS is much too bloated and it does not allow deterministic control of the hardware.

Re:Future of 32-bit platform support in FreeBSD by galangalalgol on Tuesday February 20, 2024 @09:44AM (#39441890)
There os an in between space like the RPi zero where you can drop rt linux kernel (and rt modules). 32bit embedded linux is still really quite widespread. I expect risc-v to breath some new life into it as well. Sometimes a lack of hard (or any) real time requirements, combines with price and occasionally power (where I expect risc-v to come in) to allow for embedded linux. It usually requires less development time too. Think how many home routers, and security systems are still built off of 32bit linux. I don't know any built off of freebsd though, so maybe a good call?
Re:Future of 32-bit platform support in FreeBSD by yjftsjthsd-h on Tuesday February 20, 2024 @10:33AM (#39442497)
Actually I've been surprised at how much 64-bit dominates RISC-V even in the very lowest end of Linux-capable embedded. Perhaps I'm just in a bubble, though; not like I work in actual embedded stuff professionally.
Re:Future of 32-bit platform support in FreeBSD by adrian_b on Tuesday February 20, 2024 @10:45AM (#39442652)
The price difference between something with Cortex-A55 64-bit cores and something with obsolete 32-bit cores is negligible.

For modern home routers or security appliances you want them to be able to easily execute firewalls with complex sets of rules at multi-gigabit per second throughput, so that the router throughput should not be limited by the CPU instead of the Ethernet or WiFi interfaces.

For this, you really need something like Cortex-A55. The routers with obsolete CPUs limit the performance without any worthwhile price reduction.

On the other hand, for many embedded projects where a 32-bit CPU is the right choice, the developers choose Linux just because they are familiar with it and they are too lazy to read the manuals of some free real-time operating system, even if in fact the latter might require less development work and maintenance work for their software project.

Re:Future of 32-bit platform support in FreeBSD by pantalaimon on Tuesday February 20, 2024 @10:52AM (#39442767)
The more bits you have to push around / the wider your registers and busses are, the more energy you are going to consume though.
Re:Future of 32-bit platform support in FreeBSD by zokier on Tuesday February 20, 2024 @01:30PM (#39444886)
Is that actually measurable difference on modern process nodes and cores as big as Cortex-A?
Re:Future of 32-bit platform support in FreeBSD by zokier on Tuesday February 20, 2024 @01:54PM (#39445269)
If even A55 is too chonky, there is also A34 which afaik is the smallest 64bit ARM core. Unfortunately I haven't seen anyone actually releasing chips based on it :(

There are some socs with A35 cores though, that is probably lowest end that is actually available.

Re:Future of 32-bit platform support in FreeBSD by pantalaimon on Tuesday February 20, 2024 @10:43AM (#39442635)
FreeBSD was never big on embedded in the first place. 32 bit Linux isn't going to go away anytime soon.
Re:Future of 32-bit platform support in FreeBSD by jandrese on Tuesday February 20, 2024 @11:35AM (#39443365)
Lots of "fatter" embedded systems run on FreeBSD due to the more favorable license situation. Not so much SOHO routers, but big industrial routers will use it. Juniper is a notable example. But also 1U firewalls, SANs, etc... are often FreeBSD based.
Re:Future of 32-bit platform support in FreeBSD by pantalaimon on Tuesday February 20, 2024 @11:48AM (#39443529)
Well that's the tragedy of not contributing back upstream then. If there were companies actively maintaining the 32 bit port, there would be no plans of dropping it.
Re:Future of 32-bit platform support in FreeBSD by linksnapzz on Tuesday February 20, 2024 @03:54PM (#39446767)
The companies use what their supply chain has, which ends up being 64-bit by default. They're not building their own 32-bit CPUs.
Re:Future of 32-bit platform support in FreeBSD by emaste on Tuesday February 20, 2024 @05:29PM (#39447850)
32-bit x86 CPUs haven't been made in years, companies building products based on FreeBSD switched to 64-bit x86 or to other architectures long ago. It's not that work on i386 is being done but kept in private repos and not upstreamed -- work on i386 just isn't being done at all.
Re:Future of 32-bit platform support in FreeBSD by 0x457 on Tuesday February 20, 2024 @01:00PM (#39444489)
Those aren't using x86 tho?
Re:Future of 32-bit platform support in FreeBSD by justin66 on Tuesday February 20, 2024 @11:17AM (#39443106)
Just a poor chose of words, I guess, but FreeBSD 16 will not support 32-bit platforms.

> For open-source operating systems there will always remain the older stable 32-bit releases like FreeBSD 16 in this case.

Re:Future of 32-bit platform support in FreeBSD by UncleEntity on Tuesday February 20, 2024 @12:32PM (#39444111)
> Even if there still are plenty of obsolete 32-bit CPUs running Linux or *BSD, since many years I have never seen a case where using them is the right technical choice.

I have a couple WD NATs which chug along on 32-bit PowerPC, a patched kernel and the last version of Debian before they dropped support for 32-bit PowerPC. Don't really plan to replace them before they break...do need to work out a backup "story" (as the kids would say) but they just hold old TV shows so if they let out the magic smoke then nothing important is lost.

Would be nice if I could keep them up to date on the latest and greatest but nobody cares about the 32-bits anymore...