Re: Kernel compilation
On Tuesday 22 January 2013 11:02:04 Sébastien NOBILI wrote: Hi, I recently got an old N770 tablet. It works correctly with OS2005 version of Maemo. I installed OS2008-HE, which is also working quite correctly (I have an issue with WiFi but I'll address it later). My plans with this machine is to upgrade it to a Debian distro (I'm quite comfortable with Debian). Before this can be achieved, I need to install a recent kernel on the N770. The current Debian stable kernel is 2.6.32. I installed a cross-compiling environment (scratchbox2) on my PC and compiled the 2.6.32 kernel for the N770. I have a zImage that I can flash on the device. I compiled my kernel with the following commands: sb2 make n770_defconfig sb2 make zImage sb2 make modules I've flashed the kernel, modified the initfs to include 2.6.32 modules and tried to boot, but it fails. I have the Nokia splash screen for around 20 seconds, then the device halts. I enabled RD mode, expecting messages to be displayed on spash screen, but no message is printed. I guess the kernel is not even loaded. Is it possible to have a vanilla kernel working on such a device (I guess so) ? Are there any specific steps I should have run to have my kernel working (bootloader stuff, etc.) ? Did I miss something (I also guess so) and what ? Are there (for testing purpose) any ready-to-use recent kernel images for N770 ? Thanks. Sébastien Hello, Maemo systems needs its own patched kernel by Nokia. Prior N900 device kernels contains some close source kernel drivers which working only on some specified kernel versions. So upstream kernels will propably not work with Maemo. If you want to use another linux distribution you propably want to try use patched Nokia kernel which working. But if your distribution depends on some new version, then you have problem. Upstream kernels does not have proper support for Nokia devices. More drivers missing and other does not working correctly. Also there is no support for watchdogs (for 770/N8x0) in upstream kernels, so you get instant reboot after few seconds. You can try to look at meego/mer/nemo team. They have some updated kernels for N8x0, so maybe you find something for 770 too. Btw, for testing kernels, do not flash it into device, rather load it. Nokia flasher has option for it (-l) which load kernel+initfs images via usb and then run it without flashing. 0x flasher has this option too. And do you really want to have Debian on Nokia 770? Maemo is Debian like distribution, so you have dpkg/apt-get on device and you can compile and install deb packages without problem. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Kernel compilation
Thanks for your quick answer. Le mardi 22 janvier 2013 à 11:40, Pali Rohár a écrit : Maemo systems needs its own patched kernel by Nokia. Prior N900 device kernels contains some close source kernel drivers which working only on some specified kernel versions. So upstream kernels will propably not work with Maemo. Bad news… If you want to use another linux distribution you propably want to try use patched Nokia kernel which working. But if your distribution depends on some new version, then you have problem. Upstream kernels does not have proper support for Nokia devices. More drivers missing and other does not working correctly. Also there is no support for watchdogs (for 770/N8x0) in upstream kernels, so you get instant reboot after few seconds. That's the problem I have. I installed a small Debian system in a directory and tried to chroot to it, which failed because kernel (2.6.16 in 0S2006) is too old. You can try to look at meego/mer/nemo team. They have some updated kernels for N8x0, so maybe you find something for 770 too. I had a look to MER project but quickly gave up because RPM-based. I'm comfortable with Debian-based systems, but not that much with Red-Hat-based ones. I'll try to extract a kernel from one of these MER images and hope it works ! Btw, for testing kernels, do not flash it into device, rather load it. Nokia flasher has option for it (-l) which load kernel+initfs images via usb and then run it without flashing. 0x flasher has this option too. Yes, that's the way I'm doing it, thanks for the advice. And do you really want to have Debian on Nokia 770? Maemo is Debian like distribution, so you have dpkg/apt-get on device and you can compile and install deb packages without problem. Not that much, what I want is a free system (at least as free as it can be) with security-related updates, which is no more possible with Maemo on n770. I'll go deeper in MER project images and post feedback later to this list. Thanks. Sébastien ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Kernel Compilation for N800
This may be a little out of date. You should try this one: http://maemo.org/development/documentation/how-tos/4-0-x/kernel_guide_for_maemo.html On Fri, Jul 4, 2008 at 2:06 PM, nisha jain [EMAIL PROTECTED] wrote: Hi All, I need to do kernel compilation for N800 for proper serial mode. While following steps given in link http://maemo.org/community/wiki/howto_kernelcompilation/ I am not able to execute the first command itself sbox-config -ct MAEMO_KERNEL it gives following error -- [sbox-CHINOOK_ARMEL: /] sbox-config -ct MAEMO_KERNEL sbox-config is obsolete; it has been replaced by these commands: sb-menu- interactive dialog-based interface (recommended) sb-conf- low-level command-line interface I checked command is in /scratchbox/tools/bin folder also I don't understand from where to run this command from and what does it mean I am not sure where to look through to proceed... I searched in maemo list not able to find much useful information. Please can some one can provide some information? Regards, Nisha ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
Any other ideas on what might be going wrong? I am able to use the toolchain to build standalone apps, but building the kernel does not seem to work. Is there a way to determine what is causing the error? - Bryan Luca Donaggio wrote: On Nov 16, 2007 3:33 PM, Bryan Kate [EMAIL PROTECTED] wrote: Is there a way to upgrade my N800 to OS 2008? Otherwise I am still using bora. - Bryan Terje Bergström wrote: On 11/16/07, *Bryan Kate* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers Yes, there is: http://www.news.com/8301-10784_3-9816300-7.html?tag=nefd.only Or you can just wait a little bit more for the official firmware upgrade ;-) ! Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
This seems to work if I compile from within an Ubuntu install on a VM using VMWare, but after installing scratchbox, maemo SDK, and Nokia binaries to a native Fedora system I get the errors I wrote about previously. Is there any reason why this would work well from Ubuntu but not Fedora if the install scripts all worked correctly? - Bryan Bryan Kate wrote: Any other ideas on what might be going wrong? I am able to use the toolchain to build standalone apps, but building the kernel does not seem to work. Is there a way to determine what is causing the error? - Bryan Luca Donaggio wrote: On Nov 16, 2007 3:33 PM, Bryan Kate [EMAIL PROTECTED] wrote: Is there a way to upgrade my N800 to OS 2008? Otherwise I am still using bora. - Bryan Terje Bergström wrote: On 11/16/07, *Bryan Kate* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers Yes, there is: http://www.news.com/8301-10784_3-9816300-7.html?tag=nefd.only Or you can just wait a little bit more for the official firmware upgrade ;-) ! Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
Is there a way to upgrade my N800 to OS 2008? Otherwise I am still using bora. - Bryan Terje Bergström wrote: On 11/16/07, *Bryan Kate* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
On Nov 16, 2007 3:33 PM, Bryan Kate [EMAIL PROTECTED] wrote: Is there a way to upgrade my N800 to OS 2008? Otherwise I am still using bora. - Bryan Terje Bergström wrote: On 11/16/07, *Bryan Kate* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers Yes, there is: http://www.news.com/8301-10784_3-9816300-7.html?tag=nefd.only Or you can just wait a little bit more for the official firmware upgrade ;-) ! Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
Thanks! I will get the official version next month, but I am trying to use this for a course project, so time is of the essence. Hopefully I will not run into the same problems as the bora release. I still don't know why I got those error messages - I had a working 3.2 SDK... - Bryan Luca Donaggio wrote: On Nov 16, 2007 3:33 PM, Bryan Kate [EMAIL PROTECTED] wrote: Is there a way to upgrade my N800 to OS 2008? Otherwise I am still using bora. - Bryan Terje Bergström wrote: On 11/16/07, *Bryan Kate* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers Yes, there is: http://www.news.com/8301-10784_3-9816300-7.html?tag=nefd.only Or you can just wait a little bit more for the official firmware upgrade ;-) ! Luca Donaggio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
On 11/16/07, Bryan Kate [EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: kernel compilation help
Hello, I didn't try this yet, but I have doing this in the previous version, 3.1 and I could use the wifi following the instructions in the early guide, but since I have a particular interesting on having wifi interface working with 4.0, I can't see any instruction about how to compile the wifi driver. Is there a special step that I should follow? Another question: is it possible to have a Linux omap kernel, let's say 2.6.24 (git kernel), rather than 2.6.21 and still have the wifi interface working? Thank you, Leandro On Nov 16, 2007, at 4:08, Terje Bergström [EMAIL PROTECTED] wrote: On 11/16/07, Bryan Kate [EMAIL PROTECTED] wrote: I am new to the maemo, but I have had some success compiling applications in scratchbox. I am looking to recompile the kernel, but when I run make I get an error. There is not much clear information on the net for what might be causing the problem (other than some sort of binary incompatibility of my installed tools). I appreciate any help and apologize if this is a repeat inquiry. Hi, I just published a new version of the kernel guide. Please follow its instructions. http://maemo.org/development/documentation/how-tos/4-x/kernel_guide_for_maemo.html Best regards, Terje ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Kernel compilation (Bora 3.1)
Good catch. Thanks. This will be fixed. -M On Apr 17, 2007, at 7:25 PM, ext Leandro Melo de Sales wrote: Hi, The guide is incorrect. It is necessary to setup the debian devkit, which is not specified in the instructions given by the guide. When it is created the MaemoKernel target the guide author didn't specify the debian devkit. I'll send to maemo guys the parts that are missing. Thank you, Leandro. 2007/4/17, Frantisek Dufka [EMAIL PROTECTED]: Leandro Melo de Sales wrote: Hi all, I'm trying to compile kernel to n800. I followed the instructions in http://www.maemo.org/platform/docs/howtos/ howto_kernel_guide_bora.html, but I can't. After create MaemoKernel target, update the apt repository, I tried to install kernel-source-rx-34 as described in the manual NOt sure what is the problem but try to compile it in normal bora SDK_ARM target if you have one. It may be easier and even save some disk space. From the howto: It is not mandatory to set up a separate target for kernel compilation but in this example we do it in case you have modified your default armel target in some special way. Frantisek ___ 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: Kernel compilation (Bora 3.1)
Hi, The guide is incorrect. It is necessary to setup the debian devkit, which is not specified in the instructions given by the guide. When it is created the MaemoKernel target the guide author didn't specify the debian devkit. I'll send to maemo guys the parts that are missing. Thank you, Leandro. 2007/4/17, Frantisek Dufka [EMAIL PROTECTED]: Leandro Melo de Sales wrote: Hi all, I'm trying to compile kernel to n800. I followed the instructions in http://www.maemo.org/platform/docs/howtos/howto_kernel_guide_bora.html, but I can't. After create MaemoKernel target, update the apt repository, I tried to install kernel-source-rx-34 as described in the manual NOt sure what is the problem but try to compile it in normal bora SDK_ARM target if you have one. It may be easier and even save some disk space. From the howto: It is not mandatory to set up a separate target for kernel compilation but in this example we do it in case you have modified your default armel target in some special way. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Kernel compilation (Bora 3.1)
Leandro Melo de Sales wrote: Hi all, I'm trying to compile kernel to n800. I followed the instructions in http://www.maemo.org/platform/docs/howtos/howto_kernel_guide_bora.html, but I can't. After create MaemoKernel target, update the apt repository, I tried to install kernel-source-rx-34 as described in the manual NOt sure what is the problem but try to compile it in normal bora SDK_ARM target if you have one. It may be easier and even save some disk space. From the howto: It is not mandatory to set up a separate target for kernel compilation but in this example we do it in case you have modified your default armel target in some special way. Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers