roms: add H2 firmware
PATCH 1/1 roms: add H2 firmware
Add the new hexagon-hypervisor submodule, makefile targets and booter and loadlinux images for the hexagon machines.
Signed-off-by Brian Cain <[email protected]>
--- MAINTAINERS | 2 + docs/system/hexagon/cdsp.rst | 48 ++++++++++++++++++ .gitignore | 1 + .gitmodules | 3 ++ pc-bios/README | 7 +++ pc-bios/hexagon-hypervisor-license.txt | 26 ++++++++++ pc-bios/hexagon_booter_qcs6490_cdsp | Bin 0 -> 281596 bytes pc-bios/hexagon_booter_sa8775p_cdsp | Bin 0 -> 281628 bytes pc-bios/hexagon_booter_sa8797p_nsp0 | Bin 0 -> 289308 bytes pc-bios/hexagon_booter_sc8480xp_nsp0 | Bin 0 -> 289308 bytes pc-bios/hexagon_booter_sm8975_nsp | Bin 0 -> 289304 bytes pc-bios/hexagon_loadlinux_qcs6490_cdsp | Bin 0 -> 200828 bytes pc-bios/hexagon_loadlinux_sa8775p_cdsp | Bin 0 -> 200860 bytes pc-bios/hexagon_loadlinux_sa8797p_nsp0 | Bin 0 -> 208540 bytes pc-bios/hexagon_loadlinux_sc8480xp_nsp0 | Bin 0 -> 208540 bytes pc-bios/hexagon_loadlinux_sm8975_nsp | Bin 0 -> 208536 bytes pc-bios/meson.build | 11 +++++ roms/Makefile | 63 ++++++++++++++++++++++++ roms/hexagon-hypervisor | 1 + 19 files changed, 162 insertions(+) create mode 100644 pc-bios/hexagon-hypervisor-license.txt create mode 100644 pc-bios/hexagon_booter_qcs6490_cdsp create mode 100644 pc-bios/hexagon_booter_sa8775p_cdsp create mode 100644 pc-bios/hexagon_booter_sa8797p_nsp0 create mode 100644 pc-bios/hexagon_booter_sc8480xp_nsp0 create mode 100644 pc-bios/hexagon_booter_sm8975_nsp create mode 100644 pc-bios/hexagon_loadlinux_qcs6490_cdsp create mode 100644 pc-bios/hexagon_loadlinux_sa8775p_cdsp create mode 100644 pc-bios/hexagon_loadlinux_sa8797p_nsp0 create mode 100644 pc-bios/hexagon_loadlinux_sc8480xp_nsp0 create mode 100644 pc-bios/hexagon_loadlinux_sm8975_nsp create mode 160000 roms/hexagon-hypervisor
MAINTAINERS +2 -0
@@ -1383,6 +1383,8 @@ F: configs/devices/hexagon-softmmu/default.mak F: docs/system/hexagon/ F: tests/functional/hexagon/ F: docs/devel/hexagon-sys.rst +F: pc-bios/hexagon* +F: roms/hexagon-hypervisor LoongArch Machines ------------------
docs/system/hexagon/cdsp.rst +48 -0
51 lines not on this page · raw message
.gitignore +1 -0
@@ -1,5 +1,6 @@ /GNUmakefile /build/ +/roms/hexagon-firmware-build/ /.cache/ /.vscode/ *.pyc
.gitmodules +3 -0
@@ -45,3 +45,6 @@ [submodule "tests/lcitool/libvirt-ci"] path = tests/lcitool/libvirt-ci url = https://gitlab.com/libvirt/libvirt-ci.git +[submodule "roms/hexagon-hypervisor"] + path = roms/hexagon-hypervisor + url = https://gitlab.com/qemu-project/hexagon-hypervisor.git
pc-bios/README +7 -0
@@ -1,6 +1,13 @@ - SeaBIOS (bios.bin) is the successor of pc bios. See http://www.seabios.org/ for more information. +- hexagon_booter_<machine> and hexagon_loadlinux_<machine> are the H2 + hypervisor firmware for the Hexagon machines. The sources are at + https://gitlab.com/qemu-project/hexagon-hypervisor, built from commit + 23d5bde4313c1e63ba64dd5d7f542b1055188ef8 with Hexagon SDK 6.7.0.0 + via "make -C roms hexagon-<machine>". H2 is distributed under the terms + given in "hexagon-hypervisor-license.txt". + - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios project (http://www.nongnu.org/vgabios/).
pc-bios/hexagon-hypervisor-license.txt new file +26 -0
@@ -0,0 +1,26 @@ +Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
pc-bios/hexagon_booter_qcs6490_cdsp new file binary +0 -0
pc-bios/hexagon_booter_sa8775p_cdsp new file binary +0 -0
pc-bios/hexagon_booter_sa8797p_nsp0 new file binary +0 -0
pc-bios/hexagon_booter_sc8480xp_nsp0 new file binary +0 -0
pc-bios/hexagon_booter_sm8975_nsp new file binary +0 -0
pc-bios/hexagon_loadlinux_qcs6490_cdsp new file binary +0 -0
pc-bios/hexagon_loadlinux_sa8775p_cdsp new file binary +0 -0
pc-bios/hexagon_loadlinux_sa8797p_nsp0 new file binary +0 -0
pc-bios/hexagon_loadlinux_sc8480xp_nsp0 new file binary +0 -0
pc-bios/hexagon_loadlinux_sm8975_nsp new file binary +0 -0
pc-bios/meson.build +11 -0
@@ -73,6 +73,17 @@ blobs = [ 'edk2-licenses.txt', 'hppa-firmware.img', 'hppa-firmware64.img', + 'hexagon_booter_qcs6490_cdsp', + 'hexagon_loadlinux_qcs6490_cdsp', + 'hexagon_booter_sm8975_nsp', + 'hexagon_loadlinux_sm8975_nsp', + 'hexagon_booter_sa8775p_cdsp', + 'hexagon_loadlinux_sa8775p_cdsp', + 'hexagon_booter_sc8480xp_nsp0', + 'hexagon_loadlinux_sc8480xp_nsp0', + 'hexagon_booter_sa8797p_nsp0', + 'hexagon_loadlinux_sa8797p_nsp0', + 'hexagon-hypervisor-license.txt', 'opensbi-riscv32-generic-fw_dynamic.bin', 'opensbi-riscv64-generic-fw_dynamic.bin', 'npcm7xx_bootrom.bin',
roms/Makefile +63 -0
78 lines not on this page · raw message
roms/hexagon-hypervisor new file +1 -0
@@ -0,0 +1 @@ +Subproject commit 23d5bde4313c1e63ba64dd5d7f542b1055188ef8
Signature · 1 line
2.34.1