• Re: [gentoo-dev] [RFC] Announcing the Gentoo/LoongArch project

    From Arthur Zamarin@21:1/5 to WANG Xuerui on Sun Apr 17 20:30:01 2022
    Copy: xen0n@gentoo.org (WANG Xuerui)

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------KVgWit7ebnCxJF4GWeZsaYOg
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 17/04/2022 18.33, WANG Xuerui wrote:
    Hi everyone,

    A lot have happened since my last progress update regarding the Gentoo/LoongArch port in January; among other things, I'm a Gentoo developer now, so I got to edit the project page and announce it myself. :-)

    The project page is at https://wiki.gentoo.org/wiki/Project:LoongArch, where I have collected some useful information for LoongArch development.


    ## Trying out

    LoongArch hardware is probably hard to get outside of China, but usable QEMU linux-user emulation is available via patched qemu package in the loongson-overlay [1], so you can set up binfmt_misc and try out the stages just like with any other chroot. Freshly built stages can be downloaded from several mirrors (all hosted in China though), you can find the links on the project page.


    ## State of various fundamental packages

    Both binutils and gcc have the LoongArch support upstreamed, although binutils still needs some patching for now, for spec conformance. So we're basically only waiting for linux and glibc. The Linux port is likely 5.19 material [2], and glibc should follow that; this means we're likely starting with Linux 5.19, binutils 2.38 (patched), gcc 12.1.0 and glibc 2.36.


    ## Roadmap update

    Now that I have verified everything with stage builds and installation on real Loongson 3A5000 hardware, I plan to first upstream the profiles and toolchain bits to ::gentoo. After that, I'll handle the keywording and porting/testing of packages for loong, just like any other arch; upstreaming the various patches one by one, while doing all these.

    As with all other arches, the project would need an email alias; because it's ARCH=loong, the alias should look like loong@g.o. An IRC channel would be nice
    but I doubt how many people would converse there -- we could probably do without one for now.


    I'll happily help if you are interested in this niche architecture; feel free to reach out via mail or IRC.

    Well, I will gladly help with keywording and testing of packages if I
    could have access to some devbox (as with all arch teams I'm on). I know
    this is a *very* future talk, but just know that if we have a devbox
    Gentoo developers can ssh into, quite fastly we join to help :)

    For now let me just send you good luck - maintaining arches is quite fun
    and fulfilling :)


    [1]: https://github.com/xen0n/loongson-overlay
    [2]: https://www.spinics.net/lists/linux-arch/msg76936.html

    --
    WANG Xuerui
    xen0n@gentoo.org
    Gentoo Linux developer
    PGP: 7C52 19E3 26A0 7311 3EA3 8806 C01F 7214 BC93 1414



    --
    Arthur Zamarin
    arthurzam@gentoo.org
    Gentoo Linux developer (Python, GURU, Arch Teams)

    --------------KVgWit7ebnCxJF4GWeZsaYOg--

    -----BEGIN PGP SIGNATURE-----

    iQEzBAEBCgAdFiEE/axFlFuH2ptjtO5EAqCvUD0SBQQFAmJcWwwACgkQAqCvUD0S BQQAmggAvvHoT3UFB2fZL1pO76hcQxnpjTFa7sX8Ijitnzvyn0yXWVIS0uCvB++x 8XuViLOATmaym/QN4mDGohF6mb95aUe4aR/VAX4fJwDE4zzgBdAWm5qje4SYGw5D lpuwsa6cWnVMGcGgOv9CyjTmqrBieUuJQc14GgLFxX9nidpYmxsxetKE0fnRmMV2 QxyYd3M6dpNUu+xZwHWMrqsGTu+E0QsGi97e1HVy1+qid53y8m9bZRWpuHguqeI7 zmxnJJm6W3pFVpEg2WYTVEAsMuTqJt4KTj5czJ9HDFTsKhvZefAmED/imH3DMXfl +g+nzhgwQUDDTNxhFaiiXiWbyG1JLg==
    =dI87
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joonas Niilola@21:1/5 to WANG Xuerui on Sat Apr 23 16:00:02 2022
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------UduwOClvS9YphEAL9WayTskj
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 18.4.2022 7.47, WANG Xuerui wrote:
    Of course I forgot to mention the devbox situation... The single box I currently use is placed in my company, so I probably wouldn't be able to share it. I have ordered another board though, so I'll be able to
    provision it as a devbox after receiving it, and reworking of my home
    network to provide for enough isolation. I'd post another progress
    update when that happens. :)


    Out of curiosity, what's the price on these things? Will they ever find
    their way to hobbyists? TIA.

    -- juippis

    --------------UduwOClvS9YphEAL9WayTskj--

    -----BEGIN PGP SIGNATURE-----

    iQGTBAEBCgB9FiEEltRJ9L6XRmDQCngHc4OUK43AaWIFAmJkBiJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk2 RDQ0OUY0QkU5NzQ2NjBEMDBBNzgwNzczODM5NDJCOERDMDY5NjIACgkQc4OUK43A aWLEoQf+MpV3+WIs+M8meU/4P7NZzDnMXrufpQUi6+V+ulGefJhJFmmVdJaO/t0+ jQqLjQO+yyuSLUD7o98Hd7aBAiQD17PBbBHvzhS6Ar5xw7HIz02EkuH9BwOh+d3c 2ATXuLvJrkfSP/a7mruO/ewWjcpKMrNR21HSysCVKumPZT/B2oHwG3UaLjrjgHcV AulPuSrNrQMyjYKyIRtut5CB1m0ZfZUbs4iP8cP58CxPNUoJubGrk9Rx57j6QHUh 1DXi4bnT8i/hrgsnOds6lCJhLe6/50Xa7VCjvSfZl3viEDkJ8Xd9V7QKEGGv8VXg rIAUXVITHIinTJW92dQMdSs/9VrwnA==
    =C478
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)