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.

TDA4VM: Disable automatic mount EMMC partition 0.

Part Number: TDA4VM

Hi Sir :

I want to disable automatic mount EMMC partition 0 to /run/media/mmcblk0p1.

How should I set it?

PSDK version 7.3.0

  • Hi,

    Can you try disabling the main_sdhci0 node from the kernel dts?

    Something like below:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    index d1a2eb415..ae8b0e6b1 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    @@ -771,6 +771,7 @@
    non-removable;
    ti,driver-strength-ohm = <50>;
    disable-wp;
    + status = "disabled";
    };
    &main_sdhci1 {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Best Regards,
    Keerthy

  • Hi Keerthy:

    The root file system of eMMC will not be available.

  • Hi,

    Then you are using filesystem in eMMC? Typically SD is used as file system.

    Can you try:

    env default -a
    saveenv

    in the u-boot prompt so that MMC-SD is used as the default file system?

    Best Regards,
    Keerthy

  • Hi Keerthy:

    Currently TDA4VM needs to use fast boot , so SD Card will not be used.

    Optimized flow involve SBL -> A72 ATF/OPTEE -> A72 Linux Kernel

    Use Device : OSPI Flash and eMMC

  • Hi Pierre,

    Then you need eMMC for file system then what is that you want to achieve?

    I want to disable automatic mount EMMC partition 0 to /run/media/mmcblk0p1.

    This is the partition where we have the file system then why do you want to disable?

    - Keerthy

  • Hi Keerthy:

    Currently I need TDA4VM to fast boot, but I don't need to auto-mount "/dev/mmcblk0p1".

    I will mount it after the App access.

  • Hi Pierre,

    Without getting to Linux command prompt how are you loading the App?
    Some sort of command line is needed isn't it?

    - Keerthy

  • Hi Keerthy:

    I modify udev settings to disable automount.