[Libre-soc-bugs] [Bug 999] SFFS Operating System Porting

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jul 30 16:51:15 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=999

--- Comment #6 from sadoon at soulserv.xyz ---
##### Older description, kept for reference. #####

Porting Gentoo Linux and Debian, to be done at multiple stages from highest
priority to lowest priority:

1- Porting and testing Gentoo with Altivec and VSX disabled for code that will
run on any 64-bit LE POWER chip, including libre-soc.
2- Porting and testing Gentoo 64-bit with Altivec and VSX disabled but
including the patched gcc, glibc, etc. to enable SVP64 in their stead.
3- Porting and testing Debian stable 64-bit LE (at the time of start) with the
same conditions as the Gentoo port with SVP64 enabled.
4- Porting and testing Gentoo 32/64-bit LE & BE with Altivec and VSX disabled
for code that will run on any LE/BE POWER chip, including libre-soc.
5- Porting and testing Debian 32/64-bit LE & BE with Altivec and VSX disabled
for code that will run on any LE/BE POWER chip, including libre-soc.
6- Finally, porting and testing both Gentoo and Debian 32/64-bit LE & BE with
SVP64 if possible.

Notes:

a) this is actually a "roll-back" to ppc64le EABI 1.5
b) the definition here is to meet the SFFS Compliancy Level of Power ISA 3.0.
   it is not, "meet libre-soc requirements", it is
   "meet Scalar Fixed Floating-Point Subset Compliancy Level requirements",
   where libre-soc *happens* to be compatible with the SFFS Level, and
   so does microwatt.
c) actually, libre-soc is strictly compatible with the *SFS* level because
   FP is not yet implemented, but we'll get there. 
d) qemu is the first priority test-target/platform with vsx and 128-bit
   floating-point hardware disabled (not libre-soc, not microwatt)
e) debian requires a triplet defined: this shall be
"powerpc64lesffs-linux-gnu-"
   to indicate that it is 64-bit, Little-Endian, and SFFS Compliancy Level.
f) an actual new compiler package will be required for debian:
   powerpc64lesffs-linux-gnu-gcc - which by default has "-mnovsx -mnoaltivec"
   added to the (newly-defined) default triplet.
g) SVP64 will not be possible directly as it requires compiler support.
   there is only binutils assembler support
h) it would be nice to update and include SVP64 binutils but this is quite
   a large task on its own as it will require full backporting to the
   version of debian selected by binutils. it's not practical
   at the moment (binutils is updating, and so will the svp64 port)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list