Closed anthonytex closed 3 years ago
Can you added -v to see detail log? Did you bzip2 by yourself? uuu supposed use pbzip2 to do compress. So uuu can parallel decompressed.
burn speed is that depend on USB transfer speed and emmc write speed.
Hi @nxpfrankli , i'm using yocto generated image i didn't compress it myself.
uuu -v -b emmc_all /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx elmo-image-accesscontrol-d
ev-elmosolox.wic.bz2
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.135-0-gacaf035
Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
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]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
Run built-in script:
uuu_version 1.2.39
# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx
# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx
# 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 /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx -offset 0x57c00
SDPU: jump
# }
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all elmo-image-accesscontrol-dev-elmosolox.wic.bz2
FB: flash bootloader /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done
Wait for Known USB Device Appear...
New USB Device Attached at 1:1
1:1>Start Cmd:SDP: boot -f /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx
6400%1:1>Okay
New USB Device Attached at 1:2
1:2>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:2>Okay
1:2>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:2>Okay
1:2>Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:2>Okay
1:2>Start Cmd:FB: flash -raw2sparse all elmo-image-accesscontrol-dev-elmosolox.wic.bz2
100%1:2>Okay200
1:2>Start Cmd:FB: flash bootloader /home/antonio/Desktop/SOM/Bootloader/uboot-imx/u-boot-dtb.imx
0x400000000x2001:2>Okay
1:2>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
1:2>Okay
1:2>Start Cmd:FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
1:2>Okay
1:2>Start Cmd:FB: done
1:2>Okay
It works well. your uuu is quite old. Please try use latest one.
when use bz2, All core is used for extract bz2 file, so detect usb connection may be impact. You can try reset board
You are right sorry for this, i've updated uuu and all is fine now. thanks for your time!
Hello, if i flash an image that is compressed with bzip2, it doesn't work: uncompressing it fixes the problem but for big images it takes long time to flash.
E.g.
uuu -b emmc_all uboot.bin image.wic.bz2
doesn't work. Am i missing something? Thanks