On Tue, Jun 10, 2003 at 06:52:51PM +0200, Wolfgang Denk wrote:
Show us your "hello_world" code. Does it actually open "/dev/console" ?
Attached - source + compiled binary (this one is dynamically linked).
Could you verify that this hello world works with your hardware when
copied to /sbin/init? I would assume it prints out the text and then the
kernel panics because of the return.
quoted
do not see the sys_write() syscall being called at all. Btw, init on my
other rootfs is busybox init. I suppose I should always see someting
useful when init is starting.
Why do you assume that?
Normally init makes some output, something like
message(MAYBE_CONSOLE | LOG, "init started: %s", bb_msg_full_version);
from busybox-init.
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4