stikonas has quit [Read error: Connection reset by peer]
Hypfer has quit [Ping timeout: 265 seconds]
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
naoki has joined #linux-rockchip
cbeznea has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
Hypfer has joined #linux-rockchip
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
raster has joined #linux-rockchip
franoosh has joined #linux-rockchip
krei-se has quit [Ping timeout: 260 seconds]
walter has joined #linux-rockchip
walter has quit [Changing host]
walter has joined #linux-rockchip
ldevulder has joined #linux-rockchip
franoosh has quit [Ping timeout: 250 seconds]
raster has quit [Quit: Gettin' stinky!]
franoosh has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
<dsimic>
qschulz: very nice! :) I was already aware of the CH348 IC, but I haven't looked up the multiport adapters based on it
<dsimic>
when it comes to WaveShare's USB UART adapters, just make sure that the available voltage levels are actually applied to the bridge chip itself, i.e. to the TX and RX lines, because some WaveShare adapters that I checked in detail applied the adjustable voltages to the separate Vcc pin only, while the bridge IC and the TX/RX lines were kept at 5 V
<dsimic>
on top of that, many (if not all?) Rockchip SoCs should actually use voltages lower than 3.3 V on their UARTs... 3.3 V is, basically, stretching it into the maximum allowed voltages, which may beb accounted for the random UART failures in the field
<dsimic>
Ermine: ^^^
<dsimic>
s/may beb/may be/
<qschulz>
dsimic: source?
<qschulz>
The datasheet specifies max supported voltage for the 3.3V power rails is 3.63V
<qschulz>
(for RK3588)
<dsimic>
let me look it up...
<qschulz>
an issue could be that the UART you want to access belongs to a power domain which can change its voltage to 1.8V (for other SoCs which need io-domains driver)
<dsimic>
I'm currently importing more CH348 datasheets into my local archive :D
<qschulz>
but then feeding it 3.3V is bad because you're outside specs and may damage the SoC as stated by Rockchip
<CounterPillow>
qschulz: I've been using my self-designed CH348 based boards for a while now, they work well, but mainline driver still hasn't been merged iirc. I did manage to somehow damage one UART port on mine though, not sure how.
<Ermine>
i have ch340 adapter
<qschulz>
CounterPillow: mmm sad to hear it's not supported mainline yet :/
raster has joined #linux-rockchip
<Dex2x>
I like the one I got that does multiple voltages
<Dex2x>
Was a DSD Tech SH-U09C5 I got , can do 2.5, 3.3, 5, 1.8volt
psydroid2 has joined #linux-rockchip
<walter>
Wait, that's why I sometimes get jibberish on the Radxa Rock 4B+ UART? It only has 5V and 3.3V, but it works, most of the time. Good to know. Thanks!
<dsimic>
qschulz: sorry, I got distracted with various unrelated datasheets... :/
<dsimic>
hmm, I'm having troubles finding where exactly I found that in Rockchip datasheets
<mmind00>
qschulz: that waveshare thing really looks neat
<Ermine>
oh nice, ezpz patch
<Ermine>
the same typo is present in downstream kernel
dsimic has quit [Ping timeout: 248 seconds]
dsimic has joined #linux-rockchip
<Ermine>
... in 6.1
<Dex2x>
also need to set the correct Baud rate
naoki has quit [Quit: naoki]
franoosh has quit [Ping timeout: 250 seconds]
franoosh has joined #linux-rockchip
<Kwiboo>
qschulz: I got a few CH348Q-EVT-R0 boards that I am using for my new lab, they where smaller and cheaper than the waveshare 8ch ttl I was originally planing on getting, I think the waveshare one use the CH348L variant to support rts/cts for all 8 channels
raster has quit [Quit: Gettin' stinky!]
<Kwiboo>
they work pretty well, I had to use a CH34xSerCfg tool to write a custom serial number into eeprom, to make it easier to identify correct tty dev when I have two ch348q boards connected to single host using downstream linux kernel driver
<CounterPillow>
I've been using the by-path thing in /dev to differentiate between several identical USB-UART adapters, since I tend to leave them plugged into the same USB ports
Net147 has quit [Read error: Connection reset by peer]
raster has joined #linux-rockchip
Net147_ has quit [Client Quit]
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
Net147 has joined #linux-rockchip
Net147 has quit [Client Quit]
Net147 has joined #linux-rockchip
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
<Kwiboo>
CounterPillow: possible my issue is related to use of downstream kernel driver, I did not manage to easily identify what ch348 board+channel a tty is related to for my labgrid env, will double check by-path once more, and I should probably try the mainline driver at some point :-)
<CounterPillow>
I do recommend trying it as I've found it works for my purposes, also feel free to drop by #ch348 (though it's not very active)
<Kwiboo>
with a serial number I could easily get labgrid to use correct tty more dynamically, I am still moving things around so exact usb ports are not yet fully stable :-D
<CounterPillow>
I have yet to set up a lab at home, I keep putting it off :(
<CounterPillow>
Maybe when I have a week off in November
raster has quit [Quit: Gettin' stinky!]
<Kwiboo>
hehe, I have also put it off for far too long, so I started looking into how I could get something not too pricy working some weeks ago, settled on using ch348q boards for serial console, using poe or usb port for power and ramboot from usb/network, seem to be working good enough so far
<CounterPillow>
so are your boards completely blank, and you ramboot a u-boot binary that then network boots a kernel?
<Kwiboo>
yes that is my plan, would like to get some sdmux or similar at one point for a few boards, not fully sure of the direction of this project yet, I was mostly tired of having to swap out sd-cards and what boards is hooked up to my main host
<Kwiboo>
I also got some hdmi switches for the project, should hopefully ease up testing boot up and media playback with libreelec :-)
<mmind00>
That was the same reason for my farm back in 2016 :-) ... not having the mess on my desk
<mmind00>
though I stopped at tftp-booting the kernel + nfsroot ... with u-boot staying on the board
<mmind00>
and all the serial stuff happening in a web-brower
<mmind00>
now that we have that hdmi-rx driver for the rk3588 (a Rock 5 ITX is my main controller) ... I should try to find time to add my planned hdmi-to-webbrowser function :-D
stikonas has joined #linux-rockchip
<Ermine>
is that driver to make board serve as a hdmi sink?
<CounterPillow>
yes, RK3588 has HDMI receiver hardware, the mainline driver exposes it as a v4l2 device
<Ermine>
oh cool. add a tv tuner and you can have a smart tv
cbeznea has quit [Ping timeout: 252 seconds]
tlwoerner has quit [Ping timeout: 248 seconds]
tlwoerner has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]