Skip to content

Instantly share code, notes, and snippets.

View zeekhuge's full-sized avatar

Zubeen Tolani zeekhuge

View GitHub Profile
@zeekhuge
zeekhuge / 2nd_time_dmesg_window_log.txt
Created August 1, 2016 12:08
Note line number 79 with that RT throttling thing, thats why this dmesg output is as a gist, its yet another dmesg otherwise
[ +0.033981] /root/bs/driver/beaglescope_driver.c: write_raw
[ +0.000027] val - 100000 val2 - 0
[ +0.003480] /root/bs/driver/beaglescope_driver.c: set_pru_sampling_frequency
[ +0.000011] 999, 497, 499
[ +0.002627] Requested sampling freqeuency 100000
[ +0.004661] Available sampling freqeuency 100000
[Aug 1 12:03] /root/bs/driver/beaglescope_driver.c: preenable
[ +0.000055] /root/bs/driver/beaglescope_driver.c: set_pru_read_mode
[ +0.000026] misc_config_data = 2147483649
[ +0.000022] /root/bs/driver/beaglescope_driver.c: beaglescope_read_from_pru
@zeekhuge
zeekhuge / testing_dmesg.txt
Created August 1, 2016 11:48
The output of the dmesg window while testing various freqeuencies :
[ +0.009406] remoteproc1: 4a334000.pru0 is available
[ +0.000025] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ +0.000009] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ +0.005223] remoteproc1: powering up 4a334000.pru0
[ +0.000035] remoteproc1: Booting fw image am335x-pru0-fw, size 75804
[ +0.000204] ti-pruss 4a300000.pruss: configured system_events = 0x00000000000b0000 intr_channels = 0x00000007 host_intr = 0x00000007
[ +0.006423] remoteproc1: remote processor 4a334000.pru0 is now up
[ +0.000252] virtio_rpmsg_bus virtio0: rpmsg host is online
[ +0.000049] virtio_rpmsg_bus virtio0: creating channel beaglescope addr 0x1e
[ +0.000511] /root/bs/driver/beaglescope_driver.c: probe
;*
;* Copyright (C) 2016 Zubeen Tolani <ZeekHuge - zeekhuge@gmail.com>
;*
;* The code is a part of BeagleScope Project.
;*
;* This program is free software; you can redistribute it and/or
;* modify it under the terms of the GNU General Public License version
;* 2 as published by the Free Software Foundation.
.cdecls "main_pru1.c"
/sys/bus/iio/devices/iio:device0
|-- dev
|-- in_voltage0_raw
|-- name
|-- power
| |-- async
| |-- autosuspend_delay_ms
| |-- control
| |-- runtime_active_kids
| |-- runtime_active_time