2008-02-29 15:41:05 IPIPE tracer in 2008R1-RC1
Diana Hecht (UNITED STATES)
Message: 51923 Hello,
I am trying to get a combination of Xenomai/Adeos/uclinux 2008R1-RC1 running the Xenomai Latency testsuite program on a BF537 stamp board with the Ipipe tracer tool. I have included the combination of releases I am using at the end of this message.
I am following the Xenomai installation instructions from: http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:adeos
With the previous assistance from Yi, I was able to get the latency program to run by adding txenomai/lib directory to the LD_LIBRARY_PATH and the latency program of the testsuite is running.
The problem that is occurring now is that when you choose the options in linux_menuconfig specified by the appnote
listed above to enable the Ipipe tracer:
<pre class="code">--- Kernel hacking
[*] I-pipe debugging
[*] Check for illicit cross-domain calls
[*] Latency tracing
[ ] Enable tracing on boot
[*] Instrument function entries
[*] Trace IRQs-off times
(14) Depth of trace log (14 => 16Kpoints, 15 => 32Kpoints)
[ ] Use vmalloc'ed trace buffer
[ ] Enable panic back traces
You get a build error when building the kernel:
make[2]: *** No rule to make target `arch/blackfin/kernel/mcount.o', needed by `arch/blackfin/kernel/built-in.o'. Stop.
make[1]: *** [arch/blackfin/kernel] Error 2
make[1]: Leaving directory `/home2/dhecht/UCLINUX/2008/R1-RC1/uClinux-dist-2008R1-RC1/linux-2.6.x'
make: *** [linux] Error 1
I am using the following:
uClinux-dist-2008R1-RC1.tar.bz2
Xenomai 2.4.0
Any help you can offer would be greatly appreciated,
Diana
QuoteReplyEditDelete
2008-02-29 16:26:53 Re: IPIPE tracer in 2008R1-RC1
Mike Frysinger (UNITED STATES)
Message: 51928 looks like the newer adeos patch does not include the mcount source file ... you can probably cheat and just take the ipipe-mcount.S from the older patch and name it mcount.S in the kernel file until Yi gets a chance to do so
QuoteReplyEditDelete
2008-03-03 05:08:51 Re: IPIPE tracer in 2008R1-RC1
Yi Li (CHINA)
Message: 51988 Should have been fixed in 2008r1 svn branch.
(I was using "svn diff" to create patch, new files will get lost if not run "svn add". I turn back to use "diff").
QuoteReplyEditDelete
2008-03-04 23:21:14 Re: IPIPE tracer in 2008R1-RC1
Diana Hecht (UNITED STATES)
Message: 52059 Yi,
Thank you very much for your help. After I downloaded this version, everything compiled fine. We had a few more problems with the stamp board freezing when booting the kernel but I saw that this was due to our limited memory. When I deleted the xenomai/share and xenomai/include directories from the romfs, it made a huge difference and things seem to be working now.
Thank you so much for your quick response.
best regards,
Diana