MCPcopy Index your code
hub / github.com/edk2-porting/edk2-rk3588

github.com/edk2-porting/edk2-rk3588 @linux-5.10-gen-rkr3.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release linux-5.10-gen-rkr3.5 ↗ · + Follow
62,865 symbols 196,992 edges 11,885 files 29,571 documented · 47%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

EDK2 UEFI firmware for Rockchip RK35xx platforms

WARNING: This repo is highly experimental

Description

This repository is based on the official open-source UEFI implementation from Rockchip, which is under active development.

Therefore, to keep up with the work from Rockchip, we should avoid modifying code from Rockchip in most cases.

Discussion thread: Windows on Rock 5 (Mega thread)

Building

Using Arch Linux as example

Install required packages:

sudo pacman -Syu
sudo pacman -S git base-devel gcc dtc aarch64-linux-gnu-binutils aarch64-linux-gnu-gcc aarch64-linux-gnu-glibc python python-pyelftools iasl --needed

Clone the repository:

git clone https://github.com/edk2-porting/edk2-rk35xx.git
cd edk2-rk35xx

Build UEFI (ROCK 5B for example):

./build.sh -d rock-5b

TODO

  • Create gpt image in build process instead of using the prebuilt one
  • Fix hard reset
  • Fix resetting to maskrom (related to broken hard reset?)

Suggestions for Rockchip

  • Use Platform/Radxa/ROCK5B/Library/Dw8250SerialPortLib as SerialPortLib, Silicon/Rockchip/Library/SerialPortLib looks very broken

Core symbols most depended-on inside this repo

Shape

Function 48,568
Method 8,151
Class 5,759
Enum 375
Struct 10
TypeAlias 2

Languages

C75%
Python14%
C++9%
Java1%
C#1%
TypeScript1%

Modules by API surface

edk2/BaseTools/Source/Python/Eot/CParser4/CParser.py582 symbols
edk2/BaseTools/Source/Python/Ecc/CParser4/CParser.py582 symbols
edk2/BaseTools/Source/C/VfrCompile/VfrFormPkg.h396 symbols
edk2/CryptoPkg/Library/OpensslLib/openssl/ssl/ssl_lib.c327 symbols
edk2/BaseTools/Source/Python/UPT/Object/POM/CommonObject.py233 symbols
edk2/MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/src/regparse.c210 symbols
edk2/BaseTools/Source/Python/Eot/CParser3/CParser.py199 symbols
edk2/BaseTools/Source/Python/Ecc/CParser3/CParser.py199 symbols
edk2/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/research/brotlidump.py196 symbols
edk2/BaseTools/Source/C/BrotliCompress/brotli/research/brotlidump.py196 symbols
edk2/MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/src/regcomp.c193 symbols
edk2/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h187 symbols

For agents

$ claude mcp add edk2-rk3588 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page