zero_k 发表于 2022-5-29 21:52:59

ERROR: 256 KiB atomic DMA coherent pool is too small!

移植了一个USB网卡驱动,安装网卡后成了这样了
root@freescale /etc$ usb 1-1: new high-speed USB device number 2 using ci_hdrc
===>rt2870_probe()!
--> RTMPAllocAdapterBlock


=== pAd = 90ac2000, size = 842296 ===

--> RTMPAllocTxRxRingMemory
ERROR: 256 KiB atomic DMA coherent pool is too small!
Please increase it with coherent_pool= kernel parameter!
<-- ERROR in Alloc Bulk buffer for HTTxContext!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
ERROR!!! Failed to allocate memory - TxRxRing
<-- RTMPAllocAdapterBlock, Status=3
rt2870: probe of 1-1:1.0 failed with error -1

本人用的IMX6UL-C2开发板 内核版本3.14.38

想知道如何能解决问题






forqs 发表于 2022-5-30 09:16:21

您可以在uboot命令行修改bootargs添加coherent_pool的值,可以参考这篇文章:https://blog.csdn.net/aifei7320/article/details/50542363 ,不过我们这里也没遇到过这种问题,不能给您保证一定有效。
页: [1]
查看完整版本: ERROR: 256 KiB atomic DMA coherent pool is too small!