View Single Post
Posts: 393 | Thanked: 112 times | Joined on Jul 2007
#1
Setup the Chinook SDK yesterday as I'll be starting a few N810 based projects soon. My first proper foray into Linux/Maemo coding should be fun.


Glad to say the process was relatively painless, unlike the previous versions that required some level of majick.

Simply followed the instructions here: http://tablets-dev.nokia.com/4.0/INSTALL.txt

Stepwise:
1) wget both installer scripts and chmod a+x both
2) sudo run the scratchbox installer
3) setup the scratchbox user then restart Linux.
4) sh maemo installer
5) install EUSA binaries in both scratchbox environments - 'fakeroot apt-get install maemo-explicit' for both armel (CHINOOK_ARMEL) and i386 (CHINOOK_X86) targets
6) sudo apt-get install xserver-xephyr, and just for fun... apt-get install xoo
7) scratchbox is now setup, run scratchbox. Nano .bashrc and "export DISPLAY=:2"

8) Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite
9) af-init.sh start and all was well

Alternatively if you've installed the 'just for fun' bit...instead of Xephyr...
8a) run xoo, then kill xoo. Run gconf-editor and setup the default values for xoo: '/usr/bin/Xephyr' ':2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite' etc
8b) download the N series xml config and png files - if you 'svn co' from the xoo repo you'll find the xml and png files in the data directory; just copy them into /usr/share/xoo ... another N800 image can be found here: http://tuxrecife.blogspot.com/search/label/n800%20nokia but I prefer the original xoo one.
8c) xoo -d nokia-n800.xml


10) Finish by adding nice little launchers on your desktop for Xephyr, Xoo and scratchbox.





I'm interested in knowing what IDE's (if any) you'd recommend. Basically how've you setup your dev environments so you can edit, compile, get running and debug from within Scratchbox with minimal fuss.

Also pretty much interested in the process of edit, compile, get running on the N8x0 and debug on the N8x0 with minimal fuss since I'll be using the Camera API.


It's the minimal fuss bit I'm interested in; I can compile things manually, copy them to the respective locations and run them alright - I would prefer a "one-click-does-all" solution.
 

The Following 3 Users Say Thank You to yabbas For This Useful Post: