Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Announcements: #armbian-announcements | Developer talk: #armbian-devel | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
zeemate has joined #armbian
zeemate_ has joined #armbian
zeemate has quit [Ping timeout: 252 seconds]
archetech has joined #armbian
Perflosopher0 has quit [Quit: Ping timeout (120 seconds)]
Perflosopher0 has joined #armbian
zeemate_ has quit [Ping timeout: 252 seconds]
nga23 has joined #armbian
nga23 has quit [Quit: WeeChat 4.5.1]
nga23 has joined #armbian
califax has quit [Remote host closed the connection]
califax has joined #armbian
archetech has quit [Quit: Leaving]
<DC-IRC>
[Discord] <Werner> What do you mean by workable serial port? It has a debug serial via uart
<DC-IRC>
[Discord] <gambl0r> Hammdist: check the user manual, it gives clear instructions on how to use serial via UART
<Hammdist>
iirc all you get when connecting to the serial port is garbled data bytes from the orange pi 5 specifically. its serial port support is borked. I believe I've tried it myself in the past (a while ago though so ...) are you sure you can confirm it's working?
<DC-IRC>
[Discord] <Werner> Yes. Opi5 debug serial console works just fine. 1500000 baud, everything else default. When you get garbage this often comes from faulty adapters or wrong baud rate
<DC-IRC>
[Discord] <Werner> make sure your adapter can handle this speed. It might not complain when setting but don't work properly either.
<Hammdist>
ok I will check the adapter datasheet
<DC-IRC>
[Discord] <Werner> I think cp2104 or ft232 can do these speeds. cp2102 for example is only good enough for allwinner or amlogic since they are only at 115200 baud.
<Hammdist>
btw symptom I was experiencing with the "garbled" serial port is that data sent to the opi was getting there fine but data received from the opi was garbled. I concluded it can't be the baud rate setting due to this asymmmetry. does anything explain it?
<Hammdist>
fe since I had the opi boot into a shell I was able to send "dmesg" and get back a garbled blob clearly in response to having sent a command that produces output
<DC-IRC>
[Discord] <Werner> That's odd. Have you tried a different adapter?
nga539 has joined #armbian
nga23 has quit [Ping timeout: 252 seconds]
<DC-IRC>
[Discord] <rpardini> Indeed, I've nothign this bot shows "one of the commits" (random?) in the PR instead of the PR title itself.
<DC-IRC>
[Discord] <rpardini> Indeed, I've noticed this bot shows "one of the commits" (random?) in the PR instead of the PR title itself.
<DC-IRC>
[Discord] <johnthecoolingfan> I think it shows the last commit
<DC-IRC>
[Discord] <Werner> `git show -s --format=%s`
<Hammdist>
10c4:ea60 Silicon Labs CP210x UART Bridge <-- is this capable or incapable of talking to an orange pi 5? it comes with a 3ft +ish signals cable that seems like it might be too long to me for high speeds
zeemate_ has joined #armbian
wootehfoot has joined #armbian
zeemate_ has quit [Ping timeout: 248 seconds]
<DC-IRC>
[Discord] <menu> Hammdist: CP2102/9 (only one i can find a datasheet for) specifies `max baud: 921600`, so it's probably the UART adapter not keeping up
<DC-IRC>
[Discord] <menu> do you know if the baud rate can be dropped (relatively easily)?
<DC-IRC>
[Discord] <Werner> I don't think so. Otherwise my guess is this would have been unified across all socs long time ago
<DC-IRC>
[Discord] <menu> i know towboot intentionally unifies baud rate, i *think* it's possible with uboot as well, although once kernel handover happens it will change
<DC-IRC>
[Discord] <menu> - adding `GRUB_SERIAL_COMMAND="serial --speed=57600"` to `/etc/default/grub` and rebuilding grub works, but i don't know how to do that on a system that isn't booting
<DC-IRC>
[Discord] <Werner> Hm maybe the baud rate is part of the kernel command line? Need to check the boot script. Other possible scenario is that the rate is set in uboot config and then hardcoded into the binary
<DC-IRC>
[Discord] <menu> my understanding is that it's baked-in to uboot, but the kernel command should be easily mutable; `armbianEnv.txt` *might* be able to set the baud rate?
<DC-IRC>
[Discord] <Werner> No, that variable isn't read from the script what it seems. This is from an sunxi devices: `if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,115200 console=tty1"; fi`
buzzmarshall has joined #armbian
smcavoy has joined #armbian
TheCoffeMaker has joined #armbian
<Hammdist>
I will ask in the u-boot channel whether it is possible to specify the baud rate for uart
<Hammdist>
I think I may be able to compile u-boot and just cut and paste it onto the sd card
<Hammdist>
btw does u-boot init the graphics on orange pi 5?
<Hammdist>
I see nothing on the screen. does this mean it did not even get to loading u-boot?
<DC-IRC>
[Discord] <Werner> Most boards lacking HDMI support at uboot stage. So not seeing anything is common
<DC-IRC>
[Discord] <menu> Hammdist: is the heartbeat LED working?
<Hammdist>
no heartbeat
<Hammdist>
does that come from u-boot or linux already?
<DC-IRC>
[Discord] <Werner> Linux. Therefore it's a good indicator that the kernel was loaded
<DC-IRC>
[Discord] <Werner> Cannot tell if it dropped to initramfs though
<Hammdist>
or wasn't loaded, in my case. ok. well at any rate I am compiling u-boot with a custom baud rate
coldfeet has joined #armbian
wootehfoot has quit [Ping timeout: 244 seconds]
wootehfoot has joined #armbian
coldfeet has quit [Quit: Lost terminal]
zeemate_ has joined #armbian
wootehfoot has quit [Ping timeout: 272 seconds]
wootehfoot has joined #armbian
wootehfoot has quit [Quit: Leaving]
Perflosopher0 has quit [Ping timeout: 252 seconds]
Perflosopher0 has joined #armbian
Perflosopher03 has joined #armbian
Perflosopher0 has quit [Ping timeout: 252 seconds]