TDA4VEN-Q1: J722S SDK : boot from emmc UDA partition

Part Number: TDA4VEN-Q1

Tool/software:

Hi , TI experts :

     Because of limitation size of emmc BOOT#0 & BOOT#1  which is 4M ,  it's impossible that trying to using "fast boot" option  in sbl_emmc_hlos boot mode , as the size of combined app is up to 21M.

    So I tried to  boot from emmc UDA partition . 

    - I partition the emmc UDA into BOOT in vfat and rootfs  linux just like SDcard partition   

    - copy  sbl_emmc_hlos.release.hs_fs.tiimage into BOOT as tiboot3.bin , and linux.appimage.hs_fs as app which in "fast boot " compile option

     -  firstly ,  boot from  SDcard , enter the uboot cmd ,  configure the mmc : 
     ```

     mmc partconf 0 0 7 0

    mmc bootbus 0 2 0 0

     ``` 

    -  switch bootpins from emmc RAW mode  into  emmc FS mode

    Finally ,  there isn't any logs from uart after power on .

   So , I would like to know any error in my steps or  how can i boot from UDA partition in j722s .

SDK version :  linux , rtos  10_00_00_08

   Thank u very much 

BR
stream

    

  • Hi,

    Can you try with mmc partconf 0 1 7 1 and try again.

  • Hi  Gokul : 

        Thank u for reply! 

        I switch into SDcard boot mode , and enter uboot again ,

        set : mmc partconfig 0 1 7 1

        The same result as  nothing showed from uart. 

     BR

    stream

  • Hi sir,

    Sorry for the late reply.

    Actually,we are sorry to say that booting from emmc uda partition is currently not supported.

    Also,Just to confirm,is the EMMC device which you are using different because we had tested the same here,using boot 0 partition and it was working fine.

  • Hi ,

       Thank u for comfirm , and disappointed to hear that .
       

       I used to boot from boot0 partition without kernel image , It works fine : SBL-->app( containing wkup-fw, bl31,bl32, spl) --> uboot ---> kernel .

       But now project require "fast boot" , which means SBL--> wkup --> other cores

       My questions :

       1.     When booting from UDA will be supported in j722s?  soon or never?

       2.     If it not supported now , I think I need to place these oversized files such as kernel image into UDA partition,  how can i read and load the image in emmc UDA partition from WKUP domain? 

        if it is possible ?  is there any testcase I can refer to? 

    Thank u 

    BR

    stream

       

  • Hi sir,

    We will inform you as soon as booting from UDA is supported in J722S.

    Curently,I would suggest you to boot using SD card upto U-BOOT and then get into the U-BOOT command line by keeping on pressing enter until U-BOOT command line comes up.Once you get into the U-BOOT command line,just run the following commands so that the kernel image will be taken from eMMC UDA partition.

    • env default -a
    • setenv args_mmc "run finduuid;setenv bootargs console=ttyS2,115200n8  root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait"
    • setenv bootdev 0
    • setenv mmcdev 0
    • setenv bootpart 0
    • boot

    Also make sure that you have the rootfs in the EXT4 root partition of the eMMC

  • Hi , Gokul : 

       Thank u for your advice. 
       The way you suggest is to boot Kernel Image via uboot , right?

       I need to read and load Kernel Image via wkup-fw  ,  and  we will remove spl & uboot from boot steps to save time booting up.

    BR

    stream

  • Hi sir,

    Actually,there is no provision to load the image in EMMC UDA partition from WKUP domain.

  • Hi , Gokul:

       Sad ... 

        Can u provide some suggestions for this condition?

        Thank u 

    BR

    stream

  • Hi sir,

    As of now ,fast boot is not supported.Hence,the only option is to boot to u-boot and then take the kernel from uda partition.

    However,We will inform you as soon as booting kernel from uda partition using SBL feature is enabled.

    thank you

  • Hi ,

    Thank u for your effort .

    That's all.

    BR

    stream