Coder Social home page Coder Social logo

wdmomoxx / edk2-geek-3588 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edk2-porting/edk2-rk3588

1.0 1.0 1.0 78.24 MB

Windows on arm64 for rk3588s Geek-3588 StationM3

Shell 0.19% JavaScript 0.28% C++ 0.87% Python 5.39% Perl 3.45% C 84.57% Emacs Lisp 0.01% Java 0.67% Lua 0.01% R 0.01% Go 0.02% C# 0.94% Assembly 3.06% eC 0.01% CSS 0.02% ANTLR 0.01% Pawn 0.01% GAP 0.27% Makefile 0.13% HTML 0.09%

edk2-geek-3588's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.