Remove MinPlatform support
MinPlatform was only ever used for the KBL boards, and they no longer build from this repo. It is still possible to build coreboot-based firmware for KBL boards. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Tim Crawford
parent
6a0eab38db
commit
fcd8132165
12
.gitmodules
vendored
12
.gitmodules
vendored
@@ -6,10 +6,6 @@
|
||||
path = coreboot
|
||||
url = https://github.com/system76/coreboot.git
|
||||
branch = system76
|
||||
[submodule "edk2-platforms"]
|
||||
path = edk2-platforms
|
||||
url = https://github.com/system76/edk2-platforms.git
|
||||
branch = system76
|
||||
[submodule "tools/UEFITool"]
|
||||
path = tools/UEFITool
|
||||
url = https://github.com/LongSoft/UEFITool.git
|
||||
@@ -54,14 +50,6 @@
|
||||
path = apps/gop-policy
|
||||
url = https://github.com/system76/gop-policy.git
|
||||
branch = master
|
||||
[submodule "edk2-non-osi"]
|
||||
path = edk2-non-osi
|
||||
url = https://github.com/tianocore/edk2-non-osi.git
|
||||
branch = devel-MinPlatform
|
||||
[submodule "FSP"]
|
||||
path = FSP
|
||||
url = https://github.com/IntelFsp/FSP.git
|
||||
branch = master
|
||||
[submodule "tools/ipxe"]
|
||||
path = tools/ipxe
|
||||
url = https://github.com/ipxe/ipxe.git
|
||||
|
1
FSP
1
FSP
Submodule FSP deleted from 81dd5055f4
Submodule edk2-non-osi deleted from 88ec4bf04c
Submodule edk2-platforms deleted from 3176197844
@@ -69,8 +69,8 @@ then
|
||||
done < "${MODEL_DIR}/edk2.config"
|
||||
fi
|
||||
|
||||
# Rebuild CorebootPayloadPkg using edk2
|
||||
PACKAGES_PATH="${MODEL_DIR}:$(realpath edk2-platforms):$(realpath apps)" \
|
||||
# Rebuild UefiPayloadPkg using edk2
|
||||
PACKAGES_PATH="${MODEL_DIR}:$(realpath apps)" \
|
||||
./scripts/_build/edk2.sh \
|
||||
"${UEFIPAYLOAD}" \
|
||||
"${EDK2_ARGS[@]}"
|
||||
|
@@ -1,52 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "$0 [model]" >&2
|
||||
exit 1
|
||||
fi
|
||||
MODEL="$1"
|
||||
|
||||
if [ ! -d "models/${MODEL}" ]
|
||||
then
|
||||
echo "model '${MODEL}' not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
MODEL_DIR="$(realpath "models/${MODEL}")"
|
||||
|
||||
case "${MODEL}" in
|
||||
galp3 | galp3-b)
|
||||
PLATFORM=GalagoPro3
|
||||
;;
|
||||
*)
|
||||
echo "model '${MODEL}' has no matching platform" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
rm -rf "build/${MODEL}"
|
||||
mkdir -p "build/${MODEL}"
|
||||
|
||||
# Copy correct VBT
|
||||
mkdir -p "build/${MODEL}/${PLATFORM}/Gop"
|
||||
cp -v "models/${MODEL}/vbt.rom" "build/${MODEL}/${PLATFORM}/Gop/Vbt.bin"
|
||||
|
||||
export PACKAGES_PATH="\
|
||||
$(realpath "build/${MODEL}"):\
|
||||
$(realpath edk2-platforms/Platform/Intel):\
|
||||
$(realpath edk2-platforms/Silicon/Intel):\
|
||||
$(realpath edk2-non-osi/Silicon/Intel):\
|
||||
$(realpath FSP)"
|
||||
|
||||
pushd edk2 >/dev/null
|
||||
make -C BaseTools --jobs="$(nproc)"
|
||||
source edksetup.sh --reconfig
|
||||
popd >/dev/null
|
||||
|
||||
pushd edk2-platforms/Platform/Intel >/dev/null
|
||||
python3 build_bios.py \
|
||||
--platform "${PLATFORM}" \
|
||||
--RELEASE
|
||||
popd >/dev/null
|
@@ -4,7 +4,6 @@ REMOTES=(
|
||||
"coreboot upstream https://github.com/coreboot/coreboot.git"
|
||||
"edk2 upstream https://github.com/tianocore/edk2.git"
|
||||
"edk2 mrchromebox https://github.com/MrChromebox/edk2.git"
|
||||
"edk2-platforms upstream https://github.com/tianocore/edk2-platforms.git"
|
||||
)
|
||||
|
||||
set -e
|
||||
|
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/gdb -x
|
||||
target remote :1234
|
||||
source /opt/intel/udkdebugger/script/udk_gdb_script
|
||||
iowatch/b 0x80
|
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
nc localhost 20715
|
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
while true
|
||||
do
|
||||
/opt/intel/udkdebugger/bin/udk-gdb-server
|
||||
sleep 10
|
||||
done
|
@@ -1,32 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT
|
||||
|
||||
echo "## Launching UDK ##"
|
||||
./scripts/udk-server.sh &
|
||||
|
||||
while true
|
||||
do
|
||||
if lsof -Pi :20715 -sTCP:LISTEN -t >/dev/null
|
||||
then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "## Launching NC ##"
|
||||
./scripts/udk-output.sh &
|
||||
|
||||
while true
|
||||
do
|
||||
if lsof -Pi :1234 -sTCP:LISTEN -t >/dev/null
|
||||
then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
|
||||
echo "## Launching GDB ##"
|
||||
./scripts/udk-debug.gdb
|
Reference in New Issue
Block a user