linux-mips
[Top] [All Lists]

Problem in booting when calling calibrate_delay

To: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Problem in booting when calling calibrate_delay
From: "wilbur.chan" <wilbur512@gmail.com>
Date: Thu, 29 Oct 2009 07:51:52 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7hxxltjS8q58RR5p60lUjRXrZUNyy83lAJzc8kMhHvE=; b=c0L//NOp5iHB5Ar8+2rm7olh03EJB2+vDOV+ZyH2llZnxKBzuvQK37EEWO36RqeKFG kY0OWVf8I9YXz+A+B3QxILdtJ9QbKVawJdjv83R42qr1djp9/z+7iI5LhLwm1yBKQo2H 03fcB3PxRsxXpx+jTwBU2VHbZjsxbYqsIT5aI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QNK34M5q5Yiof6qEYBagsoZunRMvg4ZX9nSMO3g+vonHZeTBdo6feCkw74cU+M8Pg1 qMTQdIN4+tzo9M0SrJes6sh7AGXfIzXWOu7d0XVUtzKhfUjyjB54tO62fFFaZ8XWybEB zI0dY0h72Bes8ZZB0LHoNYzviqGOuOYqiV4Rs=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
I was going to boot mips64  xlr408, which has 8 cores.

Howerver, the code seemd to stop before calling 'start_kernel--->

calibrate_delay ' .

So Iadded some 'printk' in  calibrate_delay,  to check out why it failed.


 However,  if I added a 'printk' in any 'if  branches'  in

'calibrate_delay '  function  , the kernel would halt  before calling


'j  start_kernel'  in head.S. (in this situation ,printk seemed

unavailable, so  I  wrote directlly to serial address  to trace the

kernel).


Can anyone tell me why this happed?

Thank you

<Prev in Thread] Current Thread [Next in Thread>
  • Problem in booting when calling calibrate_delay, wilbur.chan <=