[maemo-developers] General Maemo/Scratchbox/N800 help

From: David Hazel david.hazel at enchaine.com
Date: Sun Aug 26 13:09:54 EEST 2007
Hi Frank,

Thanks for your answers. There's one that I'll need further help with,

>I put the executable on the memory card, copy it to my home directory
>and run it. You'll need xterm on the 800 to do this.

Question 1: How do I get a version of xterm that will run on the N800?
Question 2: How do I install it to the N800?

I'll need fairly detailed instructions for each of the above, I'm afraid. I
did try to download what purported to be an Openssh client for the N800
yesterday, but all I got was a file called openssh-client.install, and no
clues as to what I was supposed to do with it.

I did once try putting my executable onto a memory card. However, I wasn't
able to run it even though I thought I had built it for the right target
(which is ARMEL, I assume?) and the version I built for X86 runs (almost)
fine on Scratchbox. (I say "almost" because the emulator doesn't appear to
be all that close an emulation of the target environment. It apparently
can't simulate the presence of memory cards or give me an internet
connection, both of which are central to what my application is trying to

David Hazel

-----Original Message-----
From: Frank Banul [mailto:frank.banul at gmail.com]
Sent: 25 August 2007 19:40
To: David Hazel
Cc: maemo-developers at maemo.org
Subject: Re: General Maemo/Scratchbox/N800 help

Hi David,

I started working with the 770 a month or so ago so I don't have all
the answers but I'll give a few below a shot.

On 8/25/07, David Hazel <david.hazel at enchaine.com> wrote:
> - interacting with the N800 device itself from my Linux PC
I didn't find the need to do this. Using scratchbox to develop was
enough. So far, only one problem has appeared on the tablet and not in

> - understanding 'flasher' (in particular, what the "R&D mode" and "host
> mode" actually do and how to make use of them)
I didn't find a need for these at all, I still don't have root on my 770.

> - transferring files etc. to the N800, for example to test software
I put the executable on the memory card, copy it to my home directory
and run it. You'll need xterm on the 800 to do this.

> - knowing what commands are available in Scratchbox to help me with the
> development, deployment and testing of software
Here is my cheat sheet.

How to build:
dpkg-buildpackage -rfakeroot -b

How to run
outside of scratchbox:
/scratchbox/start-xephyr.sh &

To start scratchbox:

inside of scratchbox:
export DISPLAY=:2
af-sb-init.sh start
run-standalone.sh <application>

To change targets:

To install in emulator:
fakeroot dpkg -i maemo-soundbridge_0.1_i386.deb

Hope this helps.


More information about the maemo-developers mailing list