Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

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

HarshaM
Beginner
378 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
322 Views

May I know which document you followed ?


EricMunYew_C_Intel
Moderator
316 Views

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


Reply