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.

SK-AM62-SIP: Cannot boot with a custom image.

Part Number: SK-AM62-SIP

Tool/software:

I'm trying to create an .img file to flash to an SD card, to boot linux on the am62-sip. The goal is to keep the ti bootloader etc. And simply boot my own linux partition.

I format the .img into two partitions, Fat32 and Ext4 With an MBR partition table. I've copied tiboot3.bin (hs-fs version. Though I've tried all of the variations under the `board-support/prebuilt-images/` folder of the sdk.), tispl.bin and u-boot.img to the first Fat32 partition.

Even without a linux rootfs on the second partition, I'd expect this to load, and at least boot into uboot. But I'm getting absolutely nothing from the console.

I have a downloaded working image. Which boots the board just fine. I've even extracted tiboot3.bin, tispl.bin and u-boot.img from the known working image to try in my one, and this has the same behaviour.

In the create-sd.sh script, there is a mention of a `dra7-ipu1-fw.xem4` file for something called earlyboot. It seems to be copied from the linux partition of the sd card. I did have a look in the tisdk-default-image-am62xxsip-evm.rootfs.tar.xz image that I could find in the sdk. But there wasn't any such file under lib/firmware.

Is there any obvious steps that I'm missing here?

  • Hi, I am out of office this week, please expect delayed response.

  • Cheers. Thanks for keeping me updated.

  • Hi Emma,

    I'm trying to create an .img file to flash to an SD card, to boot linux on the am62-sip.

    What tool do you use to create such .img file? I am not aware of any tool to do so.

    The SDK provides script create-sdcard.sh, which partitions the SD card, and copies U-Boot binaries and rootfs to the SD card. Why don't you want to use this script, rather prefer a .img file?

  • I'm using dd to create a blank image file. Then mounting the image and using fdisk to partition it, like in the create-sd.sh script from the sdk.

    We'd prefer an image file, because it allows our devices that this chip will be going into to be flashed during final assembly in the same way that our other devices are. So the procedure remains the same. It's also because we're developing on windows machies with WSL. Which doesn't have proper usb support.

    The resulting image, when flashed to an sd card appears to be formatted identically to what the create-sd.sh does. With the three boot files on the fat32 partition, but nothing else occurs, no output from the console, nothing.

  • Hi Emma,

    Please try the script attached below to create a WIC boot image. it was provided in an old version of the Processor SDK (I forgot the SDK version, this is a copy on my PC).

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/create_2D00_wic.sh

  • Ah! This script works, tiboot3 is loaded, which can then load the SPL.

    The missing step seems to have been writing in gaps. And aligning where the files are written to the boot partition.

    Thank you!

  • Glad the issue is resolved. Thanks for the update.