Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12590 Discussions

Network driver not Initializing while Migrating Linux OS from 2.6.30 to 5.4.54 on NIOS2-3c120

HarshaM
Beginner
668 Views

We are migrating Linux OS from 2.6.30 to 5.4.54 on NIOS2-3c120, When Network driver is enabled via menuconfig, the following error occurs while initializing SGDMA.

# ifconfig eth0 10.201.1.20
[ 6.570000] priv->rx_dma_desc = e8021000, priv->rxdescmem = 1000
[ 6.600000] priv->tx_dma_desc = e8020000, priv->txdescmem = 1000
[ 6.600000] ------------[ cut here ]------------
[ 6.600000] WARNING: CPU: 0 PID: 88 at kernel/dma/debug.c:1269 debug_dma_map_single+0xfc/0x1f8
[ 6.640000] DMA-API: altera_tse 8004000.ethernet: device driver maps memory from invalid area [addr=e8021000] [len=4096]
[ 6.640000] Modules linked in:
[ 6.640000] CPU: 0 PID: 88 Comm: ifconfig Not tainted 5.4.54 #81
[ 6.680000] Stack from d5479d08:

Device tree file and terminal log attached.  What could be the cause for the error.

Appreciate your help.

Thanks. 

0 Kudos
2 Replies
EricMunYew_C_Intel
Moderator
612 Views

May I know which document you followed ?


0 Kudos
EricMunYew_C_Intel
Moderator
606 Views

can you attach your platform designer ? did you check you didn't have address overlap ?


0 Kudos
Reply