[U-Boot-Users] problems with booting kernel!

Sam Song samsongshu at yahoo.com.cn
Mon Sep 13 16:38:25 CEST 2004


haigao <g_hai at huawei.com> wrote:
    
> => printenv
> bootcmd=bootp 1000000; setenv bootargs root=ramfs 
> console=ttyS00,9600 

Pls check your environment settings above. Perhaps
you should set like this:
bootcmd=bootp; setenv bootargs console=ttyS0,9600
root=/dev/nfs rw
ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;
bootm

'root=ramfs and console=ttyS00' is quite strange for
me.
                  
> ethact=i82559#0

My ethact is 'ethact=SCC ETHERNET'.
                     
> ## Checking Image at 01000000 ...                   
>                            
>    Image Name:   Linux-2.4.24-pre2                  

Uhmmm, I suspect you use the kernel source in ELDK3.0.

Right?

                     
> Booting progress->[0x8       ]## Current stack ends
> at 0x0FFB1BB8 => set upper l
> imit to 0x00800000                                  
>                            
> ## cmdline at 0x007FFF00 ... 0x007FFF00             
>                            
> bd address  = 0x0FFB1FC8                            
>                            
> memstart    = 0x00000000                            
>                            
> memsize     = 0x10000000                            
>                            
> flashstart  = 0xFF000000                            
>                            
> flashsize   = 0x00800000                            
>                            
> flashoffset = 0x00000000                            
>                            
> sramstart   = 0x00000000                            
>                            
> sramsize    = 0x00000000                            
>                            
> bootflags   = 0x00000001                            
>                            
> intfreq     = -165.-993 MHz

The value is a little weird to me. Maybe sth wrong on
Power-on init circuit. My custom board also had such a
fault with CPU freq. and hanged later.

> Booting progress->[0xe       ]No initrd

I guess you didn't have ramdisk on your target for you
didn't set 'ramdisk_addr'. This is also the reason why
I suggest you use 'root=/dev/nfs' rather than
'root=/dev/ram' in bootargs.
        
>                            
> ## Transferring control to Linux (at address
> 00000000) ...                      
> 

--Boundary_(ID_MEOpiNTH9mtRQP5BVjrzNw)
Content-type: text/html; charset=gb2312
Content-transfer-encoding: 7BIT

Pls never send HTML to this list. Plain text is well
accepted. W.D. don't like to see it. :-)

Best regards,

Sam                                             


_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/




More information about the U-Boot mailing list