Subject: RE: exec init
To: , <port-arm@NetBSD.org>
From: None <Lin.Colin@iac.com.tw>
Date: 05/19/2004 22:03:05
No, there isn't any library in /lib.
So I see: the init is so small because it's dynamically linked...=20
Thanks and regards,
From: Allen Briggs [mailto:email@example.com]=20
Sent: Wednesday, May 19, 2004 9:16 PM
To: Lin, Colin(=AAL=AB=D8=A6w IAC)
Subject: Re: exec init
On Mon, May 17, 2004 at 10:53:57PM +0800, Lin.Colin@iac.com.tw wrote:
> My OMAP porting is ready to exec init. However, there has been one =
problem brothering me for some days.
> The root is a ramdisk stored in NOR flash.
> The file formats of these init executable files are all =
"elf32-little". They all can be executed.
> The kernel configuration has options "EXEC_ELF32".
> Kernel can exec both "/usr/src/obj/destdir.evbarm/rescue/init" and the =
init in "/usr/obj/distrib/evbarm/instkernel/ramdisk/ramdisk.fs".
> But if I put ??/usr/src/obj/destdir.evbarm/sbin/init??(just 22910 =
bytes!!!) in /sbin/, check_exec would return "ENOEXEC".
Do you have /libexec/ld.elf_so, /lib/libc.so*, /lib/libutil.so*,
and /lib/libcrypt.so* in your ramdisk ?
Use NetBSD! http://www.netbsd.org/