diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2022-04-23 19:06:28 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2023-06-14 09:22:08 +0200 |
commit | 0f30f47d61815ad77934693456226076f6e40a49 (patch) | |
tree | 951d75072c53eac3e9195b1b7395c81d1bba5eaa /tools/quilt/patches | |
parent | cd650f1e91a81c4fb0f9f8c488f17dc2c871a640 (diff) | |
download | upstream-0f30f47d61815ad77934693456226076f6e40a49.tar.gz upstream-0f30f47d61815ad77934693456226076f6e40a49.tar.bz2 upstream-0f30f47d61815ad77934693456226076f6e40a49.zip |
firmware-utils: ptgen: add SiFive-related GUID types
Add patch until it gets accepted in firmware-utils upstream.
The SiFive RISC-V SoCs use two special partition types in the boot process.
As a first step, the ZSBL (zero-stage bootloader) in the CPU looks for a
partition with a GUID of 5B193300-FC78-40CD-8002-E86C45580B47 to load the
first-stage bootloader - which in OpenWrt's case is an SPL image. The FSBL
(SPL) then looks for a partition with a GUID of
2E54B353-1271-4842-806F-E436D6AF6985 to load the SSBL which is usually an
u-boot.
With ptgen already supporting GPT partition creation, add the required GUID
types and name them accordingly to be invoked with the '-T <GPT partition
type>' parameter.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
(cherry picked from commit 18238c442866a6ae93533e2421a6f44bc9e57ac6)
Diffstat (limited to 'tools/quilt/patches')
0 files changed, 0 insertions, 0 deletions