UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. 21347
    2
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 0
    • Posts 2
    • Groups 0

    21347

    @21347

    0
    Reputation
    458
    Profile views
    2
    Posts
    1
    Followers
    0
    Following
    Joined
    Last Online

    21347 Unfollow Follow

    Latest posts made by 21347

    • RE: Right combination of sources for Fairphone 2

      @doniks said in Right combination of sources for Fairphone 2:

      But that citation refers to Canonical dropping an effort to port to FP2. The previous poster is talking about the ubports effort.

      Correct - however, with support from Canonical or not, the point where I got stuck, I think, is way before a point where one should talk about "supported" or "not supported" - I guess (and it's really only a guess), that the complaints about "qmi.h" are more likely to point to a wrongly setup build environment (to my limited knowledge, this is part of the kernel, and should be created or symlinked to when building it succeeds).

      Missing libraries may point to a wrongly setup build path, too - or problems with the repo (wrong version / source / tag / server-error whatsoever).

      Flashing the image provided by Marius works, Ubuntu boots up and appears to be quite stable at it's current state, although it's of course not complete. I, however, failed to reproduce even that image, and that's probably not linked to support from canonical. If I have some spare time the next days, I can provide a kind of "log" I wrote when setting up my environment, if it is of any use...

      posted in Porting
      2
      21347
    • Right combination of sources for Fairphone 2

      Hi,

      for quite some time now I try to compile UBPorts for the Fairphone 2, but I don't seem to be smart enought 😉

      There were some syncing errors last days, probably related to server problems at Ubuntu's, but this seemed to work now.

      Here's what I did:

      1. Sync the UBP-Repo as described here: https://wiki.ubports.com/wiki/Building-ubports-source
      2. Clone the Fairphone Device-Description from https://github.com/ubports/android_device_fairphone_fp2.git into device/fairphone-devices7FP2

      So far, so good. What's obviously missing now is the kernel. The sources search for a kernel in kernel/fairphone - I tried with the "official" kernel from the Fairphone Open-Source project at code.fairphone.com, also including the Binary-Blobs from the same site (I put them into vendor/).

      After starting make, it complains about some missing components in device/qcom/common - which are in ubport's git-repo at https://github.com/ubports/android_device_qcom_common.git - but not at the "original" CM-Repo at http://github.com/CyanogenMod/android_device_qcom_common (where this folder is loaded from by Manifest.xml). Make now get's one step further and complains about a missing "dtbToolCM" - which is at the CM-Repo but not at UBPorts'. Ok - annother copy and paste? I gues I took the wrong road quite some time ago now...

      Anyway, compilation seems to work itself through the kernel now, atleast I have a file named "kernel" with about 7MB in "out". Now it's stuck at the shared libraries - I could again try to find some suitable replacement, maybe at code.fairphone.com - however I think I should start over and take the "right" kernel/device/qcom-data etc.
      Somewhere deep in the makefiles theres a statement about the "MSM" kernel - so I also tried with https://github.com/ubports/android_kernel_oneplus_msm8974.git renamed to "fairphone", also no chance of course 😉

      Does someone around here happen to know which route to follow?

      Thank you very much,

      Alex (21347)

      EDIT: I forgott to mention the exact error, it's: make: *** No rule to make target '/home/alex/phablet/out/target/product/FP2/obj/SHARED_LIBRARIES/libcurl_intermediates/export_includes', needed by '/home/alex/phablet/out/target/product/FP2/obj/EXECUTABLES/hs20-osu-client_intermediates/import_includes'. Stop.

      I did now checkout curl from http://code.fairphone.com/gerrit/fp2-dev/platform/external/curl, I'll see where it ends...

      EDIT 2: Ok, after copying curl and libxml from code.fairphone.com and adding the paths to build/core/main.mk they get compiled, now I have qmi.h missing; there's really something wrong here...

      posted in Porting
      2
      21347