BBAI-64 first boot with timeout then no message at all.

Hello everyone,

I created a sdcard from kingston 16GB
2 partitions
partition 1, bootable, VFAT W95 (type b) 128 MB (set on fdisk +128M)
partition 2, LInux Ext4 rest of sdcard

sudo mkfs.fat -F 32 /dev/sdb1

sudo mkfs.ext4 -L rootfs /dev/sdb2

then I wrote the contentents of boot partition (1) as:

total 40088
drwxr-xr-x  4 ulisesv ulisesv     4096 dic 31  1969 .
drwxr-x---+ 7 root    root        4096 jul 19 14:28 ..
drwxr-xr-x  3 ulisesv ulisesv     4096 jun 10 06:13 EFI
drwxr-xr-x  2 ulisesv ulisesv     4096 jul 19 13:59 extlinux
-rw-r--r--  1 ulisesv ulisesv 35226112 jul 19 13:55 Image
-rw-r--r--  1 ulisesv ulisesv   268978 jul 19 13:55 sysfw.itb
-rw-r--r--  1 ulisesv ulisesv   268978 jul 19 13:55 sysfw-j721e-gp-evm.itb
-rw-r--r--  1 ulisesv ulisesv   278254 jul 19 13:55 sysfw-j721e_sr1_1-hs-evm.itb
-rw-r--r--  1 ulisesv ulisesv   269718 jul 19 13:55 sysfw-j721e_sr1_1-hs-fs-evm.itb
-rw-r--r--  1 ulisesv ulisesv   278254 jul 19 13:55 sysfw-j721e_sr2-hs-evm.itb
-rw-r--r--  1 ulisesv ulisesv   269718 jul 19 13:55 sysfw-j721e_sr2-hs-fs-evm.itb
-rw-r--r--  1 ulisesv ulisesv   294893 jul 19 13:55 tiboot3.bin
-rw-r--r--  1 ulisesv ulisesv   294893 jul 19 13:55 tiboot3-j721e-gp-evm.bin
-rw-r--r--  1 ulisesv ulisesv   295668 jul 19 13:55 tiboot3-j721e_sr1_1-hs-evm.bin
-rw-r--r--  1 ulisesv ulisesv   295668 jul 19 13:55 tiboot3-j721e_sr1_1-hs-fs-evm.bin
-rw-r--r--  1 ulisesv ulisesv   295668 jul 19 13:55 tiboot3-j721e_sr2-hs-evm.bin
-rw-r--r--  1 ulisesv ulisesv   295668 jul 19 13:55 tiboot3-j721e_sr2-hs-fs-evm.bin
-rw-r--r--  1 ulisesv ulisesv  1084515 jul 19 13:55 tispl.bin
-rw-r--r--  1 ulisesv ulisesv  1290955 jul 19 13:55 u-boot.img

and the contents of rootfs partition(2)

ls -la rootfs_ext4_bbai64/ total 80 drwxr-xr-x. 17 root root 4096 jun 29 20:29 . drwxrwxr-x 4 ulisesv ulisesv 4096 jul 19 12:49 .. lrwxrwxrwx. 1 root root 7 jun 10 00:13 bin -> usr/bin drwxr-xr-x. 4 root root 4096 jun 10 00:13 boot drwxr-xr-x. 2 root root 4096 jun 10 00:13 dev drwxr-xr-x. 59 root root 4096 jun 10 00:13 etc drwxr-xr-x. 3 root root 4096 jun 10 00:13 home lrwxrwxrwx. 1 root root 7 jun 10 00:13 lib -> usr/lib drwx------ 2 root root 16384 jun 29 20:29 lost+found drwxr-xr-x. 2 root root 4096 jun 10 00:13 media drwxr-xr-x. 2 root root 4096 jun 10 00:13 mnt dr-xr-xr-x 2 root root 4096 jun 10 00:13 proc drwx------. 2 root root 4096 jun 10 00:13 root drwxr-xr-x. 2 root root 4096 jun 10 00:13 run lrwxrwxrwx. 1 root root 8 jun 10 00:13 sbin -> usr/sbin drwxr-xr-x. 2 root root 4096 jun 10 00:13 srv dr-xr-xr-x. 2 root root 4096 jun 10 00:13 sys drwxrwxrwt. 2 root root 4096 jun 10 00:13 tmp drwxr-xr-x. 10 root root 4096 jun 10 00:13 usr drwxr-xr-x. 9 root root 4096 jun 10 00:13 var

at the first instance I tried to boot I got the following error:

