Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Default build type now RELEASE.
Browse files Browse the repository at this point in the history
Changed Boot Timeout to 0.
Changed Boot logo.
  • Loading branch information
map220v committed Feb 11, 2022
1 parent d098b09 commit 4388acb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
8 changes: 6 additions & 2 deletions GalaxyA72/CommonDsc.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,11 @@
# DEBUG_EVENT 0x00080000 // Event messages
# DEBUG_ERROR 0x80000000 // Error

gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
!if $(TARGET) != RELEASE
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000040
!else
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
!endif
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06

#
Expand Down Expand Up @@ -329,5 +333,5 @@
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|32

[PcdsDynamicHii.common.DEFAULT]
# gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0 # Variable: L"Timeout"
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0 # Variable: L"Timeout"

Binary file modified GalaxyA72/Drivers/LogoDxe/Logo.bmp
Binary file not shown.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e
. build_common.sh
# not actually GCC5; it's GCC7 on Ubuntu 18.04.
GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -s -n 0 -a AARCH64 -t GCC5 -p GalaxyA72/GalaxyA72.dsc
gzip -c < workspace/Build/GalaxyA72/DEBUG_GCC5/FV/GALAXYA72_UEFI.fd >uefi.img
GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -s -n 0 -a AARCH64 -t GCC5 -p GalaxyA72/GalaxyA72.dsc -b RELEASE
gzip -c < workspace/Build/GalaxyA72/RELEASE_GCC5/FV/GALAXYA72_UEFI.fd >uefi.img
cat a72q.dtb >>uefi.img
echo > ramdisk
abootimg --create boot-a72q.img -k uefi.img -r ramdisk
10 changes: 10 additions & 0 deletions build_debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
# based on the instructions from edk2-platform
set -e
. build_common.sh
# not actually GCC5; it's GCC7 on Ubuntu 18.04.
GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -s -n 0 -a AARCH64 -t GCC5 -p GalaxyA72/GalaxyA72.dsc
gzip -c < workspace/Build/GalaxyA72/DEBUG_GCC5/FV/GALAXYA72_UEFI.fd >uefi.img
cat a72q.dtb >>uefi.img
echo > ramdisk
abootimg --create boot-a72q.img -k uefi.img -r ramdisk

0 comments on commit 4388acb

Please sign in to comment.