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++
12604 Discussions

UART driver for other embedded Linux platform

Altera_Forum
Honored Contributor II
992 Views

In our project we have the embedded system running Linux on other (than Nios) platform. The FPGA is accessed as memory-mapped region. We need the driver for the Nios UART, but it is absent in official Linux kernel tree. Does this driver exist in universe? If not, is it difficult task to port Altera-provided UART driver to Linux?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
270 Views

It is not difficult to port the NIOS uart to another cpu running Linux. You will need the files in nios2 kernel, drivers/serial/NIOSserial.c and NIOSserial.h . And add your def for some io related headers, for port address and uart regs map.

0 Kudos
Reply