E:\PycharmProjects\UUUTOOLS\dist>uuu kernel_emmc_file.uuu uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.91-0-g3799f4d Success 0 Failure 1 1:3 1/ 0 [Failure open usb device ] kernel_emmc_file.uuu: uuu_version 1.2.39 # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ SDP: boot -f flash.bin # This command will be run when ROM support stream mode # i.MX8QXP, i.MX8QM SDPS: boot -f flash.bin # These commands will be run when use SPL and will be skipped if no spl # SDPU will be deprecated. please use SDPV instead of SDPU # { SDPU: delay 1000 SDPU: write -f flash.bin -offset 0x57c00 SDPU: jump # } # These commands will be run when use SPL and will be skipped if no spl # if (SPL support SDPV) # { SDPV: delay 1000 SDPV: write -f flash.bin -skipspl SDPV: jump # } # use uboot burn bootloader to eMMC # becaue difference chip, offset is difference # you can use kernel to do that for specific boards FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: flash bootloader flash.bin FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd setenv emmc_cmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi FB: ucmd setenv emmc_cmd mmc bootbus ${emmc_dev} 2 2 1; FB: ucmd if test "${emmc_skip_fb}" != "yes"; then run emmc_cmd; fi FB: ucmd setenv fastboot_buffer ${loadaddr} FB: download -f Image FB: ucmd setenv fastboot_buffer ${fdt_addr} FB: download -f fsl-imx8mm-ddr4-evk.dtb FB: ucmd setenv fastboot_buffer ${initrd_addr} FB: download -f fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot #FB: ucmd setenv bootargs console=${console},${baudrate} earlycon=${earlycon},${baudrate} FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr} FBK: DONE error command: FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr} log from serial: [ 4.153296] 9pnet: Installing 9P2000 support [ 4.157647] Key type dns_resolver registered [ 4.162559] registered taskstats version 1 [ 4.187717] cpu cpu0: registered imx8mq-cpufreq [ 4.195130] rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable. [ 4.202547] rtc-pcf8563 1-0051: hctosys: unable to read the hardware clock [ 4.209603] clk: Not disabling unused clocks [ 4.213925] WLAN_EN: disabling [ 4.216995] 3G_EN: disabling [ 4.219886] lvds_reset: disabling [ 4.223203] CAM_EN: disabling [ 4.226183] BLK_NON: disabling [ 4.229251] BLK_adj: disabling [ 4.232318] BLK_en: disabling [ 4.235288] lcd_on: disabling [ 4.238266] CAM_EN_1: disabling [ 4.241419] amp_EN: disabling [ 4.244398] RESET_EN: disabling [ 4.247545] VSD_3V3: disabling [ 4.251241] ALSA device list: [ 4.254222] #0: wm8960-audio [ 4.257876] Freeing unused kernel memory: 1280K Found New UDC: ci_hdrc.0 ci_hdrc.0 0 ffs.utp0 [ 4.306061] file system registered [ 4.321898] Mass Storage Function, version: 2009/09/11 [ 4.327189] LUN: removable file: (no medium) run utp at /dev/usb-utp0/ep0 [ 4.336664] read descriptors . uuu fastboot client 1.0.0 [bui[ 4.340369] read strings lt Apr 14 2019 13:04:12] Start init usb write string Start handle command uuc /dev/utp uuc 0.5 [built Apr 14 2019 13:04:12] UTP: Waiting for /dev/utp to appear