lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
Werner__ has joined #armbian-rockchip
Werner has quit [Quit: ZNC - https://znc.in]
<Armbian-Discord> <h​jares> What are the correct serial port settings for orange pi 5?
<Armbian-Discord> <E​feCTN> Can you explain it a bit more
<Armbian-Discord> <T​enkawa> Its not as simple as others
<Armbian-Discord> <T​enkawa> the simple numbers answer is uart = serial.Serial("/dev/ttyUSB0", baudrate=9600, timeout=3000) the long answer is https://learn.adafruit.com/circuitpython-on-orangepi-linux/uart-serial
<Armbian-Discord> <h​jares> I am having problems booting armbian using MTD with a NVME drive. Someone told me to connect to serial port and boot without sd card to find out problems. I finally got the right cable, but see nothing in putty session connected to com port using 115200 with 8 bits 1 stop but and no flow control.
<Armbian-Discord> <E​feCTN> you need to use 1500000
<Armbian-Discord> <T​enkawa> if thats a rk3588 yep
<Armbian-Discord> <T​enkawa> they need to update their wiki
<Armbian-Discord> <T​enkawa> (adafruit does)
<Armbian-Discord> <E​feCTN> lol adafruit has docs for opi
<Armbian-Discord> <h​jares> Thanks. I am trying to run putty from windows laptop using dsd tech USB to serial cable. This assigns serial port with fixed possible speed settings. 1500000 is not a possible setting in device manager or putty. Any ideas?
<Armbian-Discord> <E​feCTN> use screen or minicom. which chip does your usb ttl converter have?
<Armbian-Discord> <E​feCTN> some chips are not compatible with 1500000. it's too unusual baud rate
<Armbian-Discord> <h​jares> CP2102N
<Armbian-Discord> <E​feCTN> looks like it supports
<Armbian-Discord> <h​jares> Both of those apps not available for Windows.
<Armbian-Discord> <h​jares> Going to try xctu
<Armbian-Discord> <E​feCTN> Use wsl or check opi5 manual
<Armbian-Discord> <E​feCTN> It has a section about uart
<Armbian-Discord> <h​jares> Ok thanks
<Armbian-Discord> <a​mazingfate> I use mobaxterm to debug rk3588 on windows
<Armbian-Discord> <h​jares> Xctu goes thru windows io later and expects speeds in power of 2 ... Typical 9600, etc.
<Armbian-Discord> <h​jares> Thinking about booting live fedora images to try using recommended utilities
<Armbian-Discord> <h​jares> Does armbian have Intel live image?
<Armbian-Discord> <I​gorPec> yes
<Armbian-Discord> <T​enkawa> Where's the adafruit OPI5 doc for connectivity then? Don't just say there is one and not post any information... that's useless
<Armbian-Discord> <s​tvhay> I'm nerfing the baudrate on my rk3588 stuff
<Armbian-Discord> <s​tvhay> 115200 is an option in the .dts
<Armbian-Discord> <s​tvhay> then repackage the bootloader using rkbin
<Armbian-Discord> <s​tvhay> I'm no product manager but I think that makes it easier for everyone
<lanefu> Unless you are experienced in rockchip devices since that's the norm for all rockchip SoCs and suddenly 115200 becomes irregular
<lanefu> Actually annoyed me that Asus did some 115200 stuff on Tinkerboard 2 because it made it yet another thing I had to remember when troubleshooting using their uboot
<lanefu> i certainly understand where you're coming from... but unless 115200 baud is introduced to all the armbian-rockchip devices as a default and documented, changing it only on rk3588 would just be introducing an isolated opinion and breaking continuity with armbian defaults and manufacturer defaults
<lanefu> but i should probably STFU now since you were really talking about changing your stuff and not OPI5 or something in the armbian build tree.. sorry :)
<Armbian-Discord> <h​jares> Booting fedora 37 live did allow me to use minicom and set speed to 1500000. Unfortunately my orange pi 5 still didn't display anything but garbled characters.
<lanefu> did you attach the ground to your uart and the SBC?
<Armbian-Discord> <s​tvhay> lanefu: i understand where you are coming from--I may change it back but at the end of the day I think the use case doesn't justify the high speed and high selectivity of serial uart that comes with it
<lanefu> yeah its a weird default.... someone at rockchip probably did it a long time ago to make it easier for them to push code durrring testing and it stuck
<lanefu> i mean if i weirdly needed to use SLURP or something for network it would be neat
<Armbian-Discord> <h​jares> Yes three connections. Gnd, tx and rx