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.

Linux/AM5749: Loading Environment from FAT... *** Warning - bad CRC, using default environment

Other Parts Discussed in Thread: AM5748

Hello!

I use ti-processor-sdk-linux-am57xx-evm-06.03.00.106 on am5749(custom board).

Everything is work fine  but I would like to know what is the reason for this warnings.How to resolve it?

Boot log:

U-Boot 2019.01-g54a57c4-dirty (Aug 24 2020 - 09:44:31 +0200)

CPU  : DRA762-GP ES1.0 ABZ package
Model: TI AM5748 IDK
Board: AM574x IDK REV 1.0A
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

Card did not respond to voltage select!
invalid mmc device
am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1)
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
1490 bytes read in 2 ms (727.5 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
Running uenvcmd ...
1 bytes read in 1 ms (1000 Bytes/s)
Already setup.
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4452864 bytes read in 199 ms (21.3 MiB/s)
89486 bytes read in 6 ms (14.2 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe7000, end 8ffffd8d ... OK

Starting kernel ...

BR,

Oleg

  • Hi Oleg,

    This particular warning is with your setup. I am using the default: ti-processor-sdk-linux-am57xx-evm-06.03.00.106

    I do not see that error. Here is my boot log from my AM574x-idk:

    U-Boot SPL 2019.01-g333c3e72d3 (Apr 20 2020 - 04:15:00 +0000
                                                                DRA762-GP ES1.0 ABZ package
    no pinctrl state for default mode
    Trying to boot from MMC1
    no pinctrl state for default mode
    Loading Environment from FAT... OK


    U-Boot 2019.01-g333c3e72d3 (Apr 20 2020 - 04:15:00 +0000)

    CPU  : DRA762-GP ES1.0 Z package
    Model: TI AM5748 IDK
    Board: AM574x IDK REV 1.0C
    DM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment froFAT... OK
    am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1)
    Net:   
    Warning: ethernet@48484000 using MAC address from ROM
    eth0:thernet@48484000
    Hit any key to stop autoboot:  0

    Are you using the default release or you are modifying the defconfig for your particular custom board?

    CONFIG_ENV_IS_IN_FAT=y
    CONFIG_ENV_IS_IN_MMC=y

    Please check the above configs are defined in your .config.

    Best Regards,
    Keerthy

  • Hi Keerthy

    CONFIG_ENV_IS_IN_FAT=y
    CONFIG_ENV_IS_IN_MMC=y

    Boths configs difined in my .config file.

    I didn't  change nothing in my config I am using stock config.

    Best Regards,
    Oleg

  • Oleg,

    Could you try with a different SD card?

    "Card did not respond to voltage select!
    invalid mmc device"

    Does seem like something is wrong.

    Regards,
    Keerthy

  • Hi Keerthy,

    No I didn't try any sd cards because card which I use absolutely new. I didn't suspect that the problem might be in the card!

    Do you have special recomendation for sd card?

    Like I sayed I no have eMMC on my custom bord...may be the reson in it..?

    Regards,

    Oleg

  • Oleg,

    Just to be sure a card without UHS support. It will be difficult to analyze this
    issue as it does not come up on my board with default SDK u-boot.

    Best Regards,
    Keerthy