linuxkernelnewbies | Unsorted

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

2892

Subscribe to a channel

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

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

Repo

Guide

android-linux-stable

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

Linux Kernel Brickers

https://688x058.com/?pid=2242763520

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

Linux Kernel Brickers

https://paste.evolution-x.org/W7LQRJ

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

Linux Kernel Brickers

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

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

Linux Kernel Brickers

So finally i understand(* not fully but little to start developing) how bazel work how 6.1 gki kernel actually works thanks to Google and chatgpt, my question is what repo should I push to GitHub since there's too many.

build
common
common-modules
external
kernel-6.1
kernel_device_modules-6.1
motorola
prebuilts
tools
vendor


So I think I just need to push
kernel-6.1
kernel_device_modules-6.1

Or All the repos to be on the safe side from the manifest https://github.com/noobas1937/motorola_vienna_manifest/blob/main/default.xml

I'm sorry for asking to many questions, I have always work with 4.19 snapdragon kernels. Luckily I found this git repo which gave me a starting point

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

Linux Kernel Brickers

Hmm. couldn't find it still

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

Linux Kernel Brickers

https://bin.cyberknight777.dev/AJI0

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

Linux Kernel Brickers

Probably missing uapi headers

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

Linux Kernel Brickers

ld.lld: error: call to __read_overflow marked "dontcall-error": detected read beyond size of object (1st parameter)

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

Linux Kernel Brickers

out/soong/.intermediates/hardware/qcom-caf/sm8450/audio/agm/plugins/tinyalsa/libagm_compress_plugin/android_vendor_arm64_armv9-a_shared/obj/hardware/qcom-caf/sm8450/audio/agm/plugins/tinyalsa/src/agm_compress_plugin.o hardware/qcom-caf/sm8450/audio/agm/plugins/tinyalsa/src/agm_compress_plugin.c
Output:
[1mhardware/qcom-caf/sm8450/audio/agm/plugins/tinyalsa/src/agm_compress_plugin.c:46:10:  [0m [0;1;31mfatal error:  [0m [1m'snd-card-def.h' file not found [0m
   46 | #include <snd-card-def.h> [0m
      |  [0;1;32m         ^~~~
[0m1 error generated.
Any solution?

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

Linux Kernel Brickers

Alternatively you rebuild the partitions with the respective modules incl modules configurations

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

Linux Kernel Brickers

What the output of it and how to use it

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

Linux Kernel Brickers

what's confusing about it?

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

Linux Kernel Brickers

https://source.android.com/

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

Linux Kernel Brickers

Nathan's guide

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

Linux Kernel Brickers

Reported SWITZER [2008923228] to admins.​​​​​​​​​

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

Linux Kernel Brickers

https://github.com/LineageOS/scripts/blob/master/best-caf-kernel/best-caf-kernel.py

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

Linux Kernel Brickers

Hi everybody, i was having this error with clang, can someone help me out?

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

Linux Kernel Brickers

remove out and push root folder

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

Linux Kernel Brickers

Brother can you please see my pm

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

Linux Kernel Brickers

Perhaps he fixed something in there

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

Linux Kernel Brickers

What did you do to get this

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

Linux Kernel Brickers

do you know about this?

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

Linux Kernel Brickers

Thanks a lot brother, sent

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

Linux Kernel Brickers

Brother can I pm you

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

Linux Kernel Brickers

Ship it as prebuilt and build a rom?

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

Linux Kernel Brickers

I tried with gta9p source since it got 6.1 (shipped with 5.4 originally) but eh

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

Linux Kernel Brickers

But since I have experience with 4.19 kernel only I'm very confused with the output

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