aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-12don't compile aepd and libwebsocketHEADmasterVincent Guittot
2016-01-08configure: change channel percentage_error_ref to channel numberAlex Shi
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>
2015-12-18align to libwebsockets api v1.6.0Andy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2015-10-19remove needless fdatasyncAndy Green
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.
2014-12-14fix config parsingAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2014-12-14update websockets apiAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-12-16provide sane interpolation endpoints at 12VAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-12-14update for lws api changeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-09-17add html autozero buttonAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-05-06convert to use by idAndy Green
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>
2013-05-06update READMEAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-07Configuration parsing fixMircea Carausu
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>
2013-03-07update copyright noticeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-02-12update for libwebsocket 1.2 api changesAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2013-01-23update for libwebsocket api changesAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-11-10fix not all channels declaredAndy Green
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>
2012-11-08add missing indicatorsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-31Added initial .gitignore fileNicolas Dechesne
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
2012-10-31allow dragging scrollbarAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-31fix scroll extentsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-22skip trying to get canonical server name at startupAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-22remove capture averaging from library add to arm probeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-22refactor separate non aep specific stuffAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-20introduce trigger level selectionAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19follow libwebsocket context api changeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19aepd: fix build issue on 32-bit machineNicolas Dechesne
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>
2012-10-19allow rail view selection by clicking on colour key plus prettifyAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19rounded cs3 for main divsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19fix the race causing the buffer overwriteAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19caliper local storage fix make sample buffer use more defensiveAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19use html5 css3 fix noise samples at start and end of ringbufferAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19clean out debugging noiseAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19add fstack protector to everythingAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19fix noninteger scroll offsetAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19set META language to stop autotranslateAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19add FORTIFY_SOURCE everywhereAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19fix another ignored retval on writeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-19skip most lws service if zero channels or caliper range badAndy Green
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>
2012-10-19fix compile warnings under ubuntuAndy Green
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>
2012-10-17add measuring calipersAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-15add graticules and time scrollingAndy Green
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>
2012-10-15add rail table to aepscopeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-15send channel metadata on websocketAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-15introduce aepdAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-15optimize correction moreAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-14config allow virtual summing supplies in configAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-14config add channel class fieldAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-12change process name of aep service forkAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-12use semaphore name unique to sessionAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2012-10-12refactor sample.c into protocol.c and service.cAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>