Tool/software:
When booting from the SD card image from ti-processor-sdk-linux-am69-sk-10_00_07_06 (U-Boot 2024.04-ti-gfda88f8bcea3 (Jul 26 2024 - 11:00:12 +0000)), the OSPI flash storage is not visible to Linux:
root@am69-sk:~# cat /proc/mtd dev: size erasesize name root@am69-sk:~# ls /dev/ | grep mtd root@am69-sk:~# dmesg | grep -i SPI [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=a168fa50-02 rw rootfstype=ext4 rootwait [ 0.000000] GICv3: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented root@am69-sk:~# dmesg | grep -i MTD [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) root=PARTUUID=a168fa50-02 rw rootfstype=ext4 rootwait
After downgrading tiboot3.bin, tispl.bin, u-boot.img, and uEnv.txt to those from ti-processor-sdk-linux-j784s4-evm-09_02_00_05 (U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)), the OSPI flash storage is mounted in Linux.
root@am69-sk:~# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00040000 "ospi.tiboot3" mtd1: 00200000 00040000 "ospi.tispl" mtd2: 00400000 00040000 "ospi.u-boot" mtd3: 00040000 00040000 "ospi.env" mtd4: 00040000 00040000 "ospi.env.backup" mtd5: 037c0000 00040000 "ospi.rootfs" mtd6: 00040000 00040000 "ospi.phypattern" root@am69-sk:~# ls /dev/ | grep mtd mtd mtd0 mtd0ro mtd1 mtd1ro mtd2 mtd2ro mtd3 mtd3ro mtd4 mtd4ro mtd5 mtd5ro mtd6 mtd6ro mtdblock0 mtdblock1 mtdblock2 mtdblock3 mtdblock4 mtdblock5 mtdblock6 root@am69-sk:~# dmesg | grep -i SPI [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) systemd.hostname=am69-sk root=PARTUUID=a168fa50-02 rw rootfstype=ext4 rootwait [ 0.000000] GICv3: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 5.459831] spi-nor spi0.0: s28hs512t (65536 Kbytes) [ 5.464825] 7 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 5.471446] Creating 7 MTD partitions on "47040000.spi.0": [ 5.476934] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 5.483111] 0x000000080000-0x000000280000 : "ospi.tispl" [ 5.488965] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 5.494895] 0x000000680000-0x0000006c0000 : "ospi.env" [ 5.500566] 0x0000006c0000-0x000000700000 : "ospi.env.backup" [ 5.506839] 0x000000800000-0x000003fc0000 : "ospi.rootfs" [ 5.512778] 0x000003fc0000-0x000004000000 : "ospi.phypattern"