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
  OpenWRT on the Rock64 CanadianBacon 5 986 03-31-2022, 01:29 PM
Last Post: CT456
  Rock64 bricked shawwwn 6 1,645 01-29-2022, 05:49 AM
Last Post: shawwwn
  Rock64 board not working, no HDMI no Ethernet. EDited 2 807 01-26-2022, 08:46 AM
Last Post: TRS-80
  Are you guys still using Ayufan's OMV on your Rock64? AkiraSensei 0 613 11-26-2021, 07:01 PM
Last Post: AkiraSensei
  Rock64 kernel panics clay 15 4,308 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Pine Rock64 eMMC lifespan moonspell79 3 1,760 08-19-2021, 06:46 PM
Last Post: bcnaz
  Rock64 No Audio - Solved wbecks 12 21,838 08-13-2021, 01:23 PM
Last Post: blakeadam
  Trustzone support for Rock64 capablegh 1 1,253 07-17-2021, 10:15 AM
Last Post: capablegh
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 37 47,203 07-02-2021, 03:20 PM
Last Post: klausfelix
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 865 07-02-2021, 03:13 PM
Last Post: klausfelix

Forum Jump:


Users browsing this thread: 1 Guest(s)