From: Andrei Konovalov <akonovalov@ru•mvista.com>
To: Mirek23 <miroslaw.dach@psi•ch>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: zImage.elf loads but does not start
Date: Tue, 24 Apr 2007 21:11:01 +0400 [thread overview]
Message-ID: <462E3A25.5040405@ru.mvista.com> (raw)
In-Reply-To: <10165159.post@talk.nabble.com>
AFAICT, the TEMAC device has not been registered on the platform bus.
You should add this stuff to arch/ppc/syslib/virtex_devices.c
(if you use the recent patches by Grant Likely).
xtemac_g.c is not used in 2.6 TEMAC driver(s I have seen).
Thanks,
Andrei
Mirek23 wrote:
> Thanks for the suggestions. I have changed the command line argument:
> console:ttl0 -> ttyUL0 and kernel has booted up to the point to mount the
> root file system.
>
> I have set up the kernel to mount the root file systems via the nfs. I have
> started the nfs server on the remote pc.
> Unfortunately the kernel did not mount the nfs root file system. The strange
> thing is that during booting the kernel I did not see any entry which refers
> to the TEMAC driver (which I have enabled in the kernel).
>
> I have noticed that in the drivers/net/xilinx_temac directory there is a
> file xtemac_g.c. It creates the global variable (a table) which contains all
> fo the definitions to configure TEMAC interface. All of the definitions used
> in the xtemac_g.c file come from xparameters_ml403.h. The strange thing is
> that this xtemac_g.c is not include in the Makefile to be compiled.
>
> I have incluede that file to the Makefile in order to use the TEMAC config
> parameters but when booting the kernel I did not find any diffrence
> compering to the driver which was originaly built without the xtemac_g.c
>
> The kernel boots as following:
>
> loaded at: 00400000 004F9138
> board data at: 004F7120 004F7138
> relocated to: 004040B8 004040D0
> zimage at: 00404E45 004F6D1F
> avail ram: 004FA000 04000000
>
> Linux/PPC load: console=ttyUL0,9600 root=/dev/nfs rw
> nfsroot=129.129.130.106:/opt/eldk41/ppc_4xx,tcp
> ip=129.129.129.29:255.255.255.0:LM200:eth0:off panic=1
>
> Uncompressing Linux...done.
> Now booting the kernel
> [ 0.000000] Linux version 2.6.21-rc6-gd4bba4bf-dirty (root@pc5215) (gcc
> version 4.0.2) #8 Tue Apr 24 14:51:35 CEST 2007
> [ 0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
> [ 0.000000] Zone PFN ranges:
> [ 0.000000] DMA 0 -> 16384
> [ 0.000000] Normal 16384 -> 16384
> [ 0.000000] early_node_map[1] active PFN ranges
> [ 0.000000] 0: 0 -> 16384
> [ 0.000000] Built 1 zonelists. Total pages: 16256
> [ 0.000000] Kernel command line: console=ttyUL0,9600 root=/dev/nfs rw
> nfsroot=129.129.130.106:/opt/eldk41/ppc_4xx,tcp
> ip=129.129.129.29:255.255.255.0:LM200:eth0:off panic=1
> [ 0.000000] Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFF000
> [ 0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
> [ 0.000418] Console: colour dummy device 80x25
> [ 0.001487] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> [ 0.003212] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> [ 0.034378] Memory: 62720k available (1568k kernel code, 512k data, 96k
> init, 0k highmem)
> [ 0.121194] Mount-cache hash table entries: 512
> [ 0.129484] NET: Registered protocol family 16
> [ 0.162553] NET: Registered protocol family 2
> [ 0.196706] IP route cache hash table entries: 1024 (order: 0, 4096
> bytes)
> [ 0.197898] TCP established hash table entries: 2048 (order: 2, 16384
> bytes)
> [ 0.198605] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
> [ 0.199040] TCP: Hash tables configured (established 2048 bind 2048)
> [ 0.199126] TCP reno registered
> [ 0.219619] io scheduler noop registered
> [ 0.219727] io scheduler anticipatory registered (default)
> [ 0.219807] io scheduler deadline registered
> [ 0.220367] io scheduler cfq registered
> [ 0.321949] uartlite.0: ttyUL0 at MMIO 0x40600003 (irq = 0) is a uartlite
> [ 2.254924] RAMDISK driver initialized: 1 RAM disks of 8192K size 1024
> blocksize
> [ 2.346633] tun: Universal TUN/TAP device driver, 1.6
> [ 2.407407] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm•com>
> [ 2.485482] mice: PS/2 mouse device common for all mice
> [ 2.548404] TCP cubic registered
> [ 2.587334] NET: Registered protocol family 1
> [ 2.639671] NET: Registered protocol family 17
> [ 3.197934] IP-Config: No network devices available.
> [ 3.259979] Looking up port of RPC 100003/2 on 129.129.130.106
> [ 3.331237] Root-NFS: Unable to get nfsd port number from server, using
> default
> [ 3.419194] Looking up port of RPC 100005/1 on 129.129.130.106
> [ 3.490204] Root-NFS: Unable to get mountd port number from server, using
> default
> [ 3.581337] Root-NFS: Server returned error -5 while mounting
> /opt/eldk41/ppc_4xx
> [ 3.671568] VFS: Unable to mount root fs via NFS, trying floppy.
> [ 3.747080] VFS: Cannot open root device "nfs" or unknown-block(2,0)
> [ 3.823496] Please append a correct "root=" boot option
> [ 3.886242] Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> [ 3.985551] Rebooting in 1 seconds..<NULL>
>
>
>
> Would you have any idea why it did not recognise the TEMAC interface and how
> to configure the kernel that it recognises the network device.
>
> Mirek
next prev parent reply other threads:[~2007-04-24 17:06 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 15:10 zImage.elf loads but not starts Mirek23
2007-04-23 15:12 ` zImage.elf loads but does not start Mirek23
2007-04-23 16:11 ` Leonid
2007-04-24 16:55 ` Mirek23
2007-04-24 17:11 ` Andrei Konovalov [this message]
2007-05-04 15:04 ` Mirek23
2007-05-04 15:41 ` Andrei Konovalov
2007-05-08 9:46 ` Mirek23
2007-05-08 21:46 ` Leonid
2007-05-08 21:50 ` Adrian Craine
2007-05-09 15:02 ` Charles Krinke
2007-05-10 8:45 ` Mirek23
2007-05-10 16:05 ` Mead, Joseph
2007-05-11 11:21 ` Mirek23
2007-05-15 12:08 ` Mirek23
2007-05-15 12:29 ` Andrei Konovalov
2007-05-15 12:45 ` Miroslaw Dach
2007-05-15 18:07 ` Andrei Konovalov
2007-05-15 18:49 ` Miroslaw Dach
2007-05-18 12:43 ` Mirek23
2007-05-25 12:24 ` Mirek23
2007-05-25 13:16 ` Andrei Konovalov
2007-05-25 15:23 ` Mirek23
2007-05-25 16:56 ` Advice needed Charles Krinke
2007-05-15 13:12 ` zImage.elf loads but does not start Mead, Joseph
2007-05-18 13:28 ` Mirek23
2007-04-23 16:24 ` Andrei Konovalov
2007-04-23 17:35 ` Grant Likely
2007-04-24 13:42 ` Mirek23
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=462E3A25.5040405@ru.mvista.com \
--to=akonovalov@ru$(echo .)mvista.com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
--cc=miroslaw.dach@psi$(echo .)ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox