This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: LINUX SDK 0801 cant find the ospi partitions

Part Number: TDA4VM


Dear TIS,
in SDK  linux 0801, cant find the ospi partition
root@ti-j7:/# cat /proc/mtd
dev: size erasesize name
mtd0: 04000000 00001000 "47040000.spi.0"
mtd1: 04000000 00001000 "47050000.spi.0"
we use the emmc boot mode, so in uboot prompt run ¨sf probe¨
print the error:
=> sf probe
cadence_spi spi@47040000: Can't get reset: -2
jedec_spi_nor flash@0: Software reset enable failed: -524
SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
=> sf probe
jedec_spi_nor flash@0: Software reset enable failed: -524
device_remove: Device 'flash@0' failed to remove, but children are gone

can you help? thanks.
Ruijie Sun
Thanks
  • Hi,

    Are you using OSPI as the boot media? If yes you will need to run sf probe before booting Linux. It is a known issue.

    - Keerthy

  • Hi keerthy,

    the boot mode is EMMC, And i have in uboot prompt run ¨sf probe¨

    print the error:
    => sf probe
    cadence_spi spi@47040000: Can't get reset: -2
    jedec_spi_nor flash@0: Software reset enable failed: -524
    SF: Detected mt35xu512aba with page size 256 Bytes, erase size 128 KiB, total 64 MiB
    => sf probe
    jedec_spi_nor flash@0: Software reset enable failed: -524
    device_remove: Device 'flash@0' failed to remove, but children are gone
    Thanks,
    Ruijie Sun
  • Hi Ruijie Sun,

    root@j7-evm:~# cat /proc/mtd
    dev: size erasesize name
    mtd0: 00080000 00020000 "ospi.tiboot3"
    mtd1: 00200000 00020000 "ospi.tispl"
    mtd2: 00400000 00020000 "ospi.u-boot"
    mtd3: 00040000 00020000 "ospi.env"
    mtd4: 00100000 00020000 "ospi.sysfw"
    mtd5: 00040000 00020000 "ospi.env.backup"
    mtd6: 03800000 00020000 "ospi.rootfs"
    mtd7: 04000000 00010000 "47050000.spi.0"

    I am on the latest 8.2 SDK but I believe 8.1 also should be working.

    Are you using some custom Device tree changes or using the default SD card?

    - Keerthy