Mobile/debug on maemo: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
The various steps presented hereafter are based upon the assumption that you have installed the maemo 4.0.1 scratchbox SDK on your desktop with an additional target using the arm2007q3 toolchain, as described in [[Mobile/Build/cs2007q3]]. At this point, you should find at least those 2 targets in scratchbox: | The various steps presented hereafter are based upon the assumption that you have installed the maemo 4.0.1 scratchbox SDK on your desktop with an additional target using the arm2007q3 toolchain, as described in [[Mobile/Build/cs2007q3]]. At this point, you should find at least those 2 targets in scratchbox: | ||
#CHINOOK_ARMEL | #CHINOOK_ARMEL | ||
#CHINOOK_ARMEL_2007 ==> the one that | #CHINOOK_ARMEL_2007 ==> the one that we're interesting in. | ||
=SETTING A DEBUGGING/PROFILING ENVIRONMENT= | |||
==1. FLASH YOUR N810== | |||
+ if you already installed DIABLO v.???? on your device, you can go to step 2. | |||
+ to check the installed OS version on the N810, go to [Settings] and click "open" in the title 'Control Panel' tab. The field 'version' should read : XXXXXX. If not, do the following steps from your linux desktop: | |||
[..from linux desktop console..] | |||
=DEBUG AND PROFILE= | =DEBUG AND PROFILE= |
Revision as of 16:06, 5 May 2009
DISCLAIMER
This guide is intended for developers who want to debug and/or profile applications running under maemo (either directly on the device, or from inside scratchbox). Though its main goal is to eventually be able to debug fennec on the device, it should still come in handy for debugging just about anything running under maemo.
The following step-by-step instructions are meant to be used on the Nokia's N810 internet tablet with the DIABLO maemo distro (newest stable release at the time of writing this document).
There's no guarantee herein. Deception and misfortune could still arise from following these steps, as they're based on a setup that could differ from yours.
SCRATCHBOX SDK
The various steps presented hereafter are based upon the assumption that you have installed the maemo 4.0.1 scratchbox SDK on your desktop with an additional target using the arm2007q3 toolchain, as described in Mobile/Build/cs2007q3. At this point, you should find at least those 2 targets in scratchbox:
- CHINOOK_ARMEL
- CHINOOK_ARMEL_2007 ==> the one that we're interesting in.
SETTING A DEBUGGING/PROFILING ENVIRONMENT
1. FLASH YOUR N810
+ if you already installed DIABLO v.???? on your device, you can go to step 2. + to check the installed OS version on the N810, go to [Settings] and click "open" in the title 'Control Panel' tab. The field 'version' should read : XXXXXX. If not, do the following steps from your linux desktop:
[..from linux desktop console..]