Subject: RE: OMAP cannot reboot
To: 'Lin.Colin@iac.com.tw' <Lin.Colin@iac.com.tw>
From: Hsu, Cheng-Hsin (Cheng-Hsin) <chs@lucent.com>
List: port-arm
Date: 06/15/2004 10:02:33
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C452E0.D774BB40
Content-Type: text/plain;
	charset="big5"

Hi Colin,
 
    Did you write your conf. from scratch? What's your cpu_reset_needs_v4_MMU_disable value?
 
Thanks,
Bear.
 

-----Original Message-----
From: Lin.Colin@iac.com.tw [mailto:Lin.Colin@iac.com.tw]
Sent: Thursday, June 10, 2004 11:04 PM
To: port-arm@NetBSD.org
Subject: OMAP cannot reboot



 

Hi there,

My OMAP porting works well right now, but it still has a little problem on reboot.

When reboot command is executed, CPU will hold.

After I traced every assemble line, I found that it halts in this command of cpu_reset() in locore.S.

           mcr     15, 0, r0, c1, c0, 0

 

Could somebody please give me some hints?

Thanks and regards,

Colin

 

 


------_=_NextPart_001_01C452E0.D774BB40
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dbig5">


<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE>@font-face {
	font-family: =B7s=B2=D3=A9=FA=C5=E9;
}
@font-face {
	font-family: @=B7s=B2=D3=A9=FA=C5=E9;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt =
90.0pt; layout-grid: 18.0pt; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: =
personal-compose
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DZH-TW style=3D"TEXT-JUSTIFY-TRIM: punctuation" =
vLink=3Dpurple link=3Dblue>
<DIV><SPAN class=3D646315813-15062004><FONT face=3DArial =
color=3D#0000ff size=3D2>Hi=20
Colin,</FONT></SPAN></DIV>
<DIV><SPAN class=3D646315813-15062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D646315813-15062004>&nbsp;&nbsp;&nbsp; <FONT =
face=3DArial><FONT=20
color=3D#0000ff size=3D2>Did you write your conf. from scratch? What's =
your=20
cpu_reset_needs_v4_MMU_disable value?</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D646315813-15062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D646315813-15062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D646315813-15062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Bear.</FONT></SPAN></DIV>
<DIV><SPAN class=3D646315813-15062004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
Lin.Colin@iac.com.tw=20
  [mailto:Lin.Colin@iac.com.tw]<BR><B>Sent:</B> Thursday, June 10, 2004 =
11:04=20
  PM<BR><B>To:</B> port-arm@NetBSD.org<BR><B>Subject:</B> OMAP cannot=20
  reboot<BR><BR></FONT></DIV>
  <DIV class=3DSection1 style=3D"LAYOUT-GRID:  18pt none">
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">Hi=20
  there,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">My OMAP porting works =
well right=20
  now, but it still has a little problem on =
reboot.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">When reboot command is =
executed,=20
  CPU will hold.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">After I traced every =
assemble line,=20
  I found that it halts in this command of cpu_reset() in=20
  locore.S.<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  mcr&nbsp;&nbsp;&nbsp;&nbsp; 15, 0, r0, c1, c0, =
0<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">Could somebody please =
give me some=20
  hints?<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: Arial">Thanks and=20
  regards,<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial">Colin<o:p></o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
  <P class=3DMsoNormal><FONT face=3DArial size=3D1><SPAN lang=3DEN-US=20
  style=3D"FONT-SIZE: 9pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HT=
ML>

------_=_NextPart_001_01C452E0.D774BB40--