Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A3700 customer board; UART interface; Bootloader execution hangs #22

Open
stompros opened this issue Mar 3, 2019 · 0 comments
Open

Comments

@stompros
Copy link

stompros commented Mar 3, 2019

We have a board based on ESPRESSOBIN design:
During the boot up process with UART images (600x600 speed)
BL1 and BL2 load but BL31 hangs. We use the ATF-MARVELL 1.5 and the latest SDK from MARVELL for plat=3700, We havee DDR3 512MB (1chip).

---Debug Info------


WTMI-devel-18.12.0-a0a1cb8
WTMI: system early-init

DDR topology parameters:

ddr type DDR3
ddr speedbin 13
bus width 16-bits
cs num 1
cs[0] - group num 0
cs[0] - bank num 8
cs[0] - capacity 1024MiB
SVC REV: 5, CPU VDD voltage: 1.038V

DRAM windows:

WIN[0] - base addr 0x60000000
WIN[0] - size 0x40000000

memory test region:

CS[0] 0x60000000 - 0x9fffffff

Restore termination values to original values
SELF-REFRESH TEST PASS
CS0: QS GATE TRAINING FAILED
DLL TUNING PASSED
VERBOSE: Reserved 0x6000 bytes (discarded 0x1000 bytes above)
VERBOSE: Trusted SRAM seen by this BL image: 0x4001000 - 0x4080000
VERBOSE: Code region: 0x4100000 - 0x8100000
VERBOSE: Read-only data region: 0x4105000 - 0x4107000
mmap:
VA:0x4000000 PA:0x4000000 size:0x1000 attr:0xa
VA:0x4001000 PA:0x4001000 size:0x7f000 attr:0xa
VA:0x4100000 PA:0x4100000 size:0x4000000 attr:0x2
VA:0x4105000 PA:0x4105000 size:0x2000 attr:0x22
VA:0xd0000000 PA:0xd0000000 size:0x10000000 attr:0x8

NOTICE: Booting Trusted Firmware
NOTICE: BL1: v1.5(debug):1f8ca7e0 (Marvell-devel-18.12.2)
NOTICE: BL1: Built : 18:50:51, Feb 27 2019
INFO: BL1: RAM 0x407a000 - 0x407f000
VERBOSE: BL1: cortex_a53: CPU workaround for 826319 was not applied
VERBOSE: BL1: cortex_a53: CPU workaround for 835769 was not applied
VERBOSE: BL1: cortex_a53: CPU workaround for disable_non_temporal_hint was not applied
VERBOSE: BL1: cortex_a53: CPU workaround for 843419 was not applied
WARNING: BL1: cortex_a53: CPU workaround for 855873 was missing!
INFO: BL1: Loading BL2
VERBOSE: Using Memmap
VERBOSE: FIP header looks OK.
VERBOSE: Using FIP
INFO: Loading image id=1 at address 0x4017000
VERBOSE: Reserved 0x1c010 bytes (discarded 0x16000 bytes below)
INFO: Image id=1 loaded at address 0x4017000, size = 0x6010
VERBOSE: Reserved 0x6000 bytes (discarded 0x1000 bytes above)
VERBOSE: BL1: BL2 memory layout address = 0x401d010
NOTICE: BL1: Booting BL2
INFO: Entry point address = 0x4017000
INFO: SPSR = 0x3c5

