Jump to content

sgjava

Members
  • Posts

    411
  • Joined

  • Last visited

Everything posted by sgjava

  1. I've built https://github.com/auto3000/RPi.GPIO_NP for the Duo running Armbian Ubuntu test image: cd /sys/class/gpio for i in gpiochip* ; do echo `cat $i/label`: `cat $i/base` ; done 1c20800.pinctrl: 0 1f02c00.pinctrl: 352 Has anyone actually got RPi.GPIO working on Duo? I'm trying to get luma.oled cranking and have SPI working fine, but need GPIO working as well.
  2. I did a apt-get upgrade with the current Ubuntu/Debian images and the wifi sharts on the 512MB Duo. Didn't see anything in syslog to indicate an issue. A temp fix is to freeze the kernel updates in armbian-config.
  3. OK, I tried to modify sun8i-h2-plus-nanopi-duo.dtb by changing usb@01c19000 status = "okay" and adding dr_mode = "host". lsusb still doesn't list any devices plugged into USB port after reboot.
  4. Is there a way to set the OTG port on the Duo to host mode when not using it for power? This way a mini shield is not required for simple projects that power off the bus, but want to utilize the OTG port. It looks like it is possible, see my comments in thread below:
  5. Yea, FriendlyElec is on vacation until Oct 8th (I received an auto-reply from their sales email). It would be nice if their image supported host mode out of the box like most other SBCs. Once nice thing I was able to do is configure Duo's wifi on the SD card instead of having a serial cable and just ssh in. This worked on the NEO Plus2 as well.
  6. I tried it on a new Duo (I have 2 unopened). Here's what I get plugging it into my Linux x86 desktop without SD: lsusb Bus 006 Device 002: ID 1f3a:efe8 Onda (unverified) V972 tablet in flashing mode sunxi-fel ver AWUSBFEX soc=00001680(H3) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000 sunxi-fel sid This sid command was missing from sunxi-fel on Ubuntu 16.04 x86_64 repo. I'll try that later on my NEO Plus2. Is there a better ROM than the official distro? Usage: sunxi-fel [options] command arguments... [command...] -v, --verbose Verbose logging spl file Load and execute U-Boot SPL If file additionally contains a main U-Boot binary (u-boot-sunxi-with-spl.bin), this command also transfers that to memory (default address from image), but won't execute it. uboot file-with-spl like "spl", but actually starts U-Boot U-Boot execution will take place when the fel utility exits. This allows combining "uboot" with further "write" commands (to transfer other files needed for the boot). hex[dump] address length Dumps memory region in hex dump address length Binary memory dump exe[cute] address Call function address read address length file Write memory contents into file write address file Store file contents into memory ver[sion] Show BROM version clear address length Clear memory fill address length value Fill memory
  7. "VDD_5V: 5V power input/output. When the external device’s voltage is greater than the MicroUSB's voltage the external device is powering the board" Maybe I read this the wrong way, but since it claims to be an OTG port this is how it works with all the other SBCs I've used. If you power from the bus it frees up the OTG port for USB peripherals. If this isn't the case then it looks like you have to have the mini shield which shouldn't be required for running a simple setup like I have (maybe a USB drive or camera).
  8. Howdy folks, I bought 3 NanoPi Duos without the mini shield. I was able to power it off the bus, but I expected the OTG port to work in host mode when it's not the power source (as it says on the Friendly Arm wiki). I used the official Ubuntu image and lsusb shows no devices plugged in directly or through a powered hub. I contacted Friendly Arm and they still haven't replied. Any help is much appreciated.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines