BeagleBone AI64 does not show 4GB

Hi, good morning!

First of all, I’m sorry to ask this question cause it has been answered before, but in my case I cannot get it working the way it’s supposed to work.

The thing is I’m trying to boot the system using the image k3-j721e-beagleboneai64-no-shared-mem.dtb because I need all 4GB available in the hardware.

I tried the answers from @RobertCNelson (24 of June of 2022) from here:

and @benedict.hewson (24 of September of 2022) from here:

But, in bth cases the system does not boot anymore. You can see the log attached to the post.
serial_port.log (28,6 KB)

Please, anyone knows how to setup 4G in the beaglebone AI64?
Thank you so much in advance!

Other thing I tried too is to pull all contents from /opt/source/dtb-5.10-ti and do the build_n_install.sh (which worked correctly) but anyway, it does not boot at the end.

The only thing I can do is to press RST button and select 1 (Recovery Mode) in u-Boot. (This worked correctly too).

Here I show you the contents of the extlinux.conf

debian@BeagleBone-AI64:~$ cat /boot/firmware/extlinux/extlinux.conf 
menu title BeagleBone AI-64 eMMC (extlinux.conf) Options

timeout 50

default BeagleBone AI-64 eMMC (default)

label BeagleBone AI-64 eMMC Recovery
    kernel /Image
    append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0
    fdtdir /
    initrd /initrd.img

label BeagleBone AI-64 copy eMMC to microSD
    kernel /Image
    append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 init=/usr/sbin/init-beagle-flasher
    fdtdir /
    initrd /initrd.img

label BeagleBone AI-64 eMMC (default)
    kernel /Image
    append root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet
    # fdtdir /
    fdt /k3-j721e-beagleboneai64-no-shared-mem.dtb
    #fdtoverlays /overlays/<file>.dtbo
    initrd /initrd.img

Here I show you the contents of the beagle-version on my board:

debian@BeagleBone-AI64:/opt/source/dtb-5.10-ti/src/arm64$ sudo beagle-version
xxd: Connection timed out
eeprom:[]
model:[BeagleBoard.org_BeagleBone_AI-64]
dogtag:[BeagleBoard.org Debian Bullseye Xfce Image 2023-10-07]
bootloader:[/dev/mmcblk0boot0]:[tiboot3.bin]:[U-Boot SPL 2021.01-gea96725b (Mar 08 2024 - 17:50:50 +0000)]
bootloader:[/dev/mmcblk0]:[/boot/firmware/tiboot3.bin]:[U-Boot SPL 2021.01-gea96725b (Mar 08 2024 - 17:50:50 +0000)]
bootloader:[/dev/mmcblk0]:[/boot/firmware/tispl.bin]:[U-Boot SPL 2021.01-gea96725b (Mar 08 2024 - 17:50:50 +0000)]
bootloader:[/dev/mmcblk0]:[/boot/firmware/u-boot.img]:[U-Boot 2021.01-gea96725b (Mar 08 2024 - 17:50:50 +0000)]
UBOOT: Booted Device-Tree:[k3-j721e-beagleboneai64.dts]
kernel:[5.10.168-ti-arm64-r115]
nodejs:[v12.22.12]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-u-boot-beagleboneai64]:[2021.10.20230216.16-0~bullseye+20240308]
pkg:[bb-customizations]:[1.20240627.0-0~bullseye+20240627]
pkg:[bb-usb-gadgets]:[1.20240717.0-0~bullseye+20240717]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input render bluetooth netdev i2c gpio docker admin tisdk weston-launch cloud9ide]
cmdline:[root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait net.ifnames=0 quiet]
ti-sci:

