richardk

  • Content Count

    61
  • Joined

  • Last visited

Reputation Activity

  1. Like
    richardk got a reaction from XFer012 in u-boot question: boot 2nd partition?   
    SUCCESS.   I've got it booting the second partition.  
     
    Lessons:
     
    armbianEnv.txt really wants UUID=.  If you make a new partition, make sure to match UUIDs.
     
    Edit boot.cmd; find:
       echo "Boot script loaded from ${devtype} ${devnum}"
     
    Before that line, add:
       setenv partnum "2"
       setenv devnum "${devnum}:${partnum}"
     
    That's how it's working.
     
    I thought I could adjust so that it took partnum=2 from armbianEnv.txt (and move the new setenv devnum down after armbianEbv.tct is loaded).  I don't know why that didn't work; I might have messed something else up.
     
    Anyway, I'm good to go.
     
  2. Like
    richardk got a reaction from Gediz in u-boot question: boot 2nd partition?   
    Okay, make sure to set BOOT flag on the second partition.
     
    Adding setenv rootdev "/dev/mmcblk0p2" to armbianEnv.txt to the second partition's /boot/armbianEnv.txt doesn't work.
     
    Moving on...
     
  3. Like
    richardk got a reaction from guidol in Rock64 LED control   
    Furthermore... these i2cset commands work:
     
    i2cset -f -y 1 0x18 0x52 3 # turn off both LEDs
    i2cset -f -y 1 0x18 0x52 2 # turn off white, turn on red
    i2cset -f -y 1 0x18 0x52 1 # turn off red, turn on white
    i2cset -f -y 1 0x18 0x52 0 # turn on both red and white
     
  4. Like
    richardk got a reaction from Igor in armbian-config went missing   
    Well, duh.   Thanks.
     
  5. Like
    richardk got a reaction from guidol in Armbian support for BeagleBone Black   
    Beaglebone Black (et al) are already in pretty good hands, as beagleboard.org (seems like a project of Texas Instruments employees) does well supporting their own stuff.  If you want up-to-the-minute modern kernels, best by far is Robert C Nelson's work: https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone .  (I support a commercial project with a Beaglebone Black inside, and I'm very pleased with the resources available.)
     
  6. Like
    richardk got a reaction from guidol in GPIO on a Neo   
    In Python:
      o = open("/sys/class/gpio/export", "w"); o.write("198");  o.close()
      o = open("/sys/class/gpio/gpio198/direction", "w"); o.write("out"); o.close()
      o = open("/sys/class/gpio/gpio198/value", "w"); o.write("1"); o.close()
     
  7. Like
    richardk got a reaction from fcc123 in [Solved] [Udoo Quad] Jessie to Stretch: not booting after upgrade   
    Just FYI, this is what I would use for UDOO Quad:   http://eewiki.net/display/linuxonarm/UDOO
     
    ...but, only if you're not afraid of command line and kernel building.  Robert C Nelson does good work keeping his kit current.
     
  8. Like
    richardk got a reaction from StuxNet in What are you using your Orange Pi Zero for?   
    For my daughter: Generating sounds in a "Ghostbusters" proton pack, two of them in fact.     A Python script reads /dev/ttyS2 to receive instructions from an Arduino connected to buttons/switches, and mixes/plays powerup, powerdown, idle,  and fire sound effects.