AnsweredAssumed Answered

How to disable DRAM initialization in U-Boot?

Question asked by Jason Dejesus on Jan 14, 2020
Latest reply on Jan 16, 2020 by Jason Dejesus

I'm working with the T1042 board. By default, DRAM is initialized so that all values read 0xdeadbeef. I want it to instead start up, and have what ever inherent values the DRAM cells happen to be.  Essentially I want to skip the DRAM testing/initialization. How can I do this? I think it might be in arch/powerpc/cpu/mpc85xx/start.S but I'm not to sure how to change it.

 

I've also tried modifying common/board_f.c where there is a section I can comment out things like dram_init and test_dram but removing these leave me with the following error repeatedly (I'm not even sure if it would be correct to remove these):

 

Call backtrace: Bad trap at PC: eff4829c, SR: 1000, vector=d00                  
                                          
NIP: EFF4829C XER: 00000000 LR: EFF4828C REGS: fdd00570 TRAP: 0d00 DAR: FFAEDFB8
MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00                                 
                                                                                
GPR00: EFF4828C FDD00660 FDD03F20 00000010 00000020 EFFAED84 FDD0061C FFFFFFFE  
GPR08: 00000000 FFAEDFB8 00000020 FDD00660 EFF90E20 24C20000 00000000 7FF6B5D4  
GPR16: 7FF6B5CC 0000000A 00000020 00000000 00001000 FDD006B0 EFFAED98 EFFBCEF0  
GPR24: 00000007 00000000 00000000 00000000 00000000 FDD007B0 EFFC53E4 00000000  
Call backtrace: Bad trap at PC: eff4829c, SR: 1000, vector=d00   

 

Any solutions?

Outcomes