linuxkernelnewbies | Unsorted

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

2892

Subscribe to a channel

Linux Kernel Brickers

Means path to prebuilt dtb and dtbo or some tree for dtbo?

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

Linux Kernel Brickers

Checked but Will check again
Means under devce tree? Device/xiaomi/...

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

Linux Kernel Brickers

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

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

Linux Kernel Brickers

actually there is a set of BoardConfig flags that set how kernel is compiled, or you can switch to use prebuilt kernel.

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

Linux Kernel Brickers

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?

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

Linux Kernel Brickers

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

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

Linux Kernel Brickers

Nathan's guide

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

Linux Kernel Brickers

@androidbringup

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

Linux Kernel Brickers

@onettboots

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

Linux Kernel Brickers

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.

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

Linux Kernel Brickers

https://pastebin.com/JsgHz6fr


Please someone help me for this error

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

Linux Kernel Brickers

bad_node: something { };

your dts:
/delete-node/ &bad_node;

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

Linux Kernel Brickers

/delete-node/ seems not working and any & leads to syntax error

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

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

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.

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

Linux Kernel Brickers

Nathan's guide

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

Linux Kernel Brickers

I have not sth related to llvm or clang on bashrc or profile

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

Linux Kernel Brickers

might be environment issue

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

Linux Kernel Brickers

Were u able to fix it?

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

Linux Kernel Brickers

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

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

Linux Kernel Brickers

that's too old. use gcc.

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

Linux Kernel Brickers

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

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

Linux Kernel Brickers

How I can know where is the issue inside my configuration file?

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

Linux Kernel Brickers

https://github.com/ClangBuiltLinux/tc-build

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

Linux Kernel Brickers

idk if you can delete/edit the node if it was like this tho

something { };

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

Linux Kernel Brickers

Do I have to touch the .dtsi file to remove it?

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

Linux Kernel Brickers

How should I delete a node in the device tree in Linux 3.10.61(💀), DTC 1.2.0?

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

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/LineageOS/scripts/blob/master/best-caf-kernel/best-caf-kernel.py

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