
Hi
I added POST (including POST_SPR) to my PPC440EPx based hcu5 board.
After running I did see by executin "log show" <..> <4>POST spr The value of DVLIM special register is incorrect: 0x00000000 <4>FAILED
I close inspection revealed that DVLIM is set to the correct value in _start_440, but afterwards reset to 0 in dflush.
Are there any special reasons, why dflush should manipulate DVLIM? Or would it be okay to submit a patch like: diff --git a/cpu/ppc4xx/start.S b/cpu/ppc4xx/start.S index a730604..b8c33cc 100644 --- a/cpu/ppc4xx/start.S +++ b/cpu/ppc4xx/start.S @@ -1700,8 +1700,6 @@ trap_reloc: rlwinm r8,r9,0,15,13 rlwinm r8,r8,0,17,15 mtmsr r8 - addi r3,r0,0x0000 - mtspr dvlim,r3 mfspr r3,ivpr addi r4,r0,1024 mtctr r4 ---
Best regards