Age | Commit message (Collapse) | Author |
|
|
|
Adding support for slot c in partition table. Based on
the value of flag IsMultiSlot_ABC, the number of maximum slots is decided.
If slot c is available, then IsMultiSlot_ABC is set TRUE.
ABL handles the case dynamically depending on the number of slots available.
Change-Id: I31f6b6950587419ddf44e40cc6fcdf34d840b515
|
|
|
|
the list"
|
|
verification""
|
|
Only needs to update node's offset when it is more than the currently
changed node's offset. Otherwise incorrect update will cause device
boot failure.
Change-Id: I9c69d028b8a06e6a92e579c01731ef519f475257
|
|
verification"
This reverts commit 786d179779b1599fde765b12e6910fcaef866382
We should not introduce this code for unlock device performance at
this moment, revert it.
Change-Id: I36ec8e559361bf994370693cfb70c38f339bc3c9
|
|
This change adds the API to check whether Keymaster is enabled
or not. If the API returns true then only KeymasterClient APIs
will be called from Verified Boot.
Test: AVB Orange_State Test Case.
Change-Id: I5f52bf1e190e9e2c128cb7451c32618b01f2b4ef
|
|
To support booting on device with passed boot cmdline parameter like "mem=5G"
where mem_offline support is there, it is mandatory to disable mem_offline
driver probe by appending mem_offline.nopasr=1 to the cmdline, Otherwise,
device will fail to boot up.
Nothing need to be append if mem_offline driver support is not there in
kernel.
Change-Id: If026f50e9dd6e77a0b958411905b21f504d90a77
|
|
Re-order Code string to Ascii String conversion to avoid unknown
values in SLOT_SUFFIX on LE variant command line update.
Change-Id: I3329786efee5f98283872016e69492a6c8377719
|
|
Add 4GB DDR size support while selecting DT based on DDR size.
Change-Id: I5b0d9ef47e0af9f3866317f0a05c97b732d30670
|
|
Nand flash does not have GPT header and it has only A/B slots for
boot partition. Add support to store a/b partition attributes in
misc cookie and update command line with systemd environment.
Change-Id: Ie07122c9a818a81c9d40077994124de8b106ce5e
|
|
Platform info type field is not aligned between abl and uefi.
Align them to ensure correct values are passed.
Change-Id: Ie55756b36adec829a22f5ddb0f9dfa1a0da8a5ae
|
|
Fix NULL pointer dereference issue reported by static
analyzer.
Change-Id: Ib21aa430e6edfdeacff1aa5e6002826c837e5fab
|
|
Perform revision check in GetDDrRegionsInfo() before making use of
pDDrGetInfoProtocol->GetDDRMappedRegions() since this callback is not
implemented for older revision of the protocol and using it results
in crash.
Removed the protocol revision check against DDR_DETAILS_STRUCT_VERSION
done after GetDDRMappedRegions() to avoid repetition.
Change-Id: Ic3d7287181b64f0826f59978dff0808c8ddf57dd
|
|
|
|
For optimising boot up time, using image actual size instead of the
whole partition size for boot and vendor_boot image verification.
Change-Id: I89edd58ade815f10d5b28c39bd8da084a41f1294
|
|
Clean the temporarily generated files in the BaseTools.
Change-Id: I0f62a06bad561cc75bbc7edbbb45ae5dcec17b87
|
|
|
|
Calling the fdt function to update the ddr region property repeatedly
takes more time, so using an array to update the property once for
improving boot time.
Change-Id: I719848b9763a1a436d97b2404a67f900a3382031
|
|
|
|
Change LENandIgnore to a compiler flag to avoid a case where
GetSystemPath is called before LE verity command line parameters
are constructed.
Change-Id: Iae7bc1ae496b0ecf4a5bc6931f0764fb8b002623
|
|
Add DDR Rank switch and set it as FALSE by default.
Change-Id: Ic5c59d68251fce21d13af5492bc5726a29a316a6
|
|
FdtPropUpdateFunc will cost more boot time if use DDR_MAX_RANKS.
Dynamiclly get the DDR rank number instead of using static
DDR_MAX_RANKS.
Change-Id: I4f1198123daaf01c32b5e6d70e6baf6bb3b25351
|
|
Move revision check into GetDDRInfo() and GetDDrRegionsInfo() to make
logic more clearer.
Change-Id: Ib9783e80f445bc2268f32bb9daf910062c369a0b
|
|
|
|
|
|
This reverts commit 5ae4034f48a0d302b0460bf0df3089e82a9368f4.
Have used BaseMemoryLibOptDxe to be instead of BaseMemoryLib to save
boot time, and use BaseMemoryLibOptDxe instead for some libraries in
MdeModulePkg to fix compilation errors.
Change-Id: Ib22a9b3138b00bc4c4fc402ff77282e2ea39f3b5
|
|
Fixed the below compile error after using optimized memcpy:
"Instance of library class [BaseMemoryLib] is not found"
Change-Id: Ia99de8e7046f03926a50fa7726e4a7aff847f002
|
|
Android slotsuffix is not being added to bootconfig if vb command
line is NULL. Fix this by adding a boot config check for slotsuffix
before adding android slot suffix to bootconfig.
Change-Id: I3cf335fb945346b55183426b16f88d62d2c6351b
|
|
Add support for dm-verity with gluebi block device
emulation on nand targets
Change-Id: Idb41e37736a5c2dd354e7804a3ae5b27c1e9adfe
|
|
When booting with an uncompressed kernel, we get the text offset from
the kernel header. However, we can't do this with compressed kernels
at this point since the kernel header is compressed, so use the
predefined offset when booting from a compressed kernel.
Change-Id: Iaecdfee1318d43ab572ffd46b7762d4cc4bb9b70
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
|
|
|
|
|
|
Allow a use case where same boot image can be used to support a
verity enabled emmc image and a non-verity enabled ubifs image.
Change-Id: I4e34e76b1b5efbf1989f236dcaee1e8e4363dc5a
|
|
After the introduction of CONFIG_DM_INIT, the dm= command line
parameter is no longer recognized.
Change-Id: I9dd46833f35e4f931e4ae06c85d2823f14bc761c
|
|
UefiDebugLibConOut will try to connect to all the available output
consoles. It should not be used.
Change-Id: If449cf93105ce7868756a4aa1f0d4e0dabdd4bbd
|
|
BaseMemoryLib is needed for a few libraries, so include it in
QcomModulePkg to avoid compilation errors should we remove
a library.
Change-Id: I6fac85a720a66efae28465fc799795240e7b5dde
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
|
|
Taking the minimum length of the partition name strings is causing
attempts to find partition names to match when they should not.
Remove this check to make sure that the whole name is checked.
Change-Id: Ib356cad72d7ebd9cb138f055ba63ddd448be4cc6
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
|
|
|
|
Previous "shell find" command only found files. Makefile's $(wildcard)
function will find symlinks and directories as well.
EmulatorPkg/Unix/Host/X11IncludeHack is a symlink to /opt/X11/include,
which may not be present on host and is not needed for compilation.
AOSP provides "find-subdir-files" which behaves like "find" under the
hood. Use this instead to get close to original behavior.
Change-Id: I28ca7678e9ab33cca0c05cad9ad0cf05de2651e5
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
|
|
For ninja build graph need to add build tool files
as dependent input into the apps bootloader target.
Otherwise, automated dependency generator tool could
not detect the dependency of build tools, and therefore
removed some project which causes build compilation issues.
Change-Id: Iaf1003cd901e727cad093e3e744a2f91c34b8266
|
|
Clean up potential NULL pointer dereferences in the bootloader.
Change-Id: I18531ffc5ffdaed5065ce2fefcdf86fbc9135ced
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
|
|
Rounding errors in calculating the memory limit for PASR were
causing issues when onlining certain memory blocks, so change
the memory limit command line value to bytes rather than MB.
Change-Id: I35d2777b05dd443dcd6cd6003ec9e0e5fabc0f04
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
|
|
|
|
As part of the changes for V4 boot header in Androis S,
all the androidboot.* parameters from the kernel command line
has been moved to bootconfig. 3633913 made all the changes for
this but the slot_suffix parameter was missed out.
Signed-off-by: Gokul krishna Krishnakumar <gokukris@codeaurora.org>
Change-Id: Ic92f72331c47e12b2ffd8c535864d593899c0730
|
|
|
|
|
|
Optimise for boot up time since it will search for special
node ddr-regions in apps boot loader. If put the node in
the beginning of the device tree can make it search faster,
so return the offset if ddr-regions already exist.
Change-Id: I8cc5c29147a0f0acb42ad4a6222dcff5a6c76f9d
|
|
The paramter was passed as a bootconfig paramter for V4 boot headers.
Now its passed as command line paramter.
Change-Id: Ib9211ac8546c7dbc56bd84bab2b44ae4effb8546
|