Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 4, 2022. It is now read-only.

ntb-ch/fpga_loader

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.