• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Stuck at checking kernel configuration.

Scheduled Pinned Locked Moved Porting
9 Posts 3 Posters 697 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Carlo
      last edited by 18 Aug 2021, 16:36

      I can't understand how to check the kernel config and apply the changes as shown as in the Modify the kernel configuration part of the porting guide. I guess it might not be generating since under BUILDDIR/kernel/ folder I cannot find my device. Am I missing something? I am new to the argument of porting so please be kind if this was a trivial question. Thanks!

      L 1 Reply Last reply 18 Aug 2021, 16:47 Reply Quote 0
      • L Offline
        Lakotaubp @Carlo
        last edited by 18 Aug 2021, 16:47

        @carlo Which device are you porting? it might help with an answer, Thanks.

        C 1 Reply Last reply 18 Aug 2021, 16:51 Reply Quote 0
        • C Offline
          Carlo @Lakotaubp
          last edited by 18 Aug 2021, 16:51

          @lakotaubp I get the same error both for nexus 9 and for samsung s4. I initially speculated that it was a nexus 9 related error, maybe due to the manifest or something, but got the same result with the s4.

          1 Reply Last reply Reply Quote 0
          • F Offline
            flohack
            last edited by 19 Aug 2021, 18:23

            Well to get a kernel you have to add it to a local manifest in the halium/devices repo and then let it be set up by the setup script in that repo. Otherwise kernel will be empty, yes πŸ˜‰

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            C 1 Reply Last reply 19 Aug 2021, 19:19 Reply Quote 0
            • C Offline
              Carlo @flohack
              last edited by Carlo 19 Aug 2021, 19:19

              @flohack I have created the repo manifests. For example a rough manifest for jfltexx is

              <?xml version="1.0" encoding="UTF-8"?>
              <manifest>
              <remote name="LineageOS"
                  fetch="https://github.com/LineageOS"
                  revision="los-16.0" />
              <!--Dependencies-->
              <project path="device/samsung/jfltexx" name="android_device_samsung_jfltexx" remote="LineageOS" revision="lineage-16.0" />
              <project path="device/samsung/jf-common" name="android_device_samsung_jf-common" remote="LineageOS" revision="lineage-16.0" />
              </manifest>
              

              I have created it under BUILDDIR/halium/devices/manifests/samsung_jfltexx.xml

              The jf-common line comes from the lineage.dependencies file.

              F 1 Reply Last reply 19 Aug 2021, 19:26 Reply Quote 0
              • F Offline
                flohack @Carlo
                last edited by 19 Aug 2021, 19:26

                @carlo Yes you are missing the kernel in the anifest.

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                C 1 Reply Last reply 19 Aug 2021, 19:46 Reply Quote 0
                • C Offline
                  Carlo @flohack
                  last edited by 19 Aug 2021, 19:46

                  @flohack Ok, thanks, now I understand better. So I will add a line that goes something like:

                  <project path="kernel/samsung/jf" name="android_kernel_samsung_jf" remote="LineageOS" revision="lineage-16.0" />
                  

                  Thanks.

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    flohack
                    last edited by 19 Aug 2021, 21:14

                    You probably want to fork those repos, since you will have to make modifications 100% πŸ˜‰

                    BR

                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                    C 1 Reply Last reply 20 Aug 2021, 06:02 Reply Quote 0
                    • C Offline
                      Carlo @flohack
                      last edited by 20 Aug 2021, 06:02

                      @flohack thanks a lot, I will do. BR

                      1 Reply Last reply Reply Quote 0
                      1 out of 9
                      • First post
                        1/9
                        Last post