<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff><FONT face=Arial size=2>
<DIV><BR>Hello list!</DIV>
<DIV> </DIV>
<DIV>I've checked the archives, but have not found anyone using the 860 with my
problem.</DIV>
<DIV> </DIV>
<DIV>I have a MPC860 board ported from FADS860 board. ( TEXT_BASE is also
0x2800000, but IMMR is 0x2200000). I have vxworks run OK on it. But when I am
porting U-Boot on it. I met booting problem on it. </DIV>
<DIV> </DIV>
<DIV>For Example as following: (ELDK1.0 + U-boot-0.3.0)</DIV>
<DIV>----------------------------------------------------------------------------------------</DIV>
<DIV>located in /cpu/mpc8xx/start.S<BR> .globl _start<BR> .extern
testLed<BR>_start:<BR> lis r3, 0x220 /* my IMMR addr is 0x2200000
*/<BR> ori r3, r3, 0x0000<BR> mtspr 638,
r3 /*IMMR SPR is 638*/</DIV>
<DIV> </DIV>
<DIV> bl testLed /* this is to light LEDs on board(PA0 -
PA3)*/</DIV>
<DIV>----------------------------------------------------------------------------------------</DIV>
<DIV>located in /cpu/mpc8xx/cpu_init.c<BR>void testLed(void)<BR>{<BR> int
i,k;<BR> for(k=0;k<5;k++)<BR> {<BR> * ( (volatile
unsigned short *) (0x2200000 + 0x950) ) = 0xA000; /* light LED
*/<BR> for (i=0; i<0xFFFF;i++)
<BR> {;};<BR> * ( (volatile unsigned short *)
(0x2200000 + 0x950) ) = 0x0000; /* unlight LED */<BR> for (i=0;
i<0xFFFF;i++) <BR> {;};<BR> };<BR>};</DIV>
<DIV> </DIV>
<DIV>When I build to *.bin and burn into bootrom flash, after power on, the LEDs
of board are not lighting. But, I tested these codes under Vxworks Bootrom code
(rominit.S), that's OK. </DIV>
<DIV> </DIV>
<DIV>maybe it is linking problem? I 'm confused. Could you like to help me or
give me any comments ?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance!<BR>John</DIV>
<DIV></FONT> </DIV></BODY></HTML>