One of the most difficult and tedious things we do here in the Platforms Team is figure out what is going wrong with a new piece of hardware. Generally that means we need to examine a bunch of hardware registers and see how the device is configured. If you've never had to do this, let us assure you - it isn't much fun, especially when you have a few hundred bit fields to decode.
We're software guys, so the solution, of course, was to write some code! We thought some of you out there might find our work useful, so we're happy to release these tools.
The first piece is iotools - a suite of simple command line tools which allow you to read and write hardware registers. With iotools you can write simple shell scripts to read the device information you need, process it, and write it back to the hardware. Currently iotools includes support for PCI, IO, memory mapped IO, MSR, CPUID, TSC, SMBus, and CMOS. It also includes a bunch of simple arithmetic and logical tools to make your scripting even easier.
The second piece is prettyprint - a library and set of tools which allow you extract hardware data in human-readable form. prettyprint includes a simple device description "language". Once a device has been described, prettyprint can find any instances of the device and produce a tree of objects which can be read from and written to symbolically. Never again will you have to remember that bits [8:6] of the wibble register contain the frobnicator amplification factor, encoded in 1/2 dB units. prettyprint will just tell you.
These tools have proven to be useful to us in the platforms team at Google. We hope some of you find them useful too. Patches are welcome!
To find out more, please visit the iotools home page or iotools discussion group and the prettyprint home page or prettyprint discussion group.
Link:Black Googler Network visits New Orleans
Link:Google Open Source Blog: Explore Your Hardware: iotools and prettyprint
Categories
- Google Affiliate Network
- Google Analytics Blog
- Google Blog Česká republika
- Google Blog-Polska
- Google Code Blog
- Google Grants Blog
- Google LatLong
- Google Open Source Blog
- Google Public Policy Blog
- Google Student Blog
- Google Testing Blog
- Google 한국 블로그
- Inside AdSense
- Inside Google Desktop
- Official Google
- Official Google Australia Blog
- Official Google Blog
- Official Google Enterprise Blog
- Official Google Webmaster Central Blog
- Official google.org Blog
- OpenSocial API Blog
- RechargeIT Blog
- Traditional Media: Let's Take it Offline
- UK Developer Blog
- Webmaster Zentrale Blog
- YouTube API Blog
Blog Archive
Wednesday, October 1, 2008
Explore Your Hardware: iotools and prettyprint
Posted by
Leo Star
at
10/01/2008 07:56:00 AM
Labels: Google Open Source Blog
Loading related posts...
Google Open Source Blog
10/01/2008 07:56:00 AM
Subscribe to:
Post Comments (Atom)
My Blog List
-
-
-
-
-
-
-
The Way of TDD4 weeks ago
-
¡Nos mudamos!5 months ago
-
-
-
-
-
CES 2024에서 꼭 체크해봐야 할 안드로이드 경험 4가지2 years ago
-
-
-
-
-
-
-
-
Your AdSense 2022 holiday checklist3 years ago
-
-
-
-
-
Permanent Hair Colour At Home5 years ago
-
-
-
-
Visit our new blog destination5 years ago
-
-
-
Spin your agency into the future7 years ago
-
Last month today: July on GCP7 years ago
-
-
-
-
-
Tap. Pay. UK.9 years ago
-
微观世界的精致呈现10 years ago
-
-
-
Goodbye, Google.org blog11 years ago
-
GWT 2014 Survey11 years ago
-
-
Saying Goodbye to iGoogle12 years ago
-
-
A final farewell12 years ago
-
-
Follow us on Google+!13 years ago
-
-
Please follow us on the Inside Search blog13 years ago
-
You asked, we listened: more Android!13 years ago
-
-
-
-
Getting your Google Mac news13 years ago
-
-
Google Desktop Update14 years ago
-
UK Developer Blog Signing Out14 years ago
-
We appreciate your interest14 years ago
-
-
-
Fall Housekeeping15 years ago
-
We've moved!15 years ago
-
We appreciate your interest15 years ago
-
We're moving!15 years ago
-
Farewell to Mashup Editor16 years ago
-
This blog is being replaced!16 years ago
-
The Google Sites blog is moving17 years ago
-
Stopping development on Google Notebook17 years ago
-
Where Does Our Oil Come From?17 years ago
-
iGoogle launches canvas view17 years ago
-
-
Google マイマップ EXPO AWARD (授賞式)を開催しました18 years ago
-
-
We're Moving18 years ago
-
-
Daylight Map18 years ago
-
-
-
-
-
-
-
-
0 comments:
Post a Comment