AMCC ppc440spe 2.6.23.10 kernel boot help
Shubhada Pugaonkar
shubhada at chelsio.com
Thu Feb 12 12:36:52 EST 2009
Hi Wolfgang
Thanks for quick response.
I am kind of helpless regarding the kernel version, as our customer is
using it and I need to replicate their environment. I just tried 2.6.28
with katmai_defconfig file and still face the same problem.
The config file that I sent before is provided by the customer. It is a
working configuration for them.
The exact board that I have is Katmai.
I verified that I am using serial port 0. I tried to set bootargs to
just console=ttyS0,115200 and I don't see the kernel booting. Everything
in env variables seems ok to me unless something trivial is missing my
eyes.
My sequence for boot is
=>tftp 0x1000000 uImage-ppc
=> run flash_nfs (I have done this manually also)
my printenv output is as follows.
Thanks for your help
Shubhada
-----------------------------------------------------------------
bootdelay=5
baudrate=115200
loads_echo=1
netdev=eth0
addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;bootm
initrd_high=30000000
load=tftp 200000 katmai/u-boot.bin
update=protect off fffc0000 ffffffff;era fffc0000 ffffffff;cp.b
${fileaddr} fffc0000 ${filesize};setenv filesize;saveenv
upd=run load;run update
kozio=bootm ffc60000
loadkernel=fatload ace 0 0x1000000 /mnt-xsa/kernel.img
loadramdisk=fatload ace 0 0x3000000 /mnt-xsa/ramdisk.img
ramargs=setenv bootargs ramdisk=65536 root=/dev/ram rw
ramdisk_addr=0x3000000
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over
NFS;echo
bootcmd=run loadkernel;run loadramdisk;run flash_self
ethact=ppc_4xx_eth0
fixedip=echo Using IP address ${ipaddr}
addip=${fixedip}
setip=setenv bootargs ${bootargs}
ip=${ipaddr}:${severip}:${gatewayip}:${netmask}:${hostname}:${netdev}:of
f panic=1
flash_self=run ramargs addip setip addtty;bootm ${kernel_addr}
${ramdisk_addr}
dynip=setenv autoload n;dhcp
flash_nfs=run nfsargs addip setip addtty;bootm ${kernel_addr}
ethaddr=00:01:73:77:56:64
hostname=ppcb1
gw=10.192.160.1
net_nfs=tftp 200000 ppc-2.6.23.10
severip=10.192.165.106
kerel_addr=0x100000
kernel_addr=0x1000000
filesize=1136BB
fileaddr=1000000
gatewayip=10.192.160.1
netmask=255.255.240.0
ipaddr=10.192.164.166
serverip=10.192.165.106
rootpath=/opt/eldk4.1/ppc_4xx
nfsargs=setenv bootargs root=/dev/nfs rw
nfsroot=10.192.165.106:/opt/eldk4.1/ppc_4xx
bootfile=uImage-ppc
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.3.1-gc1d16334 (Jan 9 2008 - 11:26:13)
bootargs=root=/dev/nfs rw nfsroot=10.192.165.106:/opt/eldk4.1/ppc_4xx
ip=10.192.164.166:10.192.165.106:10.192.160.1:255.255.240.0:ppcb1:eth0:o
ff console=ttyS0,115200
Environment size: 1770/16379 bytes
------------------------------------------------------------------------
--
-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: Wednesday, February 11, 2009 3:56 PM
To: Shubhada Pugaonkar
Cc: linuxppc-dev at ozlabs.org
Subject: Re: AMCC ppc440spe 2.6.23.10 kernel boot help
Dear "Shubhada Pugaonkar",
In message
<8A71B368A89016469F72CD08050AD33402D57544 at maui.asicdesigners.com> you
wrote:
>
> I am trying to bringup AMCC ppc440sPE board with 2.6.23.10 kernel
from
2.6.23.10 is very old. Please use current code. 2.6.23 was long before
the switch to arch/powerpc, so all the efforts you are spnding now on
this old stuff are really wasted.
Use at least 2.6.28 or later.
> kernel.org. My .config file is attached. I used ARCH=ppc and
Why don't you start with a good, known to work kernel config file
like 44x/katmai_defconfig ?
For example, you mention a 440SPe processor above, but your config
file seems to be derived from a Luan board, which is 440SP (not SPe)
so there is not much surprise if it doesn't work.
> CROSS_COMPILE=ppc-linux- (also tried ppc_4xx-) and did 'make uImage',
> but unable to boot into the kernel. My nfs and uboot settings seem to
be
> correct. The kernel gets stuck as shown below. Any help appreciated.
> Please let me know if any more information is required.
In the first place, please use current code.
Second - which exact board is this? Katmai?
> => run flash_nfs
What exactly are your environment settings? Which exact value of
"bootargs" do you pass to Linux? Does it include a valid console=
argument?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If you'll excuse me a minute, I'm going to have a cup of coffee."
- broadcast from Apollo 11's LEM, "Eagle", to Johnson Space Center,
Houston July 20, 1969, 7:27 P.M.
More information about the Linuxppc-dev
mailing list