Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edk2
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
la
abl
tianocore
edk2
Commits
1483c93b
Commit
1483c93b
authored
3 weeks ago
by
QCTECMDR Service
Committed by
Gerrit - the friendly Code Review server
3 weeks ago
Browse files
Options
Downloads
Plain Diff
Merge "bootlib: update root cmdline for autoghlvgvm"
parents
fbf051b3
3574c425
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
QcomModulePkg/Library/BootLib/UpdateCmdLine.c
+13
-1
13 additions, 1 deletion
QcomModulePkg/Library/BootLib/UpdateCmdLine.c
with
13 additions
and
1 deletion
QcomModulePkg/Library/BootLib/UpdateCmdLine.c
+
13
−
1
View file @
1483c93b
...
...
@@ -33,7 +33,7 @@
/*
* Changes from Qualcomm Innovation Center are provided under the following
* license:
* Copyright (c) 2022-202
4
Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-202
5
Qualcomm Innovation Center, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the disclaimer
...
...
@@ -532,6 +532,18 @@ GetSystemPath (CHAR8 **SysPath, BOOLEAN MultiSlotBoot, BOOLEAN BootIntoRecovery,
GetPartitionIdxInLun
(
PartitionName
,
Lun
));
}
else
if
(
!
AsciiStrCmp
(
"NVME"
,
RootDevStr
))
{
AsciiSPrint
(
*
SysPath
,
MAX_PATH_SIZE
,
" %a=/dev/nvme0n1p%d"
,
Key
,
Index
);
}
else
if
(
!
AsciiStrCmp
(
"VBLK"
,
RootDevStr
))
{
/* By default, in LVGVM device tree, we reserve the first vblk for
* system_a, the second one for userdata and the third one for
* system_b, so here we should take "root=/dev/vda" when cureent
* slot is '_a' and take "root=/dev/vdc" when current slot is '_b'
**/
if
(
StrnCmp
((
CONST
CHAR16
*
)
L"_a"
,
CurSlot
.
Suffix
,
StrLen
(
CurSlot
.
Suffix
))
==
0
)
AsciiSPrint
(
*
SysPath
,
MAX_PATH_SIZE
,
" %a=/dev/vda"
,
Key
);
else
if
(
StrnCmp
((
CONST
CHAR16
*
)
L"_b"
,
CurSlot
.
Suffix
,
StrLen
(
CurSlot
.
Suffix
))
==
0
)
AsciiSPrint
(
*
SysPath
,
MAX_PATH_SIZE
,
" %a=/dev/vdc"
,
Key
);
}
else
{
DEBUG
((
EFI_D_ERROR
,
"Unknown Device type
\n
"
));
FreePool
(
*
SysPath
);
...
...
This diff is collapsed.
Click to expand it.
Manifest Service
@manifest_service
mentioned in commit
e433cc80
·
1 week ago
mentioned in commit
e433cc80
mentioned in commit e433cc80557065ee7162cd8f0243f4e490522076
Toggle commit list
Manifest Service
@manifest_service
mentioned in commit
4480601d
·
1 day ago
mentioned in commit
4480601d
mentioned in commit 4480601d93d13f9cf4b91494b3151b75c6d1d2cb
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment