Age | Commit message (Collapse) | Author |
|
Address 0x8880_0000 is reserved for M4 image on imx8q, which
leaves limited memory region for the malloc pool. The avb
will consume much heap memory to verify the kernel and dtbo
image, memory conflicts may happen as the kernel/dtbo image
size is getting larger.
As the avb will load kernel/dtbo in every avb_slot_verify(), but
will only free the memory after both slots are checked(if needed).
And for trusty enabled platforms, extra heap memory will be used
to do the hash calculation.
This commit will free the slot memory once it's marked as unbootable
and will use fixed memory started from CONFIG_FASTBOOT_BUF_ADDR to
help store the data to do the hash calculation. With above change,
we get a chance to decrease the malloc pool size.
Test: boot on imx8qxp and imx8mn.
Change-Id: Id95b9becf6fa7fae4f120a4dc9e9a3ba90da578c
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
Open configs to enable dual bootloader feature for imx8m
platforms.
Test: A/B slot switch and spl recovery mode test.
Change-Id: I3fe0217c858b4cb1e06bd76f829a4f8977370cde
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
Add configs to support evk_imx8mm 4GB DDR board. The 4GB DDR will
be split into two banks, one is 3GB (0x4000_0000~0xffff_0000) and
another is 1GB(0x1_0000_0000~0x1_4000_0000).
Test: build and boot with or without trusty.
Change-Id: I02f6465fc5709b15fd76820edb846452d011dd56
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
Config the memory size of evk_imx8mm to 1GB.
Change-Id: I8f605a099b4f825c2ded6326c5209b52b5ba3925
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
CONFIG_SYSTEM_RAMDISK_SUPPORT
system can't enable CONFIG_SYSTEM_RAMDISK_SUPPORT in non-AB system.
boot.img have normal boot kernel and recovery ramdisk.
So ota can't update boot.img in both normal boot and recovery mode.
Change-Id: I137b098ba58e4fbd97105382903683e6713b8b29
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
|
|
Open configs to enable trusty for imx8mm_evk and also
add new config imx8mm_evk_android_trusty_defconfig based
on imx8mm_evk_android_defconfig.
Test: Trusty starts ok.
Change-Id: Iaea90de21f886ed23082a5e8e8d2fa7fb139a9cb
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
It's "Copyright" instead of "opyright".
Change-Id: I4e66ea402e06ee03b5268d1d70c95e066ad35fd0
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
This commit did:
1. Sync AVB lib with external/avb, head of commit is:
commit 6d5326a945c2d17d5d0e7718d5cb97663c3b33a2
Author: Neal Ostrem <nealo@google.com>
Date: Tue Apr 24 13:09:45 2018 -0700
Merge fix/changes required after merge from AOSP ToT.
Change library name to one used by AT.
Test: Built successfully and unit tests pass.
Change-Id: I5e5fc9a6010d96cfecfc6faf0858ba930cba65a0
2. Change product id in ATX to be full zeros to sync with
external/avb.
3. Fix build errors and implement ops fsl_set_key_version.
4. Move most nxp modified code to lib/avb/fsl/.
Test: build and boot successfully for imx7d_pico and imx8m_phanbell.
Change-Id: I199a035fe8267b10955299a4b745458d40a2e754
Signed-off-by: Luo Ji <ji.luo@nxp.com>
|
|
CAAM was enabled on imx8m by default in commit 9963299
(MLK-18703: crypto: caam: Add TRNG init function call),
this will cause errors when try to access RPMB.
Disable CAAM on imx8m because we don't need it on Android now.
Test: build and boot ok on imx8m_evk and imx8mm_evk.
Change-Id: I469f95ed0eada7161fa7f44f022ceb02b2e185b5
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
We can get the bootimage SD/MMC offset at runtime according to the SOC type and
version. No need to use CONFIG_BOOTLOADER_OFFSET_33K and CONFIG_BOOTLOADER_OFFSET_32K
any longer, so remove them.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 63af66f27c2c1b836c6dd48eb9901d622007e4a4)
|
|
Add board level support for android and android auto. Each board has
android/andriod_auto specified header file for defining relevant configuraitons.
And add build targets for their android uboot images building.
Signed-off-by: Ye Li <ye.li@nxp.com>
|