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

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