Hello Martina, On Sat, 2025-02-15 at 13:20 +0100, Martina Hřebcová wrote: > I have one question about kernel / debian operation. > I have computer A1222+ with CPU P1022 ( two e500v2 cores ). > It is NG Amiga with AmigaOS4, but linux runs here nice too.
I have the same hardware. > P1022 CPU is 32-bit powerpc processor, it has no powerpc FPU but > have embedded SPE FPU instead. Also it has SPE SIMD unit. It has > no FP or vector registers, instead it has GPRs extended for 64bit > for FPU and SIMD operations. So it has different ABI than standard > powerpc for floating-point parameter calls. Yep, this is all known. I used to be the maintainer of the powerpcspe port in Debian. > There was in past powerpcspe port of Debian. It was dropped somewhere > in 2016, due to excluding of SPE extension from gcc. Yes, this is correct. Support for the PowerPCSPE target was dropped from GCC. It's currently still support by LLVM though. > Debian 8+ powerpcspe snapshot from these times runs very well, with full > 3D desktop support. There is customized kernel for A1222+, which was > maintained by xeno74. Last version I found is 5.4. All this is normal and > expected. > There are no other native powerpcspe distro ( or at least I am not hear about > it). These kernels came from AEON and I used them as well. The problem is that their patches never got upstreamed, from what I remember. > But now I tried standart powerpc Ubuntu 16.04 and also last version of > powerpc 32-bit Void linux. If I used custom kernel from xeno74 and standart > powerpc distro, it works on my powerpcspe machine with different ABI. It works since the kernel provides FPU emulation in software. It's slower but it works. > ( So now I have in plan to install more modern Debian from snapshots, > or Fienix distro, which is based on modern Debian ) You can do that, but you need to stick to the AEON kernel as the support for the A1222 was never upstreamed. > Please, how does it works? How is possible that powerpc code with fpu > not crashes? This is the first time that you are mentioning crashes. What kind of crashes are you seeing? Again, if you use the proper kernel from AEON, you should be able to run Debian's powerpc port just fine with software FPU emulation. > I can imagine, that in custom kernel there are soft-float calls. But there > shoud be some powerpc FPU emulator or what... That FPU emulator is part of the kernel. > Please, do you have any idea? Please be more specific with your error description and setup. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913