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.

DRA821U: Supporting Fastboot

Part Number: DRA821U
Other Parts Discussed in Thread: DRA821

Hi TI

There's request that customer need to meet a requirement.

DRA821 should boot up to login prompt within 2secs according to HKMC requirement. 

Please give your guidance for us to investigate details. Which domain should be focused especially to reduce booting delay?

Thanks.

Regards, 

Jack

  • Jack,

    Is the goal to boot Linux in 2 seconds alone or you need to support more use cases once you boot to Linux in 2 seconds?

    Optimization will need to come in multiple places. U-boot(Disabling prints), Kernel(Disabling prints, deleting unused DT nodes, disabling prints),
    Switching to faster boot media like eMMC/OSPI etc.

    Please let me know the objective.

    Best Regards,
    Keerthy 

  • Hi Keerthy

    Currently, there are no use cases added to U-boot other than CPSW-5Genabling,

    And Customer wants to measure time sections below.

    • Power-ON -> R5 -> A72 Linux & Tiny Rootfs -> Prompt login.

    The customer's goal is 2sec, and we need to do our best to apply what we can achieve to the extent possible.

    Solutions from other platforms appear to be able to achieve approximately six to eight seconds.

    I asked to disable logs from bootloader and kernel modules. and they uses eMMC only.

    Regards, 

    Jack

  • Jack,

    To begin with you can start with tiny rootfs by the following steps:

    Step 1:

    cd $PSDKLA_DIR/bin
    vi mksdboot.sh

    make the following change:

    root_fs="$sdkdir/filesystem/tisdk-default-image-j7200-evm.tar.xz"

    to

    root_fs="$sdkdir/filesystem/tisdk-tiny-image-j7200-evm.tar.xz"

    So that root_fs points to tiny rootfs.

    Save it

    Step 2:

    Prepare a fresh card by using mksdboot.sh

    Step 3:

    Install the Linux binaries to the tiny rootfs card by doing:

    vi Rules.make

    Set the DESTDIR to point to your SD card rootfs:

    DESTDIR=/media/$USER/rootfs


    cd $PSDKLA_DIR
    make linux
    sudo make linux_install

    Now you can boot to Linux prompt much faster.

    Best Regards,
    Keerthy

  • Hi Keerthy 

    There're requests that Customer wants below.

    Since the fastboot is a most important feature in automotive application, Many customer wants the feature to be included into a main feature of the SDK.

    According to customer measurement, it takes around 2 seconds with tiny sdk image.

    Thanks.

    Regards, 

    Jack

  • According to customer measurement, it takes around 2 seconds with tiny sdk image.

    Yes. That is our measured timing as well. Are they okay with that?


    Make FASTBOOT support as a configurable feature for u-boot, linux kernel and Rootfilesystem feature

    We will check with internal teams on this.

    Best Regards,
    Keerthy

  • Hi Keerthy

    Thanks for quick reply.

    According to customer measurement, it takes around 2 seconds with tiny sdk image.

    Yes. That is our measured timing as well. Are they okay with that?

    [Jack] They would like to use tisdk-default-image-j7-evm.tar.xz after reducing unneccesary components. Hence they did not see the actual measurement with default image yet. 

    BTW. Regarding reducing component, I will raise a new ticket to identify the manipulating SDK receipe.

  • Jack,

    Could you please click on verify answer?

    Regards,
    Keerthy

  • Hi Keerthy

    Will do. Thanks.

    Customer waiting for DRA8xx : Fast Booting document, Reducing Booting Time for Jacinto TDA4/DRA8xx.
    Also wants to include the Fastboot feature into configurable flag for bootloader, kernel, RootFS.

  • Hi TI

    Is there any update on SDK 8.0 release for fastboot topic? I could not find out from the release note even though Customer said they saw some comment for fastboot.

    Thanks.

    Regards, Jack

  • Jack,

    No. SDK 8.0 released does not have fastboot support. As the SDK comes with all the support for all peripherals.
    We will have to port the patches.

    - Keerthy

  • Hi Keerthy

    Is it possible for customer to get the patch to enable FASTBOOT feature coming soon? Many JACINTO customers will be very pleased for the patch release.

    Please let us know the TI' planned date if possible to forecast.

    Thanks.

    Regards, 

    Jack