Age | Commit message (Collapse) | Author |
|
|
|
The percentage_error_ref is used to guess channel percentage error
drifting. This value is realted to different channel number and fixed.
Let stupid user to guess this value isn't helpful, since normal user
just know which channel their using. So remove this value and change
it to easy understanding 'channel number'.
Note,
This change requires the configure file change accordingly. A example here:
- VDD_VCORE1 0.020000 -14.5000
+ VDD_VCORE1 0.020000 1
Signed-off-by: Alex Shi <alex.shi@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
On systems like Ubuntu which don't have a tmpfs on /tmp, this caused very
long delays between sample acquisitions on aepd.
And it turned out to not be necessary even so.
Thanks to leo.yan@linaro.org for the debugging help and confirming the
solution.
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
This patches changes the paths in the config to use /dev/serial/by-id, and
introduces a new way to program AEP USB serial number so it can differentiate
between multiple AEP reliably... see ./set-aep-serial.sh
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
While working with AEP I came across a bug recently introduced (Nov 10) -- it is actually last checkin in this git git://git.linaro.org/tools/arm-probe.git (b3120f0c6e3d77b1654883c59828b787dd759d28)
The change was supposed to allow working with partially defined config files (where less than 3 channels are declared for one energy probe). In reality it restricts to one channel per probe (first one) from configuration file, ignoring the other ones.
I created a patch that does not have this side effect allowing to work with either fully defined (3 channels per probe) or partial defined config files – tested successfully with both. The fix is 1 line.
Signed-off-by: Mircea Carausu <mcarausu@broadcom.com>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
If not all channels were configured in the config file, garbage was issued for
the unconfigured channels (inf from 0R shunt) and the config file lost a character
each time.
This fixes the config issue and eliminates unconfigured channels from collection
and output in both arm-probe and aepd.
Reported-by: Sebastien Jan <s-jan@ti.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
fix some wrong pointers arithmetic that was breaking
the build on 32-bit machine (Pandaboard)
With that build fix, i could run aepd webserver on Panda, and connect
to it from my PC...
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Aimed at this reported by Nicolas with no probe, but I was
unable to reproduce. Looked through callback_linaro_aepd
(it must be there because it's called into by lws_handle_POLLOUT_event)
and avoided executed meaningless code if channel count is zero or
caliper range is bad.
*** buffer overflow detected ***: /usr/local/bin/aepd - websockets server terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f056c31582c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109700)[0x7f056c314700]
/lib/x86_64-linux-gnu/libc.so.6(__read_chk+0x22)[0x7f056c314bb2]
/usr/local/bin/aepd - websockets server[0x401c62]
/usr/local/lib/libwebsockets.so.0(lws_handle_POLLOUT_event+0x1e7)[0x7f056c80e827]
/usr/local/lib/libwebsockets.so.0(libwebsocket_service_fd+0x422)[0x7f056c8113b2]
/usr/local/lib/libwebsockets.so.0(libwebsocket_service+0x73)[0x7f056c8118d3]
/usr/local/bin/aepd - websockets server[0x401796]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f056c22c76d]
/usr/local/bin/aepd - websockets server[0x4018a1]
Can't reproduce so unsure if that nailed it.
Reported-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
These aren't reported by default in Fedora Rawhide gcc
Reported-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
This lets you break away from following the head of the
capture by mouse-scrolling inside the viewport.
The "scrollbar" at the bottom shows the viewport in the
context of the whole capture.
Capture continues unaffected by this, and you can rejoin
following the head of the capture by scrolling back to it.
Eventually the capture ringbuffer will be exhausted, by
default after 120s and what you're looking at overwritten.
You can use the Run checkbox at the top to halt capture to
avoid that, if you captured something interesting.
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|
|
Signed-off-by: Andy Green <andy.green@linaro.org>
|