NOTICE: BL2: v1.5(debug):1f8ca7e0 (Marvell-devel-18.12.2)
NOTICE: BL2: Built : 18:50:54, Feb 27 2019
INFO: BL2: Loading BL31
VERBOSE: Using Memmap
VERBOSE: FIP header looks OK.
VERBOSE: Using FIP
INFO: Loading image id=3 at address 0x4023000
VERBOSE: Reserved 0x15a00 bytes (discarded 0x5ff0 bytes below)
INFO: Image id=3 loaded at address 0x4023000, size = 0xfa10
INFO: BL2: Loading BL32
VERBOSE: Using Memmap
VERBOSE: FIP header looks OK.
VERBOSE: Trying alternative IO
WARNING: Failed to obtain reference to image id=4 (-2)
WARNING: Failed to load BL32 (-2)
INFO: BL2: Loading BL33
VERBOSE: Using Memmap
VERBOSE: FIP header looks OK.
VERBOSE: Using FIP
INFO: Loading image id=5 at address 0
VERBOSE: Reserved 0x94436 bytes (discarded 0x0 bytes below)
INFO: Image id=5 loaded at address 0, size = 0x94436
NOTICE: BL1: Booting BL31
INFO: Entry point address = 0x4023000
INFO: SPSR = 0x3cd
VERBOSE: Argument #0 = 0x401d540
VERBOSE: Argument #1 = 0xf1e2d3c4b5a6978
VERBOSE: Argument #2 = 0x0
VERBOSE: Argument #3 = 0x0
VERBOSE: Argument #4 = 0x0
VERBOSE: Argument #5 = 0x0
VERBOSE: Argument #6 = 0x0
VERBOSE: Argument #7 = 0x0
VERBOSE: Trusted SRAM seen by this BL image: 0x4023000 - 0x4038000
VERBOSE: Code region: 0x4023000 - 0x402d000
VERBOSE: Read-only data region: 0x402d000 - 0x4030000
mmap:
VA:0 PA:0x0 size:0x20000000 attr:0x1a
VA:0x4000000 PA:0x4000000 size:0x1000 attr:0xa
VA:0x4023000 PA:0x4023000 size:0x15000 attr:0xa
VA:0x4023000 PA:0x4023000 size:0xa000 attr:0x2
VA:0x402d000 PA:0x402d000 size:0x3000 attr:0x22
VA:0xd0000000 PA:0xd0000000 size:0x10000000 attr:0x8

