how to get complete boot log from BBAI-64

Hello everyone,

I’m booting BBAI-64 and logging the boot sequence using the following instructions in minicom:

sudo minicom -b 115200 -o -D /dev/ttyUSB0

and gives me the following boot message:

Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.9.1--v2021.09a (Terrific Lla')
Trying to boot from MMC1


U-Boot 2021.01-gea96725b (Feb 16 2023 - 17:13:47 +0000)

SoC:   J721E SR1.1 GP
Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
DRAM:  4 GiB
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
Net:   eth0: ethernet@46000000port@1
Press SPACE to abort autoboot in 2 seconds
board_name=[BBONEAI-64-B0-] ...
name_fdt=[k3-j721e-beagleboneai64.dtb] ...
i2c_write: error waiting for data ACK (status=0x116)
pca953x gpio@22: Error reading output register
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
232 bytes read in 21 ms (10.7 KiB/s)
1:      Linux microSD
Retrieving file: /Image

but after this boot it just goes so fast I can’t really capture the full boot messages, and this previous messages are overwritten by a boot message kind of grub.

I’m booting Automotive Grade Linux on BBAI-64 (which seems to be booting correctly I still need to validate this is correct). The content of my SDCard is a follows:

ulisesv@orion:/media/ulisesv/linux_workspace$ ls -la /media/ulisesv/boot/
total 319876
drwxrwxrwx  4 root root     65536 dic 31  1969 .
drwxr-x---+ 5 root root      4096 may  3 15:04 ..
drwxrwxrwx  3 root root     65536 jun 10  2024 EFI
drwxrwxrwx  2 root root     65536 abr 26 21:06 extlinux
-rwxrwxrwx  1 root root 160465408 jun 10  2024 Image
-rwxrwxrwx  1 root root 160465408 jun 10  2024 Image-initramfs-beaglebone-ai64.bin
-rwxrwxrwx  1 root root    268978 jun 10  2024 sysfw.itb
-rwxrwxrwx  1 root root    268978 jun 10  2024 sysfw-j721e-gp-evm.itb
-rwxrwxrwx  1 root root    278254 jun 10  2024 sysfw-j721e_sr1_1-hs-evm.itb
-rwxrwxrwx  1 root root    269718 jun 10  2024 sysfw-j721e_sr1_1-hs-fs-evm.itb
-rwxrwxrwx  1 root root    278254 jun 10  2024 sysfw-j721e_sr2-hs-evm.itb
-rwxrwxrwx  1 root root    269718 jun 10  2024 sysfw-j721e_sr2-hs-fs-evm.itb
-rwxrwxrwx  1 root root    294893 jun 10  2024 tiboot3.bin
-rwxrwxrwx  1 root root    294893 jun 10  2024 tiboot3-j721e-gp-evm.bin
-rwxrwxrwx  1 root root    295668 jun 10  2024 tiboot3-j721e_sr1_1-hs-evm.bin
-rwxrwxrwx  1 root root    295668 jun 10  2024 tiboot3-j721e_sr1_1-hs-fs-evm.bin
-rwxrwxrwx  1 root root    295668 jun 10  2024 tiboot3-j721e_sr2-hs-evm.bin
-rwxrwxrwx  1 root root    295668 jun 10  2024 tiboot3-j721e_sr2-hs-fs-evm.bin
-rwxrwxrwx  1 root root   1084515 jun 10  2024 tispl.bin
-rwxrwxrwx  1 root root   1290955 jun 10  2024 u-boot.img
ulisesv@orion:/media/ulisesv/linux_workspace$ ls -la /media/ulisesv/boot/EFI/
total 192
drwxrwxrwx 3 root root 65536 jun 10  2024 .
drwxrwxrwx 4 root root 65536 dic 31  1969 ..
drwxrwxrwx 2 root root 65536 jun 10  2024 BOOT
ulisesv@orion:/media/ulisesv/linux_workspace$ ls -la /media/ulisesv/boot/EFI/BOOT/
total 960
drwxrwxrwx 2 root root  65536 jun 10  2024 .
drwxrwxrwx 3 root root  65536 jun 10  2024 ..
-rwxrwxrwx 1 root root 741376 jun 10  2024 bootaa64.efi
-rwxrwxrwx 1 root root    198 jun 10  2024 grub.cfg
ulisesv@orion:/media/ulisesv/linux_workspace$ ls -la /media/ulisesv/boot/extlinux/
total 192
drwxrwxrwx 2 root root 65536 abr 26 21:06 .
drwxrwxrwx 4 root root 65536 dic 31  1969 ..
-rwxrwxrwx 1 root root   232 abr 27 19:56 extlinux.conf

the content of grub.cnf file is:

serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
default=boot
timeout=3
menuentry 'boot'{
linux /Image-initramfs-beaglebone-ai64.bin root=PARTUUID=dba7902b-02 rootwait rootfstype=ext4
}

the content of extlinux/extlinux.conf is:

label Linux microSD
    kernel /Image
    append console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait net.ifnames=0
    fdtdir /
    #initrd /Image-initramfs-beaglebone-ai64.bin

Is there any way to use minicom or any other software so that it does not overrides boot messages in terminal and I can log all boot messages…

Thanks

Ulises

minicom -C boot.log

1 Like

thanks it worked with your instruction!!

1 Like