tag:blogger.com,1999:blog-151864182024-03-12T16:36:21.508-07:00Komal ShahKomal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-15186418.post-42709930160832527582007-05-27T12:28:00.000-07:002008-12-11T04:01:26.920-08:00My OLPC B1 & N800<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKcc7sOrcq5rwW_JiuK_tLpLJPLOH4OtEo0EkQLRMm6sw_brwCSI6bsv_EjcjwmO67uipzdDchldqR15gHpFBzNeC7bUAikbj-kdKCOwJKxB7lhmaeZbJcYCyZqhuHrfW0rtiV1g/s1600-h/Olpc02.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKcc7sOrcq5rwW_JiuK_tLpLJPLOH4OtEo0EkQLRMm6sw_brwCSI6bsv_EjcjwmO67uipzdDchldqR15gHpFBzNeC7bUAikbj-kdKCOwJKxB7lhmaeZbJcYCyZqhuHrfW0rtiV1g/s320/Olpc02.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5069327461687893074" /></a><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cBZw1NdWlIOaxBHHipatbbNHYhfaxkYcO7PK89YozcrBVEhpJRBVB-qSFB2b6dITVgo_FJ5kdN7P2uSo9EJjmDEQnzJBjw9Ln1RU-E1Y2mlg1vxUalu6t3sAq3al0LKc4hk9PA/s1600-h/21042007086.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5cBZw1NdWlIOaxBHHipatbbNHYhfaxkYcO7PK89YozcrBVEhpJRBVB-qSFB2b6dITVgo_FJ5kdN7P2uSo9EJjmDEQnzJBjw9Ln1RU-E1Y2mlg1vxUalu6t3sAq3al0LKc4hk9PA/s320/21042007086.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5069327478867762274" /></a>Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com3tag:blogger.com,1999:blog-15186418.post-6231908612952161262007-04-20T04:59:00.000-07:002007-04-25T00:13:01.533-07:00SlingBox client on N800/OpenMoko - A wishHi SlingMedia,<br /><br />I am taking an opportunity to put my message to SlingMedia (Blake?) through my blog to have the client for their Sling* products on GNU/Linux.<br /><br />As of today (AFAIK), Sling do provide/announced in beta stage the clients for Symbian (S60 based devices), MaC OS, WinCE?? and ofcourse Windows Vista premium and other Windows desktop versions.<br /><br />I am sure that they are aware of the usage/users of GNU/Linux basically Ubuntu/Debian/RedHat/whatever on Desktops/Laptops/Internet Tablet(N770 and N800 etc) and now coming MID UMPCs specifically as announced by Intel recently. Due to this recent movements, specifically in Embedded Linux + GMAE it makes sense to have or put thought across the Sling management to start developing (again google like beta :)) the client which can run on GNU/Linux desktops as well some of the embedded devices.<br /><br />It is almost easy to understood that one will find more smart mobiles loaded with S60 and WinCE as of today compared to Linux with sufficiently big screen and so does Sling addressed those OSes based clients, but is there any effort/roadmap Sling is willing to try on Linux based desktops/handhelds?. If we believe that some of the recent research reports for OSes which will penetrate more in smartphones in coming years, then Linux clearly looks likes a winner, with WinCE still leading the race.<br /><br />It will be not be that easy to move those clients development on GNU/Linux, looking at choices/offerings we have in GNU/Linux world.<br /><br />* Let's start from the MMI (Man Machine Interface):<br /> - Our world is divided into KDE/GNOME, so the first task Sling has to decided on the graphical framework which can build and satisfy their MMI requirements. Looking at the some of the demos of SlingBox, I don't see that they have very much high requirements in terms of rendering engine - You don't won't iPhone like GUI isn't it. <br /><br /> - Client from the GUI/MMI viewpoint is divided into the controller (remote?) and typical media player, which doesn't demand any fancy stuff, and can be adjustable to N800/N700 kind of screen very well.<br /><br />* Multimedia Framework <br /> - I am sure that Sling can pick up their internally developed frameworks wherever required as first choice for re-usability and to reduce effort in porting.<br /><br /> - Using GStreamer and adding their plugins on top of it is a good choice, but considering the size of company I don't see that Sling will try to venture into this world at this stage.<br /><br />* Licensing <br /> - Not to worry much as they are just dealing with client only. But using GTK+ will be better compared to Qt/E. I am sure they don't won't spend time understanding dual licensing. As most of the component there will be covered under LGPL.<br /><br />* Other middleware components:<br /> - I am sure these all will be sourced from WinCE/Symbian/Mac based client, which should be easily portable on Linux and will remain closed.<br /><br />Ideal platform:<br /><br />- MMI Development and early porting can start with x86 PC running Ubuntu/RH/Fedora and later can be ported to ARM based devices like N800/N700/OpenMoko. Here they will benefit if they use GTK+ as framework to develop their MMI as all three platforms use GTK+ for their applications development. Again it is easy to test MMI and early development for Nxxx and OpenMoko using qemu, so there is no cost involved in procuring the test devices.<br /><br />- In future this success can be carried easily to Access Linux Platform based mobiles, which should become reality at the end of next year.<br /><br />- Yes, but sling might have to manage releasing .deb and .rpms to satisfy most of Ubuntu/Debian and RH/Fedora users.<br /><br />----<br />OLPC Laptop: I have received this laptop couple of weeks back, but I have not started any development on that. I have some plans and things to make working on OLPC. I will post photos of this laptop and new perfact N800 leather case I found in Gangaram's book house at MG Road.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com1tag:blogger.com,1999:blog-15186418.post-4677802833674073672007-02-22T03:32:00.000-08:002007-02-22T03:39:13.547-08:00N800 Received Today !!!I have received my Nokia 800 today. Thanx Nokia. Right now downloading Canola Player and few e-books to it. I already have 2GB miniSD card from my Nokia N73 ME, so I don't need to buy new one at least for some time.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com2tag:blogger.com,1999:blog-15186418.post-8186917050627486482007-01-26T23:50:00.000-08:002007-01-27T00:03:57.898-08:00Hurray !!! Received N800 Discount CodeThanx. Nokia and Nokia Maemo Team...Oops, it should "Maemo Coupon Team". As there is no webstore facility available for India, I need to order it using my friends in Finland and US. I just need to talk with them and initiate the process to bring N800 to Bangalore, India.<br /><br />Dirk, Did you received that discount code?<br /><br />But, it is very pity that, even though Nokia having its Development Office and very good customer base in India, still they don't have webstore facility for N800 for India. Please make some arrangements for it. As it is "true" that whatever new IT technology related device comes out after 2005-2006 from US/Europe, there must some Indian tag attached with it, at least one quality assurance guy from Wipro/Infosys/TCS/Sasken will be in your team.<br /><br />----<br />OMAP3430 - I will be receiving it soon. BTW, I have seen the EVM circulating in few multimedia companies in Bangalore. So expect someone posting patches for it on omap mailing list soon. Also you will see custom boards based on OMAP3430, as people started getting chips for it :)<br /><br />----<br />IVA - Just one BIG note: - N800 doesn't use IVA1.0 for MPEG4-SP/H.263/H.264, so don't expect very good multimedia capabilities from it. Audio/Video Codecs either run on DSP C55x or ARM11. And there is _NO_ chance that you will see MBX gaming engine support, as Imagination Technology will never open the specs and driver for it. No problem, we don't need another Ngage from Nokia :)Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com2tag:blogger.com,1999:blog-15186418.post-69655520063252649582006-11-17T13:05:00.000-08:002006-11-19T03:39:51.865-08:00Are we open enough?Well, the question above was probably asked in different way by Ari Jaaksi to Linus Torvald, and Linux replied with "Next time may be Samsung/Siemens or someone else will be more open...and it will continue", and I think openmoko.org might answer it better once it becomes reality in January'07. Well, watchout OMAP guys, they have Samsung single-core chip and may not have to worry about the DSP/IVA1/2 gateway.<br /><br />----<br />Siemens SX1(OMAP310) port code(http://lkml.org/lkml/2006/11/16/146)<br />is now available at lkml.org site, posted by Pavel Machek, and looks like it will make to -omap tree soon. I believe that we have now highest no. of supported board variants for OMAP1/2 series of chips. Total of 15 (12 for OMAP1 and 3 for OMAP2), and soon will become 16. I hope this may be good reason to fight for less #ifdefers and push our drivers to upstream, starting with fb.<br />----<br /><br />And don't forget to visit http://www.solidboot.com and try to search @solidboot.com in google to know probably the founders and where N-OMAP guys are nowadays.<br /><br />---<br /><br />komal.shah802003@gmail.com - Hmm..Finally moved from Yahoo to Google Mail account, as Yahoo search was really slowing down on my Inbox, with Inbox count no. fixed to 65535, evenif my inbox was having more e-mails than that :). I had also exceeded 1GB quota. I will continue to check my yahoo account, but I will unsubscribe most of the mailing list from that account, and transfer it to gmail one. So, please use my new account id for any queries. Thanx.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com2tag:blogger.com,1999:blog-15186418.post-1160069100271500092006-10-05T10:25:00.000-07:002006-10-11T00:34:00.394-07:00Linux-2.6.19-rc1Linus had released 2.6.19-rc1.<br /><br />All the drivers mentioned in the earlier entry of "Arr !!! Linux 2.6.18" are pushed except "IrDA driver". I have sent an e-mail to lkml and Samuel about it.<br /><span style="color: rgb(255, 0, 0);">[update: IrDA driver will be pushed to "netdev" tree. Thanx Samuel]</span><br /><br />Not much updates on dspfs and IVA DOFF stuff. Hey but some good signs of working doff loader.<br /><br />- Need to verify that which COFF versions are supported by current Nokia-DSPGW. Does it support COFF files created by CCS 3.1 or higher, as it seems that sections header is changed in new COFF version. Looks like variable section name length ?<br /><br />No DaVinci work again, as will not be able access the board for few months from now :(.<br /><br />But let's plan to move new re-organized mailbox fwk code into the dspfs, and something like task-bridge (it looks like big effort...not much clarify as of now...will write later on that).Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com1tag:blogger.com,1999:blog-15186418.post-1158821571775926772006-09-20T23:52:00.000-07:002006-10-11T00:34:00.332-07:00Arr !!! Linux 2.6.18Finally Linus had released Linux 2.6.18.<br /><br />Following patches of drivers will be available in linux-2.6.19-rc1:<br /><br />1. smc91x support for H4.<br />2. OMAP Keypad driver<br />3. OMAP watchdog driver<br />4. OMAP I2C driver<br />5. OMAP IrDA driver<br />6. OMAP RNG driver, which actually builds :-).<br /><br />I have _not_ tried to submit menelaus driver to upstream, as I had shifted my focus to DSPGW re-organization, dspfs and IVA DOFF format.<br /><br />DSPFS is now available for public, please see the recent announcement e-mail to OMAP mailing list.<br /><br />IVA DOFF format (Dynamic Object File Format):<br /><br />- It is a properietary file format developed by Texas Instruments. Most of the multimedia companies _now_ releases there algorithms running on DSP/IVA in this format.<br /><br />For unknowns, CCS (Code Composer Studio) produces the output file in COFF (Common Object File Format) , and _some_ magic TI tool converts that COFF to DOFF file.<br /><br />You can easily compare the size of the both files, and DOFF is stripped down version of COFF with internal re-organization of COFF such that, you can improve the loading time of images.<br /><br />It seems to be very easy to write down DOFF parser and loader if you hae doff.h from TI :-). But you may not be able to release that code until TI agrees to publish that file to public under _some_ license.<br /><br />Writing the IVA/DSP DOFF Loader:<br /><br />It is very easy under dspfs, as you can simply expose the internal memory as mmaped files to application. In case of IVA it might look like this:<br /><br />|-- c55x<br />| |-- codecs<br />| <br />`-- iva1<br /> |-- codecs<br /> `--intmem<br /> `--copmem<br /> `--shmem<br /><br />intmem - 128k IVA internal memory<br />copmem - linear 39k co-processor memories including image buffers A and B.<br />shmem - Shared memory in SDRAM<br /><br />Now, once you have image data available and know what is the target load location, you can then "memcpy" into above memories, after mmaping it :-).<br /><br />Sounds trivial, isn't it.<br /><br />Please e-mail me to komal_shah802003@yahoo.com if you want to hear/contribute some more ideas on bridge driver.<br /><br />Update:<br />--------<br /><br />But why can't we load CCS generated COFF file then? As this format is widely know to people, and it will be easy shared the code/loader/parser written for it. Like current Nokia-DSPGW distributes DSP dynamic loader along with coff.h files, and I am sure we don't need to ping TI for DOFF then.<br /><br />I am going to have look at this coff.h files, and try to write parser/dump tool for it first, as it will be easy to just load the data to target memory afterwards, I will keep posted.<br /><br />DaVinci updates:<br />-----------------<br /><br />1. I2C cleanup driver submitted and pushed to davinci-git tree.<br />2. Started MMC cleanup, but didn't go far, as I need to understand EDMA architecture. As of now, it looks like that I may not able to give more time to DaVinci for few weeks.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com3tag:blogger.com,1999:blog-15186418.post-1153994141080458342006-07-27T02:55:00.000-07:002006-10-11T00:34:00.272-07:00Mission upstream [#5 update]All the users/developers of omap-git tree knows that we have very good set of drivers and some of them very generic chip drivers, if submitted to upstream can cut the effort for others to develop the similar one (if he/she doesn't know about the availbility of such drivers). e.g TI audio codec chip drivers, do you know the no. of versios of aic23 and tsc2101 floating in community? Do you know about the initial attempt of EAC based ALSA driver from TI on OMAP1?<br /><br />Ok, with this in mind, I have started slow process of taking small steps in submitting OMAP-git tree drivers to related subsystem mailing list and ultimately to linus mainline tree.<br /><br />As of now following got accepted in -mm tree:<br /><br />- smc91x-h4-patch<br />- omap-watchdog-driver patch<br />- omap-rng-build-error-fix patch <span style="color: rgb(204, 51, 204); font-style: italic;">[Update: It is now replaced with better patch from David]<br /></span><br />Interesting part is that I had submitted omap-keypad driver as first attempt to going upstream, but everyday I am getting some very good review comments, and as of now I am working on #4 version of the driver. So, keep watching lkml list.<br /><span style="font-style: italic; color: rgb(204, 0, 0);">[update: It is now accepted into akpm's -mm tree..., thanx to all reviewers].</span><br /><br />- Also submitted omap-i2c driver to lmsensors and lkml mailing list, but no review comments yet. Let's wait for 2-3 days then.<br /><span style="font-style: italic; color: rgb(51, 51, 255);">[update: It is now accepted into 2.6-git tree of Greg-KH. Thanx to all reviewers.] This driver allows now us to send more dependent drivers to mainstream]<br /><br /></span>- IrDA driver - depends on the acceptance of gpio-expander driver.<br /><span style="color: rgb(0, 0, 153);">[update: Just got the e-mail from Samuel with Acked By from him. So consider it accepted in -mm tree. Thanx for the review Samuel.]</span><br /><br />o Next target<br />- Menelaus driver<br />- gpio-expander-omap or to use existing pcf8574 driver?<br />- RTC driver for H4 - I need to write this one, and someone from community need to convert the existing omap1-rtc driver to new rtc infrastructure.<br /><br />No DaVinci cleanup is going on right now, as I don't have even remote access to board now :(.<br /><span style="font-style: italic; color: rgb(255, 0, 0);">[update: Got the access to board now, and submitted few cleanup patches to mailing list, only dma.c is required for bit of cleanup and understanding, otherwise we are very much ready to go upstream with arch-davinci specific files and minimum boot configuration.]</span>Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com4tag:blogger.com,1999:blog-15186418.post-1153125258775098422006-07-17T01:34:00.000-07:002006-10-11T00:34:00.211-07:00I am back !!!Ok, it's long time after I am writing on my blog. Lots of thing happened after May 18 blog-entry. Here we go:<br /><br />o Japan - Tokyo trip:<br /><br />- It was very short trip to Japan (first time there) for business purpose and few demonstrations on ofcourse OMAP2.<br /><br />- I travelled through Chennai(pick up few demos)->Malaysia (same airline)->Japan (Narita Airport). <br /><br />- I didn't liked Malaysia airline, air-hostesses are not responding well and all over it was very bad experience. Next time may be Singapore airline :).<br /><br />- Well, about Japan, nothing to say, I stayed in very good Shingawa Prince Hotel, near to Takanawa Prince Hotel. Fortunately I was able to find Indian Veg. Hotel (Hotel Devi) nearby, just 10mintues walk. Atleast I was able to see more people around me compared to Helsinki :).<br /><br />- All demonstrations went well, so I was very happy, but communication in English is nearly impossible, so you need someone who knows Japanese and English. So, it doubles up the time for meeting discussions than originally planned.<br /><br />o DaVinci - Patches:<br /><br />- No. of cleanup patches were submitted to the danvici-linux-open-source mlist, but they are not pushed to davinci-git tree yet, Kevin? I will be starting further davinci cleanup soon, I still have 2wks to work on davinci tree.<br /><br />o omap2420 - patches:<br /><br />- There no decision yet made on PRCM cleanup patches I sent to reduce no. of #ifdefers being introduced due to OMAP2430, I think Tony is very much busy with PM on OMAP2420 or stuck somewhere with PM bugs :)<br /><br />o Severe URTICARIA : Yes, I had written about it earlier entries, now my skin allergy is having medical name "URTICARIA", and it is due to "lemon, citrus fruits, Green Chilly, Tomotatos, Cold drinks and etc.". So one can imagine that I can only eat fresh food cooked at home only, again prepared with great care. It will take 2-3 months to supress the effect of this allergy. Right now I am switched to "Ayurvedic" medicines, after trying Steroids injections (Dexona) doses.<br /><br />Ok, back to work, lots of e-mails to check and pull the various git trees.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1148019850362110542006-05-18T23:24:00.000-07:002006-10-11T00:34:00.145-07:00OMAP2430-L GIT PortingOMAP2430 Linux Porting to OMAP-GIT Tree:<br />----------------------------------------<br /><br />* I have started the porting Linux baseport for OMAP2430 available on <a href="http://linux.omap.com"></a> to OMAP-GIT <a href="http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=log"></a><br />tree. <br /><br />Published the minimal OMAP2430 Linux Port:<br /><a href="http://linux.omap.com/pipermail/linux-omap-open-source/2006-May/007205.html"></a><br /><br />As of now the status is:<br /><br />* Serial - OK<br />* GPIO support for block 5 - OK<br />* Intel Starata 64MB Flash - OK <br />* JFFS2 Mounting - ??<br />* SMC91X detection - OK<br />* NFS Mounting - ??<br />* Ramdisk - ?? <br /><br />Future Plan to add simple drivers:<br /><br />* Watchdog - ??<br />* RNG - ??<br />* Keyboard - ??<br /><br />Any help/patches/review comments would be appreciated for 2430.<br /><br />On OMAP2420 front, I have not heard any review comments for camera driver. I need to split it as per new "omap patches guidelines". I will do it probably next week.<br /><br />---<br />Back to Bangalore and its raining every evening here, so it's not too hot summer anymore. Lot of things are happening at personal life front, most of the time is planned for it for coming months. So, I might slow down the 2430/2420 work.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com4tag:blogger.com,1999:blog-15186418.post-1146065547699923782006-04-26T08:32:00.000-07:002006-10-11T00:34:00.021-07:00First TimeFinally I had started decorating my Blog. It very much visible if you had visited my blog earlier. <br /><br />Addition:<br /><br />o Enabled comments word verification. I got funniest DaVinci Code comment on my TI DaVinci Platform. <br /><br />o Enabled Flickr photo link. Various photos will soon be uploaded there.<br /><br />o Enabled Visitor's link. Just for Fun. <br /><br />o Added the blogs and site links I regularly visit during tea /(ah or Juhla Mokka coffee time). Atanu Dey's on Development of Rural India is my favourite. <br /><br />Back to Basics:<br /><br />o I am feeling very sick these days. Yesterday I went to one of Finnish Private Clinic, and diagonsed for Viral Infection.(Now this happened third time in last six months :(. ). Now I have concluded that it happens whenever there is season change mixed with rain and sunlight. Worst thing happened was I got allergic to the IbuProfen and Paracetamol content of tablet and generated itching on my skin. Got two red spots on my forehead and my ears became red :(. Allergy is not new to me, I am allergic to various things (I don't have exact list) from my childhood. Last time I got similar skin allergy when I was at rock music comp. in IIT, Mumbai, year 2000.<br /><br />o Travelling back to India is on the cards, I will start on Saturday. Visting to my family after long time. Time to face full sunlight and +30-40 Centigrade temp. It is better that -25 to -30 temp. I faced here.<br /><br />Now Reading:<br /><br />o DaVinci manuals.<br />o openDML AVI Extension Headers 2.0. <br /><br />* Making DaVici Linux Kernel code more readable and in strict compliance with Linux Kernel Coding Starndards is one of the goal, I can do various changes even if I don't have EVM.<br /><br />* If I don't get DaVinci EVM access (due to other projects, and travel plans), I plan to have remote access to the board, by doing it myself, or utilizing someones EVM. If he/she allows me to access it. <br /><br />* For OMAP24xx, Camera code is very much ready for linux-omap-git tree, except streaming through userptr is not working, as we need to fillup the vb_dma_sync_sg helper functions, but mmap and read works. So, it can be pushed to git tree. If I am feeling well, I can atleast submit that patch on this Friday. <br /><br />* New subsystems :<br /> - There are now new RTC and LED subsystems in kernel, so someone if having H2/H3/1510/OSK then can start working moving omap-rtc and various led drivers to those subsytems. It will be fun. <br /><br />* OMAP24xx multiplane support: As said earlier, it seems now that someone (Imre?) will submit that support either through existing (omap/pub) driver (v4l2 interface) or thorough framebuffer driver (dev/fb1 and /dev/fb2). First option will be intrusive to Imre's fb driver, and implementing 2nd option might make Imre more happy. Please don't keep the implementation in your tree, even if it is not fully working. I would be glad to help in testing !!! <br /><br />* OMAP24xx TI EVM TSC2101 Audio driver: No one is working on this for omap-git tree, AFAIK. So, someone can take it and implement using new SPI subsystem master driver for OMAP2. I would also appreciate EAC driver, if someone has explored that interface. I can only find few traces of such code interface in H2/H3 ALSA time.<br /><br />* DaVinci Bridge: Someone recently asked support for C64x support in Nokia Open Source DSPGateway. AFAIK, Toshiharo-san, was working on c55x support for OMAP2. But he still need to submit the code. I am sure he is worried more about the updating documentation pdf :). Now it is more important to generate community/user base to use that dspgw. I don't see much contribution from the community except posting user experience and bugs/problems faced by them. <br /><br />- Reasons for above could be:<br /><br /> o It is hard to add one more async. processor in parallel with C55x. eg. OMAP2 IVA. with the existing interface. <br /><br /> o When you move from the OMAP1 to OMAP2, for C55x, only few things change. So, as Toshiharo-san said, much of the code can be reusable. But it should be better no t to #ifdef the various register offset and base addresses. We should better have generic framework for it. As per my reading and comparision in those cases, mbx and mmu can be abstraced as fwk. Paul seem to have mentioned about mmu fwk on the linux-omap mailing list. <br />Funny thing about OMAP2 is IVA and DSP share same MMU architecture but same code can't be shared with Camera MMU, due to slight differences :). Now that's TI architecture :)<br /><br /> o Standardization: It is not new to have dual/triple/quad core architecture, and other semiconductor companies e.g Phillips, Motorola too have those architecture and so does bridges, running might be as binary only modules, having their own HAL and various abstractions. So, it is better to have some sort of abstracted generic fs interface in the Linux kernel to support more than one async. processors. But it is the long way to go. <br /><br />----<br />Q: What is the last time you did it for first time? <br />Answer: From the last 3months, every event happend to me was first time. Travelling abroad, lot's of snow around, freezing temp., Travel by cruise, Sweden trip, and many more :)Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com2tag:blogger.com,1999:blog-15186418.post-1140385985941011142006-02-19T13:53:00.000-08:002006-10-11T00:33:59.962-07:00OMAP (H4) and DaVincio Finally submitted pending keypad patch for H4.<br /><br />Pending patches/work for H4 + some other modifications. Someone who wants to do in their free time.<br /><br />o camera_core.c needs platform_driver_register structure.<br />o H4 camera<br /> - David Cohen was working on that, and he had submitted patch to the list. <br />o H4 TSC2101 Driver<br /> - As per the SPI framework. <br /> - I am planning to work on this, as it can be done easily as per the new SPI framework.<br />o H4 TSC2101 with ALSA driver.<br /> - Someone posted TSC2101 with ALSA driver effort on the linux-omap mailing list. <br />o H4 Menelaus RTC driver<br /> - It should be implemented in the different file altogether from omap-rtc.c, as it is implemented using different chip (Menelaus). <br />o H4 video out driver<br /> - As I have pointed earlier, this might take some time. <br />o H4 NAND Driver<br /> - I had posted the patch on the list, but not tested fully. Kyungmin had commented on that patch, but I was not able to do followup on that.<br /><br />MCBSP Framework.<br />----------------<br /><br />- As of now, we can see that McBSP.c is becoming ugly day by day, we would appreciate if someone( or may be I) can work on ideas of writing a small framework, like SPI. I have already thought of something about it. I will down my ideas may be next week. <br /><br />o Just think of adding DaVinci, OMAP2430, OMAP3430 McBSP additional code added to mcbsp.c ...and you will see that file more ugly than before :). <br /><br />o Also it adds lots of #ifdefers in audio codecs chips drivers on selection of mcbsp instance, as different boards design use different instance altogether, which should ideally come from board-*.c files.<br /><br />DaVinci<br />-------<br /><br />Ah, I never wrote on this before. We/Community were supposed to get DaVinci tree code by end of Feb'06, as per some of the articles I read online. <br /><br />As per my observation, GNU/Linux kernel porting for DaVinci must be going on by TI and MV from more than 8-9 months (I guess...), we can also see the name of the tree of DaVinci on source.mvista.com git trees owned by Kevin Hilman. (Do you remember this OMAP730 guy ?). But think that, if they have opened the tree to public by this now, <br /><br />o they would have got early review of code they have developed<br />o A chance of getting free of charge patches (Yes, you do have to pay MV).<br />o A chance of getting a Free of Charge maintainer, who can sync it up with latest Linux kernel tree. <br />o A chance of getting up-to-date drivers, as you know about changing frameworks and more better code, considering that it is easy to add new custom/EVM board based on the same chip. (Think of LINUX-OMAP tree :)).<br />o Early decision to merge with LINUX OMAP tree, if we think that most of the code can stay common, even if both the processor series is being targetted to different customers (Think customers here as ODM/OEM guys please). <br /><br />---Komal ShahKomal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com2tag:blogger.com,1999:blog-15186418.post-1139762690477744122006-02-12T08:44:00.000-08:002006-10-11T00:33:59.905-07:00HelsinkiOk, I am now in Helsinki, Finland from last 2 wks. I am leaving the reader to guess where I am working for a while now :). <br /><br />The very difference from the INDIA you can find here is<br /><br />o No Honking (Ah...How I am gonna wakeup then?. I need to use Alarm now )<br />o Electric switches has different meaning of ON and OFF. Actually reverse from India.<br />o Use lots of Eletronic gadgets in Home.<br />o Stay inside home...(It is very cold outside for an Indian...) and increase your productivity...ultimately you do the computing. <br />o Very Very big super markets ...but hard to find people there on weekdays. (I think India needs this ..but unfortunately we don't have that yet).<br /><br />Anyways, there are many cultural differences which we know and not needed any mention. Sad part of the story is I am not able to pull the OMAP GIT tree yet...but I am sure I am gonna have workaround, once I get free from my current work, which might take few wks more, but ofcourse I can review few patches :). I will post few pictures soon.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com1tag:blogger.com,1999:blog-15186418.post-1135759899474970922005-12-28T00:51:00.000-08:002006-10-11T00:33:59.847-07:00OMAP2 SPI : David Brownells FrameworkOMAP2 SPI Driver update:
<br />------------------------
<br />
<br />* I have started writing the OMAP2 SPI (Serial Peripheral Interface) driver using David Brownell's Simple SPI Framework.
<br />
<br />* I am writing this driver as bit fancy, means "interrupt based transfers" in first phase and later with "dma based transfers".
<br />
<br />* If interrupt based transfers works, then my plan is to move this driver using Bitbang interface also, to be useful while testing new OMAP2 series processors and custom boards based on the same too.
<br />
<br />Today is 28th December, Time for for Tony to comeback from Vacation. Let's hope for fireworks !!!Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com1tag:blogger.com,1999:blog-15186418.post-1135578730152910732005-12-25T22:32:00.000-08:002006-10-11T00:33:59.789-07:00Submitting OMAP drivers to upstreamTony,
<br />
<br />How about starting to submit OMAP drivers to respective maintainers in
<br />upstream [A]?
<br />
<br />As discussed on linux-arm-kernel mailing list about "clock framework"
<br />changes, we can think of submitting drivers to upstream after resolving
<br />"clock fwk" issue.
<br />
<br />[1]
<br />I am sure you guys, must have put thought on that, but by doing this we
<br />might not have to do some trivial changes to all the drivers, if any
<br />driver model gets changes. e.g struct device_driver to platform_driver.
<br />
<br />[1.1] We will get close reviews outside OMAP community.
<br />
<br />[1.2] This might increase the acceptance time of patches by resp.
<br />maintainer.
<br />
<br />[2]
<br />Yes, if we submit all the drivers to upstream, then our linux-omap-git
<br />tree becomes obsolete, _or_ initially we have to follow two-step process
<br />for submission.
<br />
<br /> [2.1] Submit new drivers/bugs fixes to linux-omap tree.
<br /> [2.2] Then to resp. maintainer in upstream.
<br />
<br />But, if someone(a new user) picks up kernel from the upstream(with
<br />drivers, whose bugs are fixed in linux-omap tree, but yet not submitted
<br />to upstream), then it will be a big problem initially.
<br />
<br />[A]
<br />As of my knowledge, right now only OMAP nor flash mapping driver is in
<br />upstream.
<br />
<br />---Komal Shah
<br />PS: This e-mail is still in my "draft" folder. I will wait for conclusion of "clock fwk".Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1135255019283441192005-12-22T04:36:00.000-08:002006-10-11T00:33:59.730-07:00Komal Shah<a href="http://komalshah.blogspot.com/">Komal Shah</a>: "TODO:
<br />1. IrDA: See, if workqueues can be seemlessly integrated for GPIO Exapander access on H3 and H4. I will wait for few suggestions from Tony and other members."
<br />
<br />Solutions, keeping board-specific data out of driver:
<br />
<br />* transceiver_mode(struct omap_irda *si, int mode)
<br /> - Passing private omap irda structure to transceiver_mode function.
<br /> - but for this, we need to move "struct omap_irda" from our driver file to include/asm-arm/arch-omap/irda.h ? It may not look as clean interface.
<br />
<br />* Ugly way: Pass work_struct as transceiver_mode() argument. No applicable to all the platform, so ruled out.
<br />
<br />* Add "struct work" in irda platform_data.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com1tag:blogger.com,1999:blog-15186418.post-1135090756395318732005-12-20T06:59:00.000-08:002006-10-11T00:33:59.669-07:00OMAP-L: TODODONE:
<br />* Watchdog fix submitted and accepted.
<br />* IrDA testing on H4 board. - Discovery testing done.
<br />* Submitted updated patch for IrDA to list.
<br />* Submitted 2.6.9-TI based SPI commo. hack and touchscreen patch to the list. I am not going to work on this anymore.
<br />
<br />TODO:
<br />1. IrDA: See, if workqueues can be seemlessly integrated for GPIO Exapander access on H3 and H4. I will wait for few suggestions from Tony and other members.
<br />* I need ARM cross-compiled "irdadump" utiltiy. Anyone?
<br />
<br />2. NAND:
<br />* I tried hard for different switch positons, but no success. Send your experiements to corresponding developers to test. I have kept this work aside for a while.
<br />
<br />3. RTC
<br />* I don't know how we will accomodate Menelaus RTC framework in existing 2.6.9-TI tree with git-omap2 tree.
<br />
<br />4. SPI
<br />* Start using David Brownells framework. Atleast experiments first polling based method with this framework and in second phase move to Interrupt and DMA support.
<br />
<br />5. Video
<br />* Work suspended until Imre Deak responds back.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1134825625845511712005-12-17T05:20:00.000-08:002006-10-11T00:33:59.609-07:00OMAP-L Dev. UpdatePatches submitted to linux-omap-open-source mailing list:
<br />
<br />1. IrDA Patch
<br /> - Cleanup of H2/H3 support, and moved platform specifc information to board-*.c files.
<br /> - Added support for 24xx.
<br />
<br />Update:
<br />- Patch was having few errors, which I have now resolved, but I am still not getting the interrupt and discovery test failes. But
<br /> #ifconfig irda0 up/down commands works on 24xx.
<br />
<br />2. Video Out patch
<br />
<br />- I have just cleanup of video out patch for git-omap tree and submitted for Imre Deak and Tony to review it.
<br />- There were quite conflict in the development method and usage of vout along with existing git-omap2-fb driver. Need to resolve. It seems that Imre will reply only after x'-mas.
<br />
<br />3. 24xx NAND patch
<br />- It is not yet released, but it sitting under my tree. Submitted to Jian for review
<br />
<br />- I got confused about flashing x-loader and u-boot for Nand flashing on 2420. Thanx Jian and team for giving me direction. I will try that on Monday it seems. I feel that PATCH will work straight away, and will publish it to list soon.
<br />
<br />Bug fixing: TODO:
<br />o Watchdog
<br /> - driver name should be changed from "omap-wdt" to "omap_wdt", as _probe function is not working in the current tree. I will submit that patch soon.
<br />
<br />o RTC
<br /> - I don't know how we will accomodate Menelaus RTC framework in existing 2.6.9-TI tree with git-omap2 tree.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1133710029331562922005-12-04T07:27:00.000-08:002006-10-11T00:33:59.495-07:00OMAP Linux Updateo Submitted remaining platform_driver usage patches to list.
<br />o Working on SPI Controller driver. - Understanding David's framework in detail.
<br />o Will be also looking at Video out and IVA bridge support too.
<br />
<br />TI Dev Conf, was good, lot's of presentations/talks. Da Vinci Rocks. The companies I remember showing demos were (most of them were on DM642/320/270 series).
<br />
<br />o Ittiam Systems, Bangalore - H.264 codec 3-way conference.
<br /> - Custom made boards on DM320/642.
<br /> - Their video conferencing phone was on display.
<br /> - Custom made PMP was there too.
<br />
<br />o EPIGON - Audio codecs guys.
<br /> - Not concentrated much on the demo.
<br />
<br />o ADMIYA - Wireless capabilities demo.
<br />
<br />o SlingMedia - SlingBox - A cool use of DMXXX series of chip for TV on your laptop.
<br />
<br />o HalloSoft - VoIP suite on OMAP1710 and some DM series.
<br />
<br />o Intervideo - Again Audio Codecs guys - OMAP310/DM320 with Micro C Linux. Not open-sourced, so I hate them.
<br />
<br />o Mistral - Their LCD module for OMAP5912 - Their marketting guys told me pricing at about 799$ plus taxes. :-).
<br />
<br />o Emuzed - Only company showing OMAP2420 demos. Amazing performance of their codecs on OMAP2. They were using Open Source Linux (not MV ...Yo...) I was happy seeing that. Pointed them to latest development on linux-omap-open-source series too.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1133276788665093622005-11-29T07:06:00.000-08:002006-10-11T00:33:59.439-07:00TI dev confGoing to TI India dev conf. tomorrow.
<br />
<br />http://tii.developerconference.ext.ti.com/
<br />
<br />So, platform_driver cleanup patches will be submitted either in the evening tomorrow or on Thursday.
<br />
<br />o RTC and oss/omap-audio patches are ready.
<br />o alsa/omap-audio-aic23 will be ready too.
<br />
<br />Will be working on
<br />o Touchscreen
<br />o camera driver
<br />o and RNG driver
<br />
<br />Then I will be review omap1610-ir.c too, as I believe it can have more cleanup too _or_ omap-nand-flash driver cleanups, if Ladis don't have time to do that. Let's complete all the cleanup by these weekends, so all the remaining drivers are cleaned-up for OMAP2. Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1130746449056329712005-10-31T00:14:00.000-08:002006-10-11T00:33:59.386-07:00Vacation: Reliance WebWorldOk, Finally I was able to reach Ahmedabad Airport at 1:30 AM. Waited for Air Deccand - BOMBAY to AHMEDABAD flight for seven hours :( . Totally non-productive 7 hours of my life.
<br />
<br />Ok, Finally Sunday started as usual ...got up very late 10:30 AM :-). No e-mails on sunday.
<br />
<br />Today first time I had opened the accound in Reliance Webworld. Their PCs are running Windows XP. Very slow...registration process. You need to restart the machine to make your new id take effect. Anyway lady here knew that in advance :-).
<br />
<br />Fine...their Broadband connection works ok...but not cool. Today I will start my journey to explore the places in Gujarat again...It's very hot here in Afternoon and very cold in Night...So need to take care of my health due to everchanging weather conditions. Ofcourse I miss Bangalore and it's parks.
<br />
<br />Let's go...check e-mails today....Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1130588301961542492005-10-29T05:18:00.000-07:002006-10-11T00:33:59.327-07:00Vacation: Reached to BombayI am typing this from Bombay Airport Terminal 1B. I started from Bangalore (Flight Air Deccan - DN 606). This flight was on time. It started at sharp 2:20 PM and reached to Bombay at 4:00 PM.
<br />
<br />I had to wait 30Minutes to get the baggage. And the sad news is in the store that next flight leaving to Ahmedabad (State: Gujarat) is delayed by 7 hours :( . So, you can think of how I am utilizing this time at cybercafe having burger on the surfing point.
<br />
<br />This surfing seems to nice and having name "Skyber cafe", serves good food.
<br />
<br />Ok..then back to surfing....Hoping that flight is on time and I get it at 10:20 PM. I will reach to Ahmedabad at 11:30 PM.
<br />
<br />Tony has pushed 24xx cpu detection code done by Imre. And people started asking about GStreamer on maemo mailing list, which seems to be hot topic, but never got so much response from the original developers on dsp plugins.
<br />
<br />Lot depends on this, as I want to get maemo (some interface atleast) on 24xx. I am hoping for the best ...once I come back from the vacation....Enjoy !!!!...Happy Diwali !!!Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1130501226279344002005-10-28T05:07:00.000-07:002006-10-11T00:33:59.268-07:00VacationDiwali(Festival of Light) Vacation
<br />
<br />Going on vacation for 2wks. 29th Oct to 13th Nov. Feeling
<br />sick these days, hoping that I will recover soon and enjoy
<br />the vacation.
<br />
<br />Hoping to see 24xx-git tree with few more drivers when I will come back.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1130501088404797652005-10-28T05:04:00.000-07:002006-10-11T00:33:59.207-07:00Komal Shah<a href="http://komalshah.blogspot.com/">Komal Shah</a>
<br />
<br />TestKomal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0tag:blogger.com,1999:blog-15186418.post-1125137216439669232005-08-27T03:04:00.000-07:002006-10-11T00:33:59.149-07:00DebConf2005This is a un-official report I have created to just write down what I have seen/discussed/learned during the first ever Debian Conference(DebConf - 2005) in Bangalore. This is a kind of blogged entry...<br /><br />o I am living in Bangalore since last 2 years, but first time I have dared to go Electronics City,Phase-1 to attend the DebConf hosted by students from the Indian Institute of Information Technology, Bangalore (IIITB). As everyone know, this school is governed by big IT guys.<br /><br />o I had asked few securities guys and students to direct me to Registration counter for DebConf.Well, volunteers had prepared the list of persons those who have registered online. But they were not able to find my name ...because names were not alphabetically sorted :-). Anyways, I was able to find my name at the 3rd page. There were approximately 138 online registered participants.<br /><br />o I entered the conf. hall at around 2:25 PM (Actually timing for conf was 2:30 PM to 6:30 PM). Conf. hall was cool having 6 projectors and good audio arrangements. Alok (seems to be from HP) started the video of the presentation given by Jaldhar Vyas, somewhere in US on Debian.<br /><br />o I had enjoyed that presentation from 2:30 to 3:00 and then finally IIITB prof. S. Sadagopan started his speech ...He had ignited the fire within the students to not just talk about that we are using Open Source and GNU/Linux, but to really open...the...source and contribute :-). He encouraged weekend hacking and use of Internet effectively to promote and increase the contribution in OSS<br />community.<br /><br />o On a funny side, in India we have _only_ 2 registered Debian developers from south.<br />o Ramki (from TI) and o Ganesan (Don't know, may be from cisco/novell ).<br /><br />o Ramki and Ganesan explained how they started using Debian from its early releases and the problems they have faced while waiting in NM (New Maintainer) queue for Debian. They explained Social Contract and how Debian is filtering the packages for inclusion in the release with its cycle. Few points were stressed upon increasing the contribution on Debian-Indian project (Maintained by Jaldhar Vyas) and various projects forked by it for Indic Languages. In short, it was very helpful for participants to see how Debian works.<br /><br />o Then Chirag Kanthuria (Juniper Networks) started his short presentation on how he started using Debian and work he did on "netterm" and oops analysis tool across the network.<br /><br />o Ramakrishan (IndLinux Project) came with Apple i-book for the presentation, and had difficulties in setting up slides (properitery stuff bugged him :-)). We were not able to view it properly. He had explained the project status and various features.<br /><br />o After this few participants shared the difficulties faced by them in using Debian and Ramki and Ganeshan promised to mentor them for the new projects and set the goal for having 20 registered debian devlopers in one year from India (Next Debconf will be on 19th August, 2006).<br /><br />o Only 2 women attended the conference (very less).<br /><br />o There was some discussion on Embedded-Debian and I have cheerfully registered my name to mentor students on Embedded Linux project.Komal Shahhttp://www.blogger.com/profile/09190058856610242388noreply@blogger.com0