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.

  • Resolved

[FAQ] TMDX654GPEVM: mksdboot.sh of PROCESSOR-SDK-LINUX-AM65X 07_00_00_08 doesn't work

Prodigy 150 points

Replies: 6

Views: 142

Part Number: TMDX654GPEVM

Hi,

I downloaded the latest AM65x PROCESSOR-SDK-LINUX-AM65X  07_00_00_08 from software-dl.ti.com/.../ti-processor-sdk-linux-am65xx-evm-07_00_00_08-Linux-x86-Install.bin and installed. Then I tried to use /bin/mksdboot.sh to create a bootable SD card(refer to https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/latest/exports/docs/linux/Overview/PSDKLA_Formatting_SD_Card.html#), but it will fail and seems that the target image file cannot be found.

The error prompt shows as below:

"

...

Partitioning and formatting completed!
Copying filesystem on /dev/sdb1, /dev/sdb2
tar (child): /home/hunk/TI_AM65X/sdk-linux-am65xx-evm-07_00_00/board-support/prebuilt-images/boot-j7-evm.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

ERROR: executing tar -zxf /home/hunk/TI_AM65X/sdk-linux-am65xx-evm-07_00_00/board-support/prebuilt-images/boot-j7-evm.tar.gz --owner root --group root --no-same-owner -C /tmp/sdk/27916/boot

"

I checked mksdboot.sh and found it requires the files "/board-support/prebuilt-images/boot-j7-evm.tar.gz" and "/filesystem/tisdk-default-image-j7-evm.tar.xz" which don't exist in those directories.

  • Hi Hunkli,

    I will take a look at this and get back in sometime.

    - Keerthy

  • In reply to Keerthy J:

    Hi Hunkli,

    Please change the 2 lines in /bin/mksdboot.sh.

    Replace:
    1) boot-j7-evm.tar.gz by boot-am65xx-evm.tar.gz
    2) tisdk-default-image-j7-evm.tar.xz by tisdk-default-image-am65xx-evm.tar.xz

    That should solve the issue.

    Please resolve the issue if you are unblocked.

    Best Regards,
    Keerthy

  • In reply to Keerthy J:

    Hi Keerthy,

    The SD card can be created successfully after I replaced the file names.

    Unfortunately, AM65x board can't boot up with the SD card. There is not any output on USB-UART interface when I power on the board with the created SD card. Could you help to confirm it, thanks. 

  • In reply to hunkli:

    Hi,

    Can you please copy the attached sysfw.itb binary to your boot partition of SD card
    & try booting. This should boot to Linux priompt.

    Regards,
    Keerthysysfw.itb

  • In reply to Keerthy J:

    Hi Keerthy,

    Yes, with this sysfw.itb the AM65x board can boot to Linux normally, thank you.

  • In reply to hunkli:

    Hello,

    For mksdboot.sh failure:

    Please change the 2 lines in /bin/mksdboot.sh.

    Replace:
    1) boot-j7-evm.tar.gz by boot-am65xx-evm.tar.gz
    2) tisdk-default-image-j7-evm.tar.xz by tisdk-default-image-am65xx-evm.tar.xz

    That should resolve the issue.

    For the missing sysfw.itb binary for SR1.0:

    The SDK has been patched to fix the missing sysfw binaries for SR 1.0.

    https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/latest/index_FDS.html

    Is now having the sysfw binaries- sysfw-itb.tar.gz

    As readme.txt suggests pick sysfw-am65x-evm.itb for AM65x PG 1.0 and copy it as sysfw.itb in your boot partition
    & should boot to kernel.

    Regards,
    Keerthy

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.