Jump to content

Vitor Falcão

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @Igor I had tried what's on the docs before, but it didn't work =/ I am now playing with the DTS, basing myself on the orangepi DTS, but so far I haven't succeeded. About the OTG, I don't know if I am testing it correctly. What I do is the following: modprobe gadgetfs sudo mkdir /dev/gadget sudo mount -t gadgetfs gadgetfs /dev/gadget ls /dev/gadget But it fails on the third command (sudo mount...). It says: mount: unknown filesystem type 'gadgetfs'. Is this the right way to test it? lsmod shows that gadgetfs is loaded. Thank you.
  2. Hello guys, I've been trying for the past month to get USB OTG and I2C to work on a NanoPI NEO AIR running Armbian, without any success. For OTG what I've tried was adding the following to "sun8i-h3-nanopi-neo-air.dts": &usb_otg { dr_mode = "otg"; status = "okay"; }; I have also enabled OTG and I2C in the kernel config menu, but for I2C I couldn't find what to put inside the DTS file. Can someone give me pointers on how to solve this, please? Yes, I am a very inexperienced developer when it comes to embedded systems and have very poor understanding of how to properly configure a device tree source file. Any help would be deeply appreciated. Thank you.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines