busybox init() hangs on embedded Linux on custom FPGA board

Peter N. Andreasen peterarbejde at gmail.com
Fri Oct 6 12:55:20 UTC 2006


Hello list, this may be a newvbie question, bear with me:
I have built a 2.4 Linux kernel for a PowerPC405 which is part of a custom
Xilinx FPGA board. It is based on the ML300 board. A major difference which
I think is giving me the problems is that it does not have a normal UART and
thus a ttyS0 but a Xuartlite which becomes /dev/ttl0. It does not have a
display.
When I configure the kernel I set boot parameter console=ttl0 and I get all
the messages to the serial console as expected. The system uses a ramdisk
which has the busybox binary statically linked, and all the device files I
could think of could be necessary. /dev/ttl0 is created as major 207, minor
187 char device.
But as soon as the kernel launches my busybox I get problems. I get a start
up message showing the version of Busybox (I use the latest stable version)
and a "Bummer can not write to ttyS5" and then it stops. By inserting
message() calls in init() I have traced the problem to parse_inittab where
it opens my inittab file ok but when it tries to read the first line from
the file it traps. The console still echoes back what I type but nothing
further is happening.
Hope someone can give me an idea.
best regards
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20061006/9bf9e757/attachment-0001.htm 


More information about the busybox mailing list