(→Useful tools / scripts / etc) |
|||
| Line 8: | Line 8: | ||
* [[bonnie | Bonnie++ disk IO benchmark utility]] | * [[bonnie | Bonnie++ disk IO benchmark utility]] | ||
| + | * [http://maemo.gitorious.org/maemo-tools Maemo tools for performance testing and debugging (cpu load, memory consumption, etc.)] | ||
== Tips and Tricks == | == Tips and Tricks == | ||
Contents |
On his local laptop:
$ osc -A https://api.pub.meego.com branch -cm "would like to experiment e.g. xsetroot right after the start_X_server() to enhance the UX." MeeGo.com:MeeGo:1.2:oss uxlaunch
$ osc meta prj Project:DE:Trunk:Testing (copy the below)
<repository name="standard"> <path repository="standard" project="Project:DE:MeeGo:1.2"/> <arch>armv8el</arch> <arch>i586</arch> </repository>
$ osc meta prj -e home:msugano:branches:MeeGo.com:MeeGo:1.2:oss (vim starts & paste the above).
Start widgetsgallery Select ->debug_tools->xx_wg_take_screenshot
Command line alternative [meego@localhost ~]$ export DISPLAY=:0 && gst-launch-0.10 ximagesrc num-buffers=1 ! ffmpegcolorspace ! pngenc ! filesink location=screenshot.png
Placeholder, let's start linking relevant information 1. Download Meego kernel for N900
# git clone http://git.gitorious.org/meego-device-adaptation/n900_kernel.git n900_kernel
or use http://meego.gitorious.org/meego-device-adaptation/n900_kernel/archive-tarball/master to download manually
2. Compiling Meego Kernel
Execute following commands in command prompt
# export ARCH=arm # export CROSS_COMPILE=arm-none-linux-gnueabi-
Note: You should have arm tool chain in your host machine
Enabling CAIF Protocol support for ST Ericsson Modems (or do whatever changes you need for the kernel)
# make omap2plus_defconfig # make menuconfig ( Note: select caif protocol support in Networking and driver sections)
Do kernel modifications here!
# make zImage # make modules # make modules_install INSTALL_MOD_PATH=$path to install modules
Finally kernel images available @ $Meego_kernel_source/arch/arm/boot/zImage
3. Copy modules to N900 device ( Note: Already device should have meego os)
Note: connect device with host via usb cable before executing this command
4. Loading Compiled Meego kernel
Download flasher from http://tablets-dev.nokia.com/maemo-dev-env-downloads.php?f=maemo_flasher-3.5_2.5.2.2.tar.gz
Load Kernel using
# sudo ./flasher-3.5 -l -k $Meego_kernel_source/arch/arm/boot/zImage -b
Note: Before executing this command,please power off the device.
Now connect USB cable with device. You will see Meego home screen after 2 or 3 minuteson this page.