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.

How to fix ## Error: "envboot" not defined ## Error: "mmcboot" not defined ??

Other Parts Discussed in Thread: DRA722, PCF8575, PMP, TDA2EG-17

Dear all,

This is my log , What is this problem and how can I solve it?

And I use sd card to boot

====================================

CPU : DRA722-GP ES2.1
Model: TI DRA722
Board: DRA72x EVM REV
DRAM: 2 GiB

MMC: i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
OMAP SD/MMC: 0, OMAP SD/MMC: 1

** First descriptor is NOT a primary desc on 1:1 **
Warning: fastboot.board_rev: unknown board revision
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
ERROR: cannot find partition: 'userdata'

at arch/arm/cpu/armv7/omap-common/utils.c:199/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Hit any key to stop autoboot: 2 1 0
## Error: "update_to_fit" not defined
## Error: "findfdt" not defined
## Error: "envboot" not defined
## Error: "mmcboot" not defined
## Error: "emmc_android_boot" not defined

=======================================

Thanks!!

  • Hi David,

    Can you please share the complete logs from the start to analyze better?

    Could you please check if the below commands from U-Boot prompt help you:

    env default -a -f
    saveenv

    Best Regards,
    Keerthy

  • Dear Keerthy J,

    This has all the logs, there is no message behind

    ==================================================

    U-Boot SPL 2016.05-00016-gcc5b418-dirty (Oct 01 2021 - 13:41:06)
    DRA722-GP ES2.1

    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v

    i2c_write: error waiting for addr ACK (status=0x116)
    tps65903x: could not set LDO1 voltage.
    i2c_write: error waiting for addr ACK (status=0x116)
    tps65903x: could not set LDO1 voltage.

    ** First descriptor is NOT a primary desc on 1:1 **

    i2c_write: error waiting for data ACK (status=0x116)

    i2c_write: error waiting for data ACK (status=0x116)

    i2c_write: error waiting for data ACK (status=0x116)

    i2c_write: error waiting for data ACK (status=0x116)

    i2c_write: error waiting for data ACK (status=0x116)

    i2c_write: error waiting for data ACK (status=0x116)

    Trying to boot from MMC1
    reading dra7-ipu2-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
    spl: error reading image dra7-ipu2-fw.lzop, err - -1
    Error loading remotecore IPU2!,Continuing with boot ...
    reading dra7-dsp1-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
    spl: error reading image dra7-dsp1-fw.lzop, err - -1
    Error loading remotecore DSP1!,Continuing with boot ...
    reading dra7-dsp2-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
    spl: error reading image dra7-dsp2-fw.lzop, err - -1
    Error loading remotecore DSP2!,Continuing with boot ...
    reading dra7-ipu1-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
    spl: error reading image dra7-ipu1-fw.lzop, err - -1
    Error loading remotecore IPU1!,Continuing with boot ...
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img


    U-Boot 2016.05-00016-gcc5b418-dirty (Oct 01 2021 - 13:41:06 +0800)

    CPU : DRA722-GP ES2.1
    Model: TI DRA722
    Board: DRA72x EVM REV
    DRAM: 2 GiB

    MMC: i2c_write: error waiting for data ACK (status=0x116)
    pcf8575_i2c_write_le16 i2c write failed to addr 21
    OMAP SD/MMC: 0, OMAP SD/MMC: 1

    ** First descriptor is NOT a primary desc on 1:1 **
    Warning: fastboot.board_rev: unknown board revision
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    ERROR: cannot find partition: 'userdata'

    at arch/arm/cpu/armv7/omap-common/utils.c:199/mmc_get_part_size()
    Warning: fastboot.userdata_size: unable to calc
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Hit any key to stop autoboot: 2 1 0
    ## Error: "update_to_fit" not defined
    ## Error: "findfdt" not defined
    ## Error: "envboot" not defined
    ## Error: "mmcboot" not defined
    ## Error: "emmc_android_boot" not defined
    =>

    =========================================

    Thanks!!

  • Dear Keerthy J,

    I enter these command but no respond

    env default -a -f
    saveenv

    Thanks!

  • Hi David,

    Is this a standard TI DRA72x EVM or a custom board?
    What is the SDK version you are using?

    Do you have the rootfs in the SD card? Are you using Vision SDK?

    - Keerthy

  • Dear Keerthy J,

    I use custom board , and it is tda2eg-17

    Version : PROCESSOR_SDK_VISION_03_07_00_00

    Yes , I have two partitions (Fat32-boot , ext4-roofs)

    and I only modified the DDR in evm.c(by emif execel) and pinmux in mux_data.h(pinmux tool) and dtb

    According to our customized board

    Thanks!

    David

  • Dear Keerthy J,

    My previous log has *** Warning - bad CRC, using default environment

    But now the LOG does not *** Warning - bad CRC, using default environment

    I'm not sure if it is related to this

    and I would like to ask part of env

    how to  reset and changed env

    and my uboot cannot use command

    David

  • Hi David,

    Apologies for the delayed response. What PMIC are you using on your custom board? It seems like LDO1
    is not set which is needed for MMC SD UHS modes. Also are you facing issues with kernel boot?

    Where is it getting stuck?

    - Keerthy