<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 6.00.2800.1226" name=GENERATOR></HEAD>
<BODY>
<P><FONT face=Arial><FONT size=2>Hi,<BR><BR>I port a Linux 2.4.25 kernel on a 
MPC8560 custom board.<BR>I don't use uboot but a custom boot on the 
board.<BR><BR>The console is mapped on SCC1 port.<BR>CCSRBAR is mapped at 
0xF8000000 and immr at 0xF8080000.<BR><BR>I open 2 TLBs on memory and a big TLB 
for all IOs included CSSRBAR.<BR>Due to IO TLB, I don't io_remap 
cpm2_immr.<BR><BR>All things run fine until I launch the /sbin/init file from a 
nfs networK.<BR>The file is right downloaded but seems not to run.<BR>But the 
board is alived because I can press keys on console and receive<BR>the echo and 
I can ping the board. It works.<BR><BR>I tried to use other files like /bin/sh, 
other busybox version, ...<BR><BR>The NFS file system seems to be right and well 
tested on a 8260 board<BR>ie : the file system is 60x compiled without any 
special options for E500 core.<BR><BR>I also replaced the nfs by a ramdisk. Same 
results.<BR><BR>I don't know if uboot sets other things than TLBs to access 
IOs<BR>and if my own boot is incomplete.<BR>I don't know if cpm must be 
io_remapped instead of using TLBs.<BR><BR>Any ideas would be 
welcome.<BR>Thanks<BR><BR>Laurent<BR><BR><BR><BR><BR>loaded 
at:&nbsp;&nbsp;&nbsp;&nbsp; 00800000 0088C2A4<BR>board data at: 00889130 
00889194<BR>relocated to:&nbsp; 0080530C 00805370<BR>zimage 
at:&nbsp;&nbsp;&nbsp;&nbsp; 00805878 008882AF<BR>avail 
ram:&nbsp;&nbsp;&nbsp;&nbsp; 0088D000 08000000<BR><BR>Linux/PPC load: 
devfs=mount ip=bootp root=/dev/nfs rw console=ttyS0,9600<BR>Uncompressing 
Linux...done.<BR>Now booting the kernel<BR>Memory CAM mapping: CAM0=64Mb, 
CAM1=64Mb, CAM2=0Mb residual: 0Mb<BR>motobooke_mmu.c110 index=0 virt=c0000000 
phys=00000000 size=04000000 flags=82f pid=0<BR>motobooke_mmu.c110 index=1 
virt=c4000000 phys=04000000 size=04000000 flags=82f pid=0<BR>motobooke_mmu.c110 
index=2 virt=f0000000 phys=f0000000 size=10000000 flags=aaf pid=0<BR>Linux 
version 2.4.25 (version gcc 3.2.3) #8 mer oct 13 17:30:00 CEST 
2004<BR>CPM_MAP_ADDR=F8080000<BR>cpm2_immr=F8080000<BR>On node 0 totalpages: 
32768<BR>zone(0): 32768 pages.<BR>zone(1): 0 pages.<BR>zone(2): 0 
pages.<BR>Kernel command line: devfs=mount ip=bootp root=/dev/nfs rw 
console=ttyS0,9600<BR>OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at 
f8040000<BR>OpenPIC timer frequency is 33.333333 MHz<BR>time_init: decrementer 
frequency = 33.333333 MHz<BR>Calibrating delay loop... 665.19 
BogoMIPS<BR>Memory: 128248k available (924k kernel code, 292k data, 52k init, 0k 
highmem)<BR>Dentry cache hash table entries: 16384 (order: 5, 131072 
bytes)<BR>Inode cache hash table entries: 8192 (order: 4, 65536 bytes)<BR>Mount 
cache hash table entries: 512 (order: 0, 4096 bytes)<BR>Buffer cache hash table 
entries: 8192 (order: 3, 32768 bytes)<BR>Page-cache hash table entries: 32768 
(order: 5, 131072 bytes)<BR>POSIX conformance testing by UNIFIX<BR>Linux NET4.0 
for Linux 2.4<BR>Based upon Swansea University Computer Society 
NET3.039<BR>Initializing RT netlink socket<BR>Starting kswapd<BR>devfs: v1.12c 
(20020818) Richard Gooch (rgooch@atnf.csiro.au)<BR>devfs: boot_options: 
0x1<BR>CPM UART driver version 0.01<BR>ttyS0 on SCC1 at 0x8000, BRG1<BR>pty: 256 
Unix98 ptys configured<BR>loop: loaded (max 8 devices)<BR>eth0: Gianfar Ethernet 
Controller Version 1.0, 00:10:cd:42:2e:08<BR>eth0: Running with NAPI 
disabled<BR>eth0: 64/64 RX/TX BD ring size<BR>eth1: Gianfar Ethernet Controller 
Version 1.0, 00:10:cd:42:2e:09<BR>eth1: Running with NAPI disabled<BR>eth1: 
64/64 RX/TX BD ring size<BR>NET4: Linux TCP/IP 1.0 for NET4.0<BR>IP Protocols: 
ICMP, UDP, TCP<BR>IP: routing cache hash table of 1024 buckets, 8Kbytes<BR>TCP: 
Hash tables configured (established 8192 bind 16384)<BR>eth0: PHY is Marvell 
88E1111S (1410cc1)<BR>eth0: Auto-negotiation done<BR>eth0: Full Duplex<BR>eth0: 
Speed 100BT<BR>eth0: Link is up<BR>eth1: PHY is Marvell 88E1111S 
(1410cc1)<BR>eth1: No link detected<BR>Sending BOOTP requests . OK<BR>IP-Config: 
Got BOOTP answer from 192.168.1.65, my address is 192.168.1.98<BR>IP-Config: 
Complete:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; device=eth0, addr=192.168.1.98, 
mask=255.255.255.0, gw=255.255.255.255,<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
host=192.168.1.98, domain=, nis-domain=(none),<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
bootserver=192.168.1.65, rootserver=192.168.1.65, 
rootpath=/home/target/<BR>NET4: Unix domain sockets 1.0/SMP for Linux 
NET4.0.<BR>Looking up port of RPC 100003/2 on 192.168.1.65<BR>Looking up port of 
RPC 100005/1 on 192.168.1.65<BR>VFS: Mounted root (nfs filesystem).<BR>Mounted 
devfs on /dev<BR>Freeing unused kernel memory: 52k init<BR>process.c619 
sys_execve out error=0 
filename=/sbin/init<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
free&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sibling<BR>&nbsp; 
task&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
PC&nbsp;&nbsp;&nbsp; stack&nbsp;&nbsp; pid father child younger 
older<BR>init&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R 
current&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 
7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
(NOTLB)<BR>[c0004510] [c000bf8c] [c0021650] [c002b51c] [c0169714] [c001e12c] 
[c001e2a8] [c0<BR>009ce0] [c02c9c30] 
[00000001]<BR>keventd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S 
00000000&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (L-TLB)<BR>[c0004510] [c000bf8c] 
[c001c7b0] [c00042b8]<BR>ksoftirqd_CPU S 00000000&nbsp;&nbsp;&nbsp;&nbsp; 
0&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
4&nbsp;&nbsp;&nbsp;&nbsp; 2 (L-TL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
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
6 (L-TLB)<BR>[c0004510] [c000bf8c] [c00de400] [c00042b8]<BR><BR><BR>??? nothing 
more ???</FONT> </FONT></P></BODY></HTML>