optee:
optee: revision 3.22 (001ace66)
wlcore:
dmesg | grep remote
[    5.552525] remoteproc remoteproc0: b034000.pru is available
[    5.552743] remoteproc remoteproc1: b004000.rtu is available
[    5.552870] remoteproc remoteproc2: b00a000.txpru is available
[    5.552985] remoteproc remoteproc3: b038000.pru is available
[    5.553115] remoteproc remoteproc4: b006000.rtu is available
[    5.553310] remoteproc remoteproc5: b00c000.txpru is available
[    5.553456] remoteproc remoteproc6: b134000.pru is available
[    5.553591] remoteproc remoteproc7: b104000.rtu is available
[    5.553747] remoteproc remoteproc8: b10a000.txpru is available
[    5.553862] remoteproc remoteproc9: b138000.pru is available
[    5.554010] remoteproc remoteproc10: b106000.rtu is available
[    5.554129] remoteproc remoteproc11: b10c000.txpru is available
[    7.790589] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
[    7.810917] remoteproc remoteproc12: 4d80800000.dsp is available
[    7.815650] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
[    7.825299] remoteproc remoteproc13: 4d81800000.dsp is available
[    7.829020] remoteproc remoteproc12: powering up 4d80800000.dsp
[    7.829034] remoteproc remoteproc12: Booting fw image vision_apps_eaik/vx_app_rtos_linux_c6x_1.out, size 1461044
[    7.848448] remoteproc remoteproc13: powering up 4d81800000.dsp
[    7.848462] remoteproc remoteproc13: Booting fw image vision_apps_eaik/vx_app_rtos_linux_c6x_2.out, size 1461012
[    7.851634] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
[    7.858575] remoteproc remoteproc14: 64800000.dsp is available
[    7.880906]  remoteproc12#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a9000000
[    7.881001]  remoteproc12#vdev0buffer: registered virtio0 (type 7)
[    7.881005] remoteproc remoteproc12: remote processor 4d80800000.dsp is now up
[    7.886894]  remoteproc13#vdev0buffer: assigned reserved memory node vision-apps-c66-dma-memory@a8000000
[    7.887033]  remoteproc13#vdev0buffer: registered virtio1 (type 7)
[    7.887038] remoteproc remoteproc13: remote processor 4d81800000.dsp is now up
[    7.964237] remoteproc remoteproc14: powering up 64800000.dsp
[    7.964251] remoteproc remoteproc14: Booting fw image vision_apps_eaik/vx_app_rtos_linux_c7x_1.out, size 13242432
[    7.964313] remoteproc remoteproc14: unsupported resource 65538
[    7.982943]  remoteproc14#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@aa000000
[    7.983058]  remoteproc14#vdev0buffer: registered virtio2 (type 7)
[    7.983063] remoteproc remoteproc14: remote processor 64800000.dsp is now up
[    8.675082] remoteproc remoteproc15: 41000000.r5f is available
[    8.675141] remoteproc remoteproc15: attaching to 41000000.r5f
[    8.682055]  remoteproc15#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
[    8.682178]  remoteproc15#vdev0buffer: registered virtio3 (type 7)
[    8.682184] remoteproc remoteproc15: remote processor 41000000.r5f is now attached
[    9.492336] platform 5c00000.r5f: configured R5F for remoteproc mode
[    9.531414] remoteproc remoteproc16: 5c00000.r5f is available
[    9.531585] remoteproc remoteproc16: Direct firmware load for vision_apps_eaik/vx_app_rtos_linux_mcu2_0.dontload failed with error -2
[    9.531592] remoteproc remoteproc16: powering up 5c00000.r5f
[    9.531610] remoteproc remoteproc16: Direct firmware load for vision_apps_eaik/vx_app_rtos_linux_mcu2_0.dontload failed with error -2
[    9.531615] remoteproc remoteproc16: request_firmware failed: -2
[    9.562777] platform 5d00000.r5f: configured R5F for remoteproc mode
[    9.584535] remoteproc remoteproc17: 5d00000.r5f is available
[    9.584891] remoteproc remoteproc17: Direct firmware load for vision_apps_eaik/vx_app_rtos_linux_mcu2_1.dontload failed with error -2
[    9.584901] remoteproc remoteproc17: powering up 5d00000.r5f
[    9.584918] remoteproc remoteproc17: Direct firmware load for vision_apps_eaik/vx_app_rtos_linux_mcu2_1.dontload failed with error -2
[    9.584922] remoteproc remoteproc17: request_firmware failed: -2
[    9.649507] platform 5e00000.r5f: configured R5F for remoteproc mode
[    9.713780] remoteproc remoteproc18: 5e00000.r5f is available
[    9.713987] remoteproc remoteproc18: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
[    9.713994] remoteproc remoteproc18: powering up 5e00000.r5f
[    9.714013] remoteproc remoteproc18: Direct firmware load for j7-main-r5f1_0-fw failed with error -2
[    9.714017] remoteproc remoteproc18: request_firmware failed: -2
[    9.738309] platform 5f00000.r5f: configured R5F for remoteproc mode
[    9.759594] remoteproc remoteproc19: 5f00000.r5f is available
[    9.760060] remoteproc remoteproc19: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
[    9.760070] remoteproc remoteproc19: powering up 5f00000.r5f
[    9.760086] remoteproc remoteproc19: Direct firmware load for j7-main-r5f1_1-fw failed with error -2
[    9.760090] remoteproc remoteproc19: request_firmware failed: -2
[    9.927864] remoteproc remoteproc16: powering up 5c00000.r5f
[    9.941704] remoteproc remoteproc16: Booting fw image vision_apps_eaik_8.2/vx_app_rtos_linux_mcu2_0.out, size 572788
[    9.957552]  remoteproc16#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
[    9.957880]  remoteproc16#vdev0buffer: registered virtio4 (type 7)
[    9.957889] remoteproc remoteproc16: remote processor 5c00000.r5f is now up
[    9.958499] remoteproc remoteproc17: powering up 5d00000.r5f
[    9.963470] remoteproc remoteproc17: Booting fw image vision_apps_eaik_8.2/vx_app_rtos_linux_mcu2_1.out, size 297932
[    9.975090]  remoteproc17#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
[    9.975232]  remoteproc17#vdev0buffer: registered virtio5 (type 7)
[    9.975238] remoteproc remoteproc17: remote processor 5d00000.r5f is now up
dmesg | grep pru
[    5.552525] remoteproc remoteproc0: b034000.pru is available
[    5.552870] remoteproc remoteproc2: b00a000.txpru is available
[    5.552985] remoteproc remoteproc3: b038000.pru is available
[    5.553310] remoteproc remoteproc5: b00c000.txpru is available
[    5.553456] remoteproc remoteproc6: b134000.pru is available
[    5.553747] remoteproc remoteproc8: b10a000.txpru is available
[    5.553862] remoteproc remoteproc9: b138000.pru is available
[    5.554129] remoteproc remoteproc11: b10c000.txpru is available
dmesg | grep pinctrl-single
[    0.727029] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[    0.727285] pinctrl-single 11c000.pinctrl: 173 pins, size 692
dmesg | grep gpio-of-helper
lsusb
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci
00:00.0 PCI bridge: Texas Instruments Device b00d
END