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.

AM62A7: How to reduce the Linux kernel startup time.

Part Number: AM62A7

Tool/software:

Right now. The SOC in evm board running Linux Kernel will cause more than 13secords during startup phase.

I have add         bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 quiet"; in the dts
at the same add the config_cmdline in defconfig file.
But the Startup time still more than 10 second.

What else should i do to reduce the startup time. 

Right now I check with the defconfig in kernel/arch/arm64/configs. There are many config is not used in the problem.

But i try to remove some configration. problem happen.  did there are example for




  • Hello Mr Xu:

    I have read the guides for to boot quickly. here is the result:      
    1. i have add follow 6.1.11.3 chapter and add“quiet”property in both dts and config file. the startup time reduce only 2s not the guide said will reduce 8 second
    2. Follow 6.1.11.3 remove the useless filesystem and driver. I have add ti_early_display.config in the make file will lead the kernel start failure ,$(LINUXKERNEL_INSTALL_DIR) ARCH=arm64 CROSS_COMPILE=$(CROSS_COMPILE) defconfig ti_arm64_prune.config ti_early_display.config    

    3. I have try to remove the dts node follow 6.1.11.3. It will cause the system start up failure easily(eg: USB. Audio). and by the way. even some node removed. not much time saved during startup. Did there are some example dts for the CMS system? and i can modify the node in the sample dts.
     4. in 6.1.11.4 userspace. I can not find "tisdk-tiny-initramfs-am62xx-evm.cpio", do know how to package the initramfs in to kernel. the step can not be excute in this SDK.
    5. There are skip A53 SPL(Called AM62AX Falcon Mode) in u-boot 6.1.11.1,but follow the method in E2E and Guide,The Step can not be used. File in guide is not found in this sdk , 
    6.  It said that emmc startup time will have big improvement. and I flash the software into emmc by DFU.
    and let the system start from emmc,But the time seems not have improvement

    7. about the userspace. It said we should remove below file. But in the SDK i did find rc5.d folder.
    host$ rm <filesystem>/etc/rc5.d/*
    host$ cd <filesystem>/etc/rcS.d

    host$ rm S02banner.sh S04udev S05checkroot.sh S06modutils.sh S07bootlogd S29read-only-rootfs-hook.sh S36bootmisc.sh S37populate-volatile.sh S38dmesg.sh S38urandom

    Can you check if the guide can be used for this SDK(ti-processor-sdk-linux-edgeai-am62a-evm-10_00_00_08-Linux-x86-Install). thanks very much

  • Hi Meng,

    I saw you opened another thread here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1510026/am62a7-soc-system-startup-time-is-more-than-20s.

    Let's continue the discussion over there.

    Regards,

    Jianzhong