Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
移植 refind 到 LoongArch,上游在 sourceforge,这里 fork 的那个仓库看着也是同一个作者维护的开发版本,所以提交历史不会有问题。
目前移植的版本,存在一个问题:
refind 运行时会加载文件系统的 driver,此 driver 安装后位于esp分区 /EFI/refind/drivers_loongarch64/ext4_loongarch64.efi 路径。一旦 refind 加载此 driver,固件会报错如下:
目前尚不清楚这个问题的原因在哪里,是 refind、gnu-efi 还是固件本身。临时解决方案是移走此 ext4_loongarch64.efi,refind 界面就能出现。