U-Boot SPL 2023.04-ti-gf9b966c67473 (Jun 10 2024 - 06:13:20 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
Timeout during frequency handshake
### ERROR ### Please RESET the board ###

U-Boot SPL 2023.04-ti-gf9b966c67473 (Jun 10 2024 - 06:13:20 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
Timeout during frequency handshake
### ERROR ### Please RESET the board ###

during the second trial of boot I get no message and nothing happens in the board only the power led is on I hold the boot button down and apply power and nothings happens.

after that I tried adding the extlinux/extlinux.conf

Additionally, during the first trial of boot serial port send messages orderly and were displayed properly after the second or third trial of booting the BBAI64 unorderly messages appear, and there are problems with the synch of messages in the display. After first trials of booting up from sdcard, I power off/on several times the board through the PWR button and disconnecting/connecting the power supply (which is the recommended Lenovo P51 power supply).

I used the following command to listen to serial port

sudo screen /dev/ttyUSB0 115200

My questions:
1.- Why it stop booting from the sdcard?
2.- Why in first trials of booting there was a timeout? How can I debug this?
3.- Why am I having unorderly messages in serial debug port?

Thanks

Ulises Vega

sorry for my mistake… partition (2) rootfs is

ls -la /media/ulisesv/rootfs1/
total 80
drwxr-xr-x  17 root root  4096 jul 19 13:55 .
drwxr-x---+  7 root root  4096 jul 19 14:28 ..
lrwxrwxrwx.  1 root root     7 jun 10 00:13 bin -> usr/bin
drwxr-xr-x.  4 root root  4096 jun 10 00:13 boot
drwxr-xr-x.  2 root root  4096 jun 10 00:13 dev
drwxr-xr-x. 59 root root  4096 jun 10 00:13 etc
drwxr-xr-x.  3 root root  4096 jun 10 00:13 home
lrwxrwxrwx.  1 root root     7 jun 10 00:13 lib -> usr/lib
drwx------   2 root root 16384 jun 29 20:29 lost+found
drwxr-xr-x.  2 root root  4096 jun 10 00:13 media
drwxr-xr-x.  2 root root  4096 jun 10 00:13 mnt
dr-xr-xr-x   2 root root  4096 jun 10 00:13 proc
drwx------.  2 root root  4096 jun 10 00:13 root
drwxr-xr-x.  2 root root  4096 jun 10 00:13 run
lrwxrwxrwx.  1 root root     8 jun 10 00:13 sbin -> usr/sbin
drwxr-xr-x.  2 root root  4096 jun 10 00:13 srv
dr-xr-xr-x.  2 root root  4096 jun 10 00:13 sys
drwxrwxrwt.  2 root root  4096 jun 10 00:13 tmp
drwxr-xr-x. 10 root root  4096 jun 10 00:13 usr
drwxr-xr-x.  9 root root  4096 jun 10 00:13 var

I’m trying to port Automotive Grade Linux to BBAI-64

For these files in the boot partition, where did you build them from? Or where they pre-built?

Regards,

Hello @RobertCNelson

I build them from the Automotive Grade Linux (AGL) yocto meta-ti bsp …

Thanks

Ulises

and the yocto build target was?

They do have a beaglebone-ai64 machine spec: beaglebone-ai64 « machine « templates - meta-agl - meta-agl layer (core AGL)

anyways, the u-boot build probaly has not been tested…

grab my boot firmware build: beagleboneai64 · main · BeagleBoard.org / boot-firmware · GitLab

and shove those into your fat partition, it should at-least get out of R5’s SPL…

Regards,

it was MACHINE=“beaglebone-ai64”

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# fragment { 
# /media/ulisesv/linux_workspace/AGL/ricefish/./meta-agl/templates/machine/beaglebone-ai64/50_local.conf.inc
#
MACHINE = "beaglebone-ai64"
#see meta-agl/meta-agl-bsp/conf/include/agl_beaglebone-ai64.inc
require conf/include/agl_beaglebone-ai64.inc

Okay, i’d swap out your u-boot build with what i posted and try booting again…

Regards,

Hello @RobertCNelson,

I was able to make it boot with the firmware you provided. I think I had two problems the partitions on sdcard were not properly done so I did them again using gparted, and second the frimware you pass me is the correct one.

I am able to boot now but it boot the code in eMMC not the code/image on my sdcard I play a little bit with my configurations and I found two main errors from the serial output log:

U-Boot 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                              
                                                                                                                                                                                                           
SoC:   J721E SR1.1 GP                                                                                                                                                                                      
Model: BeagleBoard.org BeagleBone AI-64                                                                                                                                                                    
DRAM:  2 GiB (effective 4 GiB)                                                                                                                                                                             
Core:  126 devices, 33 uclasses, devicetree: separate                                                                                                                                                      
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1                                                                                                                                                                      
Loading Environment from nowhere.eth0: ethernet@46000000port@1                                                                                                                                             
Press SPACE to abort autoboot in 2 seconds                                                                                                                                                                 
switch to partitions #0, OK                                                                                                                                                                                
mmc1 is current device                                                                                                                                                                                     
SD/MMC found on device 1                                                                                                                                                                                   
Failed to load 'uEnv.txt'                                                                                                                                                                                  
Scanning for bootflows in all bootdevs                                                                                                                                                                     
Seq  Method       State   Uclass    PRetrieving file: /initrd.img                                                                                                                                          
Skipping Linux microSD for failure retrieving initrd                                                                                                                                                       
Boot failed (err=-14)                                                                                                                                                                                      
Scanning bootdev 'mm  1  extlinux     ready   mmc          1  mmc@4f80000.bootdev.part_ /extlinux/extlinux.conf                                                                                            
** Booting bootflow 'mmc@4f80000.bRetrieving file: /initrd.img                                                                                                                                             
append: root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet                                                                                                                                
Retrieving file: /ti/k3-j721e-beagleboneai64.dtb                                                                                                                                                           
Skipping fdtdir / for failure retrieving   Loading Device Tree to 000000008f12d000, end 000000008f14ec7f ... OK                                                                                            
Working FDT set to 8f12d000                                                                                                                                                                                
                                                                                                                                                                                                           
Starting kernel ...                                                                                                                                                                                        

  1. I don’t have uEnv.txt
  2. my extlinux.conf is not correct. because I don’t use a initrd.img so it fails and uses the one from mmcblk0p2. for this option I used the one suggested in

BeagleBone AI-64: Distro Boot Overview

label Linux microSD
    kernel /Image
    append console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait net.ifnames=0
    fdtdir /
    initrd /initrd.img

I tried erasing the initrd line in the extlinux.conf this time it boots from the sdcard as mmcblk1p2 but it failed with a kernel panic which to me it means it was not able to find an init system.

U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Trying to boot from MMC2                                                                                                                                                                                   
Loading Environment from nowhere... OK                                                                                                                                                                     
alized                                                                                                                                                                                                     
I/TC: Activated SA2UL device                                                                                                                                                                               
I/TC: Fixing SA2UL firewall owner for GP device                                                                                                                                                            
I/TC: Enabled firewalls for SA2UL TRNG d                                                                                                                                                                   
U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Tryi                                                                                                                                                                                                       
                                                                                                                                                                                                           
U-Boot 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                              
                                                                                                                                                                                                           
SoC:   J721E SR1.1 GP                                                                                                                                                                                      
Model: BeagleBoard.org BeagleBone AI-64                                                                                                                                                                    
DRAM:  2 GiB (effective 4 GiB)                                                                                                                                                                             
Core:  126 devices, 33 uclasses, devicetree: separate                                                                                                                                                      
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1                                                                                                                                                                      
Loading Environment from nowhere.switch to partitions #0, OK                                                                                                                                               
mmc1 is current device                                                                                                                                                                                     
SD/MMC found on device 1                                                                                                                                                                                   
Failed to load 'uEnv.txt'                                                                                                                                                                                  
Scanning for bootflows in all bootdevs                                                                                                                                                                     
Seq  Method       State   Uclass    Part  Name              append: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait net.ifnames=0   Loading Dev]
[    0.000000] Linux version 6.1.69-ti (oe-user@oe-host) (aarch64-agl-linux-gcc (GCC) 13.2.0, G-memory@a1000000, compatible id shared-dma-pool                                                             
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000,at 0x00000000a2100000, size 15 MiB                                                                                           
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared, compatible id shared-dma-pool                                                                                 
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB                                                                                                                  
[  00000, size 1 MiB                                                                                                                                                                                       
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool                                                                                                   
[ id shared-dma-pool                                                                                                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB                                                                                                                 
[    0.000000] [    0.000000] Zone ranges:                                                                                                                                                                 
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]                                                                                                                                      
[    0.000000]   DMA32    e000a9ffffff]                                                                                                                                                                    
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x0000000 psci: Using standard PSCI v0.2 function IDs                                                                                                                      
[    0.000000] psci: Trusted OS migration not required                                                                                                                                                     
[    0.000000] psci: SMC atum 1742098                                                                                                                                                                      
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923                                                                                                                             
[    0.000000] alternatives: applode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)                                                                                                    
[    0.000000] mem auto-init: stack:all(zero), heap all[    0.00






[    0.879162]   5811] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)                                                                                                                
.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)                                                                                                                                                       
[    0.974647] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmce_id for ti,lp8764-q1                                                                                                            
[    1.019167] megasas: 07.719.03.00-rc1                                                                                                                                                                   
[    1.025593] igbvf: Intel(R) Gigabit Virtual Function Netwoace driver cp210x                                                                                                                             
[    1.066967] usbserial: USB Serial support registered for cp210x                                                                                                                                         
[    1.073922] i2c_dev: i2c /dev entries2732] optee: dynamic shared memory is enabled                                                                                                                      
[    1.162138] optee: initialized driver                                                                                                                                                                   
[    1.166494] usbcore: registered new04356] registered taskstats version 1                                                                                                                                
[    1.208557] Loading compiled-in X.509 certificates                                                                                                                                                      
[    1.213987] zswap: loaded usin!                                                                                                                                                                         
[    1.251933] ima: Allocated hash algorithm: sha256                                                                                                                                                       
[    1.256768] ima: No architecture policies found                                                                                                                                                         
[    1.261442] evm[    1.450815] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz                                                                                                                           
[    1.457097] omap_i2c 2000000.i2c: bus 4 rev0.12 at 400 kHz                                                                                                                                              
100 kHz                                                                                                                                                                                                    
[    1.499544] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created                                                                                                              
[    1.508107] ti-sci-ib800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235                                                                                                  
[    1.555003] k3-ringacc 2b800000.ringacc:6100, num_proxies:64                                                                                                                                            
[    1.596213] printk: console [ttyS2] disabled                                                                                                                                                            
[    1.600616] 2800000.serial: ttyS2 at MMIO 0x2800000 ([    1.674227] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000                                                             
[    1.682939] davinci_mdio 46000f00.mdam65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0                                                                              
[    1.728275] am65-cpts 310d0000.cpts:[    1.845472] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100                                                                                           
[    1.852355] omap-mailbox 31f81000.mailbox: omap m[    2.020847] mmc0: Command Queue Engine enabled                                                                                                      
[    2.025314] mmc0: new HS200 MMC card at address 0001                                                                                                                                                    
[    2.030740] mmcb 3.015424] pcieport 0000:00:00.0: AER: enabled with IRQ 491                                                                                                                             
[    3.022050] ti-udma 285c0000.dma-controller: Channels: 26 (tchad for cadence/mhdp8546.bin failed with error -2                                                                                          
[    3.146232] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000                                                                                                                     
[    3.154971] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00,TS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0                                                                              
[    3.200010] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48                                                                                                                                   
[[    3.259371] ti-sci-clk 44083000.system-controller:clock-controller: is_prepared failed for dev=152, clk=21, ret=-19                                                                                    
[    3.1: new high speed SDHC card at address 1234                                                                                                                                                         
[    3.316725] mmcblk1: mmc1:1234 SA16G 14.4 GiB                                                                                                                                                           
[    3.373673] Freeing unused kernel memory: 6272K                                                                                                                                                         
[    3.396124] Checked W+X mappings: passed, no W+X pages found                                                                                                                                            
[    3.401806] Run /sbin/init as init process                                                                                                                                                              
[    3.431353] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.                                                                                                                
[    3.450833] Starting init: /sbin/init exists but couldn't execute it (error -8)                                                                                                                         
[    3.458146] Run /etc/init as init process                                                                                                                                                               
[    3.469953] Run /bin/init as ini00,20028084,0000421b                                                                                                                                                    
[    3.553012] Memory Limit: none                                                                                                                                                                          
[    3.556057] ---[ end Kernel panic - not syncing: No working init fo                        

Any suggestion on what can I do next to boot the AGL image correctly?..

Thanks

Ulises Vega

So yes, you can just comment out the initrd, i did see your extlinux directory was created, did AGL pre-generate an extlinux.conf file?

So yocto doesn’t need the ‘ro’ that’s a debian/ubuntu thing…

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

Do you have the full log? We see your microSD, here: mmcblk1: mmc1:1234 SA16G 14.4 GiB but no partition table yet…

Regards,

Hello,

Yocto build from AGL does not autogenerate extlinux.conf I created manually. Additionally, Yocto AGL build does not generate a rootfs (ext4) system I added the options to the local.conf file so that it creates them. I think there are several issues in AGL build for beaglebone-ai64 we are just finding them :grinning:

Here is the full log with only extlinux.conf, and no uEnv.txt

U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Trying to boot from MMC2                                                                                                                                                                                   
Loading Environment from nowhere... OK                                                                                                                                                                     
Starting ATF on ARM64 core...                                                                                                                                                                              
                                                                                                                                                                                                           
NOTICE:  BL31: v2.11.0(release):0dc0fda                                                                                                                                                                    
NOTICE:  BL31: Built : 20:44:24, Jul  4 2024                                                                                                                                                               
I/TC:                                                                                                                                                                                                      
I/TC: OP-TEE version: 4.2.0 (gcc version 12.2.0 (Debian 12.2.0-14)) #1 Thu Jul  4 20:44:24 UTC 2024 aarch64                                                                                                
I/TC: WARNING: This OP-TEE czed                                                                                                                                                                            
I/TC: Activated SA2UL device                                                                                                                                                                               
I/TC: Fixing SA2UL firewall owner for GP device                                                                                                                                                            
I/TC: Enabled firewalls for SA2UL TRNG devi                                                                                                                                                                
U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Tryi2 GiB (effective 4 GiB)                                                                                                                                                                                
Core:  126 devices, 33 uclasses, devicetree: separate                                                                                                                                                      
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1                                                                                                                                                                      
Loading Environment from nowhere.eth0: ethernet@46000000port@1                                                                                                                                             
Press SPACE to abort autoboot in 2 seconds                                                                                                                                                                 
switch to partitions #0, OK                                                                                                                                                                                
mmc1 is current device                                                                                                                                                                                     
SD/MMC found on device 1                                                                                                                                                                                   
Failed to load 'uEnv.txt'                                                                                                                                                                                  
Scanning for bootflows in all bootdevs                                                                                                                                                                     
Seq  Method       State   Uclass    Part  Name              append: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait net.ifnames=0               
Retrievin   Loading Device Tree to 000000008ffde000, end 000000008ffffc7f ... OK                                                                                                                           
Working FDT set to 8ffde000                                                                                                                                                                                
                                                                                                                                                                                                           
Starting kernel ...                                                                                                                                                                                        
                                                                                                                                                                                                           
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]                                                                                                                                     
[    0.000000] Linux version 6.1.69-ti (oe-user@oe-host  0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB                                                              
[    0.000000] OF: reserved mem: initia: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool                                                                             
[    0.000000] Reserved memory: createeserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB                                                                                           
[    0.000000] OF: reserved mem: initialized node remory pool at 0x00000000a7100000, size 15 MiB                                                                                                           
[    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatiblry@a8100000, compatible id shared-dma-pool                                                                                 
[    0.000000] Zone ranges:                                                                                                                                                                                
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]                                                                                                                                      
[    0.000000]   DMA32    e000a9ffffff]                                                                                                                                                                    
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x0000000 psci: Using standard PSCI v0.2 function IDs                                                                                                                      
[    0.000000] psci: Trusted OS migration not required                                                                                                                                                     
[    0.000000] psci: SMC atum 1742098                                                                                                                                                                      
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923     
[    0.000000] alternatives: applode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)                                                                                                    
[    0.000000] mem auto-init: stack:all(zero), heap all[    0.000000] software IO TLB: mapped [mem 0x00000000f3000000-0x00000000f7000000] (64MB)                                                           
[    0.000000] Memory: 1778848K/4194304K available (18304K kernel code, 2912K rwdata, 6764K rodata, 6272K init, 1166K bss, 3831[    0.000000] ftrace: allocated 224 pages with 3 groups                    
[    0.000000] trace event string verifier disabled                                                                                                                                                        
[    0.000000] D value of scheduler-enlistment delay is 25 jiffies.                                                                                                                                        
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=gion 0:0x0000000001900000                                                                                                        
[    0.000000] ITS [mem 0x01820000-0x0182ffff]                                                                                                                                                             
[    0.000000] GIC: enabling workaround for ITS: Soceric: Setting adjustable number of callback queues.                                                                                                    
[    0.103837] cblist_init_generic: Setting shift to 1 and lim to 1.                                                                                                                                       
[   condary CPUs ...                                                                                                                                                                                       
I/TC: Secondary CPU 1 initializing                                                                                                                                                                         
I/TC: Secondary CPU 1 switching to normal world boot                                                                                                                                                       
[    0.155091] Dete[    0.241296] node 0 deferred pages initialised in 24ms                                                                                                                                
[    0.247264] devtmpfs: initialized                                                                                                                                                                       
[    0.259743] Registered cp15_barrier emulation hand: Registered PF_NETLINK/PF_ROUTE protocol family                                                                                                      
[    0.305995] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocatioered thermal governor 'fair_share'                                                                                            
[    0.343247] thermal_sys: Registered thermal governor 'bang_bang'                                                                                                                                        
[    0.349471] thermalform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000/ports/port@0/endpoint                                                                                 
[    0.410894] platform ces                                                                                                                                                                                
[    0.450686] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page                                                                                                                                     
[    0.457089] HugeTLB: registered 2.00 MiB page si  0.495417] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected                                                             
[    0.504905] iommu: Default domatered                                                                                                                                                                    
[    0.542181] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                                                                                                    
[    0.551520] source: Switched to clocksource arch_sys_counter                                                                                                                                            
[    0.591806] VFS: Disk quotas dquot_6.6.0                                                                                                                                                                
[    0.595846] VFS: Dquot-cache  2048 (order: 3, 32768 bytes, linear)                                                                                                                                      
tries: 2048 (order: 4, 65536 bytes, linear)ries: 65536 (order: 6, 262144 bytes, linear)                                                                                                                    
[    0.687683] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)                                                                                                                           
                                                                                                                                                                                                           
[    0.728541] PCI: CLS 0 bytes, default 64                                                                                                                                                                
[    0.737337] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counter[    0.795537] Initialise system trusted keyrings                                                                         
[    0.800314] workingset: timestamp_bits=46 max_order=20 bucket_order=0                                                                                                                                   
[    0.809579] zbud: loaded                                                                                                                                                                                
[    0.813588] NFS: R[    0.866758] NET: Registered PF_ALG protocol family                                                                                                                                 
[    0.871670] xor: measuring software checksum speed                                                                                                                                                      
[    0.877681]   4354] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)                                                                                                                
.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)                                                                                                                                                       
[    0.973114] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmce_id for ti,lp8764-q1                                                                                                            
[    1.017674] megasas: 07.719.03.00-rc1                                                                                                                                                                   
[    1.024101] igbvf: Intel(R) Gigabit Virtual Function Netwoace driver cp210x                                                                                                                             
[    1.065488] usbserial: USB Serial support registered for cp210x                                                                                                                                         
[    1.072484] i2c_dev: i2c /dev entriesSOC_ID not implemented, skipping ....                                                                                                                              
[    1.114544] hid: raw HID events driver (C) Jiri Kosina                                                                                                                                                  
[    1.119980] usbcore: regis1343] optee: dynamic shared memory is enabled                                                                                                                                 
[    1.160737] optee: initialized driver                                                                                                                                                                   
[    1.165085] usbcore: registered new02934] registered taskstats version 1                                                                                                                                
[    1.207131] Loading compiled-in X.509 certificates                           
[    1.212558] zswap: loaded usin!                                                                                                                                                                         
[    1.250517] ima: Allocated hash algorithm: sha256                                                                                                                                                       
[    1.255345] ima: No architecture policies found                                                                                                                                                         
[    1.260023] evm[    1.450035] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz                                                                                                                           
[    1.456306] omap_i2c 2000000.i2c: bus 4 rev0.12 at 400 kHz                                                                                                                                              
[   kHz                                                                                                                                                                                                    
[    1.498763] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created                                                                                                              
[    1.507336] ti-sci-intr00.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235                                                                                                    
[    1.554296] k3-ringacc 2b800000.ringacc: dma- num_proxies:64                                                                                                                                            
[    1.595510] printk: console [ttyS2] disabled                                                                                                                                                            
[    1.599913] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq =[    1.673280] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000                                                        
[    1.681992] davinci_mdio 46000f00.mdam65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0                                                                              
[    1.727322] am65-cpts 310d0000.cpts:[    1.837394] mmc0: CQHCI version 5.10                                                                                                                             
[    1.844481] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100                                                                                                                                  
[    1.851365] omap-mailbox 31f81000.mailbox: omap m000.pcie: host bridge /bus@100000/pcie@2910000 ranges:                                                                                                 
[    1.897481] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0[    2.019958] mmc0: Command Queue Engine enabled                                                                                   
[    2.024432] mmc0: new HS200 MMC card at address 0001                                                                                                                                                    
[    2.029867] mmcb[    2.926032] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00                                                                                                             
[    2.932729] pci_bus 0000:00: root bus resource  RW1C bits                                                                                                                                               
[    2.970238] pci 0000:00:00.0: supports D1                                                                                                                                                               
[    2.974237] pci 0000:00:00.0: PME# supported from D0 D1 D3hot                                                                                                                                           
[   3.014536] pcieport 0000:00:00.0: AER: enabled with IRQ 491                                                                                                                                             
[    3.021159] ti-udma 285c0000.dma-controller: Channels: 26 (tchad for cadence/mhdp8546.bin failed with error -2                                                                                          
[    3.145284] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000                                                                                                                     
[    3.154023] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver[    4.872137] VFS: Mounted root (ext4 filesystem) on device 179:770.                                                    
[    4.886966] devtmpfs: mounted                                                                                                                                                                           
[    4.895082] Freeing unused kernel memory: 6272K                                                                                                                                                         
[    4.963644] Not act0,20028084,0000421b                                                                                                                                                                  
[    5.085310] Memory Limit: none                                                                                                                                                                          
[    5.088355] ---[ end Kernel panic - not syncing: No working init fou    

I discover there is a autogenerated uEnv.txt (I renamed it in the sdcard from the original autogenerated)

-rw-r–r-- 2 ulisesv ulisesv 10715 jun 24 17:03 u-boot-ti-staging-initial-env-beaglebone-ai64-2023.04+git-r0

this is the contentof uEnv.txt:

addr_fit=0x90000000
arch=arm
args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 ${mtdparts}
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
args_ufs=setenv devtype scsi;setenv bootpart 1:1; run ufs_finduuid; setenv bootargs console = ${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${scsirootfstype}; setenv devtype scsi; setenv bootpart 1:1
baudrate=115200
board=j721e
board_name=j721e
boot=mmc
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr -q ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_efi_bootmgr=if fdt addr -q ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_fdt=try
boot_fit=0
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_rprocs=if test ${dorprocboot} -eq 1 && test ${boot} = mmc; then rproc init; run boot_rprocs_mmc; fi;
boot_rprocs_mmc=env set rproc_id; env set rproc_fw; env set secure_suffix; if test ${secure_rprocs} -eq 1; then env set secure_suffix -sec; fi; for i in ${rproc_fw_binaries} ; do if test -z "${rproc_id}" ; then env set rproc_id $i; else env set rproc_fw $i${secure_suffix}; run rproc_load_and_boot_one; env set rproc_id; env set rproc_fw; fi; done
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=ti_mmc mmc0 mmc1 usb0 pxe dhcp
bootcmd=run findfdt; run envboot; run distro_bootcmd
bootcmd_dhcp=devtype=dhcp; run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr -q ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
bootcmd_mmc0=devnum=0; run mmc_boot
bootcmd_mmc1=devnum=1; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_ti_mmc=run findfdt; run init_${boot}; if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1; then run main_cpsw0_qsgmii_phyinit; fi; run boot_rprocs; if test ${boot_fit} -eq 1; then run get_fit_${boot}; run get_fit_overlaystring; run run_fit; else; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern; fi;
bootcmd_usb0=devnum=0; run usb_boot
bootdelay=2
bootdir=/boot
bootenvfile=uEnv.txt
bootm_size=0x10000000
bootpart=1:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyS2,115200n8
cpu=armv8
default_device_tree=ti/k3-j721e-common-proc-board.dtb
dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1; rootfs part 0 1; tiboot3.bin.raw raw 0x0 0x400 mmcpart 1; tispl.bin.raw raw 0x400 0x1000 mmcpart 1; u-boot.img.raw raw 0x1400 0x2000 mmcpart 1; u-env.raw raw 0x3400 0x100 mmcpart 1; sysfw.itb.raw raw 0x3600 0x800 mmcpart 1
dfu_alt_info_mmc=boot part 1 1; rootfs part 1 2; tiboot3.bin fat 1 1; tispl.bin fat 1 1; u-boot.img fat 1 1; uEnv.txt fat 1 1; sysfw.itb fat 1 1
dfu_alt_info_nand=NAND.tiboot3 part 0 1; NAND.tispl part 0 2; NAND.tiboot3.backup part 0 3; NAND.u-boot part 0 4; NAND.u-boot-env part 0 5; NAND.u-boot-env.backup part 0 6; NAND.file-system part 0 7
dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000; tispl.bin raw 0x080000 0x200000; u-boot.img raw 0x280000 0x400000; u-boot-env raw 0x680000 0x020000; sysfw.itb raw 0x6c0000 0x100000; rootfs raw 0x800000 0x3800000
dfu_alt_info_ospi_nand=ospi_nand.tiboot3 part 1; ospi_nand.tispl part 2; ospi_nand.u-boot part 3; ospi_nand.env part 4; ospi_nand.env.backup part 5; ospi_nand.rootfs part 6; ospi_nand.phypattern part 7
dfu_alt_info_ram=tispl.bin ram 0x80080000 0x200000; u-boot.img ram 0x81000000 0x400000
distro_bootcmd=scsi_need_init=; for target in ${boot_targets}; do run bootcmd_${target}; done
dorprocboot=1
dtboaddr=0x89000000
efi_dtb_prefixes=/ /dtb/ /dtb/current/
envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev}; if run loadbootscript; then run bootscript; else if run loadbootenv; then echo Loaded env from ${bootenvfile}; run importbootenv; fi; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmd; fi; fi; fi;
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtoverlay_addr_r=0x89000000
findfdt=setenv name_fdt ${default_device_tree}; if test $board_name = j721e; then setenv name_fdt ti/k3-j721e-common-proc-board.dtb; fi; if test $board_name = BBONEAI-64-B0-; then setenv name_fdt ti/k3-j721e-beagleboneai64.dtb; fi; if test $board_name = j7200; then setenv name_fdt ti/k3-j7200-common-proc-board.dtb; fi; if test $board_name = j721e-eaik || test $board_name = j721e-sk; then setenv name_fdt ti/k3-j721e-sk.dtb; fi; setenv fdtfile ${name_fdt}
finduuid=part uuid ${boot} ${bootpart} uuid
get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/dtb/${name_fdt}
get_fdt_ufs=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
get_fit_overlaystring=for overlay in $name_overlays; do; setexpr name_fit_overlay gsub / _ conf-${overlay}; setenv overlaystring ${overlaystring}'#'${name_fit_overlay}; done;
get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
get_kern_ufs=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
get_overlay_mmc=fdt address ${fdtaddr}; fdt resize 0x100000; for overlay in $name_overlays; do; load mmc ${bootpart} ${dtboaddr} ${bootdir}/dtb/ti/${overlay} && fdt apply ${dtboaddr}; done;
get_overlay_ufs=fdt address ${fdtaddr}; fdt resize 0x100000; for overlay in $name_overlays; do; load scsi ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr}; done;
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
init_main_cpsw0_qsgmii_phy=gpio set gpio@22_17; gpio clear gpio@22_16
init_mmc=run args_all args_mmc
init_ufs=ufs init; scsi scan; run args_ufs
kernel_addr_r=0x82000000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
loadaddr=0x82000000

but it does not boot my sdcard image it boots eMMC image it says mmcdev=1, but apparently somehow it is booting from mmc

here is the logof sdcard with uEnv.txt and extlinux/extlinux.conf:

U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Trying to boot from MMC2                                                                                                                                                                                   
Loading Environment from nowhere... OK                                                                                                                                                                     
TEE version: 4.2.0 (gcc version 12.2.0 (Debian 12.2.0-14)) #1 Thu Jul  4 20:44:24 UTC 2024 aarch64                                                                                                         
I/TC: WARNING: This OP-TEE ized                                                                                                                                                                            
I/TC: Activated SA2UL device                                                                                                                                                                               
I/TC: Fixing SA2UL firewall owner for GP device                                                                                                                                                            
I/TC: Enabled firewalls for SA2UL TRNG dev                                                                                                                                                                 
U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')
Tryi

U-Boot 2024.07 (Jul 04 2024 - 20:44:24 +0000)

SoC:   J721E SR1.1 GP
Model: BeagleBoard.org BeagleBone AI-64
DRAM:  2 GiB (effective 4 GiB)
Core:  126 devices, 33 uclasses, devicetree: separate
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
Loading Environment from nowhere.eth0: ethernet@46000000port@1
Press SPACE to abort autoboot in 2 seconds
SD/MMC found on device 1
append: root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet
Retrieving file: /ti/k3-j721e-beagleboneai64.dtb
   Loading Device Tree to 000000008f12d000, end 000000008f14ec7f ... OK
Working FDT set to 8f12d000

Starting kernel ...

r:clock-controller: recalc-rate failed for dev=152, clk=19, ret=-19
[    0.959822] ti-sci-clk 44083000.system-controller:clock[    2.033543] ti-sci-clk 44083000.system-controller:clock-controller: is_prepared failed for dev=152, clk=21, ret=-19
[    2.[    3.656920] ti_am3359-tscadc 40200000.tscadc: failed to get TSC fck
[    3.667169] ti_am3359-tscadc 40210000.tscadc: failed to get TSC fck
[    6.181848] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
[    6.261295] remoteproc remoteproc12: request_firmware [  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Reso[  OK  ] Finished Load AppArmor profiles.
         Stm  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Docker Socket for the APItarting BeagleBoard.org EDGEAI K3 R5...
         Starting BeagleBoard Generate Symlinks...
     pshots...
         Starting Initialize hardware monitoring sensors...
         Starting System Lo[  OK  ] Finished BeagleBoard Generate Symlinks.
[  OK  ] Finished Initialize hardware monitoring sensors.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                                                                                                                                                  
[  OK  ] Started WPA supplicant.                                                                                                                                                                           
ontainerd container runtime...                                                                                                                                                                             
         Starting LSB: disk temperature monitoring daemon...                                                                                                                                               
         Start[  OK  ] Started LSB: disk temperature monitoring daemon.                                                                                                                                    
[  OK  ] Finished Permi[  OK  ] Started BeagleBoard.org Code Server.                                                                                                                                       
[    7.481896] platform 5c00000.r5f: configured R5F for         Starting Authorization Manager...                                                                                                          
[  OK  ] Finished dphys-swapfile - �…mount, and [    7.603223] remoteproc remoteproc16: request_firmware failed: -2                                                                                       
[  OK  ] Started OpenBSD Secure Shell server.                                                                                                                                                              
[  OK  ] Finished Hold until boot process finishes up.                                                                                                                                                     
[    7.688255] platform 5e00000.r5f: configured R5F for remoteproc mode                                                                                                                                    
[    7.962650] remoteproc remoteproc17: request_firmware failed: -2                                                                                                                                        
[FAILED] Failed to start Light Display Manager.                                                                                                                                                            
                                                                                                                                                                                                           
Debian GNU/Linux 11 BeagleBone ttyS2                                                                                                                                                                       
                                                                                                                                                                                                           
BeagleBoard.org Debian Bullseye Xfce Image 2023-02-16                                                                                                                                                      
Support: https://bbb.io/debia                    

I don’t see in this log the message “if mmc rescan; then echo SD/MMC found on device ${mmcdev};”:
from uEnv.txt:

mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev}; if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados; fi; fi; fi;
mmcdev=1
mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run get_fdt_mmc; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;

Thanks.

Ulises Vega

Hello everyone,

Any idea on how can I continue debugging this issue from my previous email?

Thanks.

Ulises Vega

Hello @RobertCNelson ,

I was able to generate the initrd image for the AGL build, and I’m using the boot firmware you pass me some days ago…

Today I had a different problem apparently there is an overlap between initrd or fdtb and OS image in u-boot parameters:

This is the error I get when running extlinux.conf (using the one you propose lines above) that includes an initrd image generated by yocto build for AGL

July 18, 2024; 19:20, with initrd image.

U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Trying to boot from MMC2                                                                                                                                                                                   
                                                                                                                                                                                                           
                                                                                                                                                                                                           
U-Boot 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                              
                                                                                                                                                                                                           
SoC:   J721E SR1.1 GP                                                                                                                                                                                      
Model: BeagleBoard.org BeagleBone AI-64                                                                                                                                                                    
DRAM:  2 GiB (effective 4 GiB)                                                                                                                                                                             
Core:  126 devices, 33 uclasses, devicetree: separate                                                                                                                                                      
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1                                                                                                                                                                      
Loading Environment from nowhere... OK                                                                                                                                                                     
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                                                                                           
Net:   eth0: ethernet@46000000port@1                                                                                                                                                                       
Press SPACE to abort autoboot in 2 seconds                                                                                                                                                                 
switch to partitions #0, OK                                                                                                                                                                                
mmc1 is current device                                                                                                                                                                                     
SD/MMC found on device 1                                                                                                                                                                                   
Failed to load 'uEnv.txt'                                                                                                                                                                                  
Scanning for bootflows in all bootdevs                                                                                                                                                                     
Seq  Method       State   Uclass    Part  Name                      Filename                                                                                                                               
---  -----------  ------  --------  ----  ------------------------  ----------------                                                                                                                       
Scanning bootdev 'mmc@4fb0000.bootdev':                                                                                                                                                                    
  0  extlinux     ready   mmc          1  mmc@4fb0000.bootdev.part_ /extlinux/extlinux.conf                                                                                                                
** Booting bootflow 'mmc@4fb0000.bootdev.part_1' with extlinux                                                                                                                                             
1:      Linux microSD                                                                                                                                                                                      
Retrieving file: /Image                                                                                                                                                                                    
Retrieving file: /Image-initramfs-beaglebone-ai64.bin                                                                                                                                                      
append: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait net.ifnames=0                                                                           
Retrieving file: /ti/k3-j721e-beagleboneai64.dtb                                                                                                                                                           
ERROR: RD image overlaps OS image (OS=82000000..8ba40000)                                                                                                                                                  
Boot failed (err=-14)                                                                                                                                                                                      
  1  efi          ready   mmc          1  mmc@4fb0000.bootdev.part_ /EFI/BOOT/BOOTAA64.EFI                                                                                                                 
** Booting bootflow 'mmc@4fb0000.bootdev.part_1' with efi                                                                                                                                                  
No EFI system partition                                                                                                                                                                                    
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                     

No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
Booting /\EFI\BOOT\BOOTAA64.EFI                                                                                                                                                                            
error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg.                                                                                                                                          
error: serial port `com0' isn't found.                                                                                                                                                                     
                                                                                                                                                                                                           
                             GNU GRUB  version 2.12                                                                                                                                                        
                                                                                                                                                                                                           
 �┌�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─┐
 �*boot                                                                       � 

This is the error I get when running extlinux.conf (using the one you proposed lines above) that does not include an initrd image generated by yocto build for AGL

July 28, 19:43, without initrd image

U-Boot 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                              
                                                                                                                                                                                                           
SoC:   J721E SR1.1 GP                                                                                                                                                                                      
Model: BeagleBoard.org BeagleBone AI-64                                                                                                                                                                    
DRAM:  2 GiB (effective 4 GiB)                                                                                                                                                                             
Core:  126 devices, 33 uclasses, devicetree: separate                                                                                                                                                      
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1                                                                                                                                                                      
Loading Environment from nowhere... OK                                                                                                                                                                     
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                                                                                           
Net:   eth0: ethernet@46000000port@1                                                                                                                                                                       
Press SPACE to abort autoboot in 2 seconds                                                                                                                                                                 
switch to partitions #0, OK                                                                                                                                                                                
mmc1 is current device                                                                                                                                                                                     
SD/MMC found on device 1                                                                                                                                                                                   
Failed to load 'uEnv.txt'                                                                                                                                                                                  
Scanning for bootflows in all bootdevs                                                                                                                                                                     
Seq  Method       State   Uclass    Part  Name                      Filename                                                                                                                               
---  -----------  ------  --------  ----  ------------------------  ----------------                                                                                                                       
Scanning bootdev 'mmc@4fb0000.bootdev':                                                                                                                                                                    
  0  extlinux     ready   mmc          1  mmc@4fb0000.bootdev.part_ /extlinux/extlinux.conf                                                                                                                
** Booting bootflow 'mmc@4fb0000.bootdev.part_1' with extlinux                                                                                                                                             
1:      Linux microSD                                                                                                                                                                                      
Retrieving file: /Image                                                                                                                                                                                    
append: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait net.ifnames=0                                                                           
Retrieving file: /ti/k3-j721e-beagleboneai64.dtb                                                                                                                                                           
## Flattened Device Tree blob at 88000000                                                                                                                                                                  
   Booting using the fdt blob at 0x88000000                                                                                                                                                                
ERROR: FDT image overlaps OS image (OS=82000000..8ba40000)                                                                                                                                                 
Boot failed (err=-14)                                                                                                                                                                                      
  1  efi          ready   mmc          1  mmc@4fb0000.bootdev.part_ /EFI/BOOT/BOOTAA64.EFI                                                                                                                 
** Booting bootflow 'mmc@4fb0000.bootdev.part_1' with efi                                                                                                                                                  
No EFI system partition                                                                                                                                                                                    
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
Booting /\EFI\BOOT\BOOTAA64.EFI                                                                                                                                                                            
error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg.                                                                                                                                          
error: serial port `com0' isn't found.                                                                                                                                                                     
                                                                                                                                                                                                           
                             GNU GRUB  version 2.12                                                                                                                                                        
                                                                                                                                                                                                           
 �┌�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─┐
 �*boot                                                                       � │                                                                                                                          
 �                                                                            �│     

Any idea how to fix this issue is more than welcome.

Thanks

Ulises Vega

For the sake of completeness I will add the complete log here:

July 18, 2024; 19:20, with initrd image.

U-Boot SPL 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                          
SYSFW ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                                                                       
Trying to boot from MMC2                                                                                                                                                                                   
                                                                                                                                                                                                           
                                                                                                                                                                                                           
U-Boot 2024.07 (Jul 04 2024 - 20:44:24 +0000)                                                                                                                                                              
                                                                                                                                                                                                           
SoC:   J721E SR1.1 GP                                                                                                                                                                                      
Model: BeagleBoard.org BeagleBone AI-64                                                                                                                                                                    
DRAM:  2 GiB (effective 4 GiB)                                                                                                                                                                             
Core:  126 devices, 33 uclasses, devicetree: separate                                                                                                                                                      
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1                                                                                                                                                                      
Loading Environment from nowhere... OK                                                                                                                                                                     
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                                                                                           
Net:   eth0: ethernet@46000000port@1                                                                                                                                                                       
Press SPACE to abort autoboot in 2 seconds                                                                                                                                                                 
switch to partitions #0, OK                                                                                                                                                                                
mmc1 is current device                                                                                                                                                                                     
SD/MMC found on device 1                                                                                                                                                                                   
Failed to load 'uEnv.txt'                                                                                                                                                                                  
Scanning for bootflows in all bootdevs                                                                                                                                                                     
Seq  Method       State   Uclass    Part  Name                      Filename                                                                                                                               
---  -----------  ------  --------  ----  ------------------------  ----------------                                                                                                                       
Scanning bootdev 'mmc@4fb0000.bootdev':                                                                                                                                                                    
  0  extlinux     ready   mmc          1  mmc@4fb0000.bootdev.part_ /extlinux/extlinux.conf                                                                                                                
** Booting bootflow 'mmc@4fb0000.bootdev.part_1' with extlinux                                                                                                                                             
1:      Linux microSD                                                                                                                                                                                      
Retrieving file: /Image                                                                                                                                                                                    
Retrieving file: /Image-initramfs-beaglebone-ai64.bin                                                                                                                                                      
append: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait net.ifnames=0                                                                           
Retrieving file: /ti/k3-j721e-beagleboneai64.dtb                                                                                                                                                           
ERROR: RD image overlaps OS image (OS=82000000..8ba40000)                                                                                                                                                  
Boot failed (err=-14)                                                                                                                                                                                      
  1  efi          ready   mmc          1  mmc@4fb0000.bootdev.part_ /EFI/BOOT/BOOTAA64.EFI                                                                                                                 
** Booting bootflow 'mmc@4fb0000.bootdev.part_1' with efi                                                                                                                                                  
No EFI system partition                                                                                                                                                                                    
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                     

No EFI system partition                                                                                                                                                                                    
Failed to persist EFI variables                                                                                                                                                                            
Booting /\EFI\BOOT\BOOTAA64.EFI                                                                                                                                                                            
error: no such device: ((hd0,msdos1)/EFI/BOOT)/EFI/BOOT/grub.cfg.                                                                                                                                          
error: serial port `com0' isn't found.                                                                                                                                                                     
                                                                                                                                                                                                           
                             GNU GRUB  version 2.12                                                                                                                                                        
                                                                                                                                                                                                           
 �┌�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─┐
 �*boot                                                                       � │                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            �│                                                                                                                          
 �                                                                            � │                                                                                                                          
 �└�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─�─┘
                                                                                                                                                                                                           
      Use the �▲ and �▼ keys to select which entry is highlighted.                                                                                                                                       
      Press enter to boot the selected OS, `e' to edit the commands                                                                                                                                        
      before booting or `c' for a command-line.                                                                                                                                                            
   The highlighted entry will be executed automatically in 0s.                                                                                                                                             
  Booting `boot'                                                                                                                                                                                           
                                                                                                                                                                                                           
EFI stub: Booting Linux Kernel...                                                                                                                                                                          
EFI stub: EFI_RNG_PROTOCOL unavailable                                                                                                                                                                     
EFI stub: Using DTB from configuration table                                                                                                                                                               
EFI stub: Exiting boot services...                                                                                                                                                                         
I/TC: Secondary CPU 1 initializing                                                                                                                                                                         
I/TC: Secondary CPU 1 switching to normal world boot                                                                                                                                                       
I/TC: Reserved shared memory is enabled                                                                                                                                                                    
I/TC: Dynamic shared memory is enabled                                                                                                                                                                     
I/TC: Normal World virtualization support is disabled                                                                                                                                                      
I/TC: Asynchronous notifications are disabled                                                                                                                                                              
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]                                                                                                                                     
[    0.000000] Linux version 6.1.69-ti (oe-user@oe-host) (aarch64-agl-linux-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP PREEMPT_DYNAMIC Mon Jun 10 06:13:20 UTC 2024                   
[    0.000000] Machine model: BeagleBoard.org BeagleBone AI-64                                                                                                                                             
[    0.000000] efi: EFI v2.100 by Das U-Boot                                                                                                                                                               
[    0.000000] efi: RTPROP=0xfce54040 SMBIOS 3.0=0xfdebd000 MEMRESERVE=0xfcd73040                                                                                                                          
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool      
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB                                                                                                                  
[    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool                                                                                                   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB                                                                                                                 
[    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool                                                                                                       
[    0.000000] Zone ranges:                                                                                                                                                                                
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]                                                                                                                                      
[    0.000000]   DMA32    empty                                                                                                                                                                            
[    0.000000]   Normal   empty                                                                                                                                                                            
[    0.000000] Movable zone start for each node                                                                                                                                                            
[    0.000000] Early memory node ranges                                                                                                                                                                    
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000fce53fff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000fce54000-0x00000000fce54fff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000fce55000-0x00000000fce55fff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000fce56000-0x00000000fce77fff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000fce78000-0x00000000fdebcfff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000fdebd000-0x00000000fdebdfff] 
[    0.000000]   node   0: [mem 0x00000000fdebe000-0x00000000ffebffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000ffec0000-0x00000000ffecffff]                                                                                                                                     
[    0.000000]   node   0: [mem 0x00000000ffed0000-0x00000000ffffffff]                                                                                                                                     
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]                                                                                                                            
[    0.000000] cma: Reserved 144 MiB at 0x00000000de600000                                                                                                                                                 
[    0.000000] psci: probing for conduit method from DT.                                                                                                                                                   
[    0.000000] psci: PSCIv1.1 detected in firmware.                                                                                                                                                        
[    0.000000] psci: Using standard PSCI v0.2 function IDs                                                                                                                                                 
[    0.000000] psci: Trusted OS migration not required                                                                                                                                                     
[    0.000000] psci: SMC Calling Convention v1.5                                                                                                                                                           
[    0.000000] percpu: Embedded 29 pages/cpu s81448 r8192 d29144 u118784                                                                                                                                   
[    0.000000] Detected PIPT I-cache on CPU0                                                                                                                                                               
[    0.000000] CPU features: detected: GIC system register CPU interface                                                                                                                                   
[    0.000000] CPU features: detected: Spectre-v3a                                                                                                                                                         
[    0.000000] CPU features: detected: Spectre-BHB                                                                                                                                                         
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR                                                                                                                                
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)                                                                                                                                  
[    0.000000] CPU features: detected: ARM erratum 1742098                                                                                                                                                 
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923                                                                                                                             
[    0.000000] alternatives: applying boot alternatives                                                                                                                                                    
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096                                                                                                                               
[    0.000000] Kernel command line: BOOT_IMAGE=/Image-initramfs-beaglebone-ai64.bin root=PARTUUID=dba7902b-02 rootwait rootfstype=ext4                                                                     
[    0.000000] Unknown kernel command line parameters "BOOT_IMAGE=/Image-initramfs-beaglebone-ai64.bin", will be passed to user space.                                                                     
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)                                                                                                                   
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)                                                                                                                    
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off                                                                                                                                
[    0.000000] Memory: 131072K/2097152K available (18304K kernel code, 2912K rwdata, 6764K rodata, 128576K init, 1166K bss, 399404K reserved, 147456K cma-reserved)                                        
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1                                                                                                                                  
[    0.000000] ftrace: allocating 57171 entries in 224 pages                                                                                                                                               
[    0.000000] ftrace: allocated 224 pages with 3 groups                                                                                                                                                   
[    0.000000] trace event string verifier disabled                                                                                                                                                        
[    0.000000] Dynamic Preempt: voluntary                                                                                                                                                                  
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                                                                                                                                           
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.                                                                                                                             
[    0.000000]  Trampoline variant of Tasks RCU enabled.                                                                                                                                                   
[    0.000000]  Rude variant of Tasks RCU enabled.                                                                                                                                                         
[    0.000000]  Tracing variant of Tasks RCU enabled.                                                                                                                                                      
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.                                                                                                                      
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2                                                                                                                                
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0                                                                                                                                              
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode                                                                                                                                                 
[    0.000000] GICv3: 960 SPIs implemented                                                                                                                                                                 
[    0.000000] GICv3: 0 Extended SPIs implemented                                                                                                                                                          
[    0.000000] Root IRQ handler: gic_handle_irq                                                                                                                                                            
[    0.000000] GICv3: GICv3 features: 16 PPIs                                                                                                                                                              
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000                                                                                                                              
[    0.000000] ITS [mem 0x01820000-0x0182ffff]                                                                                                                                                             
[    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS                                                                                                                               
[    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19            
[    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)                                                                                                    
[    0.000000] ITS: using cache flushing for cmd queue                                                                                                                                                     
[    0.000000] GICv3: using LPI property table @0x0000000080200000                                                                                                                                         
[    0.000000] GIC: using cache flushing for LPI property table                                                                                                                                            
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080210000                                                                                                                          
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.                                                                                                                              
[    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).                                                                                                                                      
[    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns                                                                               
[    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns                                                                                                                 
[    0.000204] Console: colour dummy device 80x25                                                                                                                                                          
[    0.000533] printk: console [tty0] enabled                                                                                                                                                              
[    0.000563] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)                                                                                     
[    0.000573] pid_max: default: 32768 minimum: 301                                                                                                                                                        
[    0.000682] LSM: Security Framework initializing                                                                                                                                                        
[    0.000730] landlock: Up and running.                                                                                                                                                                   
[    0.000735] Yama: becoming mindful.                                                                                                                                                                     
[    0.000812] AppArmor: AppArmor initialized                                                                                                                                                              
[    0.000822] TOMOYO Linux initialized                                                                                                                                                                    
[    0.000844] LSM support for eBPF active                                                                                                                                                                 
[    0.000922] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)                                                                                                                        
[    0.000938] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)                                                                                                                   
[    0.002040] cblist_init_generic: Setting adjustable number of callback queues.                                                                                                                          
[    0.002056] cblist_init_generic: Setting shift to 1 and lim to 1.                                                                                                                                       
[    0.002109] cblist_init_generic: Setting adjustable number of callback queues.                                                                                                                          
[    0.002116] cblist_init_generic: Setting shift to 1 and lim to 1.                                                                                                                                       
[    0.002171] cblist_init_generic: Setting adjustable number of callback queues.                                                                                                                          
[    0.002178] cblist_init_generic: Setting shift to 1 and lim to 1.                                                                                                                                       
[    0.002292] rcu: Hierarchical SRCU implementation.                                                                                                                                                      
[    0.002298] rcu:     Max phase no-delay instances is 1000.                                                                                                                                              
[    0.003038] Platform MSI: msi-controller@1820000 domain created                                                                                                                                         
[    0.003238] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created                                                                                                     
[    0.003403] Remapping and enabling EFI services.                                                                                                                                                        
[    0.003701] smp: Bringing up secondary CPUs ...                                                                                                                                                         
[    0.012435] Detected PIPT I-cache on CPU1                                                                                                                                                               
[    0.012500] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000                                                                                                                              
[    0.012513] GICv3: CPU1: using allocated LPI pending table @0x0000000080220000                                                                                                                          
[    0.012544] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]                                                                                                                                  
[    0.012624] smp: Brought up 1 node, 2 CPUs                                                                                                                                                              
[    0.012645] SMP: Total of 2 processors activated.                                                                                                                                                       
[    0.012650] CPU features: detected: 32-bit EL0 Support                                                                                                                                                  
[    0.012654] CPU features: detected: 32-bit EL1 Support                                                                                                                                                  
[    0.012660] CPU features: detected: CRC32 instructions                                                                                                                                                  
[    0.012752] CPU: All CPU(s) started at EL2                                                                                                                                                              
[    0.012768] alternatives: applying system-wide alternatives                                                                                                                                             
[    0.035857] node 0 deferred pages initialised in 20ms                                                                                                                                                   
[    0.036697] devtmpfs: initialized                                                                                                                                                                       
[    0.044368] Registered cp15_barrier emulation handler                                                                                                                                                   
[    0.044396] Registered setend emulation handler                                                                                                                                                         
[    0.044581] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns                                                                                             
[    0.044624] futex hash table entries: 512 (order: 3, 32768 bytes, linear)            
[    0.047075] pinctrl core: initialized pinctrl subsystem                                                                                                                                                 
[    0.047459] SMBIOS 3.7.0 present.                                                                                                                                                                       
[    0.047478] DMI: beagle BeagleBoard.org BeagleBone AI-64/BeagleBoard.org BeagleBone AI-64, BIOS 2024.07 07/01/2024                                                                                      
[    0.047884] NET: Registered PF_NETLINK/PF_ROUTE protocol family                                                                                                                                         
[    0.048755] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations                                                                                                                            
[    0.048881] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations                                                                                                                    
[    0.049029] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations                                                                                                                  
[    0.049066] audit: initializing netlink subsys (disabled)                                                                                                                                               
[    0.049216] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1                                                                                                                    
[    0.049497] thermal_sys: Registered thermal governor 'fair_share'                                                                                                                                       
[    0.049501] thermal_sys: Registered thermal governor 'bang_bang'                                                                                                                                        
[    0.049508] thermal_sys: Registered thermal governor 'step_wise'                                                                                                                                        
[    0.049512] thermal_sys: Registered thermal governor 'user_space'                                                                                                                                       
[    0.049517] thermal_sys: Registered thermal governor 'power_allocator'                                                                                                                                  
[    0.049643] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.                                                                                                                               
[    0.049690] ASID allocator initialised with 32768 entries                                                                                                                                               
[    0.058893] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000/ports/port@0/endpoint                                                                                    
[    0.060567] platform connector: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000/ports/port@4/endpoint                                                                                      
[    0.060807] KASLR enabled                                                                                                                                                                               
[    0.064962] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages                                                                                                                               
[    0.064979] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page                                                                                                                                     
[    0.064985] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages                                                                                                                               
[    0.064989] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page                                                                                                                                     
[    0.064994] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages                                                                                                                               
[    0.064999] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page                                                                                                                                     
[    0.065003] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages                                                                                                                               
[    0.065007] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page                                                                                                                                     
[    0.065851] raid6: skipped pq benchmark and selected neonx8                                                                                                                                             
[    0.065864] raid6: using neon recovery algorithm                                                                                                                                                        
[    0.066163] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected                                                                                                             
[    0.067063] iommu: Default domain type: Translated                                                                                                                                                      
[    0.067074] iommu: DMA domain TLB invalidation policy: strict mode                                                                                                                                      
[    0.067264] SCSI subsystem initialized                                                                                                                                                                  
[    0.067454] usbcore: registered new interface driver usbfs                                                                                                                                              
[    0.067474] usbcore: registered new interface driver hub                                                                                                                                                
[    0.067497] usbcore: registered new device driver usb                                                                                                                                                   
[    0.067764] pps_core: LinuxPPS API ver. 1 registered                                                                                                                                                    
[    0.067770] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                                                                                                    
[    0.067779] PTP clock support registered                                                                                                                                                                
[    0.067919] Registered efivars operations                                                                                                                                                               
[    0.068271] Advanced Linux Sound Architecture Driver Initialized.                                                                                                                                       
[    0.068621] NetLabel: Initializing                                                                                                                                                                      
[    0.068629] NetLabel:  domain hash size = 128                                                                                                                                                           
[    0.068633] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO                                                                                                                                            
[    0.068674] NetLabel:  unlabeled traffic allowed by default                                                                                                                                             
[    0.068866] vgaarb: loaded                                                                                                                                                                              
[    0.069200] clocksource: Switched to clocksource arch_sys_counter                                                                                                                                       
[    0.069506] VFS: Disk quotas dquot_6.6.0                                                                                                                                                                
[    0.069541] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)                                                                                                                              
[    0.069637] FS-Cache: Loaded                                       
[    0.069880] CacheFiles: Loaded                                                                                                                                                                          
[    0.070182] AppArmor: AppArmor Filesystem Enabled                                                                                                                                                       
[    0.073895] NET: Registered PF_INET protocol family                                                                                                                                                     
[    0.074042] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)                                                                                                                        
[    0.075056] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)                                                                                                           
[    0.075123] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)                                                                                                                    
[    0.075155] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)                                                                                                                  
[    0.075295] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)                                                                                                                         
[    0.075761] TCP: Hash tables configured (established 16384 bind 16384)                                                                                                                                  
[    0.076155] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)                                                                                                                        
[    0.076249] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)                                                                                                                                
[    0.076291] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)                                                                                                                           
[    0.076441] NET: Registered PF_UNIX/PF_LOCAL protocol family                                                                                                                                            
[    0.081473] RPC: Registered named UNIX socket transport module.                                                                                                                                         
[    0.081487] RPC: Registered udp transport module.                                                                                                                                                       
[    0.081491] RPC: Registered tcp transport module.                                                                                                                                                       
[    0.081495] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                                                                                   
[    0.081503] NET: Registered PF_XDP protocol family                                                                                                                                                      
[    0.081513] PCI: CLS 0 bytes, default 64                                                                                                                                                                
[    0.085569] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available                                                                                                               
[    0.085922] kvm [1]: IPA Size Limit: 44 bits                                                                                                                                                            
[    0.086557] kvm [1]: vgic-v2@6f020000                                                                                                                                                                   
[    0.086574] kvm [1]: GIC system register CPU interface enabled                                                                                                                                          
[    0.086663] kvm [1]: vgic interrupt IRQ9                                                                                                                                                                
[    0.086716] kvm [1]: Hyp mode initialized successfully                                                                                                                                                  
[    0.431895] Initialise system trusted keyrings                                                                                                                                                          
[    0.432118] workingset: timestamp_bits=46 max_order=19 bucket_order=0                                                                                                                                   
[    0.434852] zbud: loaded                                                                                                                                                                                
[    0.436348] NFS: Registering the id_resolver key type                                                                                                                                                   
[    0.436380] Key type id_resolver registered                                                                                                                                                             
[    0.436385] Key type id_legacy registered                                                                                                                                                               
[    0.436433] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                                                                                                                
[    0.436441] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...                                                                                                                        
[    0.436533] fuse: init (API version 7.37)                                                                                                                                                               
[    0.457826] NET: Registered PF_ALG protocol family                                                                                                                                                      
[    0.457854] xor: measuring software checksum speed                                                                                                                                                      
[    0.458976]    8regs           :  8845 MB/sec                                                                                                                                                           
[    0.460007]    32regs          :  9599 MB/sec                                                                                                                                                           
[    0.461288]    arm64_neon      :  7740 MB/sec                                                                                                                                                           
[    0.461294] xor: using function: 32regs (9599 MB/sec)                                                                                                                                                   
[    0.461304] Key type asymmetric registered                                                                                                                                                              
[    0.461311] Asymmetric key parser 'x509' registered                                                                                                                                                     
[    0.471011] alg: self-tests for CTR-KDF (hmac(sha256)) passed                                                                                                                                           
[    0.471110] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)                                                                                                                        
[    0.471207] io scheduler mq-deadline registered                                                                                                                                                         
[    0.473670] pinctrl-single 4301c000.pinctrl: 94 pins, size 376                                                                                                                                          
[    0.474094] pinctrl-single 11c000.pinctrl: 173 pins, size 692                                                                                                                                           
[    0.476846] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled              
[    0.478767] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)                                                                                                                    
[    0.479205] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq                                                                                                                                
[    0.479692] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq                                                                                                                                
[    0.480744] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs                                                                                                                  
[    0.482110] SPI driver tps6594 has no spi_device_id for ti,tps6594-q1                                                                                                                                   
[    0.482124] SPI driver tps6594 has no spi_device_id for ti,tps6593-q1                                                                                                                                   
[    0.482129] SPI driver tps6594 has no spi_device_id for ti,lp8764-q1                                                                                                                                    
[    0.482437] megasas: 07.719.03.00-rc1                                                                                                                                                                   
[    0.484927] igbvf: Intel(R) Gigabit Virtual Function Network Driver                                                                                                                                     
[    0.484947] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.                                                                                                                                         
[    0.484981] sky2: driver version 1.30                                                                                                                                                                   
[    0.485507] VFIO - User Level meta-driver version: 0.3                                                                                                                                                  
[    0.486071] usbcore: registered new interface driver usbserial_generic                                                                                                                                  
[    0.486088] usbserial: USB Serial support registered for generic                                                                                                                                        
[    0.486122] usbcore: registered new interface driver cp210x                                                                                                                                             
[    0.486133] usbserial: USB Serial support registered for cp210x                                                                                                                                         
[    0.487016] i2c_dev: i2c /dev entries driver                                                                                                                                                            
[    0.487048] usbcore: registered new interface driver i2c-tiny-usb                                                                                                                                       
[    0.487756] sdhci: Secure Digital Host Controller Interface driver                                                                                                                                      
[    0.487763] sdhci: Copyright(c) Pierre Ossman                                                                                                                                                           
[    0.487884] sdhci-pltfm: SDHCI platform and OF driver helper                                                                                                                                            
[    0.488478] ledtrig-cpu: registered to indicate activity on CPUs                                                                                                                                        
[    0.488767] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....                                                                                                                                   
[    0.488950] hid: raw HID events driver (C) Jiri Kosina                                                                                                                                                  
[    0.489153] usbcore: registered new interface driver usbhid                                                                                                                                             
[    0.489161] usbhid: USB HID core driver                                                                                                                                                                 
[    0.490017] optee: probing for conduit method.                                                                                                                                                          
[    0.490042] optee: revision 4.2 (12d7c4ee)                                                                                                                                                              
[    0.506478] optee: dynamic shared memory is enabled                                                                                                                                                     
[    0.506715] optee: initialized driver                                                                                                                                                                   
[    0.507305] usbcore: registered new interface driver snd-usb-audio                                                                                                                                      
[    0.507693] NET: Registered PF_INET6 protocol family                                                                                                                                                    
[    0.517033] Segment Routing with IPv6                                                                                                                                                                   
[    0.517086] In-situ OAM (IOAM) with IPv6                                                                                                                                                                
[    0.517137] mip6: Mobile IPv6                                                                                                                                                                           
[    0.517152] NET: Registered PF_PACKET protocol family                                                                                                                                                   
[    0.517293] Key type dns_resolver registered                                                                                                                                                            
[    0.517301] mpls_gso: MPLS GSO support                                                                                                                                                                  
[    0.517641] registered taskstats version 1                                                                                                                                                              
[    0.517661] Loading compiled-in X.509 certificates                                                                                                                                                      
[    0.518171] zswap: loaded using pool lzo/zsmalloc                                                                                                                                                       
[    0.518483] Key type .fscrypt registered                                                                                                                                                                
[    0.518490] Key type fscrypt-provisioning registered                                                                                                                                                    
[    0.519806] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=yes                                                                                                                                
[    0.520008] Key type encrypted registered                                                                                                                                                               
[    0.520022] AppArmor: AppArmor sha1 policy hashing enabled                                                                                                                                              
[    0.520075] ima: secureboot mode disabled                                                                                                                                                               
[    0.520085] ima: No TPM chip found, activating TPM-bypass!         
[    0.520105] ima: Allocated hash algorithm: sha256                                                                                                                                                       
[    0.520140] ima: No architecture policies found                                                                                                                                                         
[    0.520188] evm: Initialising EVM extended attributes:                                                                                                                                                  
[    0.520194] evm: security.selinux                                                                                                                                                                       
[    0.520198] evm: security.SMACK64 (disabled)                                                                                                                                                            
[    0.520202] evm: security.SMACK64EXEC (disabled)                                                                                                                                                        
[    0.520206] evm: security.SMACK64TRANSMUTE (disabled)                                                                                                                                                   
[    0.520210] evm: security.SMACK64MMAP (disabled)                                                                                                                                                        
[    0.520214] evm: security.apparmor                                                                                                                                                                      
[    0.520217] evm: security.ima                                                                                                                                                                           
[    0.520221] evm: security.capability                                                                                                                                                                    
[    0.520224] evm: HMAC attrs: 0x1                                                                                                                                                                        
[    0.527117] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x000a '10.0.1--v10.00.01 (Fiery Fox)')                                                                                           
[    0.553610] ti-sci-clk 44083000.system-controller:clock-controller: recalc-rate failed for dev=152, clk=19, ret=-19                                                                                     
[    0.553733] ti-sci-clk 44083000.system-controller:clock-controller: recalc-rate failed for dev=152, clk=20, ret=-19                                                                                     
[    0.553836] ti-sci-clk 44083000.system-controller:clock-controller: recalc-rate failed for dev=152, clk=21, ret=-19                                                                                     
[    0.570321] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz                                                                                                                                             
[    0.570891] omap_i2c 2000000.i2c: bus 4 rev0.12 at 400 kHz                                                                                                                                              
[    0.571360] omap_i2c 2010000.i2c: bus 5 rev0.12 at 400 kHz                                                                                                                                              
[    0.571859] omap_i2c 2020000.i2c: bus 2 rev0.12 at 100 kHz                                                                                                                                              
[    0.572363] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz                                                                                                                                              
[    0.572869] omap_i2c 2040000.i2c: bus 3 rev0.12 at 100 kHz                                                                                                                                              
[    0.573340] omap_i2c 2050000.i2c: bus 7 rev0.12 at 400 kHz                                                                                                                                              
[    0.573824] omap_i2c 2060000.i2c: bus 1 rev0.12 at 100 kHz                                                                                                                                              
[    0.574050] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created                                                                                                              
[    0.574165] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created                                                                                                     
[    0.574276] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created                                                                                                              
[    0.574451] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created                                                                                                          
[    0.584703] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235                                                                                              
[    0.584726] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled                                                                                                                                 
[    0.584732] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64                                                                                                                         
[    0.586738] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211                                                                                           
[    0.586758] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled                                                                                                                                 
[    0.586764] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64                                                                                                                         
[    0.587315] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 196, base_baud = 3000000) is a 8250                                                                                                          
[    2.640191] printk: console [ttyS2] enabled                                                                                                                                                             
[    2.646734] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode                                                                                                                                 
[    2.693207] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000                                                                                                                     
[    2.705948] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867                                                                                                              
[    2.714253] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000                                                          
[    2.727084] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4                                                                                                                          
[    2.734297] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64                                                                                                                                         
[    2.740679] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0                                                                                                      
[    2.751337] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0                                                                                                               
[    2.861403] mmc0: CQHCI version 5.10                                                                                                                                                                    
[    2.867348] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100                                                                                                                                  
[    2.874222] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100                                                                                                                                  
[    2.881073] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100                                                                                                                                  
[    2.887912] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100                                                                                                                                  
[    2.894741] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100                              
[    2.905983] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit                                                                                                                       
[    2.906815] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:                                                                                                                  
[    2.921494] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000                                                                                                           
[    2.930070] j721e-pcie-host 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000                                                                                                           
[    2.938606] j721e-pcie-host 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000                                                                                                         
[    2.995133] mmc0: Command Queue Engine enabled                                                                                                                                                          
[    2.999588] mmc0: new HS200 MMC card at address 0001                                                                                                                                                    
[    3.005028] mmcblk0: mmc0:0001 TB2916 14.6 GiB                                                                                                                                                          
[    3.010581]  mmcblk0: p1 p2                                                                                                                                                                             
[    3.013716] mmcblk0boot0: mmc0:0001 TB2916 4.00 MiB                                                                                                                                                     
[    3.019319] mmcblk0boot1: mmc0:0001 TB2916 4.00 MiB                                                                                                                                                     
[    3.024899] mmcblk0rpmb: mmc0:0001 TB2916 4.00 MiB, chardev (237:0)                                                                                                                                     
[    3.950122] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00                                                                                                                                
[    3.956825] pci_bus 0000:00: root bus resource [bus 00-ff]                                                                                                                                              
[    3.962312] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])                                                                                                
[    3.971777] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]                                                                                                                              
[    3.978664] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400                                                                                                                                        
[    3.984660] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits                                                                                              
[    3.994363] pci 0000:00:00.0: supports D1                                                                                                                                                               
[    3.998366] pci 0000:00:00.0: PME# supported from D0 D1 D3hot                                                                                                                                           
[    4.005792] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                                                 
[    4.013940] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01                                                                                                                                 
[    4.020558] pci 0000:00:00.0: PCI bridge to [bus 01]                                                                                                                                                    
[    4.025782] pcieport 0000:00:00.0: PME: Signaling with IRQ 434                                                                                                                                          
[    4.031778] pcieport 0000:00:00.0: AER: enabled with IRQ 434                                                                                                                                            
[    4.038515] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)                                                                                                           
[    4.049784] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)                                                                                                         
[    4.062232] cdns-mhdp8546 a000000.dp-bridge: invalid resource                                                                                                                                           
[    4.068005] cdns-mhdp8546 a000000.dp-bridge: Failed to get SAPB memory resource, HDCP not supported                                                                                                     
[    4.083189] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0                                                                                                                           
[    4.090480] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes                                                                                                                                      
[    4.096804] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes                                                                                                                                      
[    4.103582] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode                                                                                                                                 
[    4.149205] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000                                                                                                                     
[    4.161921] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867                                                                                                              
[    4.170226] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000                                                          
[    4.183075] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4                                                                                                                          
[    4.190289] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64                                                                                                                                         
[    4.196644] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0                                                                                                      
[    4.207164] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48                                                                                                                                   
[    4.216196] mmc1: CQHCI version 5.10                                                                                                                                                                    
[    4.225620] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c                                                                                                                                  
[    4.225851] random: crng init done                                                                                                                                                                      
[    4.235785] input: gpio-keys as /devices/platform/gpio-keys/input/input0                                                                                                                                
[    4.248751] ti-sci-clk 44083000.system-controller:clock-controller: is_prepared failed for dev=152, clk=21, ret=-19                                                                                     
[    4.259363] ti-sci-clk 44083000.system-controller:clock-controller: is_prepared failed for dev=152, clk=20, ret=-19                                                                                     
[    4.265219] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit                                                                                                                       
[    4.269844] ti-sci-clk 44083000.system-controller:clock-controller: is_prepared failed for dev=152, clk=19, ret=-19                                                                                     
[    4.294132] ALSA device list:                                                                                                                                                                           
[    4.297104]   No soundcards found.                                          
[    4.369414] Freeing unused kernel memory: 128576K                                                                                                                                                       
[    4.383019] Checked W+X mappings: passed, no W+X pages found                                                                                                                                            
[    4.388725] Run /init as init process                                                                                                                                                                   
[    4.396338] mmc1: new high speed SDHC card at address 1234                                                                                                                                              
[    4.402437] mmcblk1: mmc1:1234 SA16G 14.4 GiB                                                                                                                                                           
[    4.408911]  mmcblk1: p1 p2                                                                                                                                                                             
Starting systemd-udevd version 255.4^                                                                                                                                                                      
Waiting for removable media...                                                                                                                                                                             
[   14.305861] platform bus@100000:wiz@5030000: deferred probe pending  

