<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hey All,<br><br>I'm tyring to incorporate the u-boot cpu POST (cpu_post_test) into a custom board using an MPC8541E running the latest uboot version, and the board hangs when this particular POST test is run. Digging a little deeper I found that the system hangs in the cpu_post_exec_12 in the /post/cpu/asm.S file. Below is the code:<br><br>/* void cpu_post_exec_12 (ulong *code, ulong *res, ulong op1, ulong op2); */<br> .global cpu_post_exec_12<br>cpu_post_exec_12:<br> mflr r0<br> stwu r0, -4(r1)<br> stwu r4, -4(r1)<br><br>
mtlr r3<br> mr r3, r5<br> mr r4, r6<br> blrl <-----------------hangs here<br><br> lwz r4, 0(r1)<br> stw r3, 0(r4)<br><br> lwz r0, 4(r1)<br> addi r1, r1, 8<br> mtlr r0<br> blr<br><br>I commented out the first branch and the entire cpu post ran without hanging the system
again. I need to incorporate this test into my board, but I don't want to comment this code without fully understanding it's functionality. Has anyone done any work on the cpu POST for an MPC85xx and run into similar problems and can someone point me to where I can find more details on what this code is doing?<br><br>Thanks,<br>Brandon Clarke<br></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>