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:U-Boot 无法引导

Guru**** 2436310 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1547534/am62a7-u-boot-fails-to-boot

器件型号:AM62A7


工具/软件:

尊敬的 TI 专家:

我们使用的芯片是  AM62A 。 我们使用的是 SDK  ti-processor-sdk-linux-edgeai-am62a-evm-10_00_00_08-Linux-x86-Install.bin 。 我们使用命令编译 U-Boot SOC_TYPE=hs-fs make u-boot。 然后,我们将三个编译文件 — ,和 tiboot3-am62ax-hs-fs-evm.bin tispl.bin u-boot.img -刷写到 eMMC。 但是、U-Boot  无法正常启动 。 引导日志显示以下打印信息:  

SoC:   AM62AX SR1.0 HS-FS
Model: Texas Instruments AM62A7 SK
DRAM:  2 GiB (effective 4 GiB)
Core:  81 devices, 29 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Net:   eth0: ethernet@8000000port@1
Hit any key to stop autoboot:  0
MMC: no card present
MMC: no card present
** Bad device specification mmc 1 **
MMC: no card present
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:2
Can't set block device
MMC: no card present
** Bad device specification mmc 1 **
Couldn't find partition mmc 1:2
Can't set block device
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
MMC: no card present
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@fa00000.bootdev':
MMC: no card present

感谢您的帮助!

此致、
Kangbai Li

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    从 A53 U-Boot 提示符共享以下命令的输出:

    => mmc dev 0
    => mmc part

    谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    输出如下:

    =>
    =>
    => mmc dev 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    => mmc part
    
    Partition Map for MMC device 0  --   Partition Type: DOS
    
    Part    Start Sector    Num Sectors     UUID            Type
      1     2048            15267840        580781d5-01     83
    

    感谢您的帮助!

    此致、
    Kangbai Li

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    引导日志显示以下打印信息:
     

    我在这些日志中看到 U-Boot 尝试从 SD 卡引导 Linux。

    如果您想从 eMMC 引导、则必须执行以下命令:

    => setenv mmcdev 0
    => setenv bootpart 0:1
    => boot