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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|