summaryrefslogtreecommitdiff
path: root/include/configs/imx8qm_mek_android.h
AgeCommit message (Collapse)Author
2019-12-10MA-16048 Fix imx8q u-boot hangJi Luo
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>
2019-08-26MA-15334-2 enable trusty for imx8q standard Android ubootfaqiang.zhu
"CONFIG_IMX_TRUSTY_OS=y" is added to the corresponding defconfig files to include trusty related code. "CONFIG_SPL_ENV_SUPPORT=y" and "CONFIG_SPL_LIBDISK_SUPPORT=y" are added because "mmc_get_env_dev()" and "blk_get_dev()" are invoked in SPL stage with trusty related code. "CONFIG_SHA256=y" is added since SPL will access RPMB now. MACROs are added in corresponding header files. standard android uboot has more content than android auto uboot, the uboot malloc pool size is changed from 76MB to 86MB to make the boot process can be handed over to kernel without malloc problem. Change-Id: I7505adeb2e30ddaecc8217cee991e6d7b0785af0 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2019-04-23MA-14651-2 add dependence between CONFIG_ANDROID_AB_SUPPORT and ↵zhang sanshan
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>
2019-03-12MA-14296-1[Android]Change uboot malloc size and change hdmi fw load addressZhang Bo
Image size is about 30M and 0x8028000+30M has overlaped with malloc memory. malloc memory end address is 0x88000000 and need to decrease the malloc size to reserve enough memory for loading kernel and dtb image. The memory address 0x90000000~0x92000000 has been reserved for M4 in SCFW. Need to change the HDMI firmware loading address to 0x84000000 which is aligned with BSP image. Change-Id: I6f9b6e05a9c9d8b5f7d385632a0ef54a0c20667d Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
2019-03-08MA-14289-1 Revert "imx8q: Move spl to dram to fix reboot issue"Ji Luo
Move spl to 0x8000_0000 will cause cpu1 ~ cpu3 jump to spl when boot/reboot, revert this patch. This reverts commit 7d111f4c8bac25c234b0fc24af885421ce8bb188. Change-Id: I9adcd980b42a7539d6309cafaabff9d079ca993d
2019-03-07MA-14273-1 imx8q: Move spl to dram to fix reboot issueJi Luo
The spl is located at ocram which will be lost when suspend/resume, partition reboot will make A core reboot from the start address of ATF, which blocks dual bootloader feature on Android Auto. Move the spl to dram and make the partition reboot from spl to fix this issue. The memory map will be changed to: SPL: 0x0000_0000 --------> 0x8000_0000 ATF: 0x8000_0000 --------> 0x8004_0000 U-boot: 0x8002_0000 --------> 0x8006_0000 Test: reboot ok on imx8qm/imx8qxp. Change-Id: I49e8be51bf427dd00eb7507de22a787c6f6e1582 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-02-27MA-14141 imx8q: Set default environment "panel=NULL"Ji Luo
Set the default environment "panel" as "NULL" to fix the LVDS0-HDMI not work issue. Test: LVDS0-HDMI works fine on imx8qm_mek. Change-Id: I115b0a185717762af911fe1e9237fb26ecbb7e3e Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-09-12MA-12674 imx8qm/8qxp_mek: Change fastboot buf addr to avoid conflictsLuo Ji
DDR address 0x88000000 - 0x90000000 is reserved for M4, conflicts may happen if we set the CONFIG_FASTBOOT_BUF_ADDR as 0x80280000 and the CONFIG_FASTBOOT_BUF_SIZE as 0x19000000. Change the CONFIG_FASTBOOT_BUF_ADDR to 0x98000000 to avoid such issue. Change-Id: I141b6b3efc40d36ec6eb523e6ffb804c314dba52 Signed-off-by: Luo Ji <ji.luo@nxp.com>
2018-08-21MA-12244-1 [Android] Load HDMI RX firmware for imx8qmLuo Ji
The hdmi rx firmware is appended to the end of u-boot binary, load it in u-boot, this will increase the size of u-boot binary by 128k. Test: hdmi rx firmware loaded successfully on imx8qm_mek. Change-Id: Ib8e8ecd70a35b56ba4498c21d8c4716f6ad6405a Signed-off-by: Luo Ji <ji.luo@nxp.com>
2018-08-20[iot] Update libavb in u-bootLuo Ji
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>
2018-07-19MLK-18934 usb: fastboot: Remove CONFIG_BOOTLOADER_OFFSET_xxx configurationsYe Li
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)
2018-06-20MLK-18640 android: imx8qm_mek: Remove redefine of ↵Ye Li
CONFIG_USB_FUNCTION_MASS_STORAGE The imx8qm_mek_android_defconfig has already defined CONFIG_CMD_USB_MASS_STORAGE=y, which will select CONFIG_USB_FUNCTION_MASS_STORAGE automatically by u-boot 2018. So we don't need to define CONFIG_USB_FUNCTION_MASS_STORAGE in imx8qm_mek_android.h. Otherwise it will give build warning. Signed-off-by: Ye Li <ye.li@nxp.com>
2018-06-13MLK-18591-8 android: Add imx8/imx8m reference boards supportYe Li
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>