Chinook SDK feedback wanted!

November 23, 2007 at 15:07 | Posted in Uncategorized | 4 Comments
Tags: ,

We as the team behind the latest maemo 4.0 SDK (Chinook) would like to hear from you! Please give us your comments on the SDK and its tools and documentation. You can drop an anonymous comment here at this blog or send your feedback to chinook-feedback@maemo.org. Feel free to be direct, love us or hate us! Your improvement ideas are very much appreciated for the next SDK.

BR,

– jtukkine on behalf of the team

Know your dev tools – part 1

November 22, 2007 at 13:27 | Posted in tools | 3 Comments
Tags:

The Chinook SDK has been out now for a while and it feels like a good time to highlight some of the tools that were released with it.

Like mentioned earlier, a set of previously closed tools was made open source with the Chinook SDK release. These tools were made in-house by and for our developers. Now they’re also available for you through the Chinook SDK repository.

This time I’m going to talk about sp-error-visualizer and sp-rich-core.

sp-error-visualizer

The error visualizer tool pops up a notification banner every time something matching a pattern gets written to the syslog. It’s a simple idea that will help you notice those sporadic errors that you just can’t reproduce reliably and otherwise might go unnoticed in the log writings. You can naturally define the match pattern to whatever you are looking for.

This tool is especially useful on the device where you often can’t view the logs while running an application.

Error visualizer pop-up

sp-rich-core

The rich core is one of my favorites. The idea is to provide a better view of the whole system’s state at the time your program happens to crash.

Normally when a program crashes it will produce a core dump file, which is the run-time memory and state dump of the program. The developer can then open this core dump with a debugger (gdb) and observe the state of the program at the time it crashed. Many times this is enough to reveal the reason to the crash, but sometimes it can be difficult to understand why the program ended up in that state. At those times any extra information is a blessing.

With the sp-rich-core installed, when a program crashes it will not only produce the core dump file, but it will also take a snapshot of many things in the system. Then all these files are compressed together with the core dump to a rich core (.rcore) package.

The developer can now open up this package with the rich-core-extract utility and have all the extra information of the system’s state available along with the normal core dump file.

More about tools

Learn more about these and other tools from maemo.org:

http://maemo.org/development/tools/

I plan to write this kind of short tool blurbs maybe once a fortnight or so. Let me know if you like the idea.

The tools guy,

-Juha

Chinook SDK Tools

November 15, 2007 at 1:34 | Posted in tools | Leave a comment
Tags: , ,

I wanted to write a few words about the tools released last week with the Chinook SDK.

The Chinook SDK is a collection of libraries, tools and resources that enables you to develop new applications and port existing ones to the IT OS2008.

With the SDK we wanted to release tools that are known to work and that are also used internally for software development in order to provide a verified set of utilities for you developers in the maemo community.

The tools and the SDK are now in the same repository and this has created a situation where the omission of certain library -dev packages has raised some eyebrows. The reason for this omission is that those libraries are only needed as a run-time dependency for one or more of the tools that are in the same repository. It is also an indication that if your application needs to use that library, you need to make sure it’s available for the non-developers from some other repository than the SDK, preferably from the Chinook extras repository. Your application should not depend on something that’s only available in the SDK repository.

There’s a plan to provide a separate tools repository the next time we publish an SDK. This will hopefully make the separation of the tools and the SDK more clear. This will also make it safer to activate just the tools repository on the device without having to worry about all the ‘noise’ the SDK repository creates in the Application Manager.

From Bora to Chinook

In Bora SDK the included tools were a small collection of standard Linux tools. This time with Chinook we’ve released more well known tools and also some that were developed internally and haven’t been available to the open source community before.

Oprofile is now available accompanied with a graphical user interface. Valgrind has been updated to a new version along with gdb in order to better support glibc2.5.

Most of the internally developed tools and helper scripts are in packages named “sp-something”. These utilities help in tasks like simulating different kinds of system load or collecting and analyzing debugging data or just provide help in starting up the various other debug tools correctly. The main goal of these “sp-tools” is to offer a variety of utilities to help you increase the quality of your applications by facilitating easier and more powerful testing.

The tools documentation pages were updated and the tools were categorized by task to help new developers easily see what’s available. Each tool that got categorized has its own subpage with a description, usage examples and links to other sources of information.

The new main page for the tools is http://maemo.org/development/tools/.

There are still some pending “sp-tools” in the Chinook pipeline. These will be available for you from the SDK repository in the near future. I’ll be sure to advertize them when the time comes.

Your friendly tools guy signing off. Happy hacking!

-Juha

Updated maemo tutorial and porting guide published

November 6, 2007 at 15:55 | Posted in documentation | Leave a comment
Tags: ,

Maemo Tutorial and Maemo Porting Guide have been updated to contain the latest changes in Chinook, and they have now been published on out website. If you wish to start developing for maemo 4.0 now, please take a look at:

I also rearranged Maemo 4.0 How-to section to a more logical order. I hope you like it! Please send us feedback to chinook-feedback@maemo.org.

Terje

Blog at WordPress.com.
Entries and comments feeds.