STM32MP1 ethernet RMII

Jaroslav Buchta jaroslav.buchta na hascomp.cz
Pátek Listopad 20 06:52:11 CET 2020


Vyreseno, rano moudrejsi vecera ;-)

musi se pridat region pameti
mem 0x2ffc0000 0x30000000 rw 32
a jede to...
Jen nechapu, proc to nemaji rovnou ve scriptu.

Dne 19.11.2020 v 22:20 Jaroslav Buchta napsal(a):
> 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...
>
>
>
>
>
>
> _______________________________________________
> HW-list mailing list  -  sponsored by www.HW.cz
> Hw-list na list.hw.cz
> http://list.hw.cz/mailman/listinfo/hw-list




Další informace o konferenci Hw-list