Skip to contentSkip to conversation

Help--750FX, Cannot handle DEC or External Interrupt exception.U-Boot-1.1.1, ELDK3.0,RedHat

U-Boot-Users 高海 2 participants 3 messages Aug 26, 2004 – Aug 27, 2004

lore
Share & tools
lore

高海

author
#0 lore raw

My target platform is with 750FX and MPC107, 256M ram, a NS16c552 serial and also a Intel 82559 compatiable ethernet controller.

I can get Program Exeption(0x700) printing msg when I "go" a program from an arbitary address within U-Boot's shell. But when I set EE bit in MSR register, U-Boot seems to hang there, nothing
output.

I guess the exception handling have problem. But I really didn't change any codes in Start.s or ppc_asm.tmpl.

Additonal, when I write a dword to a address outside my BAT-Array covered range, DSI Exception(0x300) also seems hanging, nothing output. I originally image that the UnknownException() funciton can print something on my console.

In any case Program Exception handling does work. And it seems when I set IP bit in MSR register, the higher Exception handler which is borned in flash can go up to the address { hdlr - _start + EXC_OFF_SYS_RESET; (refer to ppc_asm.tmpl Line 304) }. There is a number such as 0x3688. Maybe CPU turned to that address to fetch next instruction. Unfortunately, that address is dull, so program exception occured. And then I got something on the console just like that after I "go 0x3688".

#1 lore raw
Quoted 2 lines · In message <[email protected]> you wrote:

My target platform is with 750FX and MPC107, 256M ram, a NS16c552 serial and also a Intel 82559 compatiable ethernet controller.

Which board configuration is this, and which version of U-Boot?

[And another question in anticipation of your reply (a new board configuration being ported by you based on an old version of U-Boot):
are you absolutely sure that your SDRAM init code is correct?]

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Microsoft Multimedia:
You have nice graphics, sound and animations when the system crashes.
author
#2 lore raw

[U-Boot-Users] Help--750FX,Cannot handle DEC or External Interrupt exception.U-Boot-1.1.1, ELDK3.0,RedHat

Quoted 3 lines

My target platform is with 750FX and MPC107, 256M ram, a NS16c552 serial and also a Intel 82559 compatiable ethernet controller.

Which board configuration is this, and which version of U-Boot?

U-Boot 1.1.1 ELDK3.0 RedHat9.0,

I made our board's configuration file by copying and modifying the BAB7xx.h.

Quoted 3 lines

[And another question in anticipation of your reply (a new board configuration being ported by you based on an old version of U-Boot):
are you absolutely sure that your SDRAM init code is correct?]

Yes, I am sure my SDRAM init code is correct, because I had Vxworks running on many pieces of boards for many days Also, I've coded a program to test SDRAM detailly, but on Vxworks.

I have tested my situation for already many times. And found:
1) Sometimes, even program exception handling cannot work when I use "go 0x8000(or 0x9000, or 0x123456, or any other place"(Of course I examined the data there). 2)Sometimes, even I set IP bit in MSR register, exception handling also cannot work.
3)My hundreds of trying seemed ruleless.

I guess, the cause maybe the cache or exception handling mechanism ?
And can you tell me is there a successful case that U-Boot on 750FX or 750 can handle the exceptions normally? Thanks a lot for your reply.

Best regards,
gaohai