[maemo-developers] Kernel issues on Nokia 770
Hi guys, I've already tried to get help from you here on my issues but there has been no answer so I guessed that my previous message was a bit messy and contained an excess information to be posted on this mailing list. So now very concretely my questions are: 1) Has anyone ever been making a kernel package for the Nokia 770 which can be installed there with Application Installer rather than deploying 'zImage' of new kernel onto the device? 2) Is it accomplishable at all to have a few kernel images on the Nokia at the same time and choose one using a boot loader as it usually happens with normal Linux mashines? -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
1) Has anyone ever been making a kernel package for the Nokia 770 which can be installed there with Application Installer rather than deploying 'zImage' of new kernel onto the device? Probably not. It is not straightforward at all, maybe even imposible. You would definitely need root privileges for messing with MTD (flash) partitions. 2) Is it accomplishable at all to have a few kernel images on the Nokia at the same time and choose one using a boot loader as it usually happens with normal Linux mashines? I think it can be done but not easily. The bootloader canot choose between multiple kernels and there is not space dedicated to multiple kernels. One solution is kexec http://www-128.ibm.com/developerworks/linux/library/l-kexec.html BTW, please do not cross post to multiple list, just pick one randomly :-) It is hard to track mutliple replies going to multiple lists. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
RE: [maemo-developers] Kernel issues on Nokia 770
1) For using the application installer, all files will be written to under the /var/lib/install directory. The application installer tools is like dpkg --force-not-root --root=/var/lib/install --install package.deb It is unless you want the kernel image to be placed there, at least I wouldn't do that. http://www.maemo.org/platform/docs/howtos/howto_making_an_application_pa ckage.html 2) I wonder, if some boot loader works for Nokia 770 as well!! Yours faithfully, Alvis Koon ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
Frantisek Dufka wrote: One solution is kexec http://www-128.ibm.com/developerworks/linux/library/l-kexec.html There even seems to be something done for ARM http://lists.osdl.org/pipermail/fastboot/2005-March/001290.html It is probably true that the idea is not very practical for end users on N770 but it may be a bit useful for developers. Please note that you _can_ load different kernel then the one currently present in flash. But you need to use PC and linux flasher - 'flasher -l -b -k zImage'. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
Thank you for your rapid answer! Frantisek Dufka wrote: 1) Has anyone ever been making a kernel package for the Nokia 770 which can be installed there with Application Installer rather than deploying 'zImage' of new kernel onto the device? Probably not. It is not straightforward at all, maybe even imposible. You would definitely need root privileges for messing with MTD (flash) partitions. That's pity. The reason for I'd like to have a possibilty to create such a package is that I'd like to provide end users with new kernel which is needed to support our applications for the Nokia 770. Kernel compilation procedure it's not straightforward itself so that would be nice to let those people use our kernel. But as it seems to be the only way is to make 'zImage' available for them. 2) Is it accomplishable at all to have a few kernel images on the Nokia at the same time and choose one using a boot loader as it usually happens with normal Linux mashines? I think it can be done but not easily. The bootloader canot choose between multiple kernels and there is not space dedicated to multiple kernels. One solution is kexec http://www-128.ibm.com/developerworks/linux/library/l-kexec.html Will investigate it. BTW, please do not cross post to multiple list, just pick one randomly :-) It is hard to track mutliple replies going to multiple lists. You're right! Won't do it anymore. Sorry as it was done just thoughtlessly :) Frantisek -- Andrey Khurri, Researcher Helsinki Institute for Information Technology (HIIT) Tel: +358 50 384 1510 Fax: +358 9 694 9768 [EMAIL PROTECTED] ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
Andrey Khurri wrote: Kernel compilation procedure it's not straightforward itself so that would be nice to let those people use our kernel. But as it seems to be the only way is to make 'zImage' available for them. Well, you can give them kernel binary but they currently need to flash it themselves from linux. Advanced windows flasher would be useful for this. Anyone have time to find out parameters of that flasher.dll that comes with windows update wizard? The names of methods are promising [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Also the next OS version may make it easier. There won't be sandbox and root access will be easier so in theory it is possible to make such package. But messing with /dev/mtd2 (kernel partition) may be a bit dangerous from the device itself. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
Andrey Khurri [EMAIL PROTECTED] writes: That's pity. The reason for I'd like to have a possibilty to create such a package is that I'd like to provide end users with new kernel which is needed to support our applications for the Nokia 770. I don't want to discourage you, but the Linux kernel is a (rapidly) moving target, so any software relying on its internals will be very expensive in terms of support (or it won't last long). Can't you achieve whatever you want to do in any other way? Or, at least, using kernel modules? Cheers, Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] libcairo in maemo
Am Montag, 15. Mai 2006 07:37 schrieb Kalle Vahlman: On 5/14/06, Hans J. Koch [EMAIL PROTECTED] wrote: Hi, I'd like to write an application that uses libcairo. To make it clearer, I want to use libcairo directly, I don't need GTK with libcairo support! Did anybody compile libcairo for the 770? Is it possible? Any other hints? Cairo can be compiled in the SDK quite well. It just doesn't perform all that well on the device. I tested it a bit some time ago, and didn't get too engouraging results. Hi Kalle, thanks for your report. Yes, I didn't expect much. The 770 has no FPU, and libcairo seems to do lots of floating point arithmetics. But my app will render an image in the background and is not time critical, so this is not my major concern. I'll give it a try. My benchmarking app was not too optimized though, and I now am pretty sure it didn't relfect the actual Cairo performance so I think it's worth a shot to try it. I'm mainly interested in cairo's quality and abilities, and I want my app to be portable. Specially since the latest Cairo should perform much better than the one I tested it with. Well, I'll see... It all depends how performance-critical your app is really. Not at all, as I said. Thanks again for your hints. Hans ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] pygame -- problems with initializing screen display
hello all - thanks for the supportive community. having issues with pygame on my nokia 770: Nokia770-51:/home/user# python2.4 ballbounce.py Traceback (most recent call last): File ballbounce.py, line 8, in ? screen = pygame.display.set_mode(size) pygame.error: No video mode large enough for 320x240 i was having this error earlier on -- it doesnt like setting the screen size! even if it's very obviously small, like 10 x 10 pixels, or the fully correct res, 800 x 480. strange. import sys, pygame pygame.init() size = width, height = 320, 240 screen = pygame.display.set_mode(size) [it doesnt like the line above) this also happens in the interactive (with test code from http://pymaemo.sourceforge.net/cgi-bin/moin.cgi/) import pygame pygame.init() (5, 0) --- this returns (numpass, numfail) pygame.display.set_mode((800,480)) Traceback (most recent call last): File stdin, line 1, in ? pygame.error: No video mode large enough for 800x480 help? also, i installed PIL, but i do not have XV and am having problems compiling packages. if someone could help, i'd be so grateful! once i get pygame rolling i will be all set. and HAPPY. thank you! :) best, christine ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] pygame -- problems with initializing screen display
On 5/15/06, Christine Liu [EMAIL PROTECTED] wrote: hello all - thanks for the supportive community. having issues with pygame on my nokia 770: Nokia770-51:/home/user# python2.4 ballbounce.py Traceback (most recent call last): File ballbounce.py, line 8, in ? screen = pygame.display.set_mode(size) pygame.error: No video mode large enough for 320x240 i was having this error earlier on -- it doesnt like setting the screen size! even if it's very obviously small, like 10 x 10 pixels, or the fully correct res, 800 x 480. strange. Not at all strange, since http://maemo.org/maemowiki/GameDevelopment states that The screen is natively 800x480. No resolution changes are supported. Maybe in the future we might have support for 400x240 res for faster graphics but this is quite unlikely. If trying to set fullscreen window smaller than the native screen size, you will just have black borders. So the options are to either leave the edges there or scale the game up to 800x480. -- 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