Other

项目介绍

pftf/RPi4 是一个托管在 GitHub 上的开源项目,采用 Other 许可证,目前获得 1.4k 个 Star、170 次 Fork。

仓库全名
pftf/RPi4
开源许可证
Other
Star 数
1.4k
Fork 数
170
未关闭 Issue
89

README 摘要

Raspberry Pi 4 UEFI Firmware Images =================================== Summary This repository contains installable builds of the official EDK2 Raspberry Pi 4 UEFI firmware. Initial Notice PLEASE READ THE FOLLOWING: 🔻🔻🔻🔻🔻🔻🔻🔻🔻 Ethernet networking support in Linux requires a recent enough kernel (version 5.7 or later) SD or wireless support in Linux also requires a recent enough kernel (version 5.12 or…

完整内容见 GitHub 原始 README 或本页 。

常见问题

RPi4 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 RPi4 的源码?

可以直接克隆仓库:git clone https://github.com/pftf/RPi4.git,默认分支为 master;安装与运行步骤见仓库 README。

RPi4 最近还在维护吗?

仓库最近一次更新为 9月17日,当前有 89 个未关闭 Issue;Star 数为 1.4k,可作为社区活跃度的参考。

简要分析

热度分
1804
价值分
897
活跃状态
活跃

Release

README

Raspberry Pi 4 UEFI Firmware Images

Build status Github stats Release

Summary

This repository contains installable builds of the official EDK2 Raspberry Pi 4 UEFI firmware.

Initial Notice

PLEASE READ THE FOLLOWING:
🔻🔻🔻🔻🔻🔻🔻🔻🔻

  • Ethernet networking support in Linux requires a recent enough kernel (version 5.7 or later)

  • SD or wireless support in Linux also requires a recent enough kernel (version 5.12 or later).
    Still, your mileage may vary as to whether these peripherals will actually be usable.

  • Many drivers (GPIO, VPU, etc) are still likely to be missing from your OS, and will have to be provided by a third party. Please do not ask for them here, as they fall outside of the scope of this project.

  • A 3 GB RAM limit is enforced by default, even if you are using a Raspberry Pi 4 model that has 4 GB or 8 GB of RAM, on account that the OS must patch DMA access, to work around a hardware bug that is present in the Broadcom SoC.
    For Linux this usually translates to using a recent kernel (version 5.8 or later) and for Windows this requires the installation of a filter driver.
    If you are running an OS that has been adequately patched, you can disable the 3 GB limit by going to Device Manager → Raspberry Pi Configuration → Advanced Settings in the UEFI settings.

  • This firmware is built from the official EDK2 repository.

🔺🔺🔺🔺🔺🔺🔺🔺🔺

Installation

  • Download the latest archive from the Releases repository.

  • Create an SD card or a USB drive, with at least one partition (it can be a regular partition or an ESP) and format it to FAT16 or FAT32. When using a Linux-based partitioning tool, choose an MBR style table and select partition type 0xef (EFI) - other types have been reported to result in boot errors.

    Note: Booting from USB or from ESP requires a recent-enough version of the Pi EEPROM (as well as a recent version of the UEFI firmware). If you are using the latest UEFI firmware and find that booting from USB or from ESP doesn’t work, please visit https://github.com/raspberrypi/rpi-eeprom/releases to update your EEPROM.

  • Extract all the files from the archive onto the partition you created above.
    Note that outside of this Readme.md, which you can safely remove, you should not change the names of the extracted files and directories.

Usage

Insert the SD card/plug the USB drive and power up your Raspberry Pi. You should see a multicoloured screen (which indicates that the CPU-embedded bootloader is reading the data from the SD/USB partition) and then the Raspberry Pi black and white logo once the UEFI firmware is ready.

At this stage, you can press Esc to enter the firmware setup, F1 to launch the UEFI Shell, or, provided you also have an UEFI bootloader on the SD card or on a USB drive in efi/boot/bootaa64.efi, you can let the UEFI system run that (which will be the default if no action is taken).

Additional Notes

The firmware provided in the zip archive is the RELEASE version but you can also find a DEBUG build of the firmware in the GitHub CI artifacts.

The provided firmwares should be able to auto-detect the UART being used (PL011 or mini UART) according to whether config.txt contains the relevant overlay or not. The default baudrate for serial I/O is 115200 and the console device to use under Linux is either /dev/ttyAMA0 when using PL011 or /dev/ttyS0 when using miniUART.

At the moment, the published firmwares default to enforcing ACPI as well as a 3 GB RAM limit, which is done to ensure Linux boot. These settings can be changed by going to Device Manager → Raspberry Pi Configuration → Advanced Configuration.

License

The firmware (RPI_EFI.fd) is licensed under the current EDK2 license, which is BSD-2-Clause-Patent.

The other files from the zip archives are licensed under the terms described in the Raspberry Pi boot files README.

The binary blobs in the firmware/ directory are licensed under the Cypress wireless driver license that is found there.

评论

暂无评论