INFO: Initializing IO address decode windows
INFO: DRAM mapping 0 base(0x0) size(0x40000000)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc000)INFO: win_attr(3d) max_dram_win(2) max_remap(0) win_offset(8)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc100)INFO: win_attr(3d) max_dram_win(3) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc200)INFO: win_attr(3d) max_dram_win(2) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc300)INFO: win_attr(3d) max_dram_win(2) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc400)INFO: win_attr(3d) max_dram_win(2) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc500)INFO: win_attr(3d) max_dram_win(2) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xc800)INFO: win_attr(3d) max_dram_win(3) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xca00)INFO: win_attr(3d) max_dram_win(3) max_remap(0) win_offset(8)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xcb00)INFO: win_attr(3d) max_dram_win(3) max_remap(0) win_offset(16)
INFO: set_io_addr_dec 0 result: ctrl(0x3fff3d01) base(0x0)INFO:
INFO: Set IO decode window successfully, base(0xce00)INFO: win_attr(3d) max_dram_win(2) max_remap(0) win_offset(8)
NOTICE: BL31: v1.5(debug):1f8ca7e0 (Marvell-devel-18.12.2)
NOTICE: BL31: Built : 18:51:01, Feb 27 2019
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: BL31: Initializing runtime services
VERBOSE: BL31: cortex_a53: CPU workaround for 826319 was not applied
VERBOSE: BL31: cortex_a53: CPU workaround for 835769 was not applied
VERBOSE: BL31: cortex_a53: CPU workaround for disable_non_temporal_hint was not applied
VERBOSE: BL31: cortex_a53: CPU workaround for 843419 was not applied
WARNING: BL31: cortex_a53: CPU workaround for 855873 was missing!
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0
INFO: SPSR = 0x3c9
VERBOSE: Argument #0 = 0x0
VERBOSE: Argument #1 = 0x0
VERBOSE: Argument #2 = 0x0
VERBOSE: Argument #3 = 0x0
VERBOSE: Argument #4 = 0x0
VERBOSE: Argument #5 = 0x0
VERBOSE: Argument #6 = 0x0
VERBOSE: Argument Unhandled Exception in EL3.
x30 = 0x000000000402a1b0
x0 = 0x0000000000000032
x1 = 0x5555555515541555
x2 = 0x0000000000000000
x3 = 0x0000000000000040
x4 = 0x0000000000000000
x5 = 0x0000000000c50838
x6 = 0x0000000000000000
x7 = 0x0000000000000002
x8 = 0x0000000000000005
x9 = 0x0000000000000000
x10 = 0x0000000000000000
x11 = 0x0000000000000000
x12 = 0x0000000000000000
x13 = 0x0000000000000000
x14 = 0x0000000000000000
x15 = 0x0000000000000000
x16 = 0x0000000000000000
x17 = 0x0000000000000000
x18 = 0x0000000000000004
x19 = 0x0000000000000001
x20 = 0x0000000000000000
x21 = 0x000000004b5a6977
x22 = 0x0000000000000000
x23 = 0x0000000000000000
x24 = 0x0000000000000000
x25 = 0x0000000000000000
x26 = 0x0000000000000000
x27 = 0x000000000402f584
x28 = 0x0000000000000000
x29 = 0x0000000004032dc0
scr_el3 = 0x0000000000000238
sctlr_el3 = 0x0000000030cd183f
cptr_el3 = 0x0000000000000000
tcr_el3 = 0x0000000080803520
daif = 0x00000000000003c0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x00000000200002cc
elr_el3 = 0x0000000000000001
ttbr0_el3 = 0x0000000004033900
esr_el3 = 0x000000008a000000
far_el3 = 0x0000000000000001
spsr_el1 = 0x0000000000000000
elr_el1 = 0x0000000000000000
spsr_abt = 0x0000000000000000
spsr_und = 0x0000000000000000
spsr_irq = 0x0000000000000000
spsr_fiq = 0x0000000000000000
sctlr_el1 = 0x0000000030d00800
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000000000
csselr_el1 = 0x0000000000000000
sp_el1 = 0x0000000000000000
esr_el1 = 0x0000000000000000
ttbr0_el1 = 0x0000000000000000
ttbr1_el1 = 0x0000000000000000
mair_el1 = 0x0000000000000000
amair_el1 = 0x0000000000000000
tcr_el1 = 0x0000000000000000
tpidr_el1 = 0x0000000000000000
tpidr_el0 = 0x0000000000000000
tpidrro_el0 = 0x0000000000000000
dacr32_el2 = 0x0000000000000000
ifsr32_el2 = 0x0000000000000000
par_el1 = 0x0000000000000000
mpidr_el1 = 0x0000000080000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000002
cntp_cval_el0 = 0x1018f66e22be6404
cntv_ctl_el0 = 0x0000000000000002
cntv_cval_el0 = 0xc6ca248c4bb61702
cntkctl_el1 = 0x0000000000000000
sp_el0 = 0x0000000004032dc0
isr_el1 = 0x0000000000000000
cpuectlr_el1 = 0x0000000000000040
cpumerrsr_el1 = 0x000000001b080686
l2merrsr_el1 = 0x0000000010040800
cpuactlr_el1 = 0x00000000090ca000
icc_hppir0_el1 = 0x00000000000003ff
icc_hppir1_el1 = 0x00000000000003ff
icc_ctlr_el3 = 0x0000000000000400
gicd_ispendr regs (Offsets 0x200 - 0x278)
0000000000000200: 0xb8aaa8a72a82aaab
0000000000000208: 0x2a0aaaaa8a88aaaa
0000000000000210: 0xaaaa2a8aaaaa8ae2
0000000000000218: 0xaeba8aa2aeaa082a
0000000000000220: 0xaaaaaaaba2a8a8ae
0000000000000228: 0x8aeaaaaaa2e2baaa
0000000000000230: 0xaaa2aa22aaaa80aa
0000000000000238: 0xaa3a2aaabaa28aa8
0000000000000240: 0xaaaaea0a8a88afae
0000000000000248: 0x2aa8aaaaa2a8aaaa
0000000000000250: 0xeaaaa0aaabaaaa2a
0000000000000258: 0x8aaeaa22aaaa82ab
0000000000000260: 0xa8b8aabaaa2aae8a
0000000000000268: 0x2aaaaa3a0a8aaaea
0000000000000270: 0xe22ae24aaa8ae8aa
0000000000000278: 0xaaabea22aeaaa2a8
cci_snoop_ctrl_cluster0 = 0x00000000c0000003
cci_snoop_ctrl_cluster1 = 0x0000000000000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant