瑞芯微Rockchip开发者社区
直播中

yqdedli

8年用户 897经验值
擅长:控制/MCU
私信 关注
[问答]

用uuu烧写官方提供的镜像文件一直烧写不了是为什么?

尝试用uuu烧写官方提供的镜像文件,发现一直烧写不了,终端串口日志如下:[080929]
[080929]U-Boot SPL 2018.03-dirty (Feb 25 2020 - 02:38:23 +0000)
[080929] ]] power_bd71837_init
[080929]用于2400MTS DRAM PHY训练
[080929]确认ddr4_pmu_train_imem代码
[080929]确认ddr4_pmu_train_imem代码通
[080929]确认ddr4_pmu_train_dmem代码
[080929]确认ddr4_pmu_train_dmem代码通
[080929]培训PASS
[080929]用于400MTS DRAM PHY训练
[080929]检查ddr4_pmu_train_imem代码
[080929]检查ddr4_pmu_train_imem代码通过
[080929]检查ddr4_pmu_train_dmem代码
[080929]检查ddr4_pmu_train_dmem代码通过
[
0809090800908009080090800908009080090800908000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
[080929]确认ddr4_pmu_train_imem代码
[080929]确认ddr4_pmu_train_imem代码通
[080929]确认ddr4_pmu_train_dmem代码
[080929]确认ddr4_pmu_train_dmem代码通
[080929]培训PASS
[080929]用于2400MTS DRAM PHY训练
[080930]确认ddr4_pmu_train_imem代码
[080930]检查ddr4_pmu_train_imem码通
[080930]复选框ddr4_pmu_train_dmem代码
[080930]检查ddr4_pmu_train_dmem码通
[080930]培训PASS
[080930] DS2460 OK
[080930]正常启动
[080930]从USB SDP试图启动
[080930] SDP:初始化...
[080930 ]SDP:处理请求...
[080934]将大小为 1369956 的文件下载到 0x40400000...完成
[080934]跳转到标题在0x40400000
[080934]标头标记不是IMX图像
[080934] “同步中止”处理程序中,ESR 0x02000000
[080934] ELR:0000000040200000 LR:00000000007e4808
[080934] X0:0000000040200000 X1:00000000007f203d
[080934] X2:0000000052800020 X3:0000000056190527
[080934] X4:0000000052800020 X5:FFFFFFFFFFFFFFF8
[080934] 5233:ffffff80ffffffc8 X7:000000000000000f
[080934] X8:000000000091db70 X9:0000000000000002
[080934] X10:00000000ffffffd0 X11:0000000000000006
[080934] X12:000000000001869f X13: 000000000000000d
[080934]x14:0000000000000004 x15:000000000000008
[080934]x16:0000000000000000000000000000000000000000
[080934] X18:000000000091de40 X19:0000000000910000
[080934] X20:00000000007f12b8 X21:0000000000910000
[080934] X22:0000000000000000 X23:0000000056787856
[080934] X24:0000000040400000 X25:00000000009101b8
[080934] X26:00000000deadbeef X27:0000000000000000
[080934] X28: 0000000000000000 x29: 000000000091dca0
[080934]
[080934] 重置 CPU ...

回帖(1)

区沛仪

2021-12-31 09:55:29
你好,不是内存问题,是uu工具的问题,请按照下面的补丁修改分类:
diff --git a/arch/arm/dts/fsl-imx8mm-evk.dts b/arch/arm/dts/ fsl-imx8mm-evk.dts
索引 747abb4ed3..3a66adcaa7 100644
--- a/arch/arm/dts/fsl-imx8mm-evk.dts
+++ b/arch/arm/dts/fsl-imx8mm-evk.dts
@ @ -486,6 +486,7 @@
&u***otg1 {
        status = "ok";
        extcon = <&typec_ptn5110_1>;
+ dr_mode = "外设";
};

&u***otg2 {
DIFF --git一个/板/飞思卡尔/ imx8mm_evk / imx8mm_evk.cb /板/飞思卡尔/ imx8mm_evk / imx8mm_evk.c
索引a1b7e08c99..f6e16a4aa3 100644
---一个/板/飞思卡尔/ imx8mm_evk / imx8mm_evk.c
+++ b/板/飞思卡尔/imx8mm_evk/imx8mm_evk.c
@@ -388,7 +388,22 @@ int board_ehci_u***_phy_mode(struct udevice *dev)

        return USB_INIT_DEVICE;
}
+#else
+int board_u***_init(int index, enum u***_init_type init)
+{
+ printf("board_u***_init %d, type %dn", index, init);
+ imx8m_u***_power(索引,真);
+}
+int board_u***_cleanup(int index, enum u***_init_type init)
+{
+ printf("board_u***_cleanup %d, type %dn", index, init);
+ imx8m_u***_power(索引,假);
+}

+int board_ehci_u***_phy_mode(struct udevice *dev)
+{
+ printf("board_ehci_u***_phy_mode 什么都不做n");
+}
#endif

int board_init(void)
diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig
索引 125587560e..33fb1d0060 100644
--- a/configs/imx8mm_evk_defconfig
+++ b/configs/imx8mm_evk_defconfig
= 125587560e..33fb1d0060 ÿ
CONFIG_ARCH_IMX8M = Y
= 0x40200000 CONFIG_SYS_TEXT_BASE
CONFIG_SYS_MALLOC_F_LEN =为0x2000
-CONFIG_USB_TCPC = Y
+#CONFIG_USB_TCPC = Y
CONFIG_TARGET_IMX8MM_EVK = Y
CONFIG_SYS_EXTRA_OPTIONS = “IMX_CONFIG = ARCH /臂/马赫- IMX / spl_sd.cfg,SPL_TEXT_BASE = 0x7E1000”
CONFIG_FIT = Y
举报

更多回帖

发帖
×
20
完善资料,
赚取积分