BeagleBone AI-64 memory 4GB or 2GB RAM?

The BeagleBone AI-64 spec indicates 4 GB of DDR4 RAM, but mine is showing only 2GB total. Has anyone else seen this?

Hi @andrew8 , the AI-64 has 4GB installed, the other 2GB is reserved in the default image thru remoteproc for the other companion cores (c6, c7x, and R5)…

We have a custom device tree for you if you’d like to disable the other cores and use all 4GB with the A72’s…

k3-j721e-beagleboneai64-no-shared-mem.dtb

Factory Image update (without reflashing)…

sudo apt update
sudo apt install --only-upgrade bb-j721e-evm-firmware generic-sys-mods
sudo apt upgrade

Update U-Boot:

Run both of these scripts to ensure only tiboot3.bin is in boot0, the pre-production image we tried to do more in boot0 partition, but failed…

sudo /opt/u-boot/bb-u-boot-beagleboneai64/install-emmc.sh
sudo /opt/u-boot/bb-u-boot-beagleboneai64/install-microsd.sh
sudo reboot

Now edit extlinux.conf and force that dtb file

(default)

root@BeagleBone:~# free -h
               total        used        free      shared  buff/cache   available
Mem:           2.1Gi       555Mi       1.1Gi       2.0Mi       496Mi       1.4Gi
Swap:             0B          0B          0B

fdt /k3-j721e-beagleboneai64-no-shared-mem.dtb

root@BeagleBone:~# free -h
               total        used        free      shared  buff/cache   available
Mem:           3.6Gi       491Mi       2.7Gi       2.0Mi       453Mi       3.0Gi
Swap:             0B          0B          0B

so in /boot/firmware/extlinux/extlinux.conf just set:

fdt /k3-j721e-beagleboneai64-no-shared-mem.dtb

Regards,

2 Likes

Will there be a way in the future to apportion memory between the different processors, in general I would guess most people would want more memory for the 72s but still may want to use the other cores/

Users can adjust the memory carve out as needed. In our current out of box example, an edge ai use case was setup as default.

Regards,

Hi Robert, is there some documentation on how to do this?

Cheers

Andy

It’s a reserved memory node in the device tree board file. Do a git pull under /opt/source/dtb*/ and you’ll have the latest source…

Thanks Robert