Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/PROCESSOR-SDK-AM57X: AM57X

$
0
0

Part Number:PROCESSOR-SDK-AM57X

Tool/software: Linux

I am using the AM57X SDK on Linux (using Phytec SOM) and have a PCIe card that I am trying to install and access.  The PCIe card is a demo board for an FPGA and supplies a drive (written in C) and they provide instructions for compiling.  Here is the makefile:

obj-m :=pci_driver.o

KDIR= /lib/modules/$(shell uname -r)/build
all:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
clean:
rm -rf $(wildcard *.o *.ko mo* Mo* *.mod.c )

The make doesn't work as the build directory is not in the Linux that booted.  How do I compile this driver so I can install it in Linux?

Thanks.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>