Posts

ubuntu14.04 Android build environment in Debian Jessie

While attempting to build up my 1 year old android beagleboard-x15 image back again to verify functionality, well.. I had left ubuntu behind and had moved on to debian. Unfortunately, I dont seem to have the patience to get debian android build stable... so chroot of ubuntu 14.04 and build of android in that environment. sudo apt-get install schroot dchroot debootstrap sudo vim /etc/schroot/schroot.conf [android] description=Ubuntu Trusty Android build env location=/opt/android-build/ priority=3 users=USER #update with your user groups=GROUP #update with your user group root-groups=root sudo mkdir -p /opt/android-build sudo debootstrap --arch amd64 trusty /opt/android-build  http://archive.ubuntu.com/ubuntu/ sudo vim /opt/android-build/etc/apt/sources.list ###### Ubuntu Main Repos deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse  ###### Ubuntu Update Repos deb http://us.archive.ubuntu.com/ubuntu/ trusty-securit...

Quick and Dirty userspace testing of regulator with virtual consumer

Writing a driver for a new regulator is usually fun, until you need to test the darned thing. Many of the users of the regulator is probably not yet ready in an development environment and need to test cant wait. I had recently a similar situation and found CONFIG_REGULATOR_VIRTUAL_CONSUMER You'd probably register and provide and regulator supply, but without a driver using it in a controlled environment (read shell script or so), it is hard to poke holes completely into your driver. Steps are rather simple. Assumption - you already have a regulator registered in the system and you are aware of the regulator name - You can also figure out it's name by the following (an example from 3.9-rc8 on Beagle-XM): # head /sys/class/regulator/*/name ==> /sys/class/regulator/regulator.0/name /sys/class/regulator/regulator.1/name /sys/class/regulator/regulator.2/name /sys/class/regulator/regulator.3/name /sys/class/regulator/regulator.4/name /sys/class/regulator/regulator.5/...

Linux

Image

*Browser-based circuit simulator boasts a...

Image
Browser-based circuit simulator boasts a mountain of features You can build your schematic in the editor mode, then switch over to the simulator to get data back from the components. In that mode, your cursor becomes a probe, and clicking on different parts of the circuit will return the calculated input and output voltages for that component. But wait, there's more. It's got time and frequency simulation in addition to the voltage simulator. This lets you look at waveforms fed through analog filters, or timing data like in the 555 timer circuit above. http://hackada y.com/2012/03/02/bro wser-based-circuit-s imulator-boasts-a-mo untain-of-features/ Getting Started with CircuitLab youtube.com - www.circuitlab.com CircuitLab is a suite of web-based electronics design tools, including the first web-based circuit simulator with the power and ...

Measuring boot voltage on PandaBoard ES - part 1

Image
What am I trying to do? Pandaboard ES OMAP4460 's main voltage rails are vdd_mpu, vdd_core, vdd_iva. MPU and IVA domains have dependency on Core (obvious since Core drives the common bus on OMAP called the L3 bus). Our intent here is to measure voltages of these rails and ensure they are the right voltage levels and in the right sequence as U-boot SPL comes up. Stage #1 - knowing what to measure This is pretty easy on most other boards, but on PandaBoard ES, things are a mite more interesting.  Unlike most other OMAP3 and OMAP4430 boards,  OMAP4460 on Pandaboard ES is powered by 2 PMICs!. A TPS62361 drives it's vdd_mpu rail while TWL6030 supplies the vdd_iva and vdd_core rails. lets look at each one in detail: (the following figures are excerpts from schematics of PandBoard ES) As seen in the schematics, TPS62361 is a slightly different beast to deal with. Three paramaters play an important role for the voltage to appear in the inductor at L23.  is "EN...

So we hit the next gen

Texas Instruments demos first OMAP 5, Android 4.0-based reference design, promises it in laptops next year (video) -- Engadget

firewall on N900

Grr my first post of this year and I plan to start "I confess: I am a paranoid". what the heck, lets go with it: I confess, I am a paranoid. I carry around my N900 all the time and thanks to my job, I end up in different continents at times. with my primary SIM connection, international data network tends to around 15$/MB which I don't really feel like paying, so I either choose a local SIM (If I am around for that long that deserves it) OR more likely to use WLAN in the hotel or guest network I am allowed on. I don't like wlan network in general other than the one I personally setup. and hence dont like the thought that my phone's network services are open for all on wlan0 device :(. This triggered my search for something quick and simple firewall. I think of it more or less as a basic password I'd setup on my laptop of a phone unlock code or lock my car when I step out of it - it can be counteracted, but what the heck, some one has to see it worthwhile the e...