Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7742

General • Re: SIO_IRQ_FIFO pending immediately after bootrom

$
0
0
SIO FIFO_ST is showing that the ROE (read-on-empty) sticky flag is set.
ROE (read-on-empty) might be triggered by your debugger (SIO in Peripheral View).

This is what I've got in GDB immediately after exiting bootrom:

Code:

x 0xd00000500xd0000050:0x00000003SIO: FIFO_ST VLD + RDYx 0xd00000580xd0000058:0x00000000SIO: FIFO_RD x 0xd00000500xd0000050:0x00000002SIO: FIFO_ST RDYx 0xd00000580xd0000058:0xfeaff79fSIO: FIFO_RD garbagex 0xd00000500xd0000050:0x0000000aSIO: FIFO_ST RDY + ROE
It looks like that 0x00000000 is put in FIFO by Core1 in this phase of BOOTROM after sev - Send Event (to Core1)

Code:

0000389c <___step4_init_rcp_seeds>:    389c:cd0f      ldmiar5!, {r0, r1, r2, r3}    389e:4435      addr5, r6    38a0:ee30 f710 rcp_canary_status APSR_nzcv, delay    38a4:d60a      bvs.n38bc <___step4_init_rcp_seeds+0x20>    38a6:d404      bmi.n38b2 <___step4_init_rcp_seeds+0x16>    38a8:ec41 0780 rcp_salt_core0 r0, r1, delay    38ac:ec43 2781 rcp_salt_core1 r2, r3, delay    38b0:bf40      sev    38b2:ee80 0715 rcp_count_set 0x05 (5), delay    38b6:2000      movsr0, #0    38b8:e890 1fde ldmia.wr0, {r1, r2, r3, r4, r6, r7, r8, r9, sl, fp, ip}    38bc:f241 2307 movwr3, #4615; 0x1207    38c0:9906      ldrr1, [sp, #24]    38c2:600b      strr3, [r1, #0]    38c4:23b7      movsr3, #183; 0xb7    38c6:9903      ldrr1, [sp, #12]    38c8:ec43 1770 rcp_iequal r1, r3, delay    38cc:4b49      ldrr3, [pc, #292]; (39f4 <___step7_check_powman_boot+0x36>)    38ce:ec43 5770 rcp_iequal r5, r3, delay 
Some comments: https://github.com/raspberrypi/pico-boo ... ath.c#L356

Statistics: Posted by gmx — Sun Jun 07, 2026 3:07 am



Viewing all articles
Browse latest Browse all 7742

Latest Images

Trending Articles



Latest Images