flash SabreSD with uuu

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flash SabreSD with uuu

1,274 Views
V_Palacio
Contributor IV

Hi,

Before bringing up a custom board, I'm trying to master the flashing process with an SabreSD board reworked for emmc.

What is the command for doing that?. As per help, I assume

uuu -b emmc_all <u-boot.imx> <image>

where I'm using the files created with Yocto (deploy/images)

u-boot is file u-boot-imx6sxsabresd.imx

image is core-image-minimal-imx6sxsabresd-20190724082608.rootfs.sdcard.bz2

Flashing process stops after completing first step (boot).

I'm missing something? I'm not using the correct files?

Regards

OUTPUT:

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.130-0-g247629e

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]
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 /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/u-boot-imx6sxsabresd.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/u-boot-imx6sxsabresd.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 /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/u-boot-imx6sxsabresd.imx -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 /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/u-boot-imx6sxsabresd.imx -skipspl
SDPV: jump
# }


FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/core-image-minimal-imx6sxsabresd-20190724082608.rootfs.sdcard.bz2/*
FB: flash bootloader /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/u-boot-imx6sxsabresd.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 2:34
2:34>Start Cmd:SDP: boot -f /bsp/imx-yocto-bsp-sabre/build/tmp/deploy/images/imx6sxsabresd/u-boot-imx6sxsabresd.imx
6400%2:34>Okay (0.342s)

Labels (2)
Tags (2)
0 Kudos
1 Reply

1,063 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

What is the command for doing that?. As per help, I assume 

uuu -b emmc_all <u-boot.imx> <image>

> Yes you're correct

 

Flashing process stops after completing first step (boot).

I'm missing something? I'm not using the correct files?

> I believe that you may be using an old uboot version, by default it is not supported since UUU needs to have fastboot enabled in uboot, please note that if using an older BSP (equal or lower than L4.9.88_2.0.0) you may use old MFGTool.

 

I see that you want to test the tool, you may download any of the Linux BSP (L4.14.78_1.0.0 or higher) we have available here:
https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tools:IMX-SW

 

Hope this helps,

Best regards,

Aldo.

0 Kudos