Hello Miki,
On 14 October 2016 at 03:59, Miki Shifman mikish@gmail.com wrote:
Hi Mathieu,
I'm been reading your tutorials about CoreSight and they're all very interesting! I would appreciate your assistance with issues I have with it.
I'm trying to learn how to use CoreSight, and currently I don't have an ARM board supporting it, so i'm attempting to build a linux on qemu to use your libraries.
I have never heard about Coresight IP blocks being emulated on qemu - I'm not even sure it would be possible to do so.
I've built linaro kernel 16.09 (latest) with CoreSight support. When I'm running qemu, I have sys/kernel/debug/coresight directory, but no devices in it, so I guess haven't been registered probably
Right, that's because coresight entries aren't in the DT and as I said above, coresight blocks aren't emulated.
I've heard of people thinking about providing an emulation but that would cause serious performance problems, at least from where I stand.
Your best bet is to get one of the 96 board development kit, the 410c is probably best, and work with that. Of all the boards available it's likely the easiest to work with (note that I haven't tried myself). If you do end up acquiring a system Chunyan Zhang can help you with the DT specification.
Best of luck, Mathieu
Is there any flag I should add to qemu execution to support CoreSight? maybe add some device?
Thanking you in advance, Miki
Thanks a lot! Just to make sure - Does the 410c like in that link http://www.96boards.org/product/dragonboard410c/ contains CoreSight HW out of the box?
On Fri, Oct 14, 2016 at 8:17 PM, Mathieu Poirier <mathieu.poirier@linaro.org
wrote:
Hello Miki,
On 14 October 2016 at 03:59, Miki Shifman mikish@gmail.com wrote:
Hi Mathieu,
I'm been reading your tutorials about CoreSight and they're all very interesting! I would appreciate your assistance with issues I have with
it.
I'm trying to learn how to use CoreSight, and currently I don't have an
ARM
board supporting it, so i'm attempting to build a linux on qemu to use
your
libraries.
I have never heard about Coresight IP blocks being emulated on qemu - I'm not even sure it would be possible to do so.
I've built linaro kernel 16.09 (latest) with CoreSight support. When I'm running qemu, I have sys/kernel/debug/coresight directory, but no
devices in
it, so I guess haven't been registered probably
Right, that's because coresight entries aren't in the DT and as I said above, coresight blocks aren't emulated.
I've heard of people thinking about providing an emulation but that would cause serious performance problems, at least from where I stand.
Your best bet is to get one of the 96 board development kit, the 410c is probably best, and work with that. Of all the boards available it's likely the easiest to work with (note that I haven't tried myself). If you do end up acquiring a system Chunyan Zhang can help you with the DT specification.
Best of luck, Mathieu
Is there any flag I should add to qemu execution to support CoreSight?
maybe
add some device?
Thanking you in advance, Miki
On 15 October 2016 at 10:58, Miki Shifman mikish@gmail.com wrote:
Thanks a lot! Just to make sure - Does the 410c like in that link contains CoreSight HW out of the box?
Yes, that's the one.
I can't say it's "out of the box" but pretty close. If it doesn't work on mainline Chunyan can tell you the patches/branch she used.
Mathieu
On Fri, Oct 14, 2016 at 8:17 PM, Mathieu Poirier mathieu.poirier@linaro.org wrote:
Hello Miki,
On 14 October 2016 at 03:59, Miki Shifman mikish@gmail.com wrote:
Hi Mathieu,
I'm been reading your tutorials about CoreSight and they're all very interesting! I would appreciate your assistance with issues I have with it.
I'm trying to learn how to use CoreSight, and currently I don't have an ARM board supporting it, so i'm attempting to build a linux on qemu to use your libraries.
I have never heard about Coresight IP blocks being emulated on qemu - I'm not even sure it would be possible to do so.
I've built linaro kernel 16.09 (latest) with CoreSight support. When I'm running qemu, I have sys/kernel/debug/coresight directory, but no devices in it, so I guess haven't been registered probably
Right, that's because coresight entries aren't in the DT and as I said above, coresight blocks aren't emulated.
I've heard of people thinking about providing an emulation but that would cause serious performance problems, at least from where I stand.
Your best bet is to get one of the 96 board development kit, the 410c is probably best, and work with that. Of all the boards available it's likely the easiest to work with (note that I haven't tried myself). If you do end up acquiring a system Chunyan Zhang can help you with the DT specification.
Best of luck, Mathieu
Is there any flag I should add to qemu execution to support CoreSight? maybe add some device?
Thanking you in advance, Miki
Hello,
On 16 October 2016 at 03:57, Mathieu Poirier mathieu.poirier@linaro.org wrote:
On 15 October 2016 at 10:58, Miki Shifman mikish@gmail.com wrote:
Thanks a lot! Just to make sure - Does the 410c like in that link contains CoreSight HW out of the box?
Yes, that's the one.
I can't say it's "out of the box" but pretty close. If it doesn't work on mainline Chunyan can tell you the patches/branch she used.
I would suggest to ask landing team which branch has CoreSight components added in DTS for Dragon board. I just tried CoreSight once on Dragon a few month ago, the branch I was using has been changed.
Regards, Chunyan
Mathieu
On Fri, Oct 14, 2016 at 8:17 PM, Mathieu Poirier mathieu.poirier@linaro.org wrote:
Hello Miki,
On 14 October 2016 at 03:59, Miki Shifman mikish@gmail.com wrote:
Hi Mathieu,
I'm been reading your tutorials about CoreSight and they're all very interesting! I would appreciate your assistance with issues I have with it.
I'm trying to learn how to use CoreSight, and currently I don't have an ARM board supporting it, so i'm attempting to build a linux on qemu to use your libraries.
I have never heard about Coresight IP blocks being emulated on qemu - I'm not even sure it would be possible to do so.
I've built linaro kernel 16.09 (latest) with CoreSight support. When I'm running qemu, I have sys/kernel/debug/coresight directory, but no devices in it, so I guess haven't been registered probably
Right, that's because coresight entries aren't in the DT and as I said above, coresight blocks aren't emulated.
I've heard of people thinking about providing an emulation but that would cause serious performance problems, at least from where I stand.
Your best bet is to get one of the 96 board development kit, the 410c is probably best, and work with that. Of all the boards available it's likely the easiest to work with (note that I haven't tried myself). If you do end up acquiring a system Chunyan Zhang can help you with the DT specification.
Best of luck, Mathieu
Is there any flag I should add to qemu execution to support CoreSight? maybe add some device?
Thanking you in advance, Miki