From: Studencki (e. P. <Paw...@er...> - 2000-08-09 09:54:04
|
Hello, Could somebody explain me a problem with "printf" ? I'm using 2.3.99 Kernel with SCIF. (earlier was that SCI and it has worked without troubles) I can see kernel boot messages, but "printf" function in 'hello world' programm doesn't work. (with SCI it has worked) According to Niibe San mail [linux-sh:00790] with printk and printf functions flow, I've added in init/main.c line: fd=sys_open("/dev/console", O_RDWR, 0); sys_write(fd,"Hello world",11); it works fine. is the serial console at 'system_call' reconfigured or a problem with my 'hello world' program? thanks for help in advance Pawel |