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.

AM3358: SD card image

Part Number: AM3358

Hi. there.


I would like to create an SD card image using the link below.
software-dl.ti.com/.../index_overview.html


The order of progress is as follows:
=========================================================================================

1. Fix dts file.
  ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/linux-4.19.59+gitAUTOINC+5f8c1c6121-g5f8c1c6121/arch/arm/boot/dts/am335x-evmsk.dts

2. make & install
  cd /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08
  sudo make all
  sudo make install

3. make sd card image
  3.1 Insert sd card.
  3.2 run script
    cd /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/bin$
    sudo ./create-sdcard.sh

4. Select 2 when the script prompts you to choose "Choose file path to install from" (Enter in custom boot and rootfs file paths)


=========================================================================================
Q1. What path should I set when the script asks me for "Enter path for boot partition"?
    Is the following path correct?
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a

Q2. Which number should I set when the script asks me for "Kernel Image and Device Trees files"? (In custom boot and rootfs)

Q3. If I chose number 1 in Q2, what path should I set when the script asks for "Enter path of rootfs partition"?

If I chose 2 in Q2.
Q4. What path should I set when the script asks me for "Enter path for kernel image and device tree files"?
    The path of the zImage is:
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/linux-4.19.59+gitAUTOINC+5f8c1c6121-g5f8c1c6121/arch/arm/boot/zImage
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/targetNFS/boot/zImage
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/boot/zImage

    The path of the DTS file is as follows:
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/prebuilt-images/am335x-evmsk.dtb
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/linux-4.19.59+gitAUTOINC+5f8c1c6121-g5f8c1c6121/arch/arm/boot/dts/am335x-evmsk.dtb
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a/arch/arm/dts/am335x-evmsk.dtb
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/targetNFS/boot/am335x-evmsk.dtb
    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/boot/am335x-evmsk.dtb

Q5. If the script asks for "Enter path of rootfs partition", can I enter the same path as Q3?


Thank you in advance.

  • Hello simon,

    First type these commands and copy the MLO and u-boot.img to separate directory.

    $ mkdir /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/boot
    $ cp /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a/MLO /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a/u-boot.img /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/boot/


    simon kim said:
    Q1. What path should I set when the script asks me for "Enter path for boot partition"?
        Is the following path correct?
        /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/board-support/u-boot-2019.01+gitAUTOINC+029e4c009a-g029e4c009a

    No. Pass this particular directory path: /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/boot


    simon kim said:
    Q2. Which number should I set when the script asks me for "Kernel Image and Device Trees files"? (In custom boot and rootfs)

    1


    simon kim said:
    Q3. If I chose number 1 in Q2, what path should I set when the script asks for "Enter path of rootfs partition"?

    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/targetNFS


    simon kim said:
    If I chose 2 in Q2.
    Q4. What path should I set when the script asks me for "Enter path for kernel image and device tree files"?

    /home/vm/ti-processor-sdk-linux-am335x-evm-06.01.00.08/targetNFS/boot


    simon kim said:
    Q5. If the script asks for "Enter path of rootfs partition", can I enter the same path as Q3?

    Yes.

    Best regards,
    Kemal