[kernel patch] communicate with AVR directly from the kernel
- Hi all
This is mainly to document a patch, in case anybody does find it useful
and wants to play with it.
The attached file is an incremental patch to
Yes, it is somewhat outdated now, but it can be easily ported to a newer
patch. It has been announced and discussed earlier on the kurobox forum:
In short, it implements the 3 vital functions that until now were done in
userspace by various startup-scripts in the kernel. These 3 functions are:
1) disabling the watchdog, 2) resetting the system, 3) switching off the
power. While on that I also cleaned up some minor stuff. Though minor it
may be it breaks backwards compatibility with earlier kernels: it restores
the usual on these CPUs ttyS assignment: in our case ttyS0 to AVR and
ttyS1 console. So, this is one more point you will have to consider if you
decide to test it.