Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

richardk

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    richardk got a reaction from Andre Baron in RK3328 - how to enable SPI   
    Just to summarize:
     
    1. Use dtc to de-compile the existing rockchip-spi-spidev.dtbo to .dts:
        dtc -I dtb -O dts /boot/dtb/rockchip/overlay/rockchip-spi-spidev.dtbo -o rockchip-spi-spidev.dts
    2. Edit the resulting rockchip-spi-spidev.dts and change instances of ff1c to ff19, and 3399 to 3328
    3. (optional?) remove references to spi1, spi2, spi3
    4. Compile rockchip-spi-spidev.dts back to dtbo
        dtc -I dts -O dtb rockchip-spi-spidev.dts -o /boot/dtb/rockchip/overlay/rockchip-spi-spidev.dtbo
    5. Extract rockchip-fixup.script from /boot/dtb/rockchip/overlay/rockchip-fixup.scr
        (just use a text editor, and delete everything before "# overlays fixup script")
    6. Edit rockchip-fixup.script and change instances of ff1c to ff19
    7. Recompose rockchip-fixup.scr
       mkimage -A arm -T script -C none -d rockchip-fixup.script /boot/dtb/rockchip/overlay/rockchip-fixup.scr
     
    Now, you can use armbian-config to add spidev, and reboot.
     
  2. 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.
     
  3. 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...
     
  4. 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
     
  5. Like
    richardk got a reaction from Igor in armbian-config went missing   
    Well, duh.   Thanks.
     
  6. 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.)
     
  7. 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()
     
  8. Like
    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.
     
  9. 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.
     

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.