[U-Boot] Problem with Porting U-boot on 8308

Hi All,
I am new to Uboot, I am trying to port Uboot on 8308, on single steeping the uboot gets stuck at _start_of_vectors_ Machine check exception. Could anyone please explain what STD_EXCEPTION mean in start.S code and why it happens ? Following are some logs BDI8308_ELAN06>ti Target CPU : MPC83xx (e300c3) Target state : debug mode Debug entry cause : instruction address breakpoint Current PC : 0xfff0017c Current CR : 0x20000000 Current MSR : 0x00003072 Current LR : 0xfff00168 BDI8308_ELAN06>ti Target CPU : MPC83xx (e300c3) Target state : debug mode Debug entry cause : COP halt Current PC : 0xfff00220 Current CR : 0xe6000efc Current MSR : 0xe6000efc Current LR : 0xe6000efc # Step timeout detected The address 0xfff00220 corresponds to Machine check exception in System.map of u-boot code.
Thanks Sharath

Dear Sharath Kurudi,
In message BANLkTi=U57=pm8sOmRMHgONTBA9VQEOung@mail.gmail.com you wrote:
I am new to Uboot, I am trying to port Uboot on 8308, on single steeping the uboot gets stuck at _start_of_vectors_ Machine check exception. Could
Please read the documentation what a machine check is and why it happens.
anyone please explain what STD_EXCEPTION mean in start.S code and why it happens ?
STD_EXCEPTION is a macro that is used to instatiate the code for the standard exception handlers.
# Step timeout detected The address 0xfff00220 corresponds to Machine check exception in System.map of u-boot code.
Did you try reading the BDI FAQs? IIRC there are some referring to debugging of exception handlers.
Best regards,
Wolfgang Denk
participants (2)
-
Sharath Kurudi
-
Wolfgang Denk