imx6 memory range 0x80000000 - 0xC0000000, arm32 itself supports 2G/2G partitioning. If it is set to 3G/1G partitioning, part of the memory will be allocated to highmem. imx6 needs to save 320M cma memory. When cma is active, if pfn is not in a zone, it will fail. Since cma has reserved a range, when the network card allocates queue buff, it will still be allocated from cma_allocator_alloc(), and allocation failure will occur.
fec_enet_free_buffers dma_alloc_coherent dma_alloc_attrs dma_direct_alloc arch_dma_alloc __dma_alloc cma_allocator_alloc Signed-off-by: Xiaolei Wang <xiaolei.w...@windriver.com> --- bsp/nxp-imx6/nxp-imx6.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp/nxp-imx6/nxp-imx6.cfg b/bsp/nxp-imx6/nxp-imx6.cfg index e43d5a92..ac9edd3d 100644 --- a/bsp/nxp-imx6/nxp-imx6.cfg +++ b/bsp/nxp-imx6/nxp-imx6.cfg @@ -2,6 +2,7 @@ CONFIG_ARCH_MXC=y CONFIG_SOC_IMX6UL=y CONFIG_SOC_IMX6Q=y CONFIG_SOC_IMX6SX=y +CONFIG_VMSPLIT_2G=y CONFIG_FW_LOADER=y CONFIG_FW_LOADER_USER_HELPER=y -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14068): https://lists.yoctoproject.org/g/linux-yocto/message/14068 Mute This Topic: https://lists.yoctoproject.org/mt/106755854/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-