Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
DS-5 streamline in board Spartan-6/OMAPL138
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
2924 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
DS-5 streamline in board Spartan-6/OMAPL138
Isabel López
over 12 years ago
Note: This was originally posted on 6th June 2013 at
http://forums.arm.com
Hello,
Currently, I am working on Spartan-6/OMAPL138 Co-pPocessing kit. The OMAP's ARM, ARM926EJ-S, has installed the Ridgerun SDK with Linux kernel 2.6.33. The host's operating system is Ubuntu 11.10. I download DS-5 version 5.14, because I want to use the performance analycer. I could install DS-5 in Ubuntu (I activated it using
the DS-5 evaluation license), but now I'm trying to compile the Gator driver included in the DS-5 toolkit, but I get an error related to cross-compilation. I was wondering if there are any trouble with the versions.
Here it is the error I get:
In file included from /home/soc-e/s6omapsdk/kernel/linux-2.6.33/arch/arm/include/asm/page.h:201,
from include/linux/mmzone.h:20,
from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from /usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_main.c:13:
/home/soc-e/s6omapsdk/kernel/linux-2.6.33/arch/arm/include/asm/memory.h: In function 'virt_to_phys':
/home/soc-e/s6omapsdk/kernel/linux-2.6.33/arch/arm/include/asm/memory.h:181: error: 'PHYS_OFFSET' undeclared (first use in this function)
Scott Douglass
over 12 years ago
Note: This was originally posted on 6th June 2013 at
http://forums.arm.com
Please show the exact make command that you are invoking and the error messages from make as well.
Cancel
Vote up
0
Vote down
Cancel
Isabel López
over 12 years ago
Note: This was originally posted on 6th June 2013 at
http://forums.arm.com
Please show the exact make command that you are invoking and the error messages from make as well.
I'm using the command:
sudo make -C /home/soc-e/s6omapsdk/kernel/linux-2.6.33 M=`pwd` ARCH=arm CROSS_COMPILE=/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi- modules.
The pictures show the error messages. As you can see, I get two more errors related to the menuconfig options CONFIG_TRACING and CONFIG_PROFILING; I don't know why, because I've already enabled them.
Cancel
Vote up
0
Vote down
Cancel
Scott Douglass
over 12 years ago
Note: This was originally posted on 9th June 2013 at
http://forums.arm.com
Have you already configured and built your kernel? You need to do that first. gator needs certain kernel switches enabled and building a module requires some of the files that are produced by building the kernel. See the docs
http://infocenter.ar...2172848923.html
If you have already built your kernel, did you use O=...? You'll need to use the same O=... or none when you make the modules.
Cancel
Vote up
0
Vote down
Cancel