<P>
Hi<BR>
&nbsp; &nbsp;  We are using AMCC PPC 405EP Taihu board, our aim is to run the C code on kit. The kit already contains U-boot, linux kernel, and Ramdik images on Flash memory. We are successfully configured C-Kermit, NFS server(/opt/eldk4/ppc_4xx, /mnt/nfs-share) on host(Fedora Core 4). We are succeeded&nbsp; loading the files from NFS server after U-boot, but we are failed to mount the files (/mnt/nfs-share) on target after kernel booting on kit. But booth host and target are communicating after kernel booting (using ping). <BR>
<BR>
We using the command to mount /mnt/nfs-share on target(Busy box 1.1.0):<BR>
<BR>
 target # mkdir /mnt/nfs<BR>
 target # mount –t nfs 192.168.1.18:/mnt/nfs-share /mnt/nfs<BR>
error: monting 192.168.1.18:/mnt/nfs-share on /mnt/nfs : No such directory or file<BR>
<BR>
Can u tell how to mount flash file system on target, using that one also we can run (bebug) the programs on kit using gdb<BR>
<BR>
So we are failed to transfer any file on to the target. Is it any way to run the program on kit using host side ppc_4xx-gdb tool and target side gdbserver tool?<BR>
<BR>
Is there any another way to run the code on the target or <BR>
<BR>
Below is the problem we are facing while passing arguments to the kernel …….<BR>
we are expecting that there is no nfs device notice on the target, we tried different ways but we have failed to mount the root file system on linux or to mount host files on target, But we are succeeded&nbsp; loading the files from NFS server after U-boot<BR>
<BR>
Hit any key to stop autoboot:&nbsp; 0<BR>
=&gt; printenv<BR>
bootdelay=5<BR>
baudrate=9600<BR>
filesize=ebb7e5<BR>
ethaddr=50:00:00:00:25:00<BR>
eth1addr=50:00:00:00:25:01<BR>
loads_echo=1<BR>
setboot=setenv bootargs ramdisk=71800 root=/dev/ram ip=$(RT_eth0_ip)$(RT_eth0_ip2)<BR>
ethact=ppc_4xx_eth0<BR>
bootcmd=run setboot;bootm 0xfc000000 0xfc300000<BR>
kozio=bootm 0xffe00000<BR>
RT_eth0_ip=192.168.1.62<BR>
RT_eth0_ip2=:::::eth0:off<BR>
ipaddr=192.168.1.62<BR>
serverip=192.168.1.18<BR>
netmask=255.255.255.0<BR>
hostname=taihu<BR>
netdev=eth0<BR>
stdin=serial<BR>
stdout=serial<BR>
stderr=serial<BR>
ver=U-Boot 1.1.4 (Jan 19 2006 - 14:16:53)<BR>
<BR>
Environment size: 722/16379 bytes<BR>
=&gt; setenv bootargs root=/dev/nfs rw nfsroot=192.168.1.18:/opt/eldk/ppc_4xx ip=192.168.1.62:192.168.1.18::::eth0:off<BR>
=&gt; bootm 0xfc000000<BR>
## Booting image at fc000000 ...<BR>
&nbsp;  Image Name:&nbsp;  Linux-2.6.13<BR>
&nbsp;  Image Type:&nbsp;  PowerPC Linux Kernel Image (gzip compressed)<BR>
&nbsp;  Data Size:&nbsp; &nbsp; 1121647 Bytes =&nbsp; 1.1 MB<BR>
&nbsp;  Load Address: 00000000<BR>
&nbsp;  Entry Point:&nbsp; 00000000<BR>
&nbsp;  Verifying Checksum ... OK<BR>
&nbsp;  Uncompressing Kernel Image ... OK<BR>
Linux version 2.6.13 (root@linux_box) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #50 Tue Feb 7 09:07:24 CST 2006<BR>
AMCC PowerPC 405EP Taihu Platform<BR>
Built 1 zonelists<BR>
Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.18:/opt/eldk/ppc_4xx ip=192.168.1.62:192.168.1.18::::eth0:off<BR>
PID hash table entries: 1024 (order: 10, 16384 bytes)<BR>
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)<BR>
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)<BR>
Memory: 127232k available (1916k kernel code, 452k data, 96k init, 0k highmem)<BR>
Mount-cache hash table entries: 512<BR>
NET: Registered protocol family 16<BR>
PCI: Probing PCI hardware<BR>
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.<BR>
Initializing Cryptographic API<BR>
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled<BR>
ttyS0 at MMIO 0x0 (irq = 1) is a 16550A<BR>
ttyS1 at MMIO 0x0 (irq = 0) is a 16550A<BR>
io scheduler noop registered<BR>
io scheduler anticipatory registered<BR>
io scheduler deadline registered<BR>
io scheduler cfq registered<BR>
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize<BR>
loop: loaded (max 8 devices)<BR>
mal0: Initialized, 4 tx channels, 2 rx channels<BR>
emac: IBM EMAC Ethernet driver, version 2.0<BR>
Maintained by Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;<BR>
eth0: IBM emac, MAC 50:00:00:00:25:00<BR>
eth0: Found Generic MII PHY (0x14)<BR>
eth1: IBM emac, MAC 50:00:00:00:25:01<BR>
eth1: Found Generic MII PHY (0x10)<BR>
e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI<BR>
e100: Copyright(c) 1999-2005 Intel Corporation<BR>
taihu: bootflash mapping: 200000 at ffe00000<BR>
AMCC Taihu Boot Flash: Found 1 x16 devices at 0x0 in 16-bit bank<BR>
 Amd/Fujitsu Extended Query Table at 0x0040<BR>
