Antony Abi Rached

Members
  • Content Count

    40
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Calendar

Everything posted by Antony Abi Rached

  1. Okay I will try that and get back to you. Thank you again for the help. Regards, Antony
  2. The thing is that I am not loading uart3. I just enable uart1 and uart2. I also tried without enabling any uart, I still have the issue. Do you think that uart3 is enabled somewhere else?
  3. I tried to use only spi-spidev but I got the same result. here is the output of dmesg | grep spi [ 2.488500] sun8i-h3-pinctrl 1c20800.pinctrl: pin PA15 already requested by 1c28c00.serial; cannot claim for 1c69000.spi [ 2.488518] sun8i-h3-pinctrl 1c20800.pinctrl: pin-15 (1c69000.spi) status -22 [ 2.488545] sun6i-spi 1c69000.spi: Error applying setting, reverse things back [ 2.488579] sun6i-spi: probe of 1c69000.spi failed with error -22 Thank you for the help. Regards, Antony
  4. Thank you @Igor for your reply. I would like to really thank you guys for the effort that you are doing with armbian. My intention is not to offend you on this forum. All what I tried to do is to mention the problem that I had and that way other users can see this issue and share their point of view. It's been a year already that I am using armbian and I am really enjoying it. A big respect for the work that you are doing. For the issue that I mentioned, I tried the last image of neo core of armbian website. The name of the image is Armbian_5.83_Nanopineo_Debian_stretch_next_4.19.38. If I try to activate the spi using armbian-config or by changing manually /boot/armbianEnv.txt file, the spi is not working. I cant find a file related to spi in /dev. Here is /boot/armbianEnv.txt file output : verbosity=1 logo=disabled console=serial disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=spi-add-cs1 spi-jedec-nor spi-spidev uart1 uart2 usbhost1 usbhost2 rootdev=UUID=7bd3acd9-0796-4ea2-bcc2-89cd47ce6426 rootfstype=ext4 param_spidev_spi_bus=1 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u Thank you in advance for the help. Regards, Antony
  5. Any news about this issue ? Thanks in advance. Regards, Antony
  6. Hello, I am using nanoPi Neo Core with mini shield nanoPi NEO CORE/CORE2. The OS that i am using is Armbian stretch downloaded from this link : https://www.armbian.com/nanopi-neo/ The armbian image that I am using is : Armbian_5.65_Nanopineo_Debian_stretch_next_4.14.78 If I try to enable SPI without doing update and upgrade, it works. If I do update and upgrade and then try to activate SPI, it is not working. I dont find the spi device in /dev. Any idea what could be the problem? P.S: Before last week, I didn't have this problem. So I think it is related to a recent update done on this image. Thanks in advance. Regards,
  7. Hello, I am using nanoPi Neo Core with mini shield nanoPi NEO CORE/CORE2. The OS that i am using is Armbian stretch downloaded from this link : https://www.armbian.com/nanopi-neo/ The armbian image that I am using is : Armbian_5.65_Nanopineo_Debian_stretch_next_4.14.78 What I am trying to do is enable hotspot. Based on what you said, if I am using a wifi USB adapter, the script will not work correctly? I am trying to setup the hotspot using armbian-config. I chose my default interface the eth interface. And I want to use the wifi usb adapter for hotspot. It should work? When I setup the hotspot using armbian, it takes more then 30 minutes for the script to finish. Is this normal? Thanks in advance.
  8. The error that I am getting in the end of the script that configure hotspot using armbian-config is the following :
  9. Hello, I am using nanoPi Neo Core with mini shield nanoPi NEO CORE/CORE2. The OS that i am using is Armbian stretch downloaded from this link : https://www.armbian.com/nanopi-neo/ The armbian image that I am using is : Armbian_5.65_Nanopineo_Debian_stretch_next_4.14.78 What I am trying to do is enable hotspot. I followed the following tutoriel that is already published on this forum : When I try to start the hotspot using armbian-config, network manager stop working. I tried to do a reboot but it didn't work. And network manager doesn't start again. the cause of this error is : NetworkManager[879]: Failed to read configuration P.S: I have an ethernet connection and I have a wifi adapter using a USB (https://www.friendlyarm.com/index.php?route=product/product&product_id=143). Any idea how to solve this problem? Thanks in advance. Regards, Antony
  10. Hello @martinayotte. I copied the /etc/fstab of the image that works in the /etc/fstab of the image that is not working. Then I changed the UUID of the corresponding disks (SSD and SD). It worked I can now use the new image of armbian and boot from SD and have the filesystem on rootfs. Thanks for the help again. Regards, Antony
  11. @martinayotte i just tested the hardware flow control with the newest armbian neo core image that i donwloaded today from the website. Both RTS and CTS worked with this image. So i have the following results with these two images: *Armbian_5.38_Nanopineo_Debian_stretch_next_4.14.14 : 1) hardware flow control doesn't work normally. 2) mount the file system on ssd disk and boot from sd card work normally. *Armbian_5.65_Nanopineo_Debian_stretch_next_4.14.14 : 1) hardware flow control work normally. 2) mount the file system on ssd disk and boot from sd card doesn't work normally. Hope I helped you with the tests that I did. Regards, Antony
  12. @martinayotte I forgot to mention this information. I am using the following nanopi neo core image : Armbian_5.38_Nanopineo_Debian_stretch_next_4.14.14 The reason why I am using this image is using the SSD disk for file system with the SD card for boot. We already discussed this issue with you : Regards, Antony
  13. @martinayotte thanks again for the help. Regards, Antony
  14. Thanks for your reply @martinayotte. I am not using a RS485 halfduplex operation. I have two devices that are communicating using serial port (UART) and I would like to use hardware flow control because it is recommended for the communication that I am doing. The RTS and CTS in my case will help the two devices know if they are ready to send/receive data. What I am finding strange is that when I activate RTS and CTS, the mode function of the CTS GPIO only switch to ALT5. The RTS GPIO stays as "OUTPUT mode". Shouldn't the RTS GPIO switch also to ALT5? Regards, Antony
  15. Hello again, I tested the hardware flow control after adding "param_uart1_rtscts=1" to /boot/armbianEnv.txt. The CTS of the nanopi worked normally. (The GPIO mode of the CTS switched to ALT5). The RTS didn't work. (The GPIO mode of the RTS didn't switch to ALT5). I did the serial communication test between the nanopi and a raspberrypi. Why do you thing the RTS is not working? Thanks in advance. Regards, Antony
  16. Hello guys, I am trying to use hardware flow control over the uart 1 of a nanopi neo core that I am using with a minishield. The GPIO pins of RX,TX,RTS and CTS of uart 1 based on this documentation (http://wiki.friendlyarm.com/wiki/index.php/Mini_Shield_for_NanoPi_NEO_Core/Core2) are G6,G7,G8 and G9. First of all I downloaded WiringNP in order to see the status of each GPIO. Before activating the rts cts on uart1, the figure "beforeActivatingRTSCTS" is the output of the command "gpio readall" . Then I added to the /boot/armbianEnv.txt the following overlay : param_uart1_rtscts=1 I rebooted the nanopi. After reboot, the figure "AfterActivatingRTSCTS" is the output of the command "gpio readall". As you can see, the GPIOG9 switched to ALT5 but GPIOG8 stayed the same. I am supposing that the ALT5 is the Alternate function for RTS CTS. Is that right? Why the GPIOG8 didn't change to ALT5 after activating the RTS CTS ? Is there something that I am doing wrong to activate these pins? Do I need to instruct the serial port driver to use the hardware flow control signals? Thanks in advance. Regards, Antony
  17. Hello again, I did the test again. I executed nand-sata-install script using armian-config. At the end, I didn't rebbot. I mounted the SSD disk manually. I modified /mnt/nand-sata-install.g3nZk2/etc/fstab and removed the line corresponding to the EMMC storage. I checked that /boot/armbianEnv.txt is pointing to the SSD disk. I rebooted and got the following serial debug logs. I got the same problem. P.S: I checked /etc/fstab before rebooting. I figured out that the EMMC storage is only mounted in /etc/fstab. I am really out of ideas regarding this problem. Hope what I explained and the logs help you figure out the problem. Regards, Antony SerialDebug.txt
  18. @martinayotte I forget to remove it from fstab when I did the test again. I will do it now and get back to you. Thank you really for the help. Antony
  19. @martinayotte I retried the test with the most recent image of nanopi neo core. Here is the full serial debug logs. Like you said, I guess that I didn't send the full logs previously. As you see from the logs, there is emergency mode. I tried to press Ctrl D like they said but it didnt worked. What do think about that? Regards, Antony SerialDebug.txt
  20. @martinayotte I tried to use an old image of nanopi neo core. I downloaded it around 5 months ago and the name of the image is Armbian_5.38_Nanopineo_Debian_stretch_next_4.14.14.img. When I try to use the nand-sata-install script with this machine, it works normally. I boot from SD card and my file system is on the SSD disk. Regards, Antony
  21. @martinayotte I made sure that my serial connection is done correctly with the nanopi and redo the reboot. I got this : U-Boot 2018.05-armbian (Sep 12 2018 - 10:40:28 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO DRAM: 512 MiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** Failed (-5) In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 230454 bytes read in 34 ms (6.5 MiB/s) Unknown command 'bmp' - try 'help' starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 scanning bus 0 for devices... EHCI timed out on TD - token=0xd8d80 Regards, Antony
  22. @martinayotte you can find attached the serial debug when rebooting. Thanks for the help. Regards, Antony SerialDebug.txt
  23. Content of /boot/armbianEnv.txt : verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=usbhost1 usbhost2 rootdev=UUID=4c5efd27-eb4c-4bf4-b605-6bb7fa395ac9 usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u rootfstype=ext4 So normally rootdev points to the SSD disk. The format rootdev=UUID=... is correct? Regards, Antony
  24. You can find also the output of "sudo lsblk -o name,mountpoint,size,type,ro,label,uuid" command : NAME MOUNTPOINT SIZE TYPE RO LABEL UUID sda 55.9G disk 0 └─sda1 /mnt/nand-sata-install.eGPTd1 55.9G part 0 4c5efd27-eb4c-4bf4-b605-6bb7fa395ac9 mmcblk0 7.4G disk 0 └─mmcblk0p1 / 7.3G part 0 1e83c9ce-2656-44f4-880c-b36e49cdde63 mmcblk1 7.3G disk 0 ├─mmcblk1p1 40M part 0 boot 2979-8F05 └─mmcblk1p2 7.2G part 0 rootfs ff313567-e9f1-5a5d-9895-3ba130b4a864 mmcblk1boot0 4M disk 1 mmcblk1boot1 4M disk 1 zram0 /var/log 50M disk 0 zram1 [SWAP] 61.7M disk 0 zram2 [SWAP] 61.7M disk 0 zram3 [SWAP] 61.7M disk 0 zram4 [SWAP] 61.7M disk 0 Regards, Antony