Posts

Showing posts from October, 2010

meego kernel on pandaboard?

Image
What exactly is a kernel? at the end of the day, just a collection of patches :).. So yeah, I have a "unique" collection of patches for PandaBoard that I requested MeeGo kernel maintainers to pick up yesterday. Now to wait and see if they actually get accepted. Next steps would be tough: DSS - omapfb enablement EHCI - keyboard and mouse As usual, the patches to provide the basic functionality does'nt seem to have made it upstream yet.. I sometimes wonder - Is it really so hard to push patches upstream?? Then I realize, I push patches in my spare time :) Which basically means that I am not driven by the chruning winds of business forces within the work environment dictating when and what patches I should be posting upstream :). Glad I still retain that flexibility. and probably the reason I do move seemingly faster - I always have the luxury to maintain focus on upstreaming my patchset.. it is all that hard when one writes in BOLD on one's office white board: DID YOU...

Tired of ttySx and ttyOx

Recently linux-omap integrated omap-serial patches. Now we dont use ttyS2 anymore but use ttyO2. tired of switching kernel versions and fixing my getty, wrote the following In my busybox /etc/init.d/rcS file: proc=`mount|grep "proc"` if [ -z "proc" ]; then mount -t procfs none /proc fi if [ -f /proc/cmdline ]; then # grab console from cmdline and use it.. tty=`cat /proc/cmdline|sed -e "s/ /\n/g"|grep console|cut -d '=' -f2|cut -d ',' -f1` if [ -z "tty" ]; then echo `cat /proc/cmdline` "does'nt have console?" else # remove my previous one if it exists rm -f /dev/tty-bd ln -s /dev/$tty /dev/tty-bd echo "/dev/$tty linked to /dev/tty-bd - using as console" fi else echo "cmdline not found - no console?" fi In my inittab: tty-bd::askfirst:-/bin/sh