Months later I finally found out were the problems come from, and it was a mix of hardware and software.
The first thing is that my beloved SanDisk Extreme Pro A2 has failed on me, I finally did a check with the f3 software that confirmed the hardware failure. I replaced with an other one, did the usual :
I plug the serial adapter to my computer, and... random character appears on my terminal.
So the second thing was to learn how Debian handle serial tty. It appears that the USB adapter are ruled by the file /lib/systemd/system/serial-getty@.service that configure and open tty port.
I supposed that the terminal set by this file was not the good for the rockpro. And indeed, I replaced the line :
By
And save the file to /etc/systemd/system/serial-getty@.service .
I did the mandatory systemd daemon-reload and then systemctl enable --now serial-getty@ttyUSB0.service
I plugged back the USB adapter and it works !
I finally installed u-boot from a serial console to my rockpro.
Thanks for the suggestions
The first thing is that my beloved SanDisk Extreme Pro A2 has failed on me, I finally did a check with the f3 software that confirmed the hardware failure. I replaced with an other one, did the usual :
Code:
dd if=whatever.img of=/dev/mmcblk0
I plug the serial adapter to my computer, and... random character appears on my terminal.
So the second thing was to learn how Debian handle serial tty. It appears that the USB adapter are ruled by the file /lib/systemd/system/serial-getty@.service that configure and open tty port.
I supposed that the terminal set by this file was not the good for the rockpro. And indeed, I replaced the line :
Code:
ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,57600,38400,9600 %I $TERM
By
Code:
ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,57600,38400,9600 %I linux
And save the file to /etc/systemd/system/serial-getty@.service .
I did the mandatory systemd daemon-reload and then systemctl enable --now serial-getty@ttyUSB0.service
I plugged back the USB adapter and it works !
I finally installed u-boot from a serial console to my rockpro.
Thanks for the suggestions