Hi All,
This is due to the system polling the serial interface by continually
adding a task to the workqueue
The flush cpu workqueue is waiting for the workqueue to be empty which
never happens due to serial polling action.
I have not got a "good" solution yet.
Some options are :
1/ turn off the serial polling during this time
2/ allow the polling task to be on the queue during the flush
3/ ignore (comment out) the flush
There are, of course, many more options.
To get my system booting I did the quick and dirty option #3.
By the way, this took a whole weekend debugging session to discover.
Regards
Phil Wilshire
rwarner wrote:
Glenn Henshaw wrote:
Has anyone experienced an issue with including the Atmel serial
driver and the console connection to the Atmel serial driver not
allowing the system to continue to boot.
If i do not have the Atmel serial driver built into the kernel image
the system boots to the romfs (/bin/init executed).
However if i have the Atmel serial driver built into the system (i do
get output on a serial connection) it does not complete the boot
process. It does not return from the flush_cpu_workqueue() function,
executed by flush_workqueue() at the end of the kernel init sequence.
Just thought i'd ask if someone may have experienced this before and
knows a solution to it.
Which /bin/init are you using? The default for busybox (1.0.0) init
is to wait for a keypress on the console to continue. It may have
changed in later versions, or you can use an /etc/inittab file to
override it.
I'm using the init supplied in the uclinux distro 20070130. Though i'm
not sure what i've stated here came across. When i have the Atmel
serial driver working and compiled in the system it is not getting
further in the initialization to start booting the romfs.
thanks bob
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev