Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.
/ fpga_loader Public archive

Linux Kernel Modul for Loading Designs into Altera FPGAs

Notifications You must be signed in to change notification settings

ntb-ch/fpga_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux Kernel Modul for Loading Designs into Altera FPGAs

Use the dd command to load RBF files:

# dd if=design.rbf of=/dev/fpga_loader bs=5M

The current module supports the Colibri modul from Toradex (iMX6 processor). The loader uses the GPIO subsystem. For other platforms you simply have to adjust the GPIO pins numbers.

Building

Choose the target plattform and find its appropriate kernel configuration together with the kernel headers.

  • arch: target plattform such as powerpc or arm
  • comp: cross compiler such as powerpc-linux-gnu- or arm-linux-gnueabi-
  • path: path to kernel headers (path to root of kernel repository)

Example for ARM

user@hostn:~/myproj/fpga_loader$  export ARCH=arm
user@hostn:~/myproj/fpga_loader$  export CROSS_COMPILE=arm-linux-gnueabihf-
user@hostn:~/myproj/fpga_loader$  make KERNELDIR=~/kernels/linux-toradex

Using a compiler which is not installed on the system, the corresponding path must be added to the environment variable:

user@hostn:~/myproj/fpga_loader$ export PATH=~/compilers/gcc-linaro/bin/:$PATH 
user@hostn:~/myproj/fpga_loader$  export ARCH=arm
user@hostn:~/myproj/fpga_loader$  export CROSS_COMPILE=arm-linux-gnueabihf-
user@hostn:~/myproj/fpga_loader$  make KERNELDIR=~/kernels/linux-toradex

About

Linux Kernel Modul for Loading Designs into Altera FPGAs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published