<HTML>
<BODY>

<BR>* Environment
<BR>board : IBM Walnut(IBM PowerPC 405GP Rev. D)
<BR>bootloader : u-boot 0.4.0
<BR>linux kernel : Montavista Linux Preview Kit 3.0 modification -> mkimage
<BR>
<BR>
<BR>"Real time clock seems stuck!" messeage comes out but
<BR>real stuck position is on sti() in _start_kernel() (init/main.c)
<BR>
<BR>I tested in OpenBIOS bootloader using same kernel source and
<BR>it worked fine...
<BR>
<BR>what do i do for u-boot and kernel setting ??
<BR>
<BR>please, help me. refer to following rom monitor messeage for checking...
<BR>
<BR>===================================================
<BR>U-Boot 0.4.0 (Sep 3 2003 - 14:10:09)
<BR>
<BR>CPU: IBM PowerPC 405GP Rev. D at 200 MHz (PLB=100, OPB=50, EBC=50 MHz)
<BR>PCI sync clock at 33 MHz, internal PCI arbiter enabled
<BR>16 kB I-Cache 8 kB D-Cache
<BR>Board: ### No HW ID - assuming WALNUT405
<BR>I2C: ready
<BR>DRAM: 32 MB
<BR>FLASH: 512 kB
<BR>In: serial
<BR>Out: serial
<BR>Err: serial
<BR>KGDB: kgdb ready
<BR>ready
<BR>BEDBUG:ready
<BR>Hit any key to stop autoboot: 0
<BR>=> tftpboot 800000 /tftpboot/vmlinux.u-boot
<BR>ENET Speed is 100 Mbps - FULL duplex connection
<BR>TFTP from server 192.168.1.210; our IP address is 192.168.1.200
<BR>Filename '/tftpboot/vmlinux.u-boot'.
<BR>Load address: 0x800000
<BR>Loading: #################################################################
<BR>######################################################
<BR>done
<BR>Bytes transferred = 605010 (93b52 hex)
<BR>=> tftpboot 900000 /tftpboot/ramdisk
<BR>ENET Speed is 100 Mbps - FULL duplex connection
<BR>TFTP from server 192.168.1.210; our IP address is 192.168.1.200
<BR>Filename '/tftpboot/ramdisk'.
<BR>Load address: 0x900000
<BR>Loading: #################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#################################################################
<BR>#########################
<BR>done
<BR>Bytes transferred = 5784523 (5843cb hex)
<BR>=> bootm 800000 900000
<BR>## Booting image at 00800000 ...
<BR>Image Name: Kernel(PK2.0 mod for u-boot)
<BR>Created: 2003-09-05 3:48:06 UTC
<BR>Image Type: PowerPC Linux Kernel Image (gzip compressed)
<BR>Data Size: 604946 Bytes = 590.8 kB
<BR>Load Address: 00000000
<BR>Entry Point: 00000000
<BR>Verifying Checksum ... OK
<BR>Uncompressing Kernel Image ... OK
<BR>## Loading RAMDisk Image at 00900000 ...
<BR>Image Name: Ramdisk(HHL2.0 mod)
<BR>Created: 2003-09-02 4:03:08 UTC
<BR>Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
<BR>Data Size: 5784459 Bytes = 5.5 MB
<BR>Load Address: 00000000
<BR>Entry Point: 00000000
<BR>Verifying Checksum ... OK
<BR>Loading Ramdisk to 01a28000, end 01fac38b ... OK
<BR>Linux version 2.4.18_mvl30-walnut (root@hwjang) (gcc version 2.95.3 20010315 (rTIBM Walnut (IBM405GP) Platform
<BR>Port by MontaVista Software, Inc. (source@mvista.com)
<BR>On node 0 totalpages: 147456
<BR>zone(0): 147456 pages.
<BR>zone(1): 0 pages.
<BR>zone(2): 0 pages.
<BR>Kernel command line: root=/dev/ram
<BR>Warning: real time clock seems stuck!
<BR>(1)
<BR>(2)
<BR>
<BR>=================================================
<BR>
<BR>°íÄ£ Ä¿³Î¼Ò½ººÎºÐ...
<BR>
<BR>asmlinkage void __init start_kernel(void)
<BR>{
<BR>char * command_line;
<BR>unsigned long mempages;
<BR>extern char saved_command_line[];
<BR>/*
<BR>* Interrupts are still disabled. Do necessary setups, then
<BR>* enable them
<BR>*/
<BR>lock_kernel();
<BR>printk(linux_banner);
<BR>setup_arch(&command_line);
<BR>printk("Kernel command line: %s\n", saved_command_line);
<BR>parse_options(command_line);
<BR>trap_init();
<BR>init_IRQ();
<BR>sched_init();
<BR>softirq_init();
<BR>time_init();
<BR>
<BR>/*
<BR>* HACK ALERT! This is early. We're enabling the console before
<BR>* we've done PCI setups etc, and console_init() must be aware of
<BR>* this. But we do want output early, in case something goes wrong.
<BR>*/
<BR>console_init();
<BR>#ifdef CONFIG_MODULES
<BR>init_modules();
<BR>#endif
<BR>if (prof_shift) {
<BR>unsigned int size;
<BR>/* only text is profiled */
<BR>prof_len = (unsigned long) &_etext - (unsigned long) &_stext;
<BR>prof_len >>= prof_shift;
<BR>
<BR>size = prof_len * sizeof(unsigned int) + PAGE_SIZE-1;
<BR>prof_buffer = (unsigned int *) alloc_bootmem(size);
<BR>}
<BR>printk("(1)\n");
<BR>kmem_cache_init();
<BR>printk("(2)\n");
<BR>sti();                 /* ---> PROBLEM OCCURS HERE */
<BR>printk("(3)\n");
<BR>calibrate_delay();
<BR>printk("(4)\n");
<BR></BODY>
</HTML>

<BR>
<a HREF="http://www.dreamwiz.com/" TARGET=_blank><img SRC="http://mail.dreamwiz.com/jazz0719/cgi-bin/receive_check.cgi?mailbox=Sent&uid_validity=00000000000961517366&uid=00000000000000000360,X00000&key=c595033dc7e8aae2b6c8f464df7b7f6f" WIDTH=108 HEIGHT=21 BORDER="0"></a><span style="font-size: 9pt; font-family:±¼¸²; color: #494949; text-decoration: none;">»ýÈ°ÀÎÅͳݠµå¸²À§Áî http://www.dreamwiz.com</span><br><img src="http://i.dreamwiz.com/dw/ko/mw/mail/def/n.gif" width=1 height=5 border="0"><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><img src="http://i.dreamwiz.com/dw/ko/280014_2.gif" width=25 height=25 align="absmiddle" border="0" >
<a href="http://life.dreamwiz.com/"><span style="font-size: 9pt; font-family:±¼¸²; color: #494949; text-decoration: none;">[»ýÈ°Á¤º¸] ´õµµ´úµµ¸»°í <font color="red">ÇÑ°¡À§</font> °°¾Æ¶ó~~. ³¯¾À(?!)ÇÏ°í ¾ËÂ÷°Ô º¸³»´Â ¹æ¹ýÀ» ¾Ë·Áµå¸³´Ï´Ù.</font></a><br>
<img src="http://i.dreamwiz.com/dw/ko/n.gif" width=5 height=1 border="0"><img src="http://i.dreamwiz.com/dw/ko/mailj.gif" height=25 align="absmiddle" border="0" >
<a href="http://www.dreamwiz.com/ma/jr/info_jr.htm"><span style="font-size: 9pt; font-family:±¼¸²; color: #494949; text-decoration: none;" >[Áê´Ï¾î¸ÞÀÏ] ¾î¸°ÀÌ¿¡°Ô ½ºÆÔ¾ø´Â °Ç°­ÇÏ°í ±ú²ýÇÑ ¸ÞÀÏȯ°æÀ» ¸¸µé¾îÁֽʽÿÀ.</font></a><br>