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>
|
|
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>
|
|
Update the ddr training code to work with the atf 2.0.
Test: Build and boot on imx8mq aiy 3G board.
Change-Id: I8546c34cfa4aeeed819f7797f8362676e420b41f
Signed-off-by: Ji Luo <ji.luo@nxp.com>
|
|
To align aiy_imx8mq uboot used by uuu with other platforms, a defconfig
used to configure and build uboot used by uuu is added.
This "imx8mq_aiy_android_uuu_defconfig" for now is a copy of below file:
imx8mq_aiy_android_defconfig
Change-Id: I7c96297fa13fa7bb02117ceee8675e95f86e7b60
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
|