The activation of the UART ports of the beaglebone AI

Hello, can you help me with the activation of the UART ports of beaglebone? AI modified the uEnv.txt file so that they start but it blocked the beagle and I have to load debian again.

Please share the output of:

sudo beagle-version

and what modification you made to /boot/uEnv.txt

Regards,

the document is like that


First you’ll need to update u-boot:

sudo apt update ; sudo apt install bb-u-boot-am57xx-evm
sudo /opt/u-boot/bb-u-boot-am57xx-evm/install-mmcblk1.sh

Second, drop “/lib/firmware/” that’s the wrong path…

These are all wrong…

BB-UART1-00A0.dtbo -> BONE-UART1.dtbo
BB-UART2-00A0.dtbo -> BONE-UART2.dtbo
BB-UART4-00A0.dtbo -> BONE-UART4.dtbo
BB-UART5-00A0.dtbo -> BONE-UART5.dtbo
BB-UART3-00A0.dtbo -> BONE-UART3.dtbo

PRU! don’t load AM335X on AM57xx, that’ll break boot…

lpj=1990656

Again, wrong device, that’s for am335x, not am57xx…

Regards,

1 Like

Excuse me, can you tell me what the address would be since in “/lib/firmware/” it seems to me the following:


but I can’t find the address of the files that you indicate

No, do not hardcode /lib/firmware/ or any other path, as u-boot knows exactly where to find the “kernel” specific overlays, under the /boot/dtbs/ folder…

tree /boot/dtbs/`uname -r`/overlays/

Regards,

make all the changes the beagle no longer blocks but it only starts two UARTs and activates all is it normal?
thanks and sorry for asking so much.

Can you log the serial boot log?

So we can see what u-boot is doing…

Regards,

All of them were already enabled. I needed to put in the uEnv.txt document “enable_uboot_cape_universal=1”


Another question, do the pins come pre-configured as follows?

Correct, they do…

Thank you very much for the help