From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subodh Nijsure Message-Id: <200101032042.MAA17739@shell9.ba.best.com> Subject: Booting linux kernel. To: linuxppc-embedded@lists.linuxppc.org Date: Wed, 3 Jan 2001 12:42:19 -0800 (PST) Cc: subodh@best.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: Hello, I have a custom 860T based board for which I have ppcboot 0.7, register values for BRx and ORx are at the end of the e-mail. I have built montavista 2.4-test2 kernel and ramdisk that I downloaded from Wolfgan Denk's ftp site, a loaded them using tftp at 0x00100000 and 0x00190000. CXE-BOOTROM=>bootm 00100000 00190000 ## Booting Linux kernel at 00100000 ... Image Name: 2.4.0-test2 @ Wed Jan 3 09:59:1 Image Type: PowerPC Linux Kernel Image (uncompressed) Data Size: 430976 Bytes = 420 kB = 0 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK ## Loading RAMDisk Image at 00190000 ... Image Name: Simple Ramdisk Image Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 507630 Bytes = 495 kB = 0 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Ramdisk to 03ec3000, end 03f3eeee ... OK ## Transferring control to Linux (at address 00000000) ... My board's config file used when building ppcboot has following SMC and FEC configuration. #define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */ #undef CONFIG_8xx_CONS_SMC2 #undef CONFIG_8xx_CONS_NONE #define CONFIG_BAUDRATE 9600 #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */ /* choose SCC1 ethernet (10BASET on motherboard) * or FEC ethernet (10/100 on daughterboard) */ #undef CONFIG_SCC1_ENET 0 /* use SCC1 ethernet */ #define CONFIG_FEC_ENET 1 /* disable FEC ethernet */ #define CFG_DISCOVER_PHY When I boot the kernel don't see anything on the console, I have the boardinfo structure below. I guess simple question is how do I go about debugging this problem? My System.map has log_buf address as 0xc010f314 and memory dump at 0x0010f314 is shown below. System.map dump --> c010eb14 b buf.498 c010ef14 b buf c010f314 b log_buf CXE-BOOTROM=>md 0x0010f314 00000000: 1f8b0808 5068533a 0203766d 6c696e75 ....PhS:..vmlinu 00000010: 7800e45b 0b705465 963efd00 3bd0436e x..[.pTe.>..;.Cn 00000020: 206020c0 a804298e f6a43220 3bb749a7 ` ...)...2 ;.I. 00000030: d321bdbb 2d896ec4 0e618091 8e093b60 .!..-.n..a....;` 00000040: a21311d6 eb72bbfb 76929965 5777a693 .....r..v..eWw.. 00000050: 0e2ea541 3a84f4c2 0c33131e 7115c8d0 ...A:....3..q... 00000060: 809382d2 aa45475c c7f10185 16b8ee23 .....EG\.......# 00000070: 2a2cac3c 7abf73fb 36344800 775787aa *,.reginfo System Configuration registers IMMR 0XFF000501 SIUMCR 0X1600400 SYPCR 0XFFFFFF89 SWT 0XFFFF0000 SWSR 0X0 SIPEND 0X20000 SIMASK 0X4000000 SIEL 0X0 SIVEC 0X3C000000 TESR 0X0 SDCR 0X1 Memory Controller Registers BR0 0X28000001 OR0 0XFFC00742 BR1 0X40020001 OR1 0XFFFF07F2 BR2 0X40040001 OR2 0XFFFC07F2 BR3 0X40000C1 OR3 0XFC000A00 BR4 0X0 OR4 0X0 BR5 0XC1 OR5 0XFC000A00 BR6 0X0 OR6 0X0 BR7 0X40000801 OR7 0XFFFF8750 mamr 0X67001000 mbmr 0X18964114 mstat 0X0 mptpr 0X400 mdr 0XFFFFFFFF System Integration Timers TBSCR 0X1 RTCSC 0X11 PISCR 0X2 CXE-BOOTROM=>bdinfo memstart = 0x00000000 memsize = 0x04000000 flashstart = 0x02800000 flashsize = 0x00400000 flashoffset = 0x00060000 sramstart = 0x00000000 sramsize = 0x00000000 immr_base = 0xff000000 bootflags = 0x00000001 intfreq = 48 MHz busfreq = 48 MHz ethaddr = 00:C1:4F:1E:BF:80 IP addr =192.168.4.41 baudrate = 9600 bps getc = 0x03fae2b0 tstc = 0x03fae2e8 putc = 0x03fae220 puts = 0x03fae308 printf = 0x03fa9d3c install_hdlr= 0x03faebcc free_hdlr = 0x03faec54 malloc = 0x03fa8708 free = 0x03fa8c70 ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/