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.

Linux/TDA2EVM5777: How can I boot from emmc?

Part Number: TDA2EVM5777

Tool/software: Linux

HI,

I want to boot from emmc,Now I can find the emmc and write  the boot files on it,How can I select the boot style on the TDA board?thanks!

  • Hi,

    do you ask about SYSBOOT settings? If so, please check point 6. in this post:
    e2e.ti.com/.../2585636

    Regards,
    Yordan
  • HI Yordan

             I can start uboot from emmc,when i set sysboot as the link you gived,but the uboot can't read zImage and  filesystem.

             I used some commands to test ,like this:

    => load mmc 1:2 0x82000000 /boot/zImage
    ** File not found /boot/zImage **

    => ls mmc 1:2
    <DIR> 4096 .
    <DIR> 4096 ..
    <DIR> 16384 lost+found
    <DIR> 4096 bin
    <DIR> 0 boot
    <DIR> 0 dev
    <DIR> 21 etc
    <DIR> 0 home
    <DIR> 0 include
    <DIR> 0 lib
    <DIR> 28 media
    <DIR> 655 mnt
    <DIR> 649 opt
    <DIR> 5764 proc
    <DIR> 4096 run
    <DIR> 2668 sbin
    <DIR> 224904 srv
    <DIR> 110212 sys
    <DIR> 129020 tmp
    <DIR> 191052 Untitled Folder
    <DIR> 0 usr
    <DIR> 0 var
    <DIR> 0 test_di

         From above, uboot can recognize the filesystem,but can't read the file.

         The files u-boot.img  \ uenv.txt \ tisdk-rootfs-image-dra7xx-evm.tar.xz   arm the same when I writed to SD card.

  • HI Yordan
    In this link,
    1. Copy the file uenv-emmc.txt to your boot-partition and run the script, it should update your EMMC with the boot and rootfs partitionI
    I can't find the file uenv-emmc.txt.
  • Hi,

    Attached the uenv-emmc.txt file for your reference (please update the fdtfile argument according to the DTB you're using).


    Regards

    Shravan

    fdtfile=dra71-evm-lcd-auo-g101evn01.0.dtb
    rootfs=/dev/mmcblk0p2
    args_mmc=part uuid mmc 0:2 uuid; setenv bootargs "console=ttyO0,115200n8 elevator=noop root=PARTUUID=${uuid} rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=128M@0xB0000000 rootfstype=ext4 snd.slots_reserved=1,1" 
    

  • HI ,I have resaved my problem,thanks , just because the tool mkfs.ext4 is too new.