martinayotte

  • Content Count

    3887
  • Joined

  • Last visited

Everything posted by martinayotte

  1. No needs to do any modprobe since it is the overlay that will load them ... You need to specify GPIO1_D4 with "param_w1_pin" in /boot/armbianEnv.txt
  2. Just to avoid issue, please, add a git tag on DEV 5.9.x before doing any change for 5.10.x, this way it will make things easier to switch CURRENT to 5.9.x ...
  3. I suggest to decompile both DTB into DTS and compare them with "meld" ... Overlays are added using this patch : https://github.com/armbian/build/blob/master/patch/kernel/sunxi-current/general-sunxi-overlays.patch But looking at patches, I saw this patch, so maybe related : https://github.com/armbian/build/blob/master/patch/kernel/sunxi-current/board-cubietruck-enable-uart2.patch
  4. Those settings should be in /boot/armbianEnv.txt using an Armbian image ...
  5. Personally, I would not drive a 4 digits 7 segments display directly from SBC GPIOs, I would rather use a small MCU like Atmel328 or STM32F103 which will do all the scanning easily and would attach it to SBC using I2C bus for example ...
  6. Is there someone who did some builds for Pinebook-A64 recently ? Last build I've done recently are not bringing X11 desktop, neither 5.9.1 or older 5.8.0, the last one that still work on my Pinebook is 5.7.6 ...
  7. This error is there because you tried to compile original DTS outside kernel tree. You should rather decompile existing/working DTB into temporary DTS, edit this one, and recompile it into new DTB.
  8. I not very familiar with libgpiod and how gpio names are coming from the kernel. It seems that all gpios are uname on both Allwinner and Rockchip SoC, but seems that some are present in AmLogic. But looking at some of my AmLogic boards, it seems pretty dependent of pin headers of the specific boards by using "gpio-line-names" property in "pinctrl" node in DT. This is why Allwinner and Rockchip don't have names, there is no "gpio-line-names" property present in the DT ... EDIT: BTW, my AmLogic boards are NanoPi-K2 and Odroid-N2 ...
  9. You can turn it off by setting "PermitRootLogin no" in /etc/ssh/sshd_config ...
  10. At the end of the builds, the image files are written into output/images directory ...
  11. You can try a workaround by doing "cp /usr/bin/python /usr/bin/python-sudo ; chmod a+s /usr/bin/python-sudo" so that execution will be done as root.
  12. In my case, I don't have any issue with a DS18B20 plugged on one of my OPiZero, except maybe that I'm using an external pullup ... root@orangepizero:~# cat /sys/bus/w1/devices/28-000003ebdd28/w1_slave b9 01 4b 46 7f ff 07 10 d1 : crc=d1 YES b9 01 4b 46 7f ff 07 10 d1 t=27562
  13. For video, I don't know ... But for serial, Yes ! Doing this command : grep "=8" /boot/config-*-sunxi will reveal : CONFIG_SERIAL_8250_NR_UARTS=8 CONFIG_SERIAL_8250_RUNTIME_UARTS=8
  14. While adding w1-gpio in /boot/armbianEnv.txt, you don't need to add it in /etc/modules-load.d/modules.conf ... But you need to add "param_w1_pin=PD10" in /boot/armbianEnv.txt as well, otherwise it is defaulted to PD14.
  15. Why ? I think there is no need to have a PA7 there, since it is not connected to any external regulator ...
  16. That is why you're getting "Device or resource busy" ... Are you sure we are talking about an Armbian build here ? Because "vcc-af-csi" means this pin is related to a CSI camera...
  17. That looks strange ... Can you try executing "cat /sys/kernel/debug/gpio" and report the output ? As I said, Allwiner H3 or H2+, the PA7 is GPIO7 not GPIO21 ...
  18. Did you tried with sysfs command ? (Maybe it is a bug of gpio tool)
  19. What kind of board are you using ? Your "gpio" tool seems to have been compiled for the wrong board, because PA7 should be named GPIO7 not GPIO21 ... Try using gpio sysfs : echo 7 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio7/direction echo 0 > /sys/class/gpio/gpio7/value
  20. Did you loaded the uart4 overlay in /boot/armbianEnv.txt ?
  21. What is the output provided by the command "cat /sys/kernel/debug/gpio" ?
  22. I2C standard clock are usually 100KHz or 400KHz, but you can try other values. Here is the doc, the parameter is "clock-frequency" : https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-designware.txt