Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Introducing ubiboot N9 (multiboot OS loader)

    Reply
    Page 120 of 140 | Prev | 110   118     119   120   121     122   130 | Next | Last
    pasko | # 1191 | 2014-04-16, 06:53 | Report

    Hi.
    O.K. I think I got it all.

    I'll try first disabling the watchdogs and if it doesn't work I'll go for the compile option.
    I remember recompiling some years ago the software for my WiFi router....
    From what you explained, the kernel for sailfish is OpenSource?

    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 1192 | 2014-04-16, 07:31 | Report

    Originally Posted by pasko View Post
    Hi.
    O.K. I think I got it all.

    I'll try first disabling the watchdogs and if it doesn't work I'll go for the compile option.
    I remember recompiling some years ago the software for my WiFi router....
    From what you explained, the kernel for sailfish is OpenSource?
    Yes, all that you need is open source. What you need is the kernel sources, I'd have to check what is the latest version of the Nemo kernel build tree and what is the correct config to use.

    To compile, you'll need to install gcc-arm-linux-gnueabi package to your distribution (I use version 4.6.3)
    Then, just patch your configuration, and configure and make the kernel (and also make the modules if you are building another version that what you already have on your FS image...):
    ARCH=arm make n9_mer_defconfig // <-- if that is the correct config file...
    ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make
    ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make modules
    ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=. make modules_install

    And finally, copy the modules to your FS (if you needed to make them) and flash the kernel just as you would flash any normal Open Mode kernel for Harmattan, and you are ready to go

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to juiceme For This Useful Post:
    pasko

     
    pasko | # 1193 | 2014-04-16, 21:43 | Report

    Hi.

    I've spent all night just to be at the same point I was yesterday (I screwed something and had to start from scratch) and then being able to enable the R&D mode..... and nothing happened.
    This means we'll have to go via the compiling option, but this will be next week.

    I'm going to spend a few days with spare internet access for Easter Holiday.

    Thank you.
    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pasko | # 1194 | 2014-04-16, 22:11 | Report

    Hi.
    Before I go to sleep I would like to ask:

    1.- Which Linaro packages do I need to install in Ubuntu 12.04 just to be able to build the kernel?
    2.- Where can I get the sources for the Sailfish kernel?

    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 1195 | 2014-04-17, 09:54 | Report

    Originally Posted by pasko View Post
    Hi.
    Before I go to sleep I would like to ask:

    1.- Which Linaro packages do I need to install in Ubuntu 12.04 just to be able to build the kernel?
    gcc-arm-linux-gnueabi and build-essential are enough.


    Originally Posted by pasko View Post
    2.- Where can I get the sources for the Sailfish kernel?
    Well, the kernel is some Mer/Nemo kernel, and I could not find the sources for the exact version. However, I got kernel-adaptation-n950-n9-mer-n9-2.6.32-20121301 and am now building that, to try if it works with SailfisOS.
    I'll report back when I have tested it.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to juiceme For This Useful Post:
    pasko

     
    pasko | # 1196 | 2014-04-17, 10:33 | Report

    Hi.
    Thank you again.
    I will try it later when I'm back.
    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 1197 | 2014-04-17, 10:55 | Report

    As it happens, kernel-adaptation-n950-n9-mer-n9-2.6.32-2012130 seems to work nice on my device.

    Would you like me to build you a version that hardboots from partition 4? (that is capable to be flashed directly to device, no ubiboot required...)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 1198 | 2014-04-17, 11:43 | Report

    Damn, just noticed that this branch is a bit older, to does not have the option CONFIG_CMDLINE_OVERRIDE available...

    What this means is I need to either update to more recent source tree or patch the command line selection code to the current tree.

    Anyway I cannot finish it now, I'll have to continue later.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    pasko | # 1199 | 2014-04-18, 14:03 | Report

    Hi.
    Will this mean that the modules should be also recompiled? If so, the flashed image is no longer valid..
    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    juiceme | # 1200 | 2014-04-18, 15:38 | Report

    Originally Posted by pasko View Post
    Hi.
    Will this mean that the modules should be also recompiled? If so, the flashed image is no longer valid..
    Regards.
    Yes, you need both modules and the kernel.
    However, nothing in the world is simpler than putting the new modules in, you just need to boot the device with ubiboot (just as you did when you untarred the FS originally there) and then copy the modules under the /lib/modules/<whatever_version>/ directory on your SailfishOS partition.

    BTW, you do not need to flash ubiboot permanently to device, it it enough to use flasher to run it, just as you do when for example running maintanance kernel for malf-repairing.

    Also, I just got near a computer, so when I get some time maybe today, I'll patch the CONFIG_CMDLINE_OVERRIDE option to my sources and recompile it (and modules) for you.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 120 of 140 | Prev | 110   118     119   120   121     122   130 | Next | Last
vBulletin® Version 3.8.8
Normal Logout