Posts

Showing posts from 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

PandaBoard un-veiled: get even more power with dual core ARM cortex A9 OMAP4!

Image
This year seems to be the year of the hacker community :) TI opened PandaBoard for early adopters today :).. Good details on PandaBoard here . The usual goodies schematics and userguide etc are already up as well.. Some of the stuff that impressed me: HDMI AND DVI options HSUSB hub and Ethernet yaay.. Serial port is a decent serial port and no weird wiring needed ;) Connectors pin compatible to beagle and xm.. :) Did I forget to say you have 1271 onboard wlan?? And lots more.. Just love this Baby.. I run ubuntu at home on my panda (yep, am already part of the PEAP - PandaBoard Early Adopter Program) and working on getting MeeGo up and running as well. Supported in mainline kernel and mainline u-boot as well.. :) fun time ahead with multi core processing ;)

my kernel does'nt boot: the magic of EARLY_PRINTK

I am subscribed to TI's e2e portal and this post peeked my interest. Since sometime in mainline kernel we've had issues with kernel not booting up due to some weird bugs. As a kernel developer, I have screwed up multiple times preventing kernel boot from happening. Typical build results in: ## Booting kernel from Legacy Image at c0700000 ... Image Name: Linux-2.6.32-rc6 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1939152 Bytes = 1.8 MB Load Address: c0008000 Entry Point: c0008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... And that's it - no useful messages for the kernel geeks to figure out where the boot sequence crashed, no real debug information at all! So the first question: why the kernel silence? The boot messages can only be printed once you have the serial port enabled. Now, serial port enablement itself could be pretty much later in the kernel boot sequence, if the system crashes(oops/data abort e...

linux on C64 DSP!

Thanks to rkw, heard of this: http://linux-c6x.org/wiki/index.php/Main_Page it is based on 2.6.34 - pretty much closer to .36-rc5 ;) and needs some more work I guess.. mostly, it would be a great thing to get this running on beagleboard ! I cant think why not.. ;)

MeeGo diary notes: Packaging the Das U-boot

My Odyssey into MeeGo packaging continues today with U-boot packaging. Decision on the source First of all for U-boot package I needed to decide which source to use. Since I am no big fan of private repositories (even the ones hosted publicly!), the mainline u-boot was an obvious choice. Thankfully sakoman and rest of the u-boot community have done a great job in making omap3 and omap4 support available in Mainline u-boot . And yep, it does have PandaBoard and obviously beagleboard support as well. RPM saga Since the rule of a lazy programmer is not to invent something someone already has done, spend some time with google searching for readily available RPM packages for u-boot. One of the first things I hit was that our friends at Freescale had done a nify spec packaging for imx processors for packaging u-boot . But, looking closely I was not too impressed, searching a bit more, hit on the openmamba project and the excellent packaging that Silvan Calarco has done for u-boot. Though ...

MeeGo diary notes: getting ready for packaging

Got myself a build.meego.com account and am attempting to start a new package around meego for pandaboard - an OMAP4 based platform. This series of blog posts will hopefully contain my day to day notes for a better lack of word all under the label of MeeGo ;).. Note: the good folks at DeviceVM had already done a MeeGo port to OMAP4 Blaze platform sometime back, my approach is a bit different in getting MeeGo port available in main MeeGo repository itself. Different challenge - mostly of the packaging kind as I am starting to realize ;) I've started my first experience with packaging for MeeGo with trying to put together a package for U-Boot. my lack of previous experience with rpm packaging has me stumped so far :(. On the base level, MeeGo uses rpm packaging - essentially what folks call a spec file . MeeGo folks have added one layering on top with yaml file which is translated by a set of tools called spectacle to translate the yaml to rpm spec file. Spectacle Since I like to...

next gen arm core

Image
Cortex-A15 MPCore - Welcome to the next generation!! update: 20100910: more of the TI story slashgeared !

Public OMAP4 TRM released

TI has released public OMAP4430 TRM and clock tool in the official site today. :).. yaay.. [ WARNING 17 Oct 2012 ]: ALWAYS GO HERE  for the very latest documentation - Thanks to a few people ignoring the "official site" link above TRM gives you indepth insight into what OMAP4 is all about and the clock tool is my favourite tool especially to understand the complex clock framework dependencies on OMAP chips - the released version is custom to TI OMAP4 platform though.. but effective tool if you like to learn/debug/understand the clock framework dependencies -> all the way from the oscillator you use on the board to the clocks you use in the functional block of interest.. originally note from Mythri on Linux OMAP [update: ctt wiki ]

omap4 headsup from slashgear

found this article pretty interesting

how do you start a new year? in style!

it is exciting news and there is no reason for me to do the good old style of a post.. so here it goes: Jason's state of the beagle address (somehow sounds similar to this - no offense intended ofcourse) had the following highlights (or my view how as an engineer I'd have paraphrased): Beagleboard rocks . (and we have awards to prove it too ;) ).. We kinda got screwed by beagle's success initially, but now I think things are better now.. beagleboard is getting an engine change soon - blistering speeds ahead dudes.. 720meg beagles.. get those apps rockin.. Annnndddd..... Yeeeehaaaawww.. beagleboard XM !!!!!! DM3730(dudes in l-o know the diff with OMAP3630).. wow.. more juice under the hood man... mama mia!!! camera, 4 port ehci, usb2ethernet the good ol' lcd and expansion connectors, everything we all cribbed and wanted our fav beagle to have, is there now! Go Go Gerald ;) for those newbies.. go do the training and get rockin faster..(android/angstrom.. whatever ...