![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Well, I think it is easier to take John's defconfig and overwrite the one in the arch/arm/configs. Then recompile the kernel. and try this step again.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have taken John's defconfig and re-ran these:
Code:
source build/envsetup.shCode:
:30:26: fatal error: mach/msm_rtb.h: No such file or directory |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
John added many commits to the normal cm12.1 kernel, that is why his defconfig does not work.
I would stay with stock cm12.1 kernel and see if everything works in Sailfish, because you do not know what and why John added some commits and maybe they are not necessary anymore... But if you want to try his kernel, kernel download is only around 300MB ;) Just go through the list of mer kernel check and make the changes to your defconfig. The necessary options can be found here: https://github.com/mer-hybris/mer-ke...el_config#L196 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Okay. Rather than downloading the whole again, I only wanted to download John's kernel.
So, I changed the local manifest to point to John's kernel (into hybris-12.1 branch) and deleted the kernel folder in the android tree. Then I ran the 'repo sync --fetch-submodules' expecting it to download the kernel into the kernel subfolder. Instead of that, it gave me an error saying the branch 'hybris-12.1' doesn't exist. :mad: Finally, I manually created the kernel/lge/hammerhead folders and manually cloned (git clone) John's kernel into it. The kernel compiled fine with less warning. So far so good. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
But all of these were only warning, the error was somewhere else. So, I am going back to use the cm-12.1 kernel. Then trying to fix the error that I got during the rpm packaging. It looks like the problem is with the adaptation0 repo. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Now, I am back on kernel cm-12.1 and it compiled, passed the mer-chek. My scratchbox2 still works (compiles and runs the 'Hello World!' test program.) I re-ran the 'rpm/dhd/helpers/build_packages.sh' and got the same error. Now I am trying to fix this.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
You need to refresh the repositories in sb2.
Code:
sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper ref --force |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Thank you for the link to the defconfig mer-kernel-check! It helped a lot! :D Edit: It warned me when I re-compiled/ran the 'Hello world!' but it worked. But that time the kernel was the same. Now I changed some configs and recompiled so definitely need to refresh. ;) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Good work.
Sorry, i've misread the eror message, the packages do not need to be updated, there seems to be another problem. Try to ignore it and see if the build_packages script does its job. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
| All times are GMT. The time now is 05:23. |
vBulletin® Version 3.8.8