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.

AM3358: How to reduce boot time in "start kernel" phase.

Part Number: AM3358

Hi Experts:

I use ti-processor-sdk-linux-am335x-evm-08.02.00.24 to create sd card.

I use the sd card to boot device and the device hang at "Starting kernel ..." around 5 seconds

But ti-processor-sdk-linux-am335x-evm-09.01.00.001 is no this problem.

How can I improve this problem for ti-processor-sdk-linux-am335x-evm-08.02.00.24?

Thank you.

  • Hi YiFong,

    Is this on AM335x EVM or your custom board?

  • Hi Bin:

    Thanks for your reply.

    EVM and custom board have same issue for this problem.

    Boot log as below

    U-Boot 2021.01-g44a87e3ab8 (May 14 2022 - 22:32:40 +0000)

    CPU : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM: 1 GiB
    WDT: Started with servicing (60s timeout)
    NAND: 256 MiB
    MMC: OMAP SD/MMC: 0
    Loading Environment from FAT... *** Warning - bad CRC, using default environment

    <ethaddr> not set. Validating first E-fuse MAC
    Net: eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    Failed to load 'uEnv.txt'
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    Scanning disk mmc@48060000.blk...
    Found 3 disks
    No EFI system partition
    BootOrder not defined
    EFI boot manager: Cannot load any image
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4997632 bytes read in 325 ms (14.7 MiB/s)
    97293 bytes read in 10 ms (9.3 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe5000, end 8ffffc0c ... OK

    Starting kernel ...   (hang  about 5 seconds.)

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 5.10.100-g7a7a3af903 (oe-user@oe-host) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 PREEMPT Sat May 14 22:36:58 UTC 2022