Closed nathanchance closed 1 year ago
Thanks for the PR and your continued testing!
Thank you for all the work you have done driving this on both the Linux and LLVM side :)
FYI,
next-20230628
now works with LLVM main branch (I tested llvm/llvm-project@193d3ac) + only https://reviews.llvm.org/D138135 applied (everything else is already upstream).
Yes, confirmed, good to see everything is moving along nicely!
This pull request adds support for booting LoongArch kernels.
The first patch updates the version of Buildroot that we use and updates the configurations accordingly.
The second third patches add the Buildroot scaffolding needed to support building a LoongArch rootfs. LoongArch support for Buildroot is available as a patch on the Buildroot mailing list, so that is applied to the source before building.
The fourth patch adds support for LoongArch to
boot-qemu.py
. The EFI firmware is downloaded from Loongson's GitHub when first booting a LoongArch kernel.The last patch allows this pull request to be tested locally. It will be removed before this pull request is merged.
Source/toolchain information
LLVM:
Linux:
Testing
Additionally, I have verified that the new Buildroot revision successfully builds with all the existing configurations that we have and that there are no boot regressions.