Hi,
My CPU is IMX8MN, and the linux kernel version is linux-5.4.70. Use the kernel I compiled for uuu programming. The crotex-A serial port print information is as follows:
Run /linuxrc as init process
Found New UDC: ci_hdrc.0
ci_hdrc.0 0
ffs.utp0
file system registered
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
run utp at /dev/usb-utp0/ep0[ 3.595243] read descriptors
.
uuu fastboot client 1.0.0 [b[ 3.598887] read strings
uilt Dec 16 2020 14:04:17]
Start init usb
write string
Start handle command
uuc /dev/utp
uuc 0.6 [built Dec 16 2020 14:04:17]
UTP: Waiting for /dev/utp to appear
Then it crashed。
CMD window information is as follows:
E:\ubuntu-ssh\imx8mn\linux5.4.70>uuu -v uuu.auto
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.72-0-g8e9e189
Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001
Wait for Known USB Device Appear...
New USB Device Attached at 2:2
2:2>Start Cmd:SDPS: boot -f flash.bin
100%2:2>Okay (3.087s)
New USB Device Attached at 2:2
2:2>Start Cmd:FB: ucmd setenv fastboot_dev mmc
2:2>Okay (0.016s)
2:2>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
2:2>Okay (0.197s)
2:2>Start Cmd:FB: flash bootloader flash.bin
0x400000002:2>Okay (0.226s)
2:2>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
2:2>Okay (0.019s)
2:2>Start Cmd:FB: ucmd setenv emmc_cmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
2:2>Okay (0.006s)
2:2>Start Cmd:FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi
2:2>Okay (0.007s)
2:2>Start Cmd:FB: ucmd setenv emmc_cmd mmc bootbus ${emmc_dev} 2 2 1;
2:2>Okay (0.005s)
2:2>Start Cmd:FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi
2:2>Okay (0.01s)
2:2>Start Cmd:FB: ucmd setenv fastboot_buffer ${loadaddr}
2:2>Okay (0.008s)
2:2>Start Cmd:FB: download -f Image
2:2>Okay (0.748s)
2:2>Start Cmd:FB: ucmd setenv fastboot_buffer ${fdt_addr}
2:2>Okay (0.008s)
2:2>Start Cmd:FB: download -f imx8mn-ddr4-evk.dtb
2:2>Okay (0.013s)
2:2>Start Cmd:FB: ucmd setenv fastboot_buffer ${initrd_addr}
2:2>Okay (0.007s)
2:2>Start Cmd:FB: download -f fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot
2:2>Okay (0.377s)
2:2>Start Cmd:FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}
2:2>Okay (0.003s)
How to solve this problem?