Subject: RE: exec init
To: , <>
From: None <>
List: port-arm
Date: 05/19/2004 22:03:05
Hi Allen,
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,

-----Original Message-----
From: Allen Briggs []=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, 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/*, /lib/*,
and /lib/* in your ramdisk ?


                  Use NetBSD!