RE: [maemo-developers] How large may the kernel-image be?

2006-02-28 Thread Peter.Hagg
Hi, 

 as mentioned by Kalle below, kernel needs to be compiled with gcc 3.4. Also, 
in your earlier post you mentioned maemo 1.0 scratchbox. Does this mean you 
have maemo 1.1 installed, or what? In order to be able to compile the kernel 
successfully, you need maemo 1.1, and preferably the latest 0.9.8 series 
Scratchbox (0.9.8.5 is the one kernel recompilation has been tested with, but 
0.9.8.6 should work as well). 

You should definitely take a look at the Kernel Compilation HowTo, available 
here: http://maemo.org/maemowiki/HowTo_KernelCompilation. This piece of 
documentation describes the necessary setup and recompilation procedure.


Regards, 

- Pete -


-Original Message-
From: [EMAIL PROTECTED] on behalf of Kalle Vahlman
Sent: Tue 2/28/2006 10:22 AM
To: Clemens Eisserer
Cc: maemo-developers@maemo.org
Subject: Re: [maemo-developers] How large may the kernel-image be?
 
On 2/28/06, Clemens Eisserer [EMAIL PROTECTED] wrote:
 HI again,

 Or just to change the question: With which gcc version does N770's
 kernel has to be compiled?
 Somewhere in the docs 3.4 was mentioned but my scratchbox/ARM
 installation ships with gcc-3.3.4.

 Since it boots almost completly up I can't really imagine whats wrong
 or missing - maybe it can't insert modules it needs to startup X or
 something like that.

Often the reboot cycle is from some application deemed as Truly
Needed(tm) dying (at which point the failsafe mechanism boots).
Without dedicated devices the recovery could be tricky, but one can
try with setting the 'no-lifeguard-reset' rd flag[1] with flasher and
praying it will boot up to having a GUI (or if installed, sshd)
available for debugging.

AFAIK, you need to use gcc3.4, I've succesfully compiled a kernel for
the 770 with the

  arm-linux-gcc3.4.cs-glibc2.3

toolchain (with wlan working etc), so it indeed could be that the
kernel fails to load some modules and someone gets confused over it.

[1] Described here for example:
http://www.dillernet.com/apple/2006/01/21/booting-einstein-on-the-770/

--
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] How large may the kernel-image be?

2006-02-28 Thread Peter.Hagg
Oh my, FC4... Now I understand. ;-)

Hate to say this, but you're pretty much on your own when it comes to 
Scratchbox on FC3/4 boxes. You should seriously consider a Debian -based system 
if you want to do serious Maemo hacking.

The requirement for the kernel how-to is a working maemo 1.1 installation. I 
honestly wouldn't bet any money on getting a working kernel compiled with maemo 
1.0, FC3/4 and a kernel image which is part of maemo 1.1. But, good luck, if 
this is the way you want to go ;-)

Regards, 

- Pete -


-Original Message-
From: Clemens Eisserer [mailto:[EMAIL PROTECTED]
Sent: Tue 2/28/2006 11:28 AM
To: Hagg Peter; maemo-developers@maemo.org
Subject: Re: [maemo-developers] How large may the kernel-image be?
 
Hi again,

Thanks a lot for all your patience with me :)

  you need maemo 1.1, and preferably the latest 0.9.8 series Scratchbo
I use maemo-1.0 image with gcc-3.3.4 and scratchbox-0.9.8.5; however
setup is as problematic as always. I was never able to get something
done as described in teh FAQs, I always had to use custom hacks and
tricks on my FC4 boxes - very frustrating!

Ahh, that could be the reason - I used gcc-3.3.4 :-/

 This piece of documentation describes the necessary setup and recompilation 
 procedure.
Yes of course I did, but this howto doesn't work as all other manuals
don't work.
It start with the install script which does not work, then I had to
change permissions of one file in scratchbox - otherwise my user would
not have the possibility to log in (although i ran run-me-first.sh)
and so on and so on...
I ended up downloading the kernel-source package by hand and loading
the n770defconf by make menuconfig which worked fine :)

Thanks again, lg Clemens

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Maemo 1.1 Debian repository updates

2006-02-09 Thread Peter.Hagg
Hi, 

I have had the upgrade working both in office and at home. Can you access the 
repository with your browser? Try this by pointing your browser at: 
http://repository.maemo.org/pool/maemo1.1/ 

If you cannot access it with your browser, then please check your internet 
connection.


Regards, 

- Pete - 

-Original Message-
From: [EMAIL PROTECTED] on behalf of Luca Donaggio
Sent: Thu 2/9/2006 11:18 AM
To: maemo-developers@maemo.org
Subject: Re: [maemo-developers] Maemo 1.1 Debian repository updates
 
2006/2/8, [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Hi,

 the following Debian packages have been updated in maemo1.1 repository:

 * gtk-doc-tools (to 1.3-4)
 * sgml-data (to 2.0.3)

 The following Debian package was added:

 * docbook-xml (2.0.3)

 This update was done due to gtk-doc-tools being too old for current needs.
 In order to upgrade your 1.1 rootstraps, issue the following for both
 Scratchbox targets:

 $ apt-get update; fakeroot apt-get dist-upgrade


 Happy hacking,

 - Pete -
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers



I got this error message:

[sbox-SDK_PC: ~]  apt-get update; fakeroot apt-get dist-upgrade
Err http://repository.maemo.org maemo1.1/free Packages
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/free Release
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/non-free Packages
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/non-free Release
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/free Sources
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/free Release
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/non-free Sources
  Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org maemo1.1/non-free Release
  Temporary failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/free/binary-i386/Packages.gz
Temporary failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/free/binary-i386/Release
Temporary failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/non-free/binary-i386/Packages.gz
Temporary failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/non-free/binary-i386/Release
Temporary failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/free/source/Sources.gz  Temporary
failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/free/source/Release  Temporary
failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/non-free/source/Sources.gz
Temporary failure resolving 'repository.maemo.org'
Failed to fetch
http://repository.maemo.org/dists/maemo1.1/non-free/source/Release
Temporary failure resolving 'repository.maemo.org'
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones
used instead.
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I've been trying from yesterday, but with no succes till now :-(

Luca Donaggio

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Maemo 1.1 Debian repository updates

2006-02-08 Thread Peter.Hagg
Hi, 

the following Debian packages have been updated in maemo1.1 repository:

 * gtk-doc-tools (to 1.3-4)
 * sgml-data (to 2.0.3)

The following Debian package was added:

 * docbook-xml (2.0.3)

This update was done due to gtk-doc-tools being too old for current needs. In 
order to upgrade your 1.1 rootstraps, issue the following for both Scratchbox 
targets:

 $ apt-get update; fakeroot apt-get dist-upgrade


Happy hacking, 

- Pete -
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] SQLite installation

2006-02-07 Thread Peter.Hagg
Hi, 

it seems that you're trying to install an osso-application-installer package. 
You can't do that with dpkg from the command line on the 770. Instead, use 
app-installer-tool, like this:

 Nokia770:/# app-installer-tool install sqlite_3.2.7_arm.deb

Did you check the error messages when trying to install the package with the 
application installer in control panel (there's a button for this)? If so, what 
did it report as the error?


Regards, 

- Pete -

-Original Message-
From: [EMAIL PROTECTED] on behalf of Steven Hill
Sent: Tue 2/7/2006 10:26 PM
To: maemo-developers@maemo.org
Subject: [maemo-developers] SQLite installation
 
Can anyone tell me how SQLite should be installed on the Nokia 770? I
first installed it using the package installer in the control panel, but
then typing sqlite3 in Xterm (as suggested in the library section in
the Wiki) did not work.  So I removed it, again using the control panel
app, and installed it from the root after signing in as root using SSH,
but then I got the following:

Nokia770:/# dpkg -i sqlite_3.2.7_arm.deb
Selecting previously deselected package sqlite.
(Reading database ... 5689 files and directories currently installed.)
Unpacking sqlite (from sqlite_3.2.7_arm.deb) ...
dpkg: dependency problems prevent configuration of sqlite:
 sqlite depends on maemo; however:
  Package maemo is not installed.
dpkg: error processing sqlite (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 sqlite

But it does seem to be installed, as is shown in the next output:

Nokia770:/# sqlite3
SQLite version 3.2.7
Enter .help for instructions
sqlite .q

Can anyone tell me if this last way of installing SQLite is the correct
way, in spite of the error messages?



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Re: email source code available

2006-01-23 Thread Peter.Hagg
Hi, 

the SDK doesn't contain osso-icons, osso-default-theme. Use sdk-default-theme, 
sdk-default-theme-config, and sdk-default-icons instead. 

Please note that osso-memory-backend binary and source debian packages are now 
available in maemo1.1 repository. Just do an 'apt-get update; fakeroot apt-get 
install osso-memory-backend' and you should be OK after that.

The rest of the runtime dependencies you're mentioning below are unfortunately 
not available. 

Regards, 

- Pete -


-Original Message-
From: [EMAIL PROTECTED] on behalf of Antti P Miettinen
Sent: Mon 1/23/2006 4:55 PM
To: maemo-developers@maemo.org
Subject: [maemo-developers] Re: email source code available
 
 - osso-memory-backend

 This is provided by 'gtkfilesystemmemory' source package.
 https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtkfilesystemmemory/

OK - with the osso-memory-backend installed I can compile the
osso-email package. So the rest of the dependencies are not critical?

What about the runtime dependencies:

dpkg: dependency problems prevent configuration of osso-email-ui:
 osso-email-ui depends on osso-icons-theme; however:
  Package osso-icons-theme is not installed.

and

dpkg: dependency problems prevent configuration of osso-email:
 osso-email depends on osso-email-ui; however:
  Package osso-email-ui is not configured yet.
 osso-email depends on hildon-task-navigator-mail (= 0.8.9-6); however:
  Package hildon-task-navigator-mail is not installed.
 osso-email depends on osso-email-search-plugin (= 0.1.4); however:
  Package osso-email-search-plugin is not installed.
 osso-email depends on osso-contacts-search-plugin (= 0.1.3); however:
  Package osso-contacts-search-plugin is not installed.

So, seems that these are also somehow related:

- osso-icons-theme
- hildon-task-navigator-mail
- osso-email-search-plugin
- osso-contacts-search-plugin

But not critical? I just removed the dependencies from debian/control
and now I can install and launch the email app. Lets see if I can
debug it.. :-)

-- 
http://www.iki.fi/~ananaza/

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Missing control panel

2006-01-16 Thread Peter.Hagg
Hi, 

there are issues with QEMU on Red Hat. However, this should affect the ARM 
rootstrap only, so there was probably something else wrong with the 
environment. Out of curiousity: did you try to re-install the rootstrap? Also, 
make sure you run the right rootstrap inside the right Scratchbox target. 
Installing an i386 rootstrap on an ARM target is usually a bad idea, but 
possible ;-)

Tip of the day: Maemo development on Debian-based systems is highly recommended 
;-)

Regards, 

- Pete - 

-Original Message-
From: [EMAIL PROTECTED] on behalf of Matti Reijonen
Sent: Mon 1/16/2006 3:57 PM
To: Hagg Peter; maemo-developers@maemo.org
Subject: RE: [maemo-developers] Missing control panel
 
Hello,

I decided to go other way and installed Ubuntu, I was previously using Red Hat,
now control panel and also everything else (I had also trouble with 
app-installer..)
seems to be working fine. It just seems that maemo sdk works much better 
with Ubuntu..
I dont know what was the problem,.. but
..anyway, thanks for your help.

   - Matti
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] compiling kernel Re: Fwd: [maemo-users] howtouse the 770 as wlan-card replacement?

2006-01-13 Thread Peter.Hagg
Hi, 

check out the kernel compilation how-to that was added to maemowiki yesterday 
[1]. Regarding the problem you're having, it strongly sounds like your initfs 
is not in sync with your kernel image. Please note that the instructions assume 
you are using the 1.1 final release (published yesterdat) and have 3.2005.51-13 
installed on your device, as these two are compatible.

Regards, 

- Pete -


[1] http://www.maemo.org/maemowiki/HowTo_KernelCompilation
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Delitsyn Igor
Sent: 13. tammikuuta 2006 12:45
To: maemo-developers@maemo.org
Subject: Re: [maemo-developers] compiling kernel Re: Fwd: [maemo-users] 
howtouse the 770 as wlan-card replacement?

Hi,

I´ve compiled the kernel exactly like Clemens said and I´ve also used ´make 
n770_defconfig´ like Ed proposed. Then I´ve used flasher to flash the kernel. 
The problem is, in both cases the kernel works, the system starts loading and 
just before the actual start it hangs and after a while the device restarts. 
If I flash the original kernel extracted from FIASCO image back to the device, 
it works just fine. Do you have any ideas on how to fix the problem?

Best regards,
Igor

Ed Bartosh wrote:

 On Wed, 2006-01-04 at 10:10, ext Frantisek Dufka wrote:
 Clemens Eisserer wrote:
   I   don't feel that comfortable with compiling my own kernel
  with all the nokia patches for this exotic device ;)
 
 It is not so hard. N770 specific kernel sources are here 
 http://repository.maemo.org/pool/maemo1.1rc6/free/k/kernel-source-2.6
 .12.3/
 original kernel config is here
 http://maemo.org/maemowiki/KernelConfig
 
 You just need to unpack/install it, copy kernel config to .config and 
 do usual 'make oldconfig; make menuconfig; make'

 I'd suggest to just 'make n770_defconfig' instead of copypaste config 
 from wiki.

 --
 Best regards,
 Ed
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] compiling kernel Re: Fwd:[maemo-users] howtouse the 770 as wlan-card replacement?

2006-01-13 Thread Peter.Hagg
Hi, 

I'm not very proud of the section regarding modules in the how-to. I
wanted to mention the module issue so that people wouldn't get confused,
seemingly failing doing that :)

This how-to was something I wrote in quite a haste due to time
constraints and therefore had to limit the scope. However, this is a
wiki page and everyone is welcome to make the page a better one.

Regards, 

- Pete -

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frantisek Dufka
Sent: 13. tammikuuta 2006 15:17
To: Hagg Peter
Cc: maemo-developers@maemo.org
Subject: Re: [maemo-developers] compiling kernel Re: Fwd:[maemo-users]
howtouse the 770 as wlan-card replacement?

the howto is good but the part 'Compiling Modules' is confusing. It
looks like you are suggesting to put everything in kernel because
modules cannot be compiled.

Modules _can_ be compiled and _do_ work and IMHO using modules is better
way for adding functionality then introducing bloat into kernel and
possibly bricking device (flashing an oversized kernel image renders
the device useless). Also you can tell power users to install modules
for your SW if it is needed but you can hardly expect them to flash your
kernel with your specific setup.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] using execl

2005-12-15 Thread Peter.Hagg
-Original Message-
From: [EMAIL PROTECTED] on behalf of Brad Burleson
Sent: Thu 12/15/2005 10:28 AM
To: maemo-developers@maemo.org
Subject: [maemo-developers] using execl
 
Any tips on how to execute a shell script (or any binary) from a maemo
application?

   Hi Brad, 

   you could use any of the GLib g_spawn_* functions [1]. For an example, see 
current osso-application-installer [2]. It uses this approach to call 
app-installer-tool.

   Regards, 

   - Pete -

   [1] http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html
   [2] check Maemo 1.1rc7 debian source package for osso-application-installer 
(src/core.c), not subversion as this code seems to be the rewrite of the 
current AI
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Making AI installed components work in sbox

2005-12-07 Thread Peter.Hagg
Hi, 

 since 1.1rc6 there has been a bug which prevents running components installed 
with application installer in the Scratchbox environment. This is an especially 
nasty bug if you're developing Home plugins. 

 The problem basically boils down to AI environment variables not being 
properly sourced. By running 'source 
/etc/osso-af-init/osso-application-installer-defs' before 'af-sb-init.sh 
start', everything works fine. 

 There is a patch available for fixing this problem in Maemo bugzilla. For more 
info on the bug and the patch, please see 
https://maemo.org/bugzilla/show_bug.cgi?id=245

Regards, 

- Pete -



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Re: Launching GUI error

2005-11-21 Thread Peter.Hagg
Hi guys, 

please note that the default locale issue is fixed in 1.1 rc6. 

Instructions on how to upgrade your environment to use rc6 can be found here: 
http://www.maemo.org/maemowiki/HowTo_DistUpgrade

Regards, 

- Pete -


-Original Message-
From: [EMAIL PROTECTED] on behalf of wang baisheng
Sent: Tue 11/22/2005 7:24 AM
To: maemo-developers@maemo.org
Subject: Re: [maemo-developers] Re: Launching GUI error
 

If the applications including the home can't find the exact local resource, 
try:
export LANGUAGE=en_GB
export LANG=en_GB


? 2005?11?22? ??? 11:04,mr.wilson ??:
 unset LC_ALL
 export LANG=en_GB
 export LC_MESSAGES=en_GB

 Type this in at the prompt [sbox-SDK_PC: ~]

 Bug 58 on Maemo Bugzilla

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers