(testing)Add built-in mainline Linux kernel
The built-in Linux kernel will automatically set up USB Mass Storage gadget. Bootconsole (efifb) is currently enabled for debugging. Only tested on polaris. Signed-off-by: Sophon <strongtz@yeah.net> Linux kernel and initrd by Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
parent
be1e989221
commit
0ee9a036e2
@ -1 +1 @@
|
||||
Subproject commit 38c7c37133d5d2c2117c5b674379f44920ec7ed3
|
||||
Subproject commit 82296a90c9296f1686d87f9fe33409c34faff91c
|
@ -12,7 +12,7 @@
|
||||
!include sdm845Pkg/sdm845Pkg.dsc
|
||||
|
||||
[BuildOptions.common]
|
||||
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
|
||||
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DMEMORY_8G=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DBUILTIN_LINUX_TEST=1
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
# System Memory (7GB)
|
||||
|
@ -12,7 +12,7 @@
|
||||
!include sdm845Pkg/sdm845Pkg.dsc
|
||||
|
||||
[BuildOptions.common]
|
||||
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
|
||||
GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DBUILTIN_LINUX_TEST=1
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
# System Memory (5GB)
|
||||
|
@ -562,6 +562,7 @@ APRIORI DXE {
|
||||
!endif #$(INCLUDE_TFTP_COMMAND)
|
||||
|
||||
INF sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
|
||||
INF sdm845Pkg/Binary/845/BuiltinLinuxKrl/BuiltinLinuxKrl.inf
|
||||
|
||||
#
|
||||
# Bds
|
||||
|
@ -683,10 +683,18 @@ VOID EFIAPI PlatformBootManagerAfterConsole(VOID)
|
||||
&gUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_ACTIVE);
|
||||
|
||||
//
|
||||
// Register Mass Storage App
|
||||
// Register Qualcomm Mass Storage App
|
||||
//
|
||||
PlatformRegisterFvBootOption(
|
||||
&gUsbfnMsdAppFileGuid, L"Mass Storage", LOAD_OPTION_ACTIVE);
|
||||
&gUsbfnMsdAppFileGuid, L"UEFI Mass Storage", LOAD_OPTION_ACTIVE);
|
||||
|
||||
#ifdef BUILTIN_LINUX_TEST
|
||||
//
|
||||
// Register Built-in Linux Kernel
|
||||
//
|
||||
PlatformRegisterFvBootOption(
|
||||
&gBuiltinLinuxKrlFileGuid, L"Linux Mass Storage", LOAD_OPTION_ACTIVE);
|
||||
#endif
|
||||
|
||||
#ifdef AB_SLOTS_SUPPORT
|
||||
//
|
||||
|
@ -78,6 +78,7 @@
|
||||
gEfiTtyTermGuid
|
||||
gUefiShellFileGuid
|
||||
gUsbfnMsdAppFileGuid
|
||||
gBuiltinLinuxKrlFileGuid
|
||||
gSwitchSlotsAppFileGuid
|
||||
gSimpleInitFileGuid
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
||||
gUsbfnMsdAppFileGuid = { 0x1C207232, 0x4086, 0x9BE7, { 0xDB, 0x16, 0x15, 0x9D, 0x66, 0xAB, 0x46, 0x6A } }
|
||||
gSwitchSlotsAppFileGuid = { 0xD5BC0FB1, 0xA833, 0x4607, { 0xB7, 0xB6, 0x5E, 0xF9, 0xD1, 0x0B, 0xEE, 0xB7 } }
|
||||
gSimpleInitFileGuid = { 0x6D77B2BB, 0x69EB, 0x42AB, { 0xBE, 0xCF, 0x4F, 0x40, 0xC8, 0x95, 0x68, 0xC3 } }
|
||||
gBuiltinLinuxKrlFileGuid = { 0x2a24787e, 0xe09c, 0x43ce, { 0xb5, 0xcf, 0xd0, 0x30, 0x66, 0xf6, 0x09, 0x2f } }
|
||||
|
||||
[PcdsFixedAtBuild.common]
|
||||
# Simple FrameBuffer
|
||||
|
@ -344,3 +344,4 @@
|
||||
|
||||
|
||||
sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
|
||||
sdm845Pkg/Binary/845/BuiltinLinuxKrl/BuiltinLinuxKrl.inf
|
||||
|
Loading…
Reference in New Issue
Block a user