17 Jan, 2021
1 commit
-
Sync config change after refining the config
dependency.Test: builds.
Change-Id: I32c36e822458c8eea9dde4ba4d874a65475f3a26
Signed-off-by: Ji Luo
(cherry picked from commit 45cd8014f7e81ed7b9ed7766e5d5911384eb3de4)
30 Oct, 2020
1 commit
-
To use dynamic partition feature in Android, recovery ramdisk is used to
mount the logical partitions and boot up Android.Define a configuration item "CONFIG_ANDROID_DYNAMIC_PARTITION", use it
to control the bootargs and whether ramdisk should be loaded instead of
"CONFIG_ANDROID_AUTO" because now Android auto also use dynamic
partition feature now.Move the definition of function "fastboot_setup_system_boot_args" under
the macro "CONFIG_CMD_BOOTA" to avoid build warnings.Signed-off-by: faqiang.zhu
Change-Id: I0b1cfe6120fc939e7f1a1eb600d8176c81edf129
(cherry picked from commit 972ccff86796e2b7f9a444d09550cd5e393cd93e)
19 Oct, 2020
3 commits
-
Enable loading the avb public key from RPMB storage for some
platforms.Test: AVB verify pass.
Signed-off-by: Ji Luo
Change-Id: Ia9c080717239611f8d1bea18dbc61c7ae9a6741e
(cherry picked from commit 601eda60064b5c1e27daadf7b963090f0381d388) -
Disable unused dts and configs for imx8q to reduce the boot time.
The 'part_get_info_by_name' can be very time consuming as it will
loop through all the GPT entries to find the matched partition,
specify the number of 'misc' partition and use 'part_get_info' to
load the partition info directly will save much time.With this patch, about 300ms can be save for imx8qm, about 350ms
can be saved for imx8qxp.Test: boot tests.
Signed-off-by: Ji Luo
Change-Id: I66bc7e002caea62754b670d0a30860a23a17ff61
(cherry picked from commit d25c0c7b9de22abd6c326975199c86c943e742cf) -
XEN bootloader can't trigger board reset via the psci interface
provided by atf directly (triggering board reset in domU is not
reasonable either). This commit disable the board reset for xen.Test: fastboot reboot works on xen.
Signed-off-by: Ji Luo
Change-Id: Icc2d7519df9620a2a2c6cb016b3d5378f107f00c
(cherry picked from commit 65571cbbea2d59694e6bc45480fc52cae02790e9)
16 Jul, 2020
1 commit
-
Trusty binary will be integrated into the dom0 bootloader, need to check
rpmb keyslot for trusty. Use software sha256 calculation method in avb
verify as we still have issues to use physical address in domu
bootloader.Test: boots xen with android.
Signed-off-by: Ji Luo
Change-Id: Ie7da9196ad6947157111665efd420bf4381385d6
(cherry picked from commit 4030462cb99e1dc67f7ee28f391ddd5c21938878)
16 Jun, 2020
7 commits
-
Enable system board reboot for imx8qm/imx8qxp/imx8dx.
Test: system board reboot on imx8qm_mek.
Change-Id: I700b97f7ce80162c5ff05563f390387f5141eb98
Signed-off-by: Ji Luo
(cherry picked from commit 076a6e7c98674b06ac77ba5b17a409796d9441c1) -
Disable SPL DM SERIAL for domu, there is no mmu setup,
paravirtual console not work.Reviewed-by: Ye Li
Signed-off-by: Peng Fan -
Update xen defconfig
Update dts to let xen serial could be used in early stage,
but seems without mmu enabled, it output nothing. It only
output data after mmu enabled.Reviewed-by: Ye Li
Signed-off-by: Peng Fan -
Enable dm usb using the base board otg usb port for fastboot usage
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
(cherry picked from commit 88a1718aa7096782e9cf538e391762aaef631bb2)
(cherry picked from commit 279e82b731e7671536b729934e1dc88b760ea05a) -
Enable dm serial for xen uboot.
Log as below:
#xl console 1
MMC: FSL_SDHC: 0
Loading Environment from ... *** Warning - bad CRC, using default environmentFailed (-5)
In: serial@5a060000
Out: serial@5a060000
Err: serial@5a060000
flash target is MMC:0
Fastboot: Normal
Normal Boot
=>Signed-off-by: Peng Fan
Reviewed-by: Peng Fan
Reviewed-by: Flynn xu
(cherry picked from commit 132cb6f74bcd963b180de83279f00aef31bbbdca)
(cherry picked from commit 38313a6f8e437568dbc15075251d344fa67fd14b) -
Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")
correct text base, IPC address, memmap.
Signed-off-by: Peng Fan
(cherry picked from commit 884cada50b9a9fcda09d259cf145d87a29122cac)
(cherry picked from commit 55822e16786817f843d32c1347d705c2a2a435dd) -
We are targeting let uboot loading images from emmc to boot android.
Currently only emmc1 is enabled, so other devices are disabled.Also change memory layout according to VM layout. The memory layout
needs to be samesize as what you configured in as "memory = "3584"".Add a new dts dedicated for this kind uboot, add a new defconfig
to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL,
select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
compared with imx8qm_mek_androidauto_defconfig.Reviewed-by: Ye Li
Signed-off-by: Peng Fan
(cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543)
(cherry picked from commit a26de6e05563d3e3e6734e0d99e464437aa89db5)
(cherry picked from commit 74ac579ee195c4a2f6651ccc0f86efb0eebd889e)