Hello everyone,

I’m continuing with the above project of bringing up Automotive Grade Linux on beagleboard-AI64.

but I’m getting the following errors while booting up. As you can see my previous error was about

[    0.000000] Linux version 6.1.69-ti (oe-user@oe-host) (aarch64-agl-li00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dcompatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[   
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
[    0.000000] OF: reserved mem: 00] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: crea Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.00000aa000000-0x00000000abbfffff]
[    0.000000]   node   0: [mem 0x00000000abc00000-0x00000000fce53fff]
[    0.000000]   nodem 0x00000000fdebe000-0x00000000ffebffff]
[    0.000000]   node   0: [mem 0x00000000ffec0000-0x00000000ffecffff]
[    0.000000
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.5
[    0.000000] perc] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    kernel command line parameters "BOOT_IMAGE=/Image-initramfs-beaglebone-ai64.bin", will be passed to user space.
[    0.000000]504K reserved, 147456K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000]ic: Setting shift to 1 and lim to 1.
[    0.002092] cblist_init_generic: Setting adjustable number of callback queues.
[    0roller@1820000 domain created
[    0.003263] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain c0x0000000001 [0x411fd080]
[    0.012687] smp: Brought up 1 node, 2 CPUs
s: initialized SMP: Total of 2 processors activated.
[    0.043891] Registered cp15_barrier emulation handler
[    0.043919] Registered setend emulation handler
[Bone AI-64, BIOS 2024.07 07/01/2024
[    0.047124] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.047950] DMA: prdit_enabled=0 res=1
[    0.048702] thermal_sys: Registered thermal governor 'fair_share'
[    0.048706] thermal_sys: Registerth 32768 entries
[    0.059807] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000/ports/port@-allocated 0 pages
[    0.065913] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.065918] HugeTLB: registered y algorithm
[    0.067082] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[    0.068040] iomAPI ver. 1 registered
y default8810] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.069910] vgaarb: loaded
[    0.070229] clocksource: Switched to clocksource arch_sys_counter
[    0.070538] )
[    0.076074] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.076139] Table-pertuer: 3, 49152 bytes, linear)
[    0.077269] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.077310] UDP-Lidule.
[    0.082760] NET: Registered PF_XDP protocol family
[    0.082771] PCI: CLS 0 bytes, default 64
[    0.090325] hw petrusted keyrings
[    0.436813] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.439540] zbud: loaded
[    0NET: Registered PF_ALG protocol family
[    0.462047] xor: measuring software checksum speed
[    0.463168]    8regs         er SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.475410] io scheduler mq-deadline registered
[    0.477972]bit, oas 48-bit (features 0x00001faf)
[    0.484124] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
[    0.48468764-q1
[    0.487740] megasas: 07.719.03.00-rc1
[    0.490429] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[   0x
[    0.491718] usbserial: USB Serial support registered for cp210x
[    0.492623] i2c_dev: i2c /dev entries driver
[    0emented, skipping ....
[    0.494920] hid: raw HID events driver (C) Jiri Kosina
[    0.495119] usbcore: registered new inter6 protocol family
[    0.522833] Segment Routing with IPv6
[    0.522886] In-situ OAM (IOAM) with IPv6
[    0.522946] mip6: 0.524307] Key type fscrypt-provisioning registered
[    0.525645] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=yesed attributes:
[    0.526031] evm: security.selinux
[    0.526036] evm: security.SMACK64 (disabled)
[    0.526040] evm: secua '10.0.1--v10.00.01 (Fiery Fox)')
[    0.589085] ti-sci-clk 44083000.system-controller:clock-controller: recalc-rate failed f bus 4 rev0.12 at 400 kHz
[    0.633224] omap_i2c 2010000.i2c: bus 5 rev0.12 at 400 kHz
[    0.633695] omap_i2c 2020000.i2c: ed
[    0.635984] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
[    0.636096] ti-s646484] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    0.648494] k3-ringacc 3c000000.ringacc: Ring A
[    2.719382] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
[    2.820450] am65-cpts 310d0000.cpts:[    2.930491] mmc0: CQHCI version 5.10
[    2.941141] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    2.948041] omap-mailbox 31f81000.mailbox: omap m000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[    2.990868] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0[    3.064565] mmc0: Command Queue Engine enabled
[    3.069029] mmc0: new HS200 MMC card at address 0001
[    3.074463] mmcb[    4.002344] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00
[    4.009043] pci_bus 0000:00: root bus resource  RW1C bits
[    4.046583] pci 0000:00:00.0: supports D1
[    4.050585] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[   4.090881] pcieport 0000:00:00.0: AER: enabled with IRQ 491
[    4.097576] ti-udma 285c0000.dma-controller: Channels: 26 (tchass on minor 0
[    4.147926] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
[    4.154254] tidss 4a00000.dss: [drm] C revision 9.7, bus freq 1000000
freq:500000000, add_val:1 pps:000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    4.264330] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    4.272971] leds- new high speed SDHC card at address 1234
[    4.381157] mmcblk1: mmc1:1234 SA16G 14.4 GiB 
[    4.387566]  mmcblk1: p1 p2
[[    4.465900] Freeing unused kernel memory: 128576K
[    4.484655] Checked W+X mappings: passed, no W+X pages found
[    4.490386] Run /init as init process
Waiting for removable media...

I’m using two versions of extlinux.conf file.

The first version is a s follows:

label Linux microSD
    kernel /Image
    append console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 ro rootfstype=ext4 rootwait net.ifnames=0
    fdtdir /
    initrd /core-image-tiny-initramfs-beaglebone-ai64.cpio.gz

the second version of extlinux.conf is as follows:

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

I see also the boot/EFI/BOOT/grub.cfg file has the following content:

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 show error above is the same with bootfirmware from July 2024 as the most recent one available at: RobertCNelson link to firmware BBAI-64

I can see all the leds on the board turn on, and the heart bit led working too but I do not get a login section display in the minicom output.

I have some initial questions:

a) How do I know initrd image is the correct one in the above for extlinux.conf

b) During BBAI64 boot there is an opportunity to boot using a uEnv.txt file, is there a way to configure this uEnv.txt

If anybody can shed some light I would really appreciate it.

Stop uboot and

=> printenv

make sure bootargs correctly indentify root=