176
edits
| Line 14: | Line 14: | ||
=SETTING A DEBUGGING/PROFILING ENVIRONMENT= | =SETTING A DEBUGGING/PROFILING ENVIRONMENT= | ||
===1. FLASH YOUR N810=== | ===1. FLASH YOUR N810=== | ||
if you already installed DIABLO | if you've already installed DIABLO on your device, you can go to step 2.To check the installed OS version on the N810, go to [Settings] on the main toolbar and click "open" in the title 'Control Panel' tab. The field 'version' should read : "4.2008.36-5" or "5.2008.43-7". If lower than that, do the following steps from your desktop console: | ||
*Get the flasher utility 'flasher-3.0' at http://tablets-dev.nokia.com/d3.php | *Get the flasher utility 'flasher-3.0' at http://tablets-dev.nokia.com/d3.php | ||
| Line 21: | Line 21: | ||
*Flash your device : | *Flash your device : | ||
./flasher-3.0 -F <your_path_to_the_image>/RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R | ./flasher-3.0 -F <your_path_to_the_image>/RX-44_DIABLO_5.2008.43-7_PR_COMBINED_MR0_ARM.bin -f -R | ||
* | ::::<i> When "Suitable USB device not found, waiting" appears, turn on the N810 while holding the swap button. The flashing operation should start.</i> | ||
*Turn on R&D mode on your N810 (to access super-user privileges) by using the flash utility as following: | |||
./flasher-3.0 --enable-rd-mode -R | |||
::::<i> Again, when "Suitable USB device not found, waiting" appears, turn on the N810 while holding the swap button. The flashing operation should start and the R&D mode should be set in a flash.</i> | |||
*flash the new oprofile-enabled kernel. <i>oprofile is a profiling tool you'll want to be using when debugging and profiling on the N810. In order to use it, you must however update the device's kernel</i>. Start by logging into scratchbox and select the CHINOOK-ARMEL-2007 target and do the following: | |||
<pre> | |||
# add the diablo/tools repository | |||
fakeroot echo "deb http://repository.maemo.org/ diablo/tools free non-free" >> /etc/apt/sources.list | |||
# Sync the package database | |||
apt-get update | |||
# Download the oprofile-enabled kernel | |||
fakeroot apt-get install kernel-diablo-oprofile | |||
# The kernel should be laying in /boot, move it to /tmp | |||
# notice that the image name could be different... | |||
mv /boot/zImage-oprofile-diablo-200850 /tmp | |||
</pre> | |||
Log out from scratchbox, and, in a desktop console...flash the new kernel image: | |||
./flasher-3.0 -f --kernel /tmp/zImage-oprofile-diablo-200850 -R | |||
::::<i> Again, when "Suitable USB device not found, waiting" appears, turn on the N810 while holding the swap button. The flashing operation should start and the R&D mode should be set in a flash.</i> | |||
=DEBUG AND PROFILE= | =DEBUG AND PROFILE= | ||
edits