Skip to content

Instantly share code, notes, and snippets.

View gyaresu's full-sized avatar

Gareth gyaresu

View GitHub Profile
@gyaresu
gyaresu / log.txt
Created August 19, 2016 22:04
gnu-arm-embedded-toolchain/gcc-arm-none-eabi-5_4-2016q2/arm-none-eabi
gyaresu on zaphod in ~/programming/GreatFET-experimental/firmware/greatfet_usb/build(4d6h5m|master)
λ cmake ..
CMake Deprecation Warning at /usr/local/share/cmake-3.6/Modules/CMakeForceCompiler.cmake:79 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
/Users/gyaresu/programming/GreatFET-experimental/firmware/cmake/toolchain-arm-cortex-m.cmake:27 (CMAKE_FORCE_C_COMPILER)
build/CMakeFiles/3.6.1/CMakeSystem.cmake:6 (include)
CMakeLists.txt:24 (project)
@gyaresu
gyaresu / cmake_log.txt
Created August 19, 2016 18:30
cmake from within ./greatfet_usb/build
gyaresu on zaphod in ~/programming/GreatFET-experimental/firmware/greatfet_usb/build(4d2h32m|master)
λ cmake ..
CMake Deprecation Warning at /usr/local/share/cmake-3.6/Modules/CMakeForceCompiler.cmake:79 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
/Users/gyaresu/programming/GreatFET-experimental/firmware/cmake/toolchain-arm-cortex-m.cmake:27 (CMAKE_FORCE_C_COMPILER)
build/CMakeFiles/3.6.1/CMakeSystem.cmake:6 (include)
CMakeLists.txt:24 (project)
@gyaresu
gyaresu / log.txt
Created August 19, 2016 18:27
arm-none-eabi-gcc: error: nano.specs: No such file or directory
gyaresu on zaphod in ~/programming/GreatFET-experimental/firmware/greatfet_usb/build(4d2h27m|master)
λ make
[ 3%] Linking C executable greatfet_usb_m0.elf
arm-none-eabi-gcc: error: nano.specs: No such file or directory
make[2]: *** [greatfet_usb_m0.elf] Error 1
make[1]: *** [CMakeFiles/greatfet_usb_m0.elf.dir/all] Error 2
make: *** [all] Error 2
@gyaresu
gyaresu / main.log
Created July 5, 2016 22:16
Macports GNURadio patch fails
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Tue Jul 5 15:15:50 PDT 2016
:debug:patch Executing org.macports.patch (gnuradio)
:notice:patch ---> Applying patches to gnuradio
:info:patch ---> Applying patch-cmake-expand.release.diff
:debug:patch Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
@gyaresu
gyaresu / keeloq.txt
Created July 5, 2016 21:25
Samy's keeloq settings: "i would probably change syncword to pqt...there may be a real sync word you can use, i don't recall, it was a while ago"
d.setFreq(433920000)
d.setMdmDRate(2500)
d.setMdmModulation(MOD_ASK_OOK)
d.setMdmSyncWord(0xAAAA)
d.setMdmSyncMode(SYNCM_CARRIER_16_of_16)
d.makePktFLEN(29) # 13 (padding for me) + 8 (rest of preamble) + 13 (0 header) + 198 [66bits(keeloq) * 3(modulation)]
d.RFlisten()
@gyaresu
gyaresu / libosmocore.log
Created June 11, 2016 06:30
Undefined symbols for architecture x86_64:
zaphod➜ libosmocore : master ✔ : ᐅ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/gyaresu/programming/libosmocore/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
@gyaresu
gyaresu / since-january.txt
Created May 11, 2016 20:37
Freenode logs
./##rtlsdr/2016-03-25.txt:[2016-03-25T18:14:19+1100] <mybit> 1458792326 | i: 259/s | i_avg: 141/s | q: 6723 | q_max: 6729 | o: 149/s | ok: 65% | ok: 97/s | ok_avg: 56% | ok: 10728 | ok_avg: 59/s | d: 0
./#hackrf/2016-01-27.txt:[2016-01-27T22:24:29+1100] <gyaresu> 1453893728 | i: 1/s | i_avg: 3/s | q: 0 | q_max: 2 | o: 1/s | ok: 36% | ok: 0/s | ok_avg: 35% | ok: 142 | ok_avg: 1/s | d: 0
./#hackrf/2016-01-27.txt:[2016-01-27T22:24:39+1100] <gyaresu> ok_avg 35%
./#hackrf/2016-01-27.txt:[2016-01-27T22:41:18+1100] <gyaresu> schneider_ Well now we're getting somewhere: 1453894839 | i: 4/s | i_avg: 1/s | q: 0 | q_max: 1 | o: 4/s | ok: 82% | ok: 3/s | ok_avg: 60% | ok: 517 | ok_avg: 1/s | d: 0
./#hackrf/2016-01-27.txt:[2016-01-27T23:06:04+1100] <schneider_> 1453896326 | i: 6/s | i_avg: 28/s | q: 39 | q_max: 1600 | o: 32/s | ok: 56% | ok: 18/s | ok_avg: 52% | ok: 4581449 | ok_avg: 14/s | d: 171580
./#hackrf/2016-01-27.txt:[2016-01-27T23:07:32+1100] <gyare
@gyaresu
gyaresu / sniff.txt
Created April 12, 2016 10:27
sniff results 2016-04-12
@snow ➜ iridium-toolkit git:(gnuradio) ✗ while true
while> do
while> hackrf_transfer -f 1622000000 -p1 -a1 -l40 -g20 -s 10000000 -r /dev/stdout | python extractor.py -v -c 1622000000 -r 10000000 -f hackrf --jobs 3 -q 20000 | fgrep "A:OK" >> ~/samples/2016-04-12a.bits
while> sleep 10
while> done
threshold=8.500000, d_threshold=0.013827 (7.079458/512)
d_max_bursts=76923
1460455194 | i: 0/s | i_avg: 3/s | q: 2 | q_max: 2 | o: 0/s | ok: 100% | ok: 0/s | ok_avg: 100% | ok: 1 | ok_avg: 1/s | d: 0
1460455254 | i: 147/s | i_avg: 145/s | q: 1659 | q_max: 1739 | o: 120/s | ok: 7% | ok: 8/s | ok_avg: 7% | ok: 521 | ok_avg: 8/s | d: 0
1460455314 | i: 191/s | i_avg: 168/s | q: 5928 | q_max: 6487 | o: 120/s | ok: 2% | ok: 2/s | ok_avg: 4% | ok: 690 | ok_avg: 5/s | d: 0
@gyaresu
gyaresu / gr-iridium_toolkit.log
Created February 29, 2016 02:50
Building gr-iridium_toolkit on OS X (macports base)
gyaresu@zaphod:~/programming/iridium-toolkit/gr/gr-iridium_toolkit/build|gnuradio⚡
⇒ cmake .. -Wno-dev
-- Build type not specified: defaulting to release.
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- filesystem
-- system
Checking for GNU Radio Module: RUNTIME
* INCLUDES=/opt/local/include
* LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
@gyaresu
gyaresu / version_quirk.txt
Last active February 18, 2016 01:21
HackRF firmware anomoly
http://i.imgur.com/7sm2KPt.png
Found HackRF board 0:
USB descriptor string: 0000000000000000457863c82f3f4b1f
Board ID Number: 2 (HackRF One)
Firmware Version: 2015.07.2
Part ID Number: 0xa000cb3c 0x005c433b
Serial Number: 0x00000000 0x00000000 0x457863c8 0x2f3f4b1f
------