wdmomoxx / edk2-geek-3588

Windows on arm64 for rk3588s Geek-3588 StationM3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 / UEFI 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

Required packages for Ubuntu/Debian:

sudo apt install git gcc g++ build-essential gcc-aarch64-linux-gnu iasl python3-pyelftools

Clone the repository:

git clone https://github.com/wdmomoxx/edk2-geek-3588.git --recursive
cd edk2-geek-3588

Build for StationPC Geek-3588

./build.sh -d geek-3588

Build for StationM3

./build.sh -d station-m3

TODO

  • Create gpt image in build process instead of using the prebuilt one
  • Fix resetting to maskrom

Notes

Flash layout

Address Size Desc File
0x00000000 0x00004400 GPT Table rk3588_spi_nor_gpt.img
0x00008000 IDBlock idblock.bin
0x00088000 IDBlock idblock.bin
0x00100000 0x00500000 BL33_AP_UEFI FV ${DEVICE}_EFI.itb
0x007C0000 0x00010000 NV_VARIABLE_STORE
0x007D0000 0x00010000 NV_FTW_WORKING header
0x007E0000 0x00010000 NV_FTW_WORKING data NV_DATA.img

Memory Map

Address Size Desc File
0x00040000 ATF bl31_0x00040000.bin
0x000f0000 ATF bl31_0x000f0000.bin
0x00200000 UEFI FV BL33_AP_UEFI.Fv
0x08400000 OP-TEE bl32.bin
0xff100000 ATF (PMU_MEM) bl31_0xff100000.bin

About

Windows on arm64 for rk3588s Geek-3588 StationM3


Languages

Language:C 81.0%Language:Python 5.2%Language:Perl 3.3%Language:Assembly 2.9%Language:ASL 1.7%Language:DenizenScript 1.3%Language:C# 0.9%Language:Rich Text Format 0.9%Language:C++ 0.8%Language:Java 0.6%Language:JavaScript 0.3%Language:GAP 0.3%Language:Shell 0.2%Language:Makefile 0.1%Language:CMake 0.1%Language:HTML 0.1%Language:Roff 0.1%Language:Batchfile 0.1%Language:NASL 0.1%Language:M4 0.0%Language:Starlark 0.0%Language:Go 0.0%Language:CSS 0.0%Language:R 0.0%Language:ANTLR 0.0%Language:DIGITAL Command Language 0.0%Language:eC 0.0%Language:Emacs Lisp 0.0%Language:Lua 0.0%Language:Meson 0.0%Language:NSIS 0.0%Language:Pawn 0.0%Language:Module Management System 0.0%Language:sed 0.0%Language:GDB 0.0%