number of CFI chips: 1<BR>
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<BR>
Creating 3 MTD partitions on &quot;AMCC Taihu Boot Flash&quot;:<BR>
0x00000000-0x001a0000 : &quot;kozio diags&quot;<BR>
0x001a0000-0x001c0000 : &quot;u-boot env&quot;<BR>
0x001c0000-0x00200000 : &quot;u-boot&quot;<BR>
taihu: appflash mapping: 2000000 at fc000000<BR>
AMCC Taihu Application Flash: Found 2 x16 devices at 0x0 in 16-bit bank<BR>
 Amd/Fujitsu Extended Query Table at 0x0040<BR>
AMCC Taihu Application Flash: CFI does not contain boot bank location. Assuming top.<BR>
number of CFI chips: 1<BR>
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<BR>
Creating 3 MTD partitions on &quot;AMCC Taihu Application Flash&quot;:<BR>
0x00000000-0x00300000 : &quot;kernel&quot;<BR>
0x00300000-0x01d00000 : &quot;initrd&quot;<BR>
0x01d00000-0x02000000 : &quot;jffs2&quot;<BR>
Yenta: CardBus bridge found at 0000:00:07.0 [0000:0000]<BR>
Yenta: Enabling burst memory read transactions<BR>
Yenta: Using CSCINT to route CSC interrupts to PCI<BR>
Yenta: Routing CardBus interrupts to PCI<BR>
Yenta TI: socket 0000:00:07.0, mfunc 0x00001000, devctl 0x66<BR>
Yenta TI: socket 0000:00:07.0 probing PCI interrupt failed, trying to fix<BR>
Yenta TI: socket 0000:00:07.0 falling back to parallel PCI interrupts<BR>
Yenta TI: socket 0000:00:07.0 parallel PCI interrupts ok<BR>
eth0: Link is Up<BR>
eth0: Speed: 100, Full duplex.<BR>
Yenta: ISA IRQ mask 0x0000, PCI irq 26<BR>
Socket status: 30000087<BR>
pcmcia: parent PCI bridge I/O window: 0x0 - 0xffff<BR>
pcmcia: parent PCI bridge Memory window: 0x80000000 - 0xbfffffff<BR>
zero gadget: Gadget Zero, version: St Patrick's Day 2004<BR>
zero gadget: using pd12_udc, OUT ep1out-bulk IN ep2in-bulk<BR>
pd12_udc: registered gadget driver 'zero'<BR>
i2c /dev entries driver<BR>
IBM IIC driver v2.1<BR>
ibm-iic0: using standard (100 kHz) mode<BR>
NET: Registered protocol family 2<BR>
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)<BR>
TCP established hash table entries: 8192 (order: 4, 65536 bytes)<BR>
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)<BR>
TCP: Hash tables configured (established 8192 bind 8192)<BR>
TCP reno registered<BR>
TCP bic registered<BR>
NET: Registered protocol family 1<BR>
NET: Registered protocol family 17<BR>
NET: Registered protocol family 15<BR>
eth0: Link is Up<BR>
eth0: Speed: 100, Full duplex.<BR>
IP-Config: Guessing netmask 255.255.255.0<BR>
IP-Config: Complete:<BR>
&nbsp; &nbsp; &nbsp; device=eth0, addr=192.168.1.62, mask=255.255.255.0, gw=255.255.255.255,<BR>
&nbsp; &nbsp;  host=192.168.1.62, domain=, nis-domain=(none),<BR>
&nbsp; &nbsp;  bootserver=192.168.1.18, rootserver=192.168.1.18, rootpath=<BR>
VFS: Cannot open root device &quot;nfs&quot; or unknown-block(0,255)<BR>
Please append a correct &quot;root=&quot; boot option<BR>
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)<BR>
 &lt;0&gt;Rebooting in 180 seconds..
</P>
<br><br>
<a href="http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3"><IMG SRC="http://adworks.rediff.com/cgi-bin/AdWorks/sigimpress.cgi/www.rediff.com/signature-home.htm/1963059423@Middle5?OAS_query=null&PARTNER=3" BORDER=0 VSPACE=0 HSPACE=0></a>