[ELDK] MPC5200B in large flash mode

Chris Alfred c.alfred at internode.on.net
Wed Sep 10 08:54:57 CEST 2008


Hi All,

We have a custom MPC5200B board using large flash mode (hence no 
PCI/ATA), otherwise it is very similar to the Lite5200. The kernel is 
configured using lite5200_defconfig with PCI disabled.

We have not found another design that uses large flash mode as a 
reference, maybe there is more kernel configuration we have to do.

uboot's tftp works fine; however, we find that NFS mount (and 
networking generally) is very slow in the kernel. The server is ok as 
a Lite5200 using the same NFS mount works. Please see the serial 
output below.

We are interested in any person/company we could contract to fix the 
problem.

-----------------------------------------------
U-Boot 1.2.0 (Aug 29 2007 - 10:52:04)

CPU:   MPC5200 v2.2, Core v1.4 at 396 MHz
       Bus 132 MHz, IPB 66 MHz, PCI 33 MHz
Board: MPC5200r4
I2C:   85 kHz, ready
DRAM:  16 MB
FLASH: 64 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
IDE:   Bus 0: OK
  Device 0: not available
  Device 1: not available

"NW5200k5"

Hit any key to stop autoboot:  0
Using FEC ETHERNET device
TFTP from server 192.168.1.101; our IP address is 192.168.1.10
Filename 'MPC5200/uImage'.
Load address: 0x200000
Loading: 
#################################################################
         #################################################################
         #################################################################
         #########################
done
Bytes transferred = 1125134 (112b0e hex)
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.19.2
   Created:      2008-09-10   6:22:44 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1125070 Bytes =  1.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
arch: exit
console=ttyPSC0,115200 root=/dev/nfs rw 
nfsroot=192.168.1.101:/opt/eldk/ppc_82xx 
ip=192.168.1.10:192.168.1.101:192.168.1.100:255.255.255.0:nw5200k5_2:eth0:off 
panic=1
Linux version 2.6.19.2 (nw5200 at pelagia) (gcc version 4.0.0 (DENX ELDK 
4.1 4.0.0)) #52 Wed Sep 10 16:22:20 EST 2008
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->     4096
early_node_map[1] active PFN ranges
    0:        0 ->     4096
Built 1 zonelists.  Total pages: 4064
Kernel command line: console=ttyPSC0,115200 root=/dev/nfs rw 
nfsroot=192.168.1.101:/opt/eldk/ppc_82xx 
ip=192.168.1.10:192.168.1.101:192.168.1.100:255.255.255.0:nw5200k5_2:eth0:off 
panic=1
PID hash table entries: 64 (order: 6, 256 bytes)
Console: colour dummy device 80x25
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 13744k available (1764k kernel code, 628k data, 100k init, 0k 
highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16

DMA: MPC52xx BestComm driver
MPC52xx BestComm inited
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -3, 512 bytes)
TCP established hash table entries: 512 (order: -1, 2048 bytes)
TCP bind hash table entries: 256 (order: -2, 1024 bytes)
TCP: Hash tables configured (established 512 bind 256)
TCP reno registered
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: MPC52xx PSC driver
ttyPSC0 at MMIO 0xf0002000 (irq = 40) is a MPC52xx PSC
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
mpc52xx-fec: probe
mpc52xx-fec: probe done
eth0: Phy @ 0x0, type LXT971 (0x001378e2)
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: config: auto-negotiation on, 100HDX, 10HDX.
IP-Config: Complete:
      device=eth0, addr=192.168.1.10, mask=255.255.255.0, 
gw=192.168.1.100,
     host=nw5200k5_2, domain=, nis-domain=(none),
     bootserver=192.168.1.101, rootserver=192.168.1.101, rootpath=
Root-NFS: Mounting /opt/eldk/ppc_82xx on server 192.168.1.101 as root
Root-NFS:     rsize = 4096, wsize = 4096, timeo = 0, retrans = 0
Root-NFS:     acreg (min,max) = (3,60), acdir (min,max) = (30,60)
Root-NFS:     nfsd port = -1, mountd port = 0, flags = 00000200
Looking up port of RPC 100003/2 on 192.168.1.101
Root-NFS: Portmapper on server returned 2049 as nfsd port
Looking up port of RPC 100005/1 on 192.168.1.101
Root-NFS: mountd port is 674
NFS:      nfs_mount(c0a80165:/opt/eldk/ppc_82xx)
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 100k init
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 OK
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 OK
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 OK
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 OK
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 OK
nfs: server 192.168.1.101 not responding, still trying
nfs: server 192.168.1.101 not responding, still trying
...
---------------------------------------------

Chris Alfred



More information about the eldk mailing list