Skip to content
Snippets Groups Projects
  1. Sep 28, 2015
  2. Jan 06, 2015
  3. Nov 14, 2013
  4. Oct 25, 2013
  5. May 20, 2013
    • Alessandro Rubini's avatar
    • Alessandro Rubini's avatar
      tools/wrpc-w1-read.c: read w1 eeprom from user space · ae81022b
      Alessandro Rubini authored
      This reads to stdout, in binary format. With "-v" it prints text and
      scans the bus too. The examples here below use the same card (and same
      data) as in commit "d44ace7e
      
       w1: complete eeprom low-level support".
      
         spusa.root# ./tools/wrpc-w1-read -b 2 0 5 | od -t u1 -Ax -w1
         000000  40
         000001  41
         000002  42
         000003 243
         000004 244
      
         spusa.root# ./tools/wrpc-w1-read -v -b 2 30 6
         ./ohwr/wrpc-sw/tools/wrpc-w1-read: found device 10dc:018d: 0000:02:00.0
         ./ohwr/wrpc-sw/tools/wrpc-w1-read: found device 10dc:018d: 0000:04:00.0
         device 0: 68000801dce56910
         device 1: 5b0000036c567628
         device 2: f70000001eda8242
         device 3: 5f00000040e50143
         Reading device on bus 2: offset 30 (0x1e), len 6
         offset   30 (0x01e):  11 (0x0b)
         offset   31 (0x01f):  22 (0x16)
         offset   32 (0x020):  33 (0x21)
         offset   33 (0x021):  44 (0x2c)
         offset   34 (0x022):  55 (0x37)
         offset   35 (0x023):  66 (0x42)
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      ae81022b
  6. Apr 09, 2013
  7. Apr 04, 2013
  8. Apr 03, 2013
  9. Mar 05, 2013
  10. Oct 05, 2012
    • Alessandro Rubini's avatar
      Remove all spaces at end-of-line · 1d24ecfb
      Alessandro Rubini authored
      If you find this patch with "git blame" please use "git blame -w"
      to have all white-space ignored while associating lines to commits.
      
      This commit has no practical effect but cleanup. I made it
      with sed like this:
      
        git grep -l '[ \t]$' | xargs sed -i 's/[ \t]*$//'
      
      However, I had to manually restore doc/wrpc_mon.png after the fact.
      Similarly, I restored the include/hw/*regs.h files, as they
      are (most likely) auto-generated.
      1d24ecfb
  11. Jun 28, 2012
  12. Jun 13, 2012
  13. Jan 18, 2012
  14. Nov 06, 2011
  15. Aug 22, 2011
  16. Apr 08, 2011