Return-Path: Received: from web52904.mail.re2.yahoo.com (web52904.mail.re2.yahoo.com [206.190.49.14]) by ozlabs.org (Postfix) with SMTP id 3F2B5B6EF6 for ; Sun, 13 Dec 2009 18:18:14 +1100 (EST) Message-ID: <304699.14564.qm@web52904.mail.re2.yahoo.com> References: <401793.31718.qm@web52903.mail.re2.yahoo.com> <20091201231022.AB72CE6D391@gemini.denx.de> <880531.39933.qm@web52905.mail.re2.yahoo.com> <20091202200942.506BF4C025@gemini.denx.de> Date: Sat, 12 Dec 2009 23:18:11 -0800 (PST) From: Allan Wang Subject: Re: EP440XS board boot problem(Note:similart to Sequoia) To: Wolfgang Denk In-Reply-To: <20091202200942.506BF4C025@gemini.denx.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-63006677-1260688691=:14564" Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-63006677-1260688691=:14564 Content-Type: text/plain; charset=us-ascii Hello, Mr. Denk, I forgot to give you the uboot printenv output. => printenv bootcmd=run flash_self bootdelay=5 baudrate=115200 loads_echo=1 preboot=run setup_phys;echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo netdev=eth0 hostname=ep440xs nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ramargs=setenv bootargs ramdisk=65536 root=/dev/ram rw addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1 addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) flash_nfs=run nfsargs addip addtty;bootm $(kernel_addr) flash_self=run ramargs addip addtty;bootm $(kernel_addr) $(ramdisk_addr) net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;bootm kernel_addr=fe000000 ramdisk_addr=fe180000 load=tftp 0x200000 u-boot.bin update=protect off 0xfff60000 0xffffffff;era 0xfffa0000 0xffffffff;cp.b 0x200000 fffa0000 60000 upd=run load;run update usbact=hostdev fixedip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1 dhcp=setenv bootargs $(bootargs) ip=dhcp initphy=mii w ${phy} 14 e3;mii w ${phy} 18 4101;mii w ${phy} 9 e00;mii w ${phy} 4 1e1;mii w ${phy} 0 9140;mii w ${phy} 0 1140 setup_phys=setenv phy 0;run initphy;setenv phy 1;run initphy;setenv phy progee=mw 0x100000 0x87788252;mw 0x100004 0x0957a030;mw 0x100008 0x40082350;mw 0x10000c 0x0d050000;eeprom write 0x54 0x100000 0x0 0x10 diags=cp.b 0xFFF40000 0x40000 0x20000;go 0x40004 dhcp_user-class-id=u-boot_test rootpath=/opt/ppc/ppc_4xx bootfile=cuImage.ep440xs ipaddr=192.168.0.201 netmask=255.255.255.0 ethaddr=00:01:ec:01:12:83 eth1addr=00:01:ec:81:12:83 ethact=ppc_4xx_eth0 gateway=192.168.0.1 bootargs=$(bootargs) console=ttyS0,$(baudrate) serverip=192.168.0.196 gatewayip=192.168.0.1 stdin=serial stdout=serial stderr=serial ver=U-Boot 1.1.6 (Oct 25 2009 - 13:26:41) Thanks, Allan --0-63006677-1260688691=:14564 Content-Type: text/html; charset=us-ascii
Hello, Mr. Denk,

I forgot to give you the uboot printenv output.
=> printenv
bootcmd=run flash_self
bootdelay=5
baudrate=115200
loads_echo=1
preboot=run setup_phys;echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
netdev=eth0
hostname=ep440xs
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
ramargs=setenv bootargs ramdisk=65536 root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1
addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)
flash_nfs=run nfsargs addip addtty;bootm $(kernel_addr)
flash_self=run ramargs addip addtty;bootm $(kernel_addr) $(ramdisk_addr)
net_nfs=tftp 200000 $(bootfile);run nfsargs addip addtty;bootm
kernel_addr=fe000000
ramdisk_addr=fe180000
load=tftp 0x200000 u-boot.bin
update=protect off 0xfff60000 0xffffffff;era 0xfffa0000 0xffffffff;cp.b 0x200000 fffa0000 60000
upd=run load;run update
usbact=hostdev
fixedip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1
dhcp=setenv bootargs $(bootargs) ip=dhcp
initphy=mii w ${phy} 14 e3;mii w ${phy} 18 4101;mii w ${phy} 9 e00;mii w ${phy} 4 1e1;mii w ${phy} 0 9140;mii w ${phy} 0 1140
setup_phys=setenv phy 0;run initphy;setenv phy 1;run initphy;setenv phy
progee=mw 0x100000 0x87788252;mw 0x100004 0x0957a030;mw 0x100008 0x40082350;mw 0x10000c 0x0d050000;eeprom write 0x54 0x100000 0x0 0x10
diags=cp.b 0xFFF40000 0x40000 0x20000;go 0x40004
dhcp_user-class-id=u-boot_test
rootpath=/opt/ppc/ppc_4xx
bootfile=cuImage.ep440xs
ipaddr=192.168.0.201
netmask=255.255.255.0
ethaddr=00:01:ec:01:12:83
eth1addr=00:01:ec:81:12:83
ethact=ppc_4xx_eth0
gateway=192.168.0.1
bootargs=$(bootargs) console=ttyS0,$(baudrate)
serverip=192.168.0.196
gatewayip=192.168.0.1
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.1.6 (Oct 25 2009 - 13:26:41)

Thanks,

Allan


--0-63006677-1260688691=:14564--