STM32MP1 ethernet RMII
Jaroslav Buchta
jaroslav.buchta na hascomp.cz
Čtvrtek Listopad 19 22:20:24 CET 2020
Uz me nic nenapada, tak se zeptam...
GDB se docela bez problemu pres OpenOCD pripoji a nejak funguje, symboly
nacteny, prerusit program jde (na zacatku mam nekonecnou smycku) ale
proc sakra nema pristup do pameti???
Program received signal SIGINT, Interrupt.
bl2_entrypoint () at bl2/aarch32/bl2_el3_entrypoint.S:17
17 b .
(gdb) disass
Dump of assembler code for function bl2_entrypoint:
=> 0x2ffd6000 <+0>: Cannot access memory at address 0x2ffd6000
(gdb) x 0x2ffd6000
0x2ffd6000 <bl2_entrypoint>: Cannot access memory at address 0x2ffd6000
OpenOCD tam pristup ma, vim, ze to je po bootu chranena oblast ale behem
bootu by snad mela byt debuggerem pristupna...
> mdw 0x2ffd6000 16
0x2ffd6000: ebfffffe e1a09000 e1a0a001 e1a0b002 e1a0c003 ee110f11
e3100001 0a000002
0x2ffd6020: e59f0104 e3a010d4 ea0000a9 e59f00fc ee010f10 f57ff06f
f1020016 f57ff06f
> arm disassemble 0x2ffd6000 16
0x2ffd6000 0xebfffffe BL 0x2ffd6000
0x2ffd6004 0xe1a09000 MOV r9, r0
0x2ffd6008 0xe1a0a001 MOV r10, r1
0x2ffd600c 0xe1a0b002 MOV r11, r2
0x2ffd6010 0xe1a0c003 MOV r12, r3
0x2ffd6014 0xee110f11 MRC p15, 0x00, r0, c1, c1, 0x00
0x2ffd6018 0xe3100001 TST r0, #0x1
0x2ffd601c 0x0a000002 BEQ 0x2ffd602c
0x2ffd6020 0xe59f0104 LDR r0, [r15, #0x104]
0x2ffd6024 0xe3a010d4 MOV r1, #0xd4
0x2ffd6028 0xea0000a9 B 0x2ffd62d4
Mozna je to blbost ale nemohu zadne info najit...
Další informace o konferenci Hw-list