
Getting Started
37
»
Download the driver sources:
»
Install the following Linux standard packages, e.g., in a Debian environment:
»
Extract the archive:
»
Change to the unpacked archive:
»
Edit the port configuration in file
ax99100_sp.c
, structure
uart_99100_contxt
:
»
Enter the following configuration for MC50M in structure
uart_99100_contxt
:
See the duagon website for the driver:
www.duagon.com/products/mc50m/#downl
$
apt-get update && apt-get install -y build-essential libssl-dev
libncurses-dev ncurses-dev libelf-dev
$
tar xf <archive>
$
cd <archive>
static struct uart_99100_contxt uart_99100_contxts[] = {
//Port 0
{
Every physical interface corresponds to one "Port", resulting in one ttyFx device.
...
//Port 1 [...]
The following code is specific to MC50M.
Do not change these settings.
Be aware that you do any changes at your own risk!