![background image](http://html1.mh-extra.com/html/aim/api-fdx-2-v2/api-fdx-2-v2_getting-started-manual_2871728017.webp)
API-FDX Linux Getting Started Manual
9
GmbH
Section 3 – New BSP and Hardware Installation Procedure
3.2. BSP Software Installation
The API-FDX Board Support Package includes the following resources which will be installed
on your computer upon completion of the steps described in this section:
API-FDX drivers and helper scripts
API-FDX library and header files
Example applications
To install the BSP software from the AIM provided CD or a download from AIM-
Online
1.
If using the AIM provided CD, insert the CD into the CD ROM drive and mount it
with “
mount /cdrom
” or the command your distribution recommends.
2.
Change into the directory where you want the BSP and examples to be installed, e.g.
your home directory. Then unpack the file
“
tar xfz /cdrom/APIFDX/Linux/apifdx-linux-bsp.tar.gz
”.
3.
Change into the subdirectory “
./apifdx-linux-bsp-13.00/
” and become
superuser with “
su
”
4.
Run “
sh ./install.sh
” to install the BSP and then compile and install the kernel
driver.
5.
The script will ask you for your default Runlevel. The AFDX kernel module will be
automatically started in this Runlevel.
6.
The script will detect whether your board needs a flash update. This may be necessary
if you have downloaded the BSP separately. In case an update is necessary, it will ask
you for permission before flashing the firmware. When the flash update is complete,
the system must be
powered-off
and restarted. Resetting isn’t sufficient. Then the
BSP can be used.
NOTE THAT ANY INTERRUPTION OF THE FLASH UPDATE WILL
RENDER THE BOARD USELESS.
melcher:~$ mount /cdrom
melcher:~$ tar xfz /cdrom/apifdx-linux-bsp.tgz
melcher:~$ cd apifdx-linux-bsp-14.33/
melcher:~/apifdx-linux-bsp-14.33$ su
Password:
/home/melcher/apifdx-linux-bsp-14.33 # sh ./install.sh
testrechner:/home/melcher/tmp/apifdx-linux-bsp-13.00# sh
install.sh
Please enter your default Runlevel number:
Module aim_fdx will be automatically loaded in this Runlevel
2
Previous version exists, removing it