Reply
Thread Tools
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#21
For changing language and keyboard I would suggest:

Open terminal console and login as su.

Code:
dpkg-reconfigure locales
and

Code:
dpkg-reconfigure console-data
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#22
To be able to download from the maemo repository from scratchbox you need to edit the resolv.conf:

Inside scratchbox by typing nano /etc/resolv.conf
Outside scratchbox /scratchbox/etc/resolv.conf

You need to change both!
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#23
Is the GCC472 target 'thumb'?
Why resolv.conf has to be edited and into what?

Having hopes to get something done for the CC (:
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 2 Users Say Thank You to mr_pingu For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#24
Originally Posted by mr_pingu View Post
Is the GCC472 target 'thumb'?
Atm it is not for cssu thumb configured but you could make one out of it.

1. install sb-thumb-errata-provider_0.1-1_armel.deb
2. edit the source.list; update and upgrade system
3. install libstdc++6-dev_4.7.2-0+cssu0_armel.deb

Or you could create a new target in scratchbox look here.

GCC 4.7.2 does not produce thumb binaries by default, you should pass -mthumb if you want thumb resulting executables! without -mthumb it produces regular ARM ELFs

Originally Posted by mr_pingu View Post
Why resolv.conf has to be edited and into what?
The resolv.conf should have a valid DNS server. If dhcp was succesful you should have a valid DNS server in the normal resolv.conf. Then you need to make the resolv.conf from scratchbox equal to the normal one.

Originally Posted by mr_pingu View Post
Having hopes to get something done for the CC (:
Thumbs up!
 

The Following 3 Users Say Thank You to Halftux For This Useful Post:
Posts: 64 | Thanked: 84 times | Joined on Oct 2012
#25
if anyone needs a torrent
Magnet link

torrent
 

The Following 4 Users Say Thank You to shubell For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#26
Another mirror incoming.

Dropbox
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following 4 Users Say Thank You to mr_pingu For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#27
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#28
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 

The Following User Says Thank You to mr_pingu For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#29
Originally Posted by mr_pingu View Post
I can't get QEMU running in QtCreator as soon I choose maemo5 as build target I got this error:
Cannot deploy: Qemu was not running. It has now been started for you, but it will take a bit of time until it is ready.
Qemu finished with error: Exit code was 1.

is it my fault? Or is has this image some incomplete settings?
I am sorry I did not much with the QtCreator for linux because I mainly used scratchbox on my Debian PIII 1GHz laptop. Hence I would guess this is the standard installation from QtCreator and this could mean that there is no emulator for maemo installed.
When I remember right on my windows QtCreator installation I needed to install additional packages for the emulator.
Sadly the nokia QtCreator packages repository is down and you can't install any additional packages.

So you could use a real N900 connected to the sdk.
Or you could compile under scratchbox for x86 and run your app with the output to Xephyr.
Or find an older QtCreator full setup which is only for maemo, it could be that the emulator is included (I will look and see if I could implement it in the VM image, but atm I am very busy).

Xephyr procedure:

Terminal 1:

Code:
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
Terminal 2:

Code:
/scratchbox/login
sb-conf se FREMANTLE_X86
export DISPLAY=:2
af-sb-init.sh start
(after nothing happens anymore ctrl+c)
run your previously compiled app ./helloworld
to exit:
af-sb-init.sh stop
exit

Last edited by Halftux; 2016-12-21 at 13:08. Reason: removed -kb from Xephyr command
 

The Following 2 Users Say Thank You to Halftux For This Useful Post:
Posts: 1,163 | Thanked: 1,873 times | Joined on Feb 2011 @ The Netherlands
#30
Originally Posted by Halftux View Post
I am sorry I did not much with the QtCreator for linux because I mainly used scratchbox on my Debian PIII 1GHz laptop. Hence I would guess this is the standard installation from QtCreator and this could mean that there is no emulator for maemo installed.
When I remember right on my windows QtCreator installation I needed to install additional packages for the emulator.
Sadly the nokia QtCreator packages repository is down and you can't install any additional packages.

So you could use a real N900 connected to the sdk.
Or you could compile under scratchbox for x86 and run your app with the output to Xephyr.
Or find an older QtCreator full setup which is only for maemo, it could be that the emulator is included (I will look and see if I could implement it in the VM image, but atm I am very busy).

Xephyr procedure:

Terminal 1:

Code:
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
Terminal 2:

Code:
/scratchbox/login
sb-conf se FREMANTLE_X86
export DISPLAY=:2
af-sb-init.sh start
(after nothing happens anymore ctrl+c)
run your previously compiled app ./helloworld
to exit:
af-sb-init.sh stop
exit
Thanks, now I have insight why it doesn't work. I will give it another shot and see if I can extract maemo emulator from one of these offline installers:
ftp://ftp.informatik.hu-berlin.de/pu...l.no/QT/qtsdk/
__________________
N900 loaded with:
CSSU-T (Thumb)
720p recording,
Pierogi, Lanterne, Cooktimer, Frogatto
N9 16GB loaded with:
Kernel-Plus
--
[TCPdump & libpcap | ngrep]
--
donate
 
Reply

Tags
crosstool, image, qtsdk, scratchbox, toolchain

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:53.