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.

PROCESSOR-SDK-J722S: eMMC boot issue

Part Number: PROCESSOR-SDK-J722S
Other Parts Discussed in Thread: AM67

Tool/software:

Unable to boot Linux from emmc(J722S EVM)

I have been following the Processor SDK Linux for J722S 10_01_00 Guide for booting Linux from emmc.

Steps followed

1. Partition and format eMMC device

4.1.8. How to flash eMMC device and boot from UDA partition — Processor SDK J722S Documentation

partitions created (BOOT & rootfs) in emmc

2. rooffs copy, below steps followed

3.reboot board and Enter in Uboot, rootfs copy successful.

4. reboot board and Enter in Uboot

below steps followed from the Guide section 3.1.1.5.5. Booting tiboot3.bin, tispl.bin and u-boot.img from eMMC boot partition (For K3 class of SoCs)

3.1.1.5. SD, eMMC and USB — Processor SDK J722S Documentation

excute  commond: "ls mmc 0:1" ,result in have no any files.

5 also:enter in boot after the board reboot,excute commond again: "ls mmc 0:1" ,I got the following error.

Can you please help to solve the error(above setp4 and 5)?

thanks

  • Hi Yao,

    Can you boot into the linux terminal and enter the following commands:

    This will do a bootfs copy .

    Regards

    Gokul

  • Hi,Gokul

    Thank you for your update!

    I did the following things, but it's not to boot form eMMC as well.

    Steps followed

    1.enter the following commands

    after reboot TI evm board,result as shown below:

    2. enter the following commands

    3.dip switches changed to boot from emmc. as shown below

    SW3[1:8] = 1101 0010 and SW4[1:8] = 0100 0000

    4.reboot TI evm board(hardware reset SW5)

    5.there is not any log ibformation to output for my linux terminal

    Can you please help to solve the error(above setp5)? could you please correct the setps mentioned  above ?

    Regards

    Maojiang

  • Hi MaoJiang,

    Sorry for the delayed response.

    2. enter the following commands

    Can you enter the following commands instead:

    mmc partconf 0 1 7 1
    mmc bootbus 0 2 0 0
    

    After this step,can you try changing the boot switch settings as mentioned below after the above commands and power on the board

    3.dip switches changed to boot from emmc. as shown below

    SW3[1:8] = 1101 0010 and SW4[1:8] = 0100 0000

    Can you try the following boot switch settings for eMMC.

    Regards

    Gokul

  • Hi,Gokul

    Thank you for your suggestion !

    I have done something about you mention the step2 and step3  above, but unfortunately, the result was same that does not any log information to output for my linux terminal after hardware reset SW5.

    Steps followed:

    1.dip switches changed to boot from sdcard. as shown below,enter the u-boot prompt for the first time, enter the following commands that you mentiond it above.

    2. dip switches changed to boot from emmc. as shown below

    SW3[1:8] = 1101 0010 and SW4[1:8] = 0000 0000

    3.reboot TI evm board(hardware reset SW5)

    4.there is not any log ibformation to output for my linux terminal

    Can you please help to solve the error(above setp4) or give some suggestions

    Regards

    Maojiang

  • Hi Maojiang,

    Sorry for the delayed response. I had provided the wrong boot mode pins by mistake.

    Can you try the following boot switch settings as it was working for me:

    • SW3[1:8] = 1100 0010 
    • SW4[1:8] = 0000 0000

    Regards

    Gokul

  • Hi,Gokul


    1.Thank you for your suggestion ! this resolved my issue, The eMMC has been successfully booted. as show below.

    in order to verify the problem ,I pressed the SW5 button after Remove the SD card on the TI EVM board, as show above, there is log information to output for my linux terminal. 

    2.but, I have a problem about the doc, it's name is "J722S TDA4VEN TDA4AEN AM67 Processor Silicon Revision 1.0 Technical Reference Manual", I don't understand about Chapter 5.3.1.1 describes that B3 is equal to 1.

    Can you please help to give some suggestions?

    Regards

    Maojiang

  • Hi Maojiang,

    Emmc has 3 partitions actually:

    • Boot 0 partition : which is a raw partition.
    • Boot 1 partition : which is a raw partition
    • UDA partition : which is a filesystem based partition.

    When the primary boot mode is emmc boot, it means that files are taken from the raw partition(ie:BOOT0/BOOT1).

    When the primary boot mode is eMMC Boot using UDA , files are taken from the filesystem based partition.

    Since we are storing the boot and root files in the UDA partition we are using the boot switch settings corresponding to eMMC Boot using UDA.

    Also, we would really appreciate if you could mark this issue as resolved, if it has resolved your issue.

    Regards 

    Gokul