Problems while porting QNX in ARM926EJ-S Box.

Dear You.

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.

[b]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 Aboart.

[b] FFFEFFFE ???
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[/b]

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 is my problem too. Please post your solution if you find one. I am totally stuck.

To clarify, mine hangs at the same spot, but it is with the iMX21 ARM9 BSP

Can anyone please provide me link to download s3c2410 bsp for qnx, or atleast provide information about writing bsp for smdk2410 board? thanks in advance. My mail id is[/size]

Hi friend,

I am writing BSP for S3C2410, I got hanged at the same position as u. My system stops after printing:
System page at phys:00012000 user:fc404000 kern:fc404000
Starting next program at vfe033260

Can you please giv any suggestion. Thanks in advance.