summaryrefslogtreecommitdiff
path: root/include/configs/imx8mq_aiy_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-06-19MA-14989-1 Add 2GB ddr support for AIYJi Luo
Add support for AIY 2GB DDR size. Wrap support for 3GB DDR board with CONFIG_AIY_LPDDR4_3G because of the limited ocram size. Test: build and boot on 2GB AIY board. Change-Id: I04da60cc0d0b22c6c32ff705bcab4095068ba6ea Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-05-05MA-14693 AIY: Decrease the spl image size to fix panicJi Luo
imx8mq has very limited TCM memory (about 256k bytes) to store the spl code and lpddr4 training binaries, u-boot may panic when the spl code size becomes too large. This problem is much worse on AIY because we have to support multiple ddr size. And on some daily build servers, the u-boot binary will be slight larger than the binary built on other servers (which is quite confusing...). This patch disables some unused configs to decrease the spl size, it will help fix u-boot panic built from daily build servers. Test: build and boot on AIY. Change-Id: I6e216bf4d88fb29c9cacd945e9dc93ddf9e73451 Signed-off-by: Ji Luo <ji.luo@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-04-01MA-14494 Support DVT AIY 1G boardJi Luo
Add support for DVT AIY 1G board, distinguish the board type with the board id. TYPE: ID: Micron 1G 0x5 HYNIX 1G 0x3 Micron 3G 0x1 Test: Boot on AIY 1G/3G ddr board. Change-Id: I3c7b6ebe8bc5d4e59917fcc3947e9ebfefc940da Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-03-05MA-14173-1 Enable trusty for imx8mq_aiyJi Luo
Create new config file based on "imx8mq_aiy_android_defconfig" and enable the CONFIG_IMX_TRUSTY_OS to supprt Trusty OS for AIY. Also enlarge the malloc poll to 96 MB because calculate hash with CAAM will consume more heap memory. Test: Trusty OS boots up and CAAM functions work. Change-Id: Ia4bdf4c32617cb4d2951b63f34f3a4a83f4af1b5 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-11-26MA-13453-1 Add new board target imx8mq_aiyJi Luo
Add support for new target imx8mq_aiy. Test: build and boot ok on imx8mq_aiy. Change-Id: I7bb8b66e5235a7122073dcfb4cdc7f165036b9a6 Signed-off-by: Ji Luo <ji.luo@nxp.com>