工具/软件:
您好、
我目前正在努力将定制电路板引导。 我们使用的是 AM3352、我们的设计基于 BeagleBone Black (BBB)。
我们已经通过修补 U-Boot SPL (现在运行正常)、利用电路板信息解决了缺少 EEPROM 的问题。
但是、我们现在面临另一个问题:U-Boot 在显示"DRAM:512"消息时挂起、无法继续操作。 我们使用 USB0来引导引导加载程序、以刷写板上的 eMMC。 作为参考、此过程在 BBB 上运行良好。
虽然我们计划使用 JTAG 进行更深入的调试、但与此同时、我在源代码中添加了一些调试日志。 根据我的调查、代码中的这一点似乎出现了问题:
common/board_r.c、在"init_sequence_r"函数组中。
#ifdef CONFIG_WINBOND_83C553 initr_w83c553f, #endif initr_barrier, initr_malloc, bootstage_relocate, #ifdef CONFIG_DM initr_dm,
有趣的是、输出似乎是不确定的—在某些情况下、只是将
printf
行为改变。 这使我怀疑这个问题可能与时间有关。 这里是 UART0输出:
U-Boot SPL 2014.07-00002-gc3d638d-dirty (May 20 2025 - 10:59:54) Using default environment usb_ether using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in MAC 98:89:24:73:2a:84 HOST MAC de:ad:be:af:00:00 RNDIS ready musb-hdrc: peripheral reset irq lost! high speed config #2: 2 mA, Ethernet Gadget, using RNDIS USB RNDIS network up! BOOTP broadcast 1 BOOTP broadcast 2 Using usb_ether device TFTP from server 192.168.1.9; our IP address is 192.168.1.3 Filename 'uboot'. Load address: 0x807fffc0 Loading: ################################################################# ###################### 449.2 KiB/s done Bytes transferred = 440424 (6b868 hex) U-Boot 2014.07-00002-gc3d638d-dirty (May 20 2025 - 10:59:54) I2C: ready DRAM: 512 MiB
如果您需要更多详细信息、请告诉我。
此致、
Luís μ s