imx6ull uboot startup

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

imx6ull uboot startup

559 Views
designteam
Contributor I

i have a boad based on a imx6ull but so far i cant get uboot running. the pc detects imx6ull via the uuu.exe app and it seems to complete the first stage of the programing but then hangs, i have it set in boot from uart mode and checked rails/clks/rst etc all looks ok

has anyone seen this before? log from uuu.exe is below any idea where to look?

 

uuu.exe -b qspi u-boot-qspi1-2020.04-r0-no-ethernet.imx
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-5-ga0b566d

Success 0 Failure 0


1:3 1/ 1 [=================100%=================] SDP: boot -f u-boot-qspi1-2020.04-r0-no-ethernet.imx

 

verbose mode gives

GWA_JDS>uuu.exe -v -b qspi u-boot-qspi1-2020.04-r0-no-ethernet.imx
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.43-5-ga0b566d

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

Run built-in script:

uuu_version 1.2.39

# @u-boot-qspi1-2020.04-r0-no-ethernet.imx | bootloader
# @u-boot-qspi1-2020.04-r0-no-ethernet.imx [u-boot-qspi1-2020.04-r0-no-ethernet.imx] | image burn to flexspi, default is the same as bootloader

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f u-boot-qspi1-2020.04-r0-no-ethernet.imx

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM, skip QSPI header
SDPS: boot -f u-boot-qspi1-2020.04-r0-no-ethernet.imx -skipfhdr

# 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 u-boot-qspi1-2020.04-r0-no-ethernet.imx -offset 0x10000 -skipfhdr
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 u-boot-qspi1-2020.04-r0-no-ethernet.imx -skipspl -skipfhdr
SDPV: jump
# }

FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f u-boot-qspi1-2020.04-r0-no-ethernet.imx

# Check Image if include flexspi header
FB: ucmd if qspihdr dump ${fastboot_buffer}; then setenv qspihdr_exist yes; else setenv qspihdr_exist no; fi;

FB[-t 60000]: ucmd if test ${qspihdr_exist} = yes; then qspihdr init ${fastboot_buffer} ${fastboot_bytes} safe; else true; fi;

#if uboot can't support qspihdr command, use uboot image to write qspi image, which require image include qspi flash header
FB: ucmd if test ${qspihdr_exist} = no; then sf probe; else true; fi;
FB[-t 40000]: ucmd if test ${qspihdr_exist} = no; then sf erase 0 +${fastboot_bytes}; else true; fi;
FB[-t 20000]: ucmd if test ${qspihdr_exist} = no; then sf write ${fastboot_buffer} 0 ${fastboot_bytes}; else true; fi;
FB: done


Wait for Known USB Device Appear...
New USB Device Attached at 1:3
1:3>Start Cmd:SDP: boot -f u-boot-qspi1-2020.04-r0-no-ethernet.imx
6400%1:3>Okay (0.208s)

 

 

 

 

 

 

 

 

0 Kudos
0 Replies