Rock64 <--> Rock64 Serial Connection
#1
I'm trying to troubleshoot a booting problem with my Rock64 with an openSUSE Tumbleweed install on an eMMC. When I cat /sys/firmware/fdt while using my USB UART the output is garbled. I have a second Rock64 that I'd like to use instead of my USB UART. When I hookup the tx > rx and rx > tx , both Rock64 lockup. So, is there a way to use the 2nd Rock64 in this manner? Or, is there a way to get ungarbled output with my USB UART (My USB UART, which I've had for more than 3 years has a CH340G IC on it, and I'm using 11" factory made Dupont wires).

Here's a sample of the garbled output
Code:
sh-5.1# cat /sys/firmware/fdt
�����8�t(Q�<�5d11a380e54bb488kchpine64,rock64rockch+7Pine64 Rock64memory�memoryaliases=/serial@ff110000E/serial@ff120000U/i2c@ff150000Z/i2c@ff160000_/i2c@ff170000i/ethernet@ff540000s/ethernet@ff550000}/mmc@ff500000cpus+cpu@0�cpuarm,cortex-����x�psci�
        cpu@1�cpuarm,cortex-a����x�psci��
cpu@2�cpuarm,cortex-a5����x�psci��
cpu@3�cpuarm,cortex-a5�����x�psci��
idle-statespscicpu-sleeparm,idle-state*;Rxc�l2-cache0cacheopp_table0operating-points-v2�opp-4�Q��~���@�opp-60000000�#opp-81600000�0�,�B@��@opp-1008000000�����@opp-120000000�G����(pp-129600000�M?d�� ��@analog-soundo-card�i2s��Analogokaysimple-audio-card,codearm-pmuarm,corefg'
display-subsystem:jhdmi-soundsimple-audio-card�iokayksimple-audio-card,cpusimplepsciarm,psci-1.0arm�smctimerarm,armv8-timer
xin24mfixed-clock@mDi2s@ff000000(rockchip,rk3328-i2srockchip,rk3066-i2s�)7pi2s_clki2s_hclk|okayi2s@ff010000(rockchip,rk3328-i2si2s��8pi2s_clki2s_hclk|�txrx�okayi2s@ff020000(ip,rk3066-i2s���+9i2s_hclk|Minicom2.7.1Minicom2.7.1Minicom2.7.1Minicom2.7.1Minicom2.7.1Minicom2.7.1m2.7.1Minicom2.7.1Minicom2.7.1Minicom2.7.1Minicom2.7.1�txrxlspdif@ff030000rockchip,rk3328-spdif���.:


Thanks for any assistance.

Mark
  Reply
#2
Quote:I'm trying to troubleshoot a booting problem with my Rock64 with an openSUSE Tumbleweed install on an eMMC.

If an SD card is an option, this might be easier.

Quote:When I cat /sys/firmware/fdt while using my USB UART the output is garbled.

I'm not sure cat handles unknown bytes correctly, or it's incorrectly trying to escape data. Also I am not sure how cat will handle pauses in transmission (blocking vs non-blocking, 7-bit ASCII vs 8-bit ASCII vs UTF-8, etc). Checkout socat and the options it offers: https://stackoverflow.com/questions/2637...connection

Quote:When I hookup the tx > rx and rx > tx , both Rock64 lockup. So, is there a way to use the 2nd Rock64 in this manner?

Lock-up is likely quite bad. Check they have a common ground. Even if they have a common power source, by the time it has been through a USB cable and power modulator they may drift.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 1 113 03-18-2024, 06:56 AM
Last Post: diederik
  Rock64 bricked shawwwn 7 5,449 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 3,863 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 255 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 1,770 04-29-2023, 04:24 AM
Last Post: newestssd
  OpenWRT on the Rock64 CanadianBacon 12 7,790 04-24-2023, 12:40 PM
Last Post: arunkhan
  Rock64 board not working, no HDMI no Ethernet. EDited 3 3,396 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 1,974 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 703 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 906 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 1 Guest(s)