linuxkernelnewbies | Unsorted

Telegram-канал linuxkernelnewbies - Linux Kernel Brickers

2892

Subscribe to a channel

Linux Kernel Brickers

Repo

Guide

android-linux-stable

Читать полностью…

Linux Kernel Brickers

Repo

Guide

android-linux-stable

Читать полностью…

Linux Kernel Brickers

@eepymeowers this u bro

Читать полностью…

Linux Kernel Brickers

https://source.android.com/

Читать полностью…

Linux Kernel Brickers

Nathan's guide

Читать полностью…

Linux Kernel Brickers

https://git-scm.com/docs/git-cherry-pick

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

https://github.com/nathanchance/android-kernel-clang

Читать полностью…

Linux Kernel Brickers

https://source.android.com/

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

https://git-scm.com/docs/git-cherry-pick

Читать полностью…

Linux Kernel Brickers

If you just wanna learn kernel compilation is easy

Читать полностью…

Linux Kernel Brickers

So I'm a blank slate

Читать полностью…

Linux Kernel Brickers

OK. How do I use the kernel to learn C?

Читать полностью…

Linux Kernel Brickers

https://github.com/nathanchance/android-kernel-clang

Читать полностью…

Linux Kernel Brickers

https://gist.github.com/DD3Boh/6c51fd3c5f91b1042e956771483714de

Читать полностью…

Linux Kernel Brickers

https://github.com/nathanchance/android-kernel-clang

Читать полностью…

Linux Kernel Brickers

@androidbringup

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…

Linux Kernel Brickers

On newer CAF revisions, standalone compilation will NOT work without specifying an out folder. Change all calls to make to make O=out in your scriptand missing headers should now resolve correctly. Alternatively, you can cherry-pick this commit.

Commits that change the location of the headers are NOT necessary and can potentially cause conflicts down the road.

Читать полностью…

Linux Kernel Brickers

https://source.android.com/

Читать полностью…

Linux Kernel Brickers

Initial merge:

git remote add qcacld-3.0 https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0

git fetch qcacld-3.0 <TAG>

git merge -s ours --no-commit --allow-unrelated-histories FETCH_HEAD

git read-tree --prefix=drivers/staging/qcacld-3.0 -u FETCH_HEAD

git commit

Updating to a newer tag:

git fetch qcacld-3.0 <TAG>

git merge -X subtree=drivers/staging/qcacld-3.0 FETCH_HEAD

Repeat the above for
qca-wifi-host-cmn and fw-api as well.
qcacld-3.0 source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0
fw-api source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/fw-api
qca-wifi-host-cmn source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn

Читать полностью…

Linux Kernel Brickers

https://source.android.com/

Читать полностью…

Linux Kernel Brickers

Nathan's guide

Читать полностью…

Linux Kernel Brickers

Example commit

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/4d40ad79436fec3874f79f14d9534cfe0e47e315

Breaking down a massive OEM commits

git reset HEAD^ drivers/gpu

This resets the HEAD and only grabs the directories I specify

git commit --amend

This obviously amends the original commit

git add --all

This adds the directories I specified above

git commit -a -m "Import OEM gpu driver changes"

This obviously adds the commit message

And finally this is the weird part

git rebase -i HEAD~2

After that last command is executed it will display a commit window.
This rebases and displays the last 2 commits in the repo. The original Xiaomi commit is on top and my commit is underneath. Xiaomi commit being the 2nd and mine being the first. So I need to move that Xiaomi commit to be the latest commit in git history.. Ctrl+k to cut the Xiaomi commit, and Ctrl+u to paste it under my commit. Boom, history is re-written and my commit is now older in history so I can proceed to do the same thing over and over again to the rest of the directories in this massive commit.

Then you get sexy commit history like this and makes things easier to find when you hit conflicts or build errors after merging your kernel with kernel-msm or caf or upstream.

https://github.com/deadman96385/android_kernel_lenovo_msm8909/commits/LA.BR.1.2.7-02810-8x09

Читать полностью…

Linux Kernel Brickers

Hey there DLK, and welcome to Linux Kernel Brickers! How are you?

Читать полностью…

Linux Kernel Brickers

It depends on what you want!! From learning kernel dev!! Whats your target

Читать полностью…

Linux Kernel Brickers

I don't know any programming lanugages

Читать полностью…

Linux Kernel Brickers

https://source.android.com/

Читать полностью…

Linux Kernel Brickers

List of notes in Linux Kernel Brickers:
- als
- aosp_docs
- authorship
- benchkit
- bisect
- bldgcc
- bringupchat
- caftracker
- cherrypicking
- clang
- compilation
- errortemplate
- gpu_profiling
- hackbench
- hastebin
- help
- io_bench
- io_bench_help
- meld_merge
- mergeqcacld
- mergingcaf
- missingheaders
- newgcc
- oem_caftag
- oemcommits
- ot
- patching
- powerofstable
- pstore
- subtreemerge
- tc-build
- upstream
You can retrieve these notes by using /get notename, or #notename

Читать полностью…
Subscribe to a channel