Problems while porting in ARM926EJ-S Box.

Dear Developers.

I got the BSP for ARM920T(Samsung S3C2410).
At this time, I’m modifying this BSP for ARM926EJ-S(Samsung S3C2413).
S3C2410 and S3C2413 are similar.
I changed some register’s address and their values.
New S3C2413 Box has 1MB Flash memory and 64MB SDRAM and old s3c2410 box
also has same memories.
After building IPL and IFS, I met the below messages and memory dump
from the ARM debugger.

After downloading smdk2413.ifs image, the system crashed.

ipl> send image now…
Download complete, calling image_scan…
Found image, calling image_setup…
image setup complete, calling image_start…
Dcache: 256x32 WB
Icache: 256x32
arm926 rev 5 200MHz

System page at phys:3000f000 user:fc402000 kern:fc402000
Starting next program at vfe0264e8

ARM Debugger stop at 0xFFFF0010. I think that this address means Data

FFFF0000 E59FF018 ldr pc, 0xFFFF0020
FFFF0004 E59FF018 ldr pc, 0xFFFF0024
FFFF0008 E59FF018 ldr pc, 0xFFFF0028
FFFF000C E59FF018 ldr pc, 0xFFFF002C

FFFF0010 E59FF018 ldr pc, 0xFFFF0030
FFFF0014 E59FF018 ldr pc, 0xFFFF0034

FFFF0018 E59FF018 ldr pc, 0xFFFF0038
FFFF001C E59FF018 ldr pc, 0xFFFF003C
FFFF0020 FE029C14 mcr2 pc12,0x0,r9,c2,c4,0x0
FFFF0024 FE0297FC mcr2 p7,0x0,r9,c2,c12,0x7
FFFF0028 FE02930C cdp2 p3,0x0,c9,c2,c12,0x0
FFFF002C FE0298A8 cdp2 p8,0x0,c9,c2,c8,0x5
FFFF0030 FE02998C cdp2 p9,0x0,c9c2,c12,0x4
FFFF0034 FE029C14 mcr2 p12,0x0,r9,c2,c4,0x0
FFFF0038 00000000 andeq r0,r0,r0
FFFF003C FE029C18 mcr2 p12,0x0,r9,c2,c8,0x0
FFFF0040 00000000 andeq r0,r0,r0
FFFF0044 00000000 andeq r0,r0,r0
FFFF0048 00000000 andeq r0,r0,r0
FFFF004c 00000000 andeq r0,r0,r0
FFFF0050 00000000 andeq r0,r0,r0
FFFF0054 00000000 andeq r0,r0,r0
FFFF0058 00000000 andeq r0,r0,r0

My physical base address of SDRAM is 0x30000000.

I thought that I had some problem for MMU at this time and I would try
to debug it.

Please give me your valuable comments.

Best regards.


This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.