martinayotte

Developers
  • Content Count

    2119
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Everything posted by martinayotte

  1. martinayotte

    UART with NanoPi M4

    You must have wired it incorrectly by swapping TX/RX ... Even if you have done something wrong in DTB, you should see the u-boot logs followed by kernel logs with "console=serial" in /boot/armbianEnv.txt There is Mainline nightly build here : https://dl.armbian.com/nanopim4/Debian_stretch_dev_nightly.7z
  2. martinayotte

    UART with NanoPi M4

    Well, as said before, use the USB-TTL Serial, when reaching the login prompt, log into it, then do "dmesg" to see complete boot log. Of course you can try the latest mainline, which is the one I use on my T4, but maybe something else will be missing, depending of your needs...
  3. Edit the following file : /etc/default/armbian-zram-config
  4. martinayotte

    OPi Zero - add DS18B20 temp sensor at RPi-Monitor

    Is the DS18B20 driver working fine from command line using "cat /sys/bus/w1/devices/28-000004fe1847/w1_slave" ? In the link you've provided, it is mention that you only have to add a reg_expr, but there is also a note :
  5. martinayotte

    UART with NanoPi M4

    So, it reach login prompt, you've logged in an still don't see the /dev/spidev0.0 ? What shows up doing "grep SPIDEV /boot/config-*" ? It should show : CONFIG_SPI_SPIDEV=m Which kernel are you using ?
  6. martinayotte

    UART with NanoPi M4

    I'm talking about the Serial Debug port, a 4 pins header on the board, it is attached to UART2DBG_RX and UART2DBG_TX of the SoC, it should the serial@ff1a0000, put it back to "okay" ... Then, attach the USB-TTL on this 4 pins header, and watch the boot log and try to find an error related to the fact that boot is hanging. I don't care about this yellow led for now, it is not related to the issue ...
  7. martinayotte

    UART with NanoPi M4

    I'm not sure to understand your question ... Do you have this USB-TTL Serial attached to Serial Debug port of your M4 ? Do you run on your PC "putty" or "picocom" ? What are you seeing while it is booting ? To make sure you see complete logs, make sure to have "verbosity=7" and "console=serial" in /boot/armbianEnv.txt ! There should be an error somewhere if it doesn't reach login prompt ...
  8. martinayotte

    UART with NanoPi M4

    Do you have a USB-TTL Serial dongle to check logs during boot ? Where does it failed ?
  9. martinayotte

    UART with NanoPi M4

    It is not for NanoPi-M4, as I mentioned I've use NanoPC-T4 ... EDIT : I've just double checked on my T4 : SPI1 is really on spi@ff1d0000 ... So, why your M4 doesn't boot after such changes ? Maybe you did some typo errors ?
  10. martinayotte

    UART with NanoPi M4

    Did you tried all other SPIs, spi@ff1e0000, spi@ff1f0000 and spi@ff200000 ?
  11. That is pretty normal if you didn't switch the branch here : https://github.com/armbian/build/blob/master/config/sources/odroidc1.conf#L22
  12. martinayotte

    Clearfogpro : lost PCIe sata card after update

    Those steps are not logical since the second "dd" will overwrite the first one ...
  13. martinayotte

    Enable spi/i2s on Orange pi one plus

    I got the things working ! Although I didn't tested it with real SPI device, I've at least tested it with loopback wire between MISO/MOSI and executed spidev_test ... https://github.com/armbian/build/commit/34205e60b3efa0ef3acc293ed9e02b801f8a52c1
  14. martinayotte

    Enable spi/i2s on Orange pi one plus

    You are right ! Although the overlay have been committed, it never been tested, and Yes, there are stuff missing in Main DT to make it work ... EDIT : Looking at this task, it looks more difficult to achieve, the H6 SPI are not at the same pins than H5, I will try to figure out ... EDIT2 : Also, not the same IRQ and DMA ... Hope it will work ...
  15. martinayotte

    Enable spi/i2s on Orange pi one plus

    Don't grep with "spi", since overlay is rejected, none of the spi code will be executed. So, look at the whole "dmesg" line by line. I'm pretty sure you will see some errors looking like "pinctrl : invalid pin handle" or "pinctrl : pin already used by ..."
  16. martinayotte

    X2Go Login Auth Failure

    This tutorial could help : https://wiki.archlinux.org/index.php/WPA_supplicant On my side, I'm an oldtimer guy, so I'm still using old way to setup WiFi directly in /etc/network/interface ...
  17. martinayotte

    X2Go Login Auth Failure

    Are you doing that with "sudo" ? If "nmtui" isn't working for unknown reason, you can also try to use "wpa_cli" ...
  18. martinayotte

    Enable spi/i2s on Orange pi one plus

    This means the overlay been rejected, probably because of unavailable resource or bad node definition. "dmesg" may provide hints about this rejection ...
  19. martinayotte

    X2Go Login Auth Failure

    Workaround is to use "nmtui", it doesn't required any GUI, it is command line ...
  20. What "blkid" is reporting if you boot a normal image ... Another workaround is to have direct device naming in /etc/fstab such as (assuming that pendrive is /dev/sda1) : /dev/sda1 / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro,x-gvfs-hide 0 1
  21. martinayotte

    system in French

    Edit the file /etc/default/locale .
  22. Make sure you have "console=serial" in /boot/armbianEnv.txt, then watch the boot log with USB-TTL Serial dongle which will be more verbose. You will probably see that it try to mount the rootfs from the wrong partition, if so, adjust /etc/fstab accordingly to what pendrive is reported in "blkid".
  23. Make sure that you have "console=serial" in /boot/armbianEnv.txt and use USB-TTL Serial dongle to watch the boot logs .