ELF@@@8@&#@@@@@@@@@\M\MPPAPA8S8SA8SA@@ Ptd(J(J@(J@ttQtd/lib/ld-linux-aarch64.so.1GNU      @  @ @ @2 @ @Q @ @>0 @@ @~P @` @_p @ @ @ @  @K @9 @w @ @X @# @0 @@ @P @f` @Cp @ @libc.so.6exitsrandfopenperror__isoc99_scanfsignalputstimeputcharabortgetpidstrtolmemset__errno_locationmemcmp__isoc99_fscanffcloseoptargioctlgetopt_longusleepgettimeofdaymemmove__libc_start_mainwritesnprintf__gmon_start__GLIBC_2.17UAUA8UA@UAHUAPUAXUA`UAhUApUA xUA UA UA UA UAUAUAUAUAUAUAUAUAUAUAUAUAVAVAVAVA VA{h{_{B    հB ְB ְB" ְBB ְBb ְB ְB ְB ְB ְB ְB" ְBB ְBb ְB ְB ְB ְB ְB ְB" ְBB ְBb ְB ְB ְB ְB ְC ְC" ְ CB ְCb ְC sck7*#@[S+UR7*c1,T QqiT@!P!X`xbA! րk@9k9 R9B@BR*k@9B?q@T  ;R@c@9qT@8qT$4qc#Tc@9c5{q#T7@҃BR7@k@9 :?qiT7@!Q!@ !8@k@9qT j9B@BRnk@9qT Z9B@BR^R @So9qT R9B@BRNk@9qIT Vvk@9B?q@T `L @;R3c@9qT@8qTc4qc@Tc@9c5{q TBR"@q AT3@DBR3k@9K:`8?qT3@3@!Q !8@B@9#@92#95#@92#91#@92#9-#@92#9)!B7@k@9!@"Rb9a qT`B@BR7@k@9aHqT B@#@92#9B@BRK!3?@qk@9'TR3qT3@43@Ra cD_kTk@9!R9qT#@9`2#9k@9!R9q)TB@BRC9 R9B@BRk@9<S3y_qT9{q!Tk@9qT@R9{qTk@9qT*cg1ATa @!l@9?q(Ta"l@9_qT!`R0@l9a5!R0`@@9!a4@9`$5`h@9?qT@`Xu@AR*T#7j@9qTu"!`*!T1 "T!`*!M1!TB@9j@9|F9?qTba`*!B@>1Tba`*!B@61T`h@9qTwR`*)1T`*"1* T7j@9qT"@9 j@9qTB@9F@9j@9qT@}R">@R@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default /dev/spidev0.0) -s --speed max speed (Hz) -g --length transaction length in bytes. Multiple lengths can be comma separated. -z --debug enable debug mode. Specifying more than once to increase the verboisty. -p --pattern choose pattern type. Available patterns are: 0: sequential bytes 1: even bytes 2: odd bytes 3: reverse sequential bytes 4: random bytes with crc -F prefix Dump rx/tx buffer as raw to file. With no prefix specified, current pid will be used -f --file Pattern file. User defined pattern. Not allowed with -p option. Pattern file must be in space seperated bytes in hex without "0x" prefix. Sample data: 01 AA 23 5F 3C 12 -d --delay delay (usec). For SPI master this will be the minimum delay the driver waits before initiating each transfer. For slave this indicates the max delay that the slave waits before it times out. -E --expect Expected transaction length in bytes. To test variable length data transfer feature. Without this option, spidev_test will assume it as normal transfer and will validate the actual transferred length with requested transaction length. Value should be less than or equal to the transaction length. -b --bpw bits per word -H --cpha clock phase -O --cpol clock polarity -L --lsb least significant bit first -C --cs-high chip select active high -n --nruns Number of times to repeat the test. -1 is infinite. -u --udelay delay b/w initiating each transfer (usec). Multiple delays can be comma separated -r --receive only receive data -t --transmit only transmit data -v --minsize variable length packet start -V --maxsize variable length packet end -W --waitb4 wait for a keystroke before the first transfer -w --stoperr stop on all errors -P --packet packet mode Examples: To transfer 100 messages of 30 bytes each with random bytes, spidev_test -D/dev/spidev0.0 -s18000000 -n100 -g30 -p4 To transfer 100 messages of sizes 8 and 3986 with delay of 2ms and 8ms respectively, spidev_test -D/dev/spidev0.0 -s18000000 -n100 -g8,3968 -u2000,8000 To transfer all bytes from user defined pattern file, spidev_test -D/dev/spidev0.0 -s18000000 -f/path/to/patternfile To test variable length feature, spidev_test -D/dev/spidev0.0 -s18000000 -g 30 -E 20 Return codes: 0 successfull transfer. This would mean that what was transferred was actually received. Note that a success would make sense only when the spi is run in a loopback type configuration, i.e., a miso-mosi loopback or a master-slave loopback 1 Invalid argument 5 I/O error 6 Data mismatch error. The transfer happened but there is mismatch in tx and rx pattern. Again this makes sense only for loopback as explained above 22 Invalid argument%s [%u] %04X: %.2X mismatch index %d ^^^ using sequential pattern ....Using even no. pattern ....Using odd no. pattern ....Using reverse sequential pattern ....Using rand() buffer Using user defined pattern from %s file .... r%s: Failed to open %s file: %d %2xNot enough data in file, Repeating file data to fill the buffer....Using crc check receive bytestransfer bytesreceive packet bytestransfer packet bytesloop count = %d %s packet size should be from %d to %d %d%s-rx.bin%s-tx.binrx/tx buffer saved in %s and %s respectively can't create rx/tx filerx data file write errortx data file write errortransfer ioctl error: %d transfer ioctl error: mismatched in xfer lenExpected transfer len: %d, actual transfer len: %d %s: Return actual transfer length: %d %s: Error bad length, > MAX_PACKET, skipping %d bad length packet (partial)%s: more data required length:%d size:%d %s: received packet size:%d len:%d stat:%d Transfer error - stop on error is set====== Transfer stats ====Transmit: total: %luB (%luKiB %luMiB) total: %luP ioerr: %luB (%luKiB %luMiB) ioerr: %luP Rate: wire total: %dB/s (%dKB/s) total: %dB/s (%dKB/s) wire total: %dP/s total: %dP/s Receive: total: %luB (%luKiB %luMiB) total: %luP good: %luB (%luKiB %luMiB) good: %luP ioerr: %luP dataerr: %luP Rate: good: %dB/s (%dKB/s) good: %dP/s packet drop: %d/%d Total time: %d.%06ds Received SIGINT, abortingD:s:g:E:d:b:p:f:zHOLCNRn:u:rtSv:V:PWwhF:Expected length: %u Transaction length overflow, resetting to %d Testing in variable length, sizes:%d-%d Transaction lens: Packet size: %s not supported %d Dump prefix %s Message delay set to :%dus Transaction delays: Runs: %d Disabling transmitDisabling receiveRunning slave modeRunning in packet modeCan't use -f and -p options togetherTransaction length not specifiedPacket mode is only supported for bpw: 8, 16 and 32.using device: %s can't open devicesetting spi mode for read,writecan't set spi modecan't get spi modesetting spi bpwcan't set bits per wordcan't get bits per wordsetting max speed for rd/wrcan't set max speed hzcan't get max speed hzspi mode: %d bits per word: %d bytes per word: %d max speed: %d Hz (%d KHz) no. runs: %d Can't use -E option for more than one transferCan't use -E option with packet modeExpected length must be less than or equal to requested lengthUsing seed:0x%x Press any key to start transfer%*cExpected transfer len: %d, Actual transfer len: %d %s: TEST FAILED !!!!! (status:%d) %s: TEST PASSED devicespeeddebugpatternfiledelaybpwexpectcphacpollsbcs-highno-csreadynrunsudelayslaveminsizemaxsizepacketwaitb4stoperrdump/dev/spidev0.0;t h8H pXlpzR| x(4BBLTFDDdB@F DJ BBBBB L BBBDB 4xB@B H~ BBBBB $HB DT BBB 4 0B0D n BB P DJ  BB <DB`J  BBBBBB tl B B B FL BBBBBB B BB <BJ v BBBB X BBBB <<B DJ BB D\D BpB HL BBBBBBB @@`I@DhI@sH@gpI@zxI@pI@fI@dI@bI@EI@HI@OI@LI@CI@NI@RI@nI@uI@SI@vI@VI@PJ@WJ@wJ@F x @ 0@PAPA@@@@   UA@x@0 oX@oo@8SA @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ʫJ@GCC: (GNU) 4.8.5,~h0@|zpDrWint~yax 0@G[>Hh0@|6~A?@h0@x@@L@QiR4 0@ R Q P 0@W int  y41Z0@&& ,A, .6% $ > $ > 4: ; I?&I% $ > : ; I.?: ; '@B: ; I4: ; I U4: ; I  B 1 $ >   I&I.?: ; '@BI!'I4: ; I?<.?: ; '<2 init.c  @7 /home/savl/aarch64/toolchain-build/install/lib/gcc/aarch64-unknown-linux-gnu/4.8.5/includeelf-init.cstddef.h h0@W x0@' 0@p 0@ 0@( 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ | <h0@xB@B D N^BBB 0@long unsigned int/home/savl/aarch64/toolchain-build/glibc-2.17/csushort unsigned intshort int_IO_stdin_usedunsigned charlong intsizetypeGNU C 4.8.5 -g -O2 -std=gnu99 -fgnu89-inline -fmerge-all-constants -frounding-mathenvpargc__libc_csu_initelf-init.c__init_array_startsize__init_array_end__libc_csu_finisize_tGNU C 4.8.5 -g -O2 -std=gnu99 -fgnu89-inline -fmerge-all-constants -frounding-math -fPICargv?P?pgpxP?Q?lflxQ?R?lelxR@D0Ddc(8<@d.symtab.strtab.shstrtab.interp.note.ABI-tag.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.text.fini.rodata.eh_frame_hdr.eh_frame.init_array.fini_array.jcr.data.rel.ro.dynamic.got.got.plt.data.bss.comment.debug_aranges.debug_info.debug_abbrev.debug_line.debug_frame.debug_str.debug_loc.debug_ranges@#@ 1@@@7 @?@Go@@ToX@X cx@x0m@ wx @x r @ } @ T$0@00@00(J@(JtJ@JPAPPAPPAPPAP 8SA8SUAU UA U(VA(V؀A0P a>K'q3h@0hKV)@idPP%k @@@@@@@X@x@ @ x @ @ @ 0@0@(J@J@PAPAPAPA8SAUA UA(VAA !"@@C @@ @@0@ @! @ x @ 0@. @ 0@ 8@ `@ p@T@1@ @1@ 1@ @PAPA @VAVAP@8VA@1@@AA@J@(PA 8@5 8@@ x@ @J @@ @@0VA @] @sA@PAPA @@ 0@@PAPA@A /@@AAA@TM@ h0@@@XM@XM@@PAPAPA08SA9PALUA @b 0@r @ @ @  (VAA @1@ -@A A@VAp+ @@ 0@F /@<UAa @t @ @ @0 @@ @P @` @p @ @& @?1@G(VAT @a @r @  @0VA @0@ @ @ @ @H h0@x, @?AD @KASA_ /@m @D r @ 8@( 0 @@ @ @A P @` @<p @P8VAV1@b x @h @z "@ /home/savl/aarch64/toolchain-build/build-glibc2/csu/abi-note.o$d/home/savl/aarch64/toolchain-build/build-glibc2/csu/start.o$xinit.c/home/snchen/sw/mobile/tools/linux/nvidia/aarch64-unknown-linux-gnu/gcc-4.8.5-glibc-2.17-static/bin/../aarch64-unknown-linux-gnu/sysroot/usr/lib/crti.ocall_weak_fn/home/snchen/sw/mobile/tools/linux/nvidia/aarch64-unknown-linux-gnu/gcc-4.8.5-glibc-2.17-static/bin/../aarch64-unknown-linux-gnu/sysroot/usr/lib/crtn.ospidev_test.cpabortprint_usage__func__.5378__func__.5442lopts.5479pdo_once.5355crtstuff.c__JCR_LIST__deregister_tm_clonesregister_tm_clones__do_global_dtors_auxcompleted.6672__do_global_dtors_aux_fini_array_entryframe_dummy__frame_dummy_init_array_entrycrc32.ccrc_tab32_init.2400crc_tab32elf-init.c__FRAME_END____JCR_END____init_array_end_DYNAMIC__init_array_start_GLOBAL_OFFSET_TABLE___libc_csu_finimemmove@@GLIBC_2.17exit@@GLIBC_2.17perror@@GLIBC_2.17_ITM_deregisterTMCloneTabledata_start__bss_start__debug_infopacket_szprint_stats_bss_end___edatastatsoptarg@@GLIBC_2.17snprintf@@GLIBC_2.17_finisigint_handler__bss_end__signal@@GLIBC_2.17fclose@@GLIBC_2.17getpid@@GLIBC_2.17fopen@@GLIBC_2.17time@@GLIBC_2.17open@@GLIBC_2.17__isoc99_fscanf@@GLIBC_2.17__libc_start_main@@GLIBC_2.17memset@@GLIBC_2.17print_datagettimeofday@@GLIBC_2.17max_seq__data_startfill_patternrand@@GLIBC_2.17close@@GLIBC_2.17__gmon_start__write@@GLIBC_2.17__dso_handleabort@@GLIBC_2.17_IO_stdin_usedputs@@GLIBC_2.17memcmp@@GLIBC_2.17getopt_long@@GLIBC_2.17generate_crc__libc_csu_initstrtol@@GLIBC_2.17_end_start__end____bss_startupdate_crc_32main__isoc99_scanf@@GLIBC_2.17toggle_log_level_Jv_RegisterClassessrand@@GLIBC_2.17usleep@@GLIBC_2.17verify_pattern__TMC_END___ITM_registerTMCloneTableprintf@@GLIBC_2.17__errno_location@@GLIBC_2.17putchar@@GLIBC_2.17MAGICsample_secs_initioctl@@GLIBC_2.17transfer