setup olimage via UART with rpi as serial term

Started by lobra2, January 09, 2025, 03:53:23 PM

Previous topic - Next topic

lobra2

Hullo!
I am a open-computing enthusiast representing myself and i do this stuff entirely out of personal interest and as part neither of some commercial nor non-profit type venture.

I have a A20-olinuxino-LIME2 rev.L board.
I bought it in the freedombox package which comes with a pre-built debian/freedombox on a sd-card, but am at the moment attempting to setup
debian/olimage myself on a high endurance SD-card, as per the instructions in the guide: https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf

For serial terminal emulation i use my pc which is a raspi 5 running debian/raspios, so i figured i wd use serial to serial instead of going via usb.
For this i use minicom.
This intermodule type communication is new to me so im going by what info i find and what basic copmmuting know-how i possess.
To setup the pi to communicate via serial0 i followed this tutorial: https://howtoraspberrypi.com/enable-port-serial-raspberry-pi/

However this to no effect, i boot the olinuxino w a olimage img clone on the sd and connected pin-to-pin with the pi running minicom on the port in question but no transmission.
Luckily i thought, i also have a olimex USB-4SERIAL that i bought thinking it might be of using interfacing with some old hardware i have laying around;
i connect with this instead, via the assigned bus designation under /dev and so on,
to the same non-effect.

Again, this inter-module type interaction is new to me, so i am probably doing something backwards in some way that is easy to fix, but i have no idea how.
Please if someone might help me sort this out?

LubOlimex

RPi can act as USB-serial adapter. Maybe try another guide.

You can find the debug pins on the LIME2 at the debug header (there are just three pins RX, TX, GND). Make sure you connect RX to TX, TX to RX, and GND to GND.

When starting minicom make sure the port of the RPI gets opened and the baud is good enough (I usually use 115200).

Finally if you doubt your setup in general - maybe test with another debug medium first (USB cable or HDMI TV). As explained in the Olimage guide.
Technical support and documentation manager at Olimex

lobra2

thank you for the reply,
i decided i will dive into serial terminal stuff in a while,
and built armbian on the olinuxino instead with setup via ssh...

do i edit the op to say SOLVED?
As i have thus worked around my problem.

Also: just in general, big appreciation for the whole thing of producing open and affordable hardware.

LubOlimex

Glad you found a solution but you can also use Olimage via SSH, it is described in chapter 6.4 (page 18) of the Olimage guide:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf

If you have trouble it is good idea to look at our image, all hardware is well supported and all sources and changes available at our GitHub.
Technical support and documentation manager at Olimex

lobra2

Thank you! Since Armbian for the Lime2 is a community supported automated build i suppose it will not take very long before i setup Olimage from ssh instead!