* Linux on Memec Virtex4 FX12 Minimodule
@ 2009-01-07 1:02 Pawel P. Kusmierski
2009-01-09 15:52 ` John Linn
0 siblings, 1 reply; 3+ messages in thread
From: Pawel P. Kusmierski @ 2009-01-07 1:02 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: posting-ppc-devel.txt --]
[-- Type: text/plain, Size: 2024 bytes --]
Dear friends,
I have a following problem:
I'm trying to boot linux kernel on a PowerPC405 inside a Virtex4 FX12
sitting on an Avnet/Memec FX12 Mini Module plugged into its mother board.
I was able to go as far as booting the kernel, mounting a nfs root,
as well as an ext2 one sitting on a sysace CF.
The problem is that the kernel stops outputting the following line:
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
Now, I know the init is being found, both in ext2 and nfs setup, has the
right rights, and all. I tried supplying a simple printf C program as
init, even an assembly one, with one stupid syscall to write out a line,
with the very same effect.
I edited the init/main.c file around the run_init_process(), and modified it
to analyse the kernel_execve return value. The effects are:
Freeing unused kernel memory: 104k init
Failed to execute /sbin/init: -2 <4>: No such file or directory.
Failed to execute /etc/init: -14 <4>: Bad address.
Failed to execute /bin/init: -14 <4>: Bad address.
Failed to execute /bin/sh: -14 <4>: Bad address.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
and after I deleted /sbin/init the effects were:
Failed to execute /sbin/init: -2 <4>: No such file or directory.
Failed to execute /etc/init: -2 <4>: No such file or directory.
Failed to execute /bin/init: -14 <4>: Bad address.
Failed to execute /bin/sh: -14 <4>: Bad address.
The interesting thing is, that in both cases /bin/init does not exist,
and /etc/init does.
Now am I searching already too low or yet too high?
I put my kernel configs, dmesgs and xparameters.h here:
http://keymaster.el-kfa.net/~loko/linux-ppc/
My kernel is pulled from git://git.xilinx.com/linux-2.6-xlnx.git
I'm using ARCH=ppc in the makefile and building both the kernel
and the apps (including the buildroot on the nfs and sysace)
using the same crosstool setup, gcc-3.4.5-glibc-2.3.6.
Many thanks in advance for your help.
--
Pawel Kusmierski
loko-r a.t el-kfa.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Linux on Memec Virtex4 FX12 Minimodule
2009-01-07 1:02 Linux on Memec Virtex4 FX12 Minimodule Pawel P. Kusmierski
@ 2009-01-09 15:52 ` John Linn
2009-01-09 19:30 ` Pawel P. Kusmierski
0 siblings, 1 reply; 3+ messages in thread
From: John Linn @ 2009-01-09 15:52 UTC (permalink / raw)
To: Pawel P. Kusmierski, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]
Hi Pawel,
Sorry for the delay, I just missed this message.
You should really be building arch/powerpc not arch/ppc as no one is
going to support that. I realize that's a pain, but arch/ppc has been
dead for about 6 months now.
http://xilinx.wikidot.com <http://xilinx.wikidot.com/> has a lot more
information about building the kernel from our GIT tree.
You can also post to http://forums.xilinx.com
<http://forums.xilinx.com/> in the Embedded Linux forum for more Xilinx
specific help.
I don't understand you're problem either, but I would try building 1st
with arch=powerpc and using the ramdisk image that we have on our wiki
to get a good baseline. You'll need to generate a device tree for your
hardware platform but that's not too hard and is explained on the wiki
also.
Thanks,
John
________________________________
From: linuxppc-dev-bounces+john.linn=xilinx.com@ozlabs.org
[mailto:linuxppc-dev-bounces+john.linn=xilinx.com@ozlabs.org] On Behalf
Of Pawel P. Kusmierski
Sent: Tuesday, January 06, 2009 6:02 PM
To: linuxppc-dev@ozlabs.org
Subject: Linux on Memec Virtex4 FX12 Minimodule
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
[-- Attachment #2: Type: text/html, Size: 6258 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Linux on Memec Virtex4 FX12 Minimodule
2009-01-09 15:52 ` John Linn
@ 2009-01-09 19:30 ` Pawel P. Kusmierski
0 siblings, 0 replies; 3+ messages in thread
From: Pawel P. Kusmierski @ 2009-01-09 19:30 UTC (permalink / raw)
To: John Linn; +Cc: linuxppc-dev, Pawel P. Kusmierski
John,
Thanks a lot for your reply.
I didn't nottice the http://xilinx.wikidot.com/ site before,
it looks very interesting.
I gave ARCH=powerpc a try, but it didn't even boot, so I guess
I'll try again with the site's guidance and more attention.
Kind regards,
--
Pawel P. Kusmierski
loko@el-kfa.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-09 19:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 1:02 Linux on Memec Virtex4 FX12 Minimodule Pawel P. Kusmierski
2009-01-09 15:52 ` John Linn
2009-01-09 19:30 ` Pawel P. Kusmierski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).