Mail: serretti_enrico@hotmail.com
I'm using your toolchain for IXDP425 evaluation board. I
have a problem with shared libraries. Your ramdisk image
(ixdp425-0.1.tar.gz) works fine but when I try to build my
proprietary ramdisk image using the shared libraries from
your toolchains (toolchain-0.1.tar.gz) with ash and busybox
applications, the kernel crashes with this error:
"Kernel panic: No init found. Try passing init= option to
kernel"
I think the problem is the toolchain's shared libraries
because if I use the shared libraries copying from ramdisk
image my applications seems work fine. The two sets of
libraries (ramdisk set and toolchain set) has the same
version but different size. Can you help me ? Are there any
specific compile option for toolchain's shared applications ?
How do you create the ramdisk image ? This is my way:
dd if=/dev/zero of=ramdisk bs=1k count=5120
mke2fs -F ramdisk
mount -o loop ramdisk /tmp
cp -R <my root-tree> /tmp
umount /tmp
gzip ramdisk
Logged In: YES
user_id=809009
That's the right way to create a ramdisk.
How are you passing your initrd parameter?
The kernel does not know the address to load the ramdisk
from.
Also, try making your count a multiple of 1024. For example
let us say that 'du' gives you 14428, then select at least
15360 (i.e., 15*1024) for RAMSIZE.
-Nehal
Logged In: NO
Hi,
For your case, in order to use the libraries in the toolchain,
you have to create a softlink from /usr/local/armbe/arm-
linux/lib to /lib. Else it wont work. The readelf may tell you
why.
However, the toolchain's libraries does have problem. When I
try to boot from the toolchains library, I'll get segmentation
fault. But not the librearies from the image.
--Kenneth