Re: Porting Fedora for the LoongArch architecture.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Folks,

> On Tue, Jan 10, 2023 at 11:12:22PM +0800, 孙海勇 wrote:
> > I want to add LoongArch to the official Fedora support architecture,
>
> This is really cool -- welcome, and I'd love to help make sure you succeed!
>
> > I'm currently a newbie in the Fedora community, so I need help from
> > community developers, and would like someone to guide me on what to do
> > next, such as what would be a better time to submit necessary patches to
> > packages in the Fedora repository, how to develop in a collaborative
> > manner, what other systems to be used for management, etc. In short, any
> > information would be useful. Could I get help here? :)
>
> This message is a good start! There is a little bit of information here
> https://fedoraproject.org/wiki/Architectures, but it's not really complete.
> I'm afraid a lot of the knowledge is really held in a few people's heads.
> Hopefully we can get you connected with the right people!

There's generally about a 5 stage process from initial bootstrap of an
arch to mainline Fedora support, it roughly lays out as follows:
1) Low level toolchain bring up
2) A small Linux kernel+userspace
3) Using 2) to build a reduced size/dep standard Fedora rpm userspace
of a random Fedora release
4) Standalone koji instance shadowing the primary Fedora instance
5) Proposal to merge/import the architecture packages into the main
Fedora koji instance

>From your previous message [1] I gather you're basically now at 3) but
I'm not sure if you're yet at 4 and doing a shadow build operation of
rawhide.

As part of stages 3 and 4 you'll likely have a bunch of hacks, patches
and changes to both upstream project releases to add support for the
architecture, or possibly as simple as bumping autoconf macros to
detect the architecture that are required to get things to build or
run. This will include things like spec changes that need to get
merged into Fedora package git repos. Long before we get to proposing
5) this needs to be done and the shadow instance of koji should
ultimately be building unchanged packages.

Also before becoming a main Fedora architecture the infrastructure
team will need to be able to source enterprise grade hardware that can
be racked in a datacentre and remotely managed. There's likely some
other requirements the infrastructure team has here.

We have in the past not progressed to stage 5 on a number of
archtectures, and aarch64 was delayed for some time from this, due to
lack of readily available hardware for people to be able to purchase
for testing, development and just general hacking purposes. I have
read some articles about restrictions on getting Loongson chips [2]
but I am not sure if that's all variants or just a subset of the
Loongson architecture. I have in the past actually looked at getting a
Loongson device or two but ultimately gave up because it was far from
straight forward, this may end up being a problem.

Peter

[1] https://lists.fedoraproject.org/archives/list/secondary@xxxxxxxxxxxxxxxxxxxxxxx/thread/7DDZMIPWP5AOZ7HTXDM4SHPXLNJMABQZ/
[2] https://www.theregister.com/2022/12/15/china_loongson_chip_export_ban/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux