Hi All,
I faced a couple of issues with rt-app:
1) rt-app rt-app/doc/examples/video-short.jso
I have the following error:
[rt-app] <error> [json] Error while parsing input JSON
2) rt-app rt-app/doc/examples/browser-short.js
When hitting the Ctrl+C while in the:
[rt-app] <notice> Calibrate ns per loop
That leads to:
[513468.106751] Unhandled fault: alignment fault (0x92000021) at 0x0000007f9d0fa7ec Bus error
-- Daniel
Hi Daniel,
On 9 September 2015 at 15:42, Daniel Lezcano daniel.lezcano@linaro.org wrote:
Hi All,
I faced a couple of issues with rt-app:
- rt-app rt-app/doc/examples/video-short.jso
I have the following error:
[rt-app] <error> [json] Error while parsing input JSON
In fact, it's not a bug. In order to make the use case description easier to write and to read, the file /video-short.json doesn't respect the uniqueness of the key id.
Here is an extract of the file: "CodecLooper2" : { "priority" : -1, "loop" : -1, "suspend", "run" : 160, "resume" : "CodecLooper3", "sleep" : 590, "resume" : "OMXCallbackDisp2", "run" : 75, "suspend", "run" : 260 },
So you have to use workgen instead of calling rt-app directly, workgen will take care of the uniqueness befroe calling rt-app.
Here is an extract of the file generated by workgen: "CodecLooper2" : { "priority" : -1, "loop" : -1, "suspend" : "CodecLooper2", "run" : 160, "resume" : "CodecLooper3", "sleep" : 590, "resume1" : "OMXCallbackDisp2", "run1" : 75, "suspend1" : "CodecLooper2", "run2" : 260 },
If you don't want to install workgen and python on your board , you can use workgen on your host to create a new json file that will match the uniqueness rule workgen -o video-short-unikid.json -d doc/examples/video-short.json
Then you can use video-short-unikid.json directly with rt-app on your target
- rt-app rt-app/doc/examples/browser-short.js
When hitting the Ctrl+C while in the:
[rt-app] <notice> Calibrate ns per loop
That leads to:
[513468.106751] Unhandled fault: alignment fault (0x92000021) at 0x0000007f9d0fa7ec Bus error
I don't have any fault but rt-app doesn't respond. I'm going to look at that
Vincent
-- Daniel
-- http://www.linaro.org/ Linaro.org │ Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro Facebook | http://twitter.com/#!/linaroorg Twitter | http://www.linaro.org/linaro-blog/ Blog
Sched-tools mailing list Sched-tools@lists.linaro.org https://lists.linaro.org/mailman/listinfo/sched-tools
On 09/10/2015 04:03 PM, Vincent Guittot wrote:
I don't have any fault but rt-app doesn't respond. I'm going to look at that
Hmm, the same happens to me since I updated my tree.