From mboxrd@z Thu Jan 1 00:00:00 1970 From: Armand Ciejak Date: Tue, 31 May 2005 16:37:23 +0200 Subject: [U-Boot-Users] DataTLBError with MPC8540 Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I'm working on porting u-boot 1.1.2 for a Metrowerks eval board. I have modified the MPC8540ADS.h to make it compatible with the board. I removed the RapidIO initialisation in init.S since I don't use it. Whatever I try to do the CPU enter the DataTLBError exception: -> If I set a breakpoint (no matter where) -> If I step through the code Here is a "typical" session: BDI>info Target CPU : MPC8560/8540 Rev.2 Target state : halted Debug entry cause : COP halt Current PC : 0xfffffffc Current CR : 0x00000000 Current MSR : 0x02000200 Current LR : 0x00000000 Current CCSRBAR : 0xff700000 gdb>go BDI>info Target CPU : MPC8560/8540 Rev.2 Target state : running BDI>halt Target CPU : MPC8560/8540 Rev.2 Target state : halted Debug entry cause : COP halt Current PC : 0xfff81400 Current CR : 0x20000000 Current MSR : 0x00001000 Current LR : 0xfffff218 Current CCSRBAR : 0xe0000000 dear: 0x000211a8 135592 srr0: 0xfff81410 -519152 -> I know that this is not the primary source of the DataTLBError, but I didn't find a way to stop at the first exception. srr1: 0x00001000 4096 esr : 0x00800000 8388608 mas0: 0x00000001 1 mas1: 0x80000000 -2147483648 mas2: 0x00021000 135168 mas3: 0x00000000 0 TLB0 valid entries: IDX PID EPN SIZE V TS RPN U0-U3 WIMGE UUUSSS 0 : 00 ff700000 4KB V 0 -> ff700000 0000 -I-G- ---RWX 16 : 00 e4010000 4KB V 0 -> e4010000 0000 ----- ---RWX 17 : 00 e4011000 4KB V 0 -> e4011000 0000 ----- ---RWX 18 : 00 e4012000 4KB V 0 -> e4012000 0000 ----- ---RWX 19 : 00 e4013000 4KB V 0 -> e4013000 0000 ----- ---RWX TLB1 valid entries: IDX PID EPN SIZE V TS RPN U0-U3 WIMGE UUUSSS 0 : 00 ff000000 16MB V 0 -> ff000000 0000 -I-G- ---RWX -> Flash 1 : 00 80000000 256MB V 0 -> 80000000 0000 -I-G- ---RWX -> PCI 1/2 2 : 00 90000000 256MB V 0 -> 90000000 0000 -I-G- ---RWX -> PCI 2/2 5 : 00 e0000000 64MB V 0 -> e0000000 0000 -I-G- ---RWX -> CCSRBAR 6 : 00 f0000000 64MB V 0 -> f0000000 0000 ----- ---RWX -> LBC_SDRAM 7 : 00 f8000000 16KB V 0 -> f8000000 0000 -I-G- ---RWX -> BCSR Environment: - Board: Metrowerks board with a MPC8540 CPU. - U-boot version: 1.1.2 - Toolchain: ELDK3.1 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: myMPC8540.h Url: http://lists.denx.de/pipermail/u-boot/attachments/20050531/327f5ad5/attachment.txt