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.

[参考译文] DRA821U-Q1:从 uboot 引导、错误""

Guru**** 2482225 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1445456/dra821u-q1-boot-from-uboot-with-error

器件型号:DRA821U-Q1

工具与软件:

您好、

  我们使用定制电路板、SDK 版本为7.3

  在不进行任何修改的情况下、我们构建 u-boot 和内核

  1. tar xf tisdk-default-image-j7200-evm.tar.xz 到 rootfs_partition

  2. tar xf boot-j7200-evm.tar.gz 到 boot_partition

  3.制作 uboot 和 linux

  4.创建 linux_install

  5将 tispl.bin u-boot.img 和 tiboot3.bin 更新为 boot_partition

  6. 开机、UART 打印错误信息

U-Boot SPL 2020.01-g2781231a33 (Apr 10 2021 - 13:46:58 +0000)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Reading on-board EEPROM at 0x50 failed 1
i2c_write: error waiting for data ACK (status=0x116)
read error from device: 41c86438 register: x!
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

Starting ATF on ARM64 core...

NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
NOTICE:  BL31: Built : 13:45:56, Apr 10 2021

U-Boot SPL 2020.01 (Dec 02 2024 - 14:13:49 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Reading on-board EEPROM at 0x50 failed 1
ERROR:   Unhandled External Abort received on 0x80000000 from EL2
ERROR:   exception reason=0 syndrome=0xbf000002
Unhandled Exception from EL2
x0             = 0x0000000081f00328
x1             = 0x0000000000000000
x2             = 0x0000000000000019
x3             = 0x0000000500000000
x4             = 0x0000000000000004
x5             = 0x0000000000000000
x6             = 0x0000000047000000
x7             = 0x0000000000000004
x8             = 0x0000000000000003
x9             = 0x0000000000000008
x10            = 0x0000000081fffc4c
x11            = 0x00000000800c02d8
x12            = 0x0000000000000200
x13            = 0x0000000081fffbec
x14            = 0x00000000800c02d8
x15            = 0x0000000080080ab0
x16            = 0x00000000800a4e28
x17            = 0x0000000000000000
x18            = 0x0000000081fffe80
x19            = 0x0000000000000000
x20            = 0x0000000080178dc0
x21            = 0x0000000081f00328
x22            = 0x00000000800bf000
x23            = 0x0000000000000000
x24            = 0x0000000000000000
x25            = 0x0000000000000000
x26            = 0x0000000000000000
x27            = 0x0000000000000000
x28            = 0x0000000000000000
x29            = 0x0000000081fffce0
x30            = 0x000000008009e21c
scr_el3        = 0x000000000000073d
sctlr_el3      = 0x0000000030cd183f
cptr_el3       = 0x0000000000000000
tcr_el3        = 0x0000000080803520
daif           = 0x00000000000002c0
mair_el3       = 0x00000000004404ff
spsr_el3       = 0x00000000200003c9
elr_el3        = 0x000000008009e274
ttbr0_el3      = 0x0000000070010b00
esr_el3        = 0x00000000bf000002
far_el3        = 0x0000000000000000
spsr_el1       = 0x0000000000000000
elr_el1        = 0x0000000000000000
spsr_abt       = 0x0000000000000000
spsr_und       = 0x0000000000000000
spsr_irq       = 0x0000000000000000
spsr_fiq       = 0x0000000000000000
sctlr_el1      = 0x0000000030d00801
actlr_el1      = 0x0000000000000000
cpacr_el1      = 0x0000000000000000
csselr_el1     = 0x0000000000000000
sp_el1         = 0x0000000000000000
esr_el1        = 0x0000000000000000
ttbr0_el1      = 0x0000000000000000
ttbr1_el1      = 0x0000000000000000
mair_el1       = 0x0000000000000000
amair_el1      = 0x0000000000000000
tcr_el1        = 0x0000000000800080
tpidr_el1      = 0x0000000000000000
tpidr_el0      = 0x0000000000000000
tpidrro_el0    = 0x0000000000000000
par_el1        = 0x0000000000000000
mpidr_el1      = 0x0000000080000000
afsr0_el1      = 0x0000000000000000
afsr1_el1      = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1       = 0x0000000000000000
cntp_ctl_el0   = 0x0000000000000000
cntp_cval_el0  = 0x0000000000000000
cntv_ctl_el0   = 0x0000000000000000
cntv_cval_el0  = 0x0000000000000000
cntkctl_el1    = 0x0000000000000000
sp_el0         = 0x000000007000a3d0
isr_el1        = 0x0000000000000000
dacr32_el2     = 0x0000000000000000
ifsr32_el2     = 0x0000000000000000
cpuectlr_el1   = 0x0000001b00000040
cpumerrsr_el1  = 0x0000000000000000
l2merrsr_el1   = 0x0000000000000000
  

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

    指定的专家正在休假、请预计会延迟回复。

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

    您好!

    这是一个已使用4年的 SDK。 是否可以尝试使用最新的 SDK 进行相同操作?

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/10_00_07_03/exports/docs/devices/J7_Family/linux/index.html

    此致、

    基尔西  

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

    您好!

     我们已尝试了 SDK 10.0、SDK 8.6.和 SDK 7.3、所有这些都生成相同的错误消息。

      

    Reading on-board EEPROM at 0x50 failed 1
    ERROR:   Unhandled External Abort received on 0x80000000 from EL2
    ERROR:   exception reason=0 syndrome=0xbf000002

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

    尊敬的 Charles:

    这是新的定制电路板吗?

    1. 这是一个新的故障吗?
    2. 这是否始终会发生?
    3. 有任何情况下您可以将调试器连接到 A72并检查什么指令是否崩溃?

    -基尔西

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

    您好!  

      这是我们自己的板。

      U-Boot 无法引导的问题在我们尝试的多个 SDK 版本中仍然存在。

      目前、我们的电路板没有 JTAG 调试端口、因此无法对其进行调试。

       

      

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

    很难仅用线迹来说明出现了什么问题。  

    此致、

    基尔西  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [报价 userid="521626" url="~/support/processors-group/processors/f/processors-forum/1445456/dra821u-q1-boot-from-uboot-with-error/5545139 #5545139"]

    这是我们自己的板。

      U-Boot 无法引导的问题在我们尝试的多个 SDK 版本中仍然存在。

      目前、我们的电路板没有 JTAG 调试端口、因此无法对其进行调试。

    [报价]

    您好、Charles

      请提供您的系统的硬件设计、尤其是与 EVM 板的差异、

      如果与 EVM 板一样、u-boot 应能够启动

    谢谢

      Semon