From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex shi Date: Thu, 23 Jun 2005 07:56:19 +0800 Subject: [U-Boot-Users] debug linux kernel hangs References: <20050622225017.94069C1510@atlas.denx.de> Message-ID: <021a01c57785$fc451a30$4500a8c0@baniantealex> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Denk: I am sorry for pre unreadable mail. Hi All: My box is MPC8247 I use u-boot 1.1.1 to boot linux kernel 2.4.22, the bd_info are same in u-boot.h, and IMMR address also same at 0xf0000000. but after input bootm command the linux kernel hangs: ==================================== => setenv ipaddr 192.168.0.33 => setenv serverip 192.168.0.222 => tftp 0x100000 uImage Using FCC1 ETHERNET device TFTP from server 192.168.0.222; our IP address is 192.168.0.33 Filename "uImage". Load address: 0x100000 Loading: ################################################################# ################################################################# ##################################### done Bytes transferred = 853098 (d046a hex) => bootm 0x100000 ## Booting image at 00100000 ... Image Name: Linux Kernel Image Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 853034 Bytes = 833 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ============================================= and under the ppc_6xx-gdb : ========================== (gdb) 620 ppc_md.setup_arch(); (gdb) n <<<<< long time wait and then press ctl + c. ? Program received signal SIGSTOP, Stopped (signal). 0xc0007e4c in __delay () at time.c:427 427 } (gdb) where #0 0xc0007e4c in __delay () at time.c:427 #1 0xc0015ae4 in panic (fmt=0x2bbbd "\001") at delay.h:42 (gdb) ========================= It seems kernel breaken down@ppc_md.setup_arch() and panic a message to me, isn't it? Any hints will be appreciated! BRG Alexander