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.

[FAQ] PROCESSOR-SDK-DRA8X-TDA4X: Boot uboot from EMMC

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Hi Ti,

From the developer notes for release  PROCESSOR-SDK-LINUX-DRA8X-TDA4X: V06.02.00.07 i can see instructions for using rootfs from emmc.

For booting we still need uboot from the connected SDCARD. I copied the boot partition to emmc but it does not boot the device.

As per building Foundational_Components_U-Boot.html instructions all the configuration files for tiboot3.bin, tispl.bin and u-boot.img are same for emmc or SDCARD.

What additional step is needed for complete boot from emmc.

I can to switch from sdcard to emmc  boot i toggle MCU3 bit to high. All other MCU4 and MCU5 are 0.

Best regards

Amit

  • Hi Amit,

    Step 1: Boot to u-boot prompt from SD. I believe that is working for you.

    Setp 2: Write the images to eMMC by the following:

    => mmc dev 0 1
    => fatload mmc 1 ${loadaddr} tiboot3.bin
    => mmc write ${loadaddr} 0x0 0x400
    => fatload mmc 1 ${loadaddr} tispl.bin
    => mmc write ${loadaddr} 0x400 0x1000
    => fatload mmc 1 ${loadaddr} u-boot.img
    => mmc write ${loadaddr} 0x1400 0x2000
    => fatload mmc 1 ${loadaddr} sysfw.itb
    => mmc write ${loadaddr} 0x3600 0x800
    => mmc partconf 0 1 1 1
    => mmc bootbus 0 2 0 0

    The above burns all the boot images in to your eMMC.


    Step 3: Power off the board and change the dip switch settings to eMMC:

    SW 8:

    1    2    3    4    5    6    7    8
    On Off Off Off Off Off Off Off

    SW 9:

    1    2    3    4    5    6    7    8
    Off On Off Off Off Off Off Off


    Step 4: Power on the board. You will see:

    U-Boot SPL 2019.01-g350f3927b8 (Feb 17 2020 - 09:46:23 +0000)
    SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
    Trying to boot from MMC1


    The MMC1 in the trace means we are booting from eMMC.

    Hope the above instructions are clear and you will boot from eMMC.
    Resolve the issue if it gets you going.

    Best Regards,
    Keerthy

  • Hi Keerthy,

    Thanks for your response.

    I followed the steps on the EVK and i do see the boot media change to MMC1.

    With these steps rootfs still boots from the MMC2 as below:

    /dev/mmcblk1p2 on / type ext4 (rw,relatime)

    Is there any setting where both the boot and rootfs from only EMMC is used ?

    Best regards

    Amit

  • Amit,

    The thread subject is
    PROCESSOR-SDK-DRA8X-TDA4X: Boot uboot from EMMC

    Request you to resolve this thread and open a fresh one for the kernel one. So that
    solutions are easier to find.

    Thanks,
    Keerthy