Db410c Android kernel source link please

Hi,

I am working on dragon board 410c with the latest version of android installed.
I am looking for the dragon board 410c android kernel source. I am sorry to ask that but I am lost between codeaurora, qualcomm…be indulgent :slight_smile:

My version of android is:
uname -a
Linux localhost 3.10.49-g3565efb-00006-gf2d0703 #2 SMP PREEMPT Mon Jun 20 10:41:14 UTC 2016 aarch64

Consequently, I have obtain the manifest here :
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
Comparing the release date, I have chosen this manifest LA.BR.1.2.7.c1-01000-8x16.0.xml
Is is the good one for this version?

then I launch this command
repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BR.1.2.7.c1-01000-8x16.0.xml --repo-url=git://codeaurora.org/tools/repo.git

and
repo sync
And it download a lot and my mac is on fire… it never finish ( I have a crap access to internet).

I am asking if someone can give me the direct link for the Android kernel sources for the latest version of android, downloadable directly here : http://builds.96boards.org/releases/dragonboard410c/qualcomm/android/latest/

Thanks a lot.

@skxo Try following the guide here: https://developer.qualcomm.com/download/db410c/linux-android-software-build-and-installation-guide.pdf. The instructions use repo init and sync too so it does take a long time and lots of disk space too to download the whole tree. I don’t think there’s a tarball that you can download directly off of a url somewhere.

Actually I do see some tarballs here [1] but not sure if it’s the whole package or not.

[1] https://developer.qualcomm.com/hardware/dragonboard-410c/tools - under Software - Android

Ok, so no, I took a look and it seems that the tarball basically contains only the vendor binary, patches and a script that actually runs the repo sync and init for you to download all the other (open source) sources from codeaurora.

Hi vchong,

thanks a lot for your answer. keep in touch!

Hello,

sorry but I am still stuck. I cannot obtain the android kernel source code. I have followed the guide https://developer.qualcomm.com/download/db410c/linux-android-software-build-and-installation-guide.pdf
step by step (which is very similar to my first attempts). But during the script DB410c_build.sh execution, I have the following error :
Applying patches …
cp: cannot create regular file ‘/home/xisco/Downloads/APQ8016_410C_LA.BR.1.2.4-00310-8x16.0_5.1.1_Lollipop_P2/device/qcom/msm8916_64/’: No such file or directory
applying patches on ./bootable/bootloader/lk …
./DB410c_build.sh: line 45: cd: /home/xisco/Downloads/APQ8016_410C_LA.BR.1.2.4-00310-8x16.0_5.1.1_Lollipop_P2/./bootable/bootloader/lk: No such file or directory
./bootable/bootloader/lk does not exist in BUILDROOT:/home/xisco/Downloads/APQ8016_410C_LA.BR.1.2.4-00310-8x16.0_5.1.1_Lollipop_P2 the patches are applied (I have tried different all the four packages).

If someone can help me, it would be very nice. Thanks a lot and have a nice weekend !
sk

The script is trying to apply a patch to /home/xisco/Downloads/APQ8016_410C_LA.BR.1.2.4-00310-8x16.0_5.1.1_Lollipop_P2/device/qcom/msm8916_64 but there’s no such directory. You’d mentioned that your internet connection is crappy so I’m guessing that repo sync didn’t manage to download everything you need. You should cd /home/xisco/Downloads/APQ8016_410C_LA.BR.1.2.4-00310-8x16.0_5.1.1_Lollipop_P2 and keep doing repo sync manually until you’re sure all sources are downloaded successfully.

If all you need is just the kernel source, you can look in /home/xisco/Downloads/APQ8016_410C_LA.BR.1.2.4-00310-8x16.0_5.1.1_Lollipop_P2/.repo/manifests/LA.BR.1.2.7-01010-8x16.0.xml. There’s a line that says something like:

<project name="kernel/msm-3.10" path="kernel" revision="7c053e34fde2eac30ff0d78d5005ff79e8aa8d04" upstream="LA.BR.1.2.7_rb1.5"/>

Then you would just do:

git clone -b LA.BR.1.2.7_rb1.5 https://source.codeaurora.org/quic/la/kernel/msm-3.10

The example above is for an older version so you would just adjust tags/versions for yours as necessary.