Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Om + pandaboard + ubuntu

  1. #11
    Newbie
    Join Date
    Dec 2003
    Posts
    13
    Looks like the WL1271 supports WLAN, BT and FM radio...

    Wonder if FM radio is connected via the Headphone socket as usual, or if like the Motorola Droid, it is missing hardware.

  2. #12
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Quote Originally Posted by Punky View Post
    It really depends on how much power the cpu would take if it was to sit around 150mhz during ignition off state. How difficult is software CPU scaling and all the good stuff you're talking about? Keep in mind i program PLC for a living, so i rarely step outside of my IDE when it comes to software programming. I'm also relatively new to linux as well.
    there is a program called CPUFreq that you can use to set the cpu scaling policy. If you put it on "on demand" then it'll clock as low as it can until some application wakes it up. Since very few applications will be doing anything when the car if off, then nothing should wake it up (which is why it's really important that apps be aware of the ignition states).
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  3. #13
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    Quote Originally Posted by futaris View Post
    Looks like the WL1271 supports WLAN, BT and FM radio...

    Wonder if FM radio is connected via the Headphone socket as usual, or if like the Motorola Droid, it is missing hardware.
    I never knew this thing is even FM capable. That'll be pretty cool if it did, would be some nice addition for sure.

    Quote Originally Posted by tripzero View Post
    there is a program called CPUFreq that you can use to set the cpu scaling policy. If you put it on "on demand" then it'll clock as low as it can until some application wakes it up. Since very few applications will be doing anything when the car if off, then nothing should wake it up (which is why it's really important that apps be aware of the ignition states).
    Thanks for the info! i will definitely try this program once i get the board in December.

  4. #14
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    Quote Originally Posted by tripzero View Post
    there is a program called CPUFreq that you can use to set the cpu scaling policy. If you put it on "on demand" then it'll clock as low as it can until some application wakes it up. Since very few applications will be doing anything when the car if off, then nothing should wake it up (which is why it's really important that apps be aware of the ignition states).
    This is an area where we really should use android phones for reference. You have two things here, cpu frequency and the cpu governor which can be set to "on demand" but there are quite a few different governors available. Android phone roms have been doing alot of research in this area for what uses the least power when running and on standby to try to maximize battery life.

  5. #15
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Quote Originally Posted by justchat_1 View Post
    This is an area where we really should use android phones for reference. You have two things here, cpu frequency and the cpu governor which can be set to "on demand" but there are quite a few different governors available. Android phone roms have been doing alot of research in this area for what uses the least power when running and on standby to try to maximize battery life.
    A rooted android phone (or in my case n900), is a good option. I had to roll my own kernel for the igep but these phones usually have hacked kernels where people have already done that dirty work.

    There are several policies that you can make default or change on the fly as needed: Conservative, PowerSave, Performance and Ondemand.

    Punky, do note that you are likely going to be doing your own custom kernels. It's not hard, but it will take some learning. Also note that reducing the cpu freq doesn't solve all power concerns. If an app is going crazy while the car is off and you clock down to 150MHz, it just means that it's going to take longer for that app to do its crazy things thereby saving little power.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  6. #16
    Raw Wave
    Auto Apps:loading...
    justchat_1's Avatar
    Join Date
    Jul 2008
    Location
    Boston, Ma or NY,NY
    Posts
    1,783
    Quote Originally Posted by tripzero View Post
    Punky, do note that you are likely going to be doing your own custom kernels. It's not hard, but it will take some learning. Also note that reducing the cpu freq doesn't solve all power concerns. If an app is going crazy while the car is off and you clock down to 150MHz, it just means that it's going to take longer for that app to do its crazy things thereby saving little power.
    kev you would know better then me but can these custom android kernels be used as the basis for a more streamlined linux distro? I know they change the task scheduler to be optimized for arm hardware, use different file systems and tweak away a lot of old hardware support that the major distros like ubuntu don't even do.

    Just to add to the previous point about apps using cpu time when in low power mode. This is going to take a good amount of tweaking to really optimize power draw when in low power mode. Wifi and bluetooth hardware needs to completely powered down. Even usb devices probably should be powered down as done in s3 standby. Most importantly, software needs to be optimized to ensure it doesn't do any cpu intensive tasks and halts background processing. Everything to minimize cpu cycles.

  7. #17
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    Quote Originally Posted by justchat_1 View Post
    This is an area where we really should use android phones for reference. You have two things here, cpu frequency and the cpu governor which can be set to "on demand" but there are quite a few different governors available. Android phone roms have been doing alot of research in this area for what uses the least power when running and on standby to try to maximize battery life.
    Is this something that is universal in all arm processors? So anything you can do on a android you can do on pandaboard?

    If thats the case, i'm sure you can mimic the same functionally if you can get your hands on the code for android.

    Quote Originally Posted by tripzero View Post
    A rooted android phone (or in my case n900), is a good option. I had to roll my own kernel for the igep but these phones usually have hacked kernels where people have already done that dirty work.

    There are several policies that you can make default or change on the fly as needed: Conservative, PowerSave, Performance and Ondemand.

    Punky, do note that you are likely going to be doing your own custom kernels. It's not hard, but it will take some learning. Also note that reducing the cpu freq doesn't solve all power concerns. If an app is going crazy while the car is off and you clock down to 150MHz, it just means that it's going to take longer for that app to do its crazy things thereby saving little power.
    Any good resources on starting on writing/modifying kernel that i can't find from google?
    I'd love to start looking at it, but i can't promise anyone anything at the moment.

  8. #18
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    Quote Originally Posted by justchat_1 View Post
    kev you would know better then me but can these custom android kernels be used as the basis for a more streamlined linux distro? I know they change the task scheduler to be optimized for arm hardware, use different file systems and tweak away a lot of old hardware support that the major distros like ubuntu don't even do.
    Creating a generic kernel for ARM systems is quite difficult. For one, ARM systems don't have things like DMI so the kernel really can't detect the hardware. Everything is basically hardcoded into the kernel. In short, you find the kernel repo that the board vendor creates and you clone that and make your config changes on top of that. The normal vendor config would be just fine except I had to enable some other options to get my gps working and I did a merge with another upstream branch to get the power-management features. The best resources are the vendor wiki pages. Some of the docs are really good, some not so much. I think I looked at several vendor wiki pages to figure out how to crosscompile the kernel for the igepv2.

    The custom android kernels are also not useful on top of the above reason because of certain android-isms that make it unusable with real Linux.

    Once you have a working kernel, you can use any upstream distro you want with it. I have used my kernel with both MeeGo and Ubuntu.

    On the igepv2 (and likely on other omap-based boards), you can turn off the ethernet, hdmi, wifi, bt and usb port in software.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  9. #19
    Newbie
    Join Date
    Nov 2010
    Posts
    1
    Hello mp3car.com,

    Just found this while waiting for some software to compile and thought I would register and join the conversation.

    I just received my Pandaboard today, and also have a Beagleboard, Hawkboard, and LeopardBoard DM365 on hand. The Panda is OMAP4, Beagle OMAP3, and Hawk and Leopard are ARMv5 based, with the Leopard board being a TI-DaVinci based board specifically for video/image processing.

    Anyways, I've been working the last few months to develop and in-car touchscreen system along the lines of what you are working on with OM and LinuxICE.

    I wouldn't mind working along with the devs to see what we can do with the Panda. I have experience with git/svn/rsync/bazaar type repositiories, kernel tweaking to some extent, and general bumbling around in Linux.

    I will check back over the holiday weekend, I'm going vintage racing over the weekend at Summit Point in West Virginia for the Turkey Bowl, if anyone's around and wants to watch racing. If so, I will be camped with Aircooled Racing, we will be running a couple of 914-6's and 911's. Drop by, say hi, and let's shoot the breeze and have a beer. http://www.aircooledracing.com

    Cheers,
    Ian

    P.S. I will fill in my profile/info when I get back next week.

  10. #20
    FLAC
    Join Date
    Oct 2006
    Posts
    1,025
    I totally missed your post, but certainly looking forward to seeing more development.
    I'm still waiting for more pandaboard stock.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Have Questions on Linux and Ubuntu Linux.
    By HiJackZX1 in forum Linux
    Replies: 17
    Last Post: 03-05-2010, 10:59 AM
  2. Ubuntu Mobile - the next gen Car PC frontend!?
    By wywywywy in forum Unix, Linux, BSD, Etc
    Replies: 27
    Last Post: 06-23-2009, 12:31 PM
  3. Ubuntu Vs. XP...
    By ilovemyhonda in forum Linux
    Replies: 32
    Last Post: 10-04-2008, 01:47 PM
  4. Ubuntu Mobile Package
    By NFSC in forum Linux
    Replies: 4
    Last Post: 05-24-2008, 02:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •