Means path to prebuilt dtb and dtbo or some tree for dtbo?
Читать полностью…
Checked but Will check again
Means under devce tree? Device/xiaomi/...
I tried to switch prebuilt kernel but get errors like path/to/kernel needed by path/to/dt[o?].img or needed by path/to/recovery.img
Читать полностью…
actually there is a set of BoardConfig flags that set how kernel is compiled, or you can switch to use prebuilt kernel.
Читать полностью…
Grep -r "clang" output has nothing for kernel folder, but "gcc" had lot of code...
I can use gcc for kernel compile seperately, but for android source compiling, It give me clang-12 error: ............
Any idea that which file force kernel to build with clang-12?
there is, there is also something called kenv.mk, not sure if los 19.1 supports but there you can define how your kernel is built
Читать полностью…
Hi, I am doing the configuration of a kernel in Gentoo, you can give some advice. I made my first try and I get a panic message when booting.
Читать полностью…
https://pastebin.com/JsgHz6fr
Please someone help me for this error
bad_node: something { };
/delete-node/ seems not working and any & leads to syntax error
Example commit
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commit/4d40ad79436fec3874f79f14d9534cfe0e47e315
Breaking down a massive OEM commitsgit reset HEAD^ drivers/gpu
This resets the HEAD and only grabs the directories I specifygit commit --amend
This obviously amends the original commitgit add --all
This adds the directories I specified abovegit commit -a -m "Import OEM gpu driver changes"
This obviously adds the commit message
And finally this is the weird partgit 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
if you set the kernel to prebuilt, you will also need to set the dtb and dtbo paths. look for a device tree in github for examples.
Читать полностью…
I have not sth related to llvm or clang on bashrc or profile
Читать полностью…
I can change CC while compile kernel seperately But while android compiling, by CC="" or CROSS_COMPILE="" or by .profile, kernel still use clang for compiling and not gcc.
There is no statement that force to use clang on device trees.
Los 19.1 ul
Hi everybody.
When try build zimage,
Get error from clang 12: unknown arguments '-mno-thumb.......' and other arguments
For this old arm kernel, how we can build kernel? another clang version or gcc or another tool? Which version? Los 19.1
How I can know where is the issue inside my configuration file?
Читать полностью…
https://github.com/ClangBuiltLinux/tc-build
Читать полностью…
idk if you can delete/edit the node if it was like this tho
something { };
Читать полностью…
Do I have to touch the .dtsi file to remove it?
How should I delete a node in the device tree in Linux 3.10.61(💀), DTC 1.2.0?
Читать полностью…
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
https://github.com/LineageOS/scripts/blob/master/best-caf-kernel/best-caf-kernel.py
Читать полностью…