How to enable/use UART on RPi4

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

How to enable/use UART on RPi4

Postby schmi85 » Wed Oct 09, 2019 9:52 am

Hello Everybody,

I have successfully installed Arch on my new RPi4 and I would like to use UART, in parallel with the i2c bus, to finally use that board: BerryGPS-IMUv3, which uses UART for the GPS module. I have changes to following file like so:

/boot/config.txt

$this->bbcode_second_pass_code('', '
gpu_mem=64
initramfs initramfs-linux.img followkernel

device_tree_param=spi=on
dtparam=i2c_arm=on

enable_uart=1
')

/boot/cmdline.txt
$this->bbcode_second_pass_code('', '
root=/dev/mmcblk0p2 rw rootwait console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 elevator=noop
')

but
$this->bbcode_second_pass_code('', '
minicom -b 9660 -o -D /dev/ttyAMA0
')

shows nothing.

What am I missing here?
schmi85
 
Posts: 11
Joined: Wed Dec 19, 2018 12:21 pm

Re: How to enable/use UART on RPi4

Postby schmi85 » Mon Oct 14, 2019 8:17 am

So, as it turns out, it seams that … well … yes … :) … the description above seams to be pretty complete, at least for a PI4, since I just did not connect the board properly. As stated on the manufacturer page: $this->bbcode_second_pass_quote('', '[')…] This header needs to be soldered onto the back […]

After I soldered it worked…
schmi85
 
Posts: 11
Joined: Wed Dec 19, 2018 12:21 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests