linuxkernelnewbies | Unsorted

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

2892

Subscribe to a channel

Linux Kernel Brickers

I have tfa98xx audio codec

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

Linux Kernel Brickers

It's literally just this but instead of modifying the existing option someone added a new one

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

Linux Kernel Brickers

Modifying the original option or using KCFLAGS are your only options

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

Linux Kernel Brickers

Yeah i get that but i was hoping for menuconfig to actually specify using -O3 instead of -O2

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

Linux Kernel Brickers

That change is so simple and obvious that you shouldn't need to send a commit for it

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

Linux Kernel Brickers

https://github.com/kerneltoast/android_kernel_google_redbull/commit/03cd1ac10039de2a520fdf3fe8353d4f4e194a95

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

Linux Kernel Brickers

wait, were u referring to setting Kcflags while building the kernel?

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

Linux Kernel Brickers

KCFLAGS is basically a replacement for what EXTRA_CFLAGS is supposed to already do because of some drivers setting EXTRA_CFLAGS themselves in their Makefiles instead of expanding regular CFLAGS like they were supposed to

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

Linux Kernel Brickers

Looking for O3 optimization level. only see O2

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

Linux Kernel Brickers

fuck, yeah you are right.

Been a while since i dabbled with the kernel

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

Linux Kernel Brickers

It's the same kernel but compiled for different architectures

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

Linux Kernel Brickers

There it used to be make config

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

Linux Kernel Brickers

Click on the button to see the chat rules!

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

Linux Kernel Brickers

Repo

Guide

android-linux-stable

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

Linux Kernel Brickers

How to find compatible clang and gcc versions

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

Linux Kernel Brickers

Hackbench, a program which measures the scheduler wake up latency and benchmarks pipe.

You can obtain it from benchkit module or build yourself (https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/tree/src/hackbench/hackbench.c?h=stable/devel/v1.0.1).

When running it's recommended to use
hackbench -pTl 4000
rather than the old command as -p and -T don't take parameters. It's also preferred to run as su to get around seccomp lagging you out (or you can disable the Android seccomp filter).

You want your values to be as low as possible. Good luck!

Please share your results with the command you typed showing so we know what we're comparing to.

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

Linux Kernel Brickers

Roger, its just that i saw this on a running kernel

# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y


which had me very confused

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

Linux Kernel Brickers

There is no option for it so you're out of luck

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

Linux Kernel Brickers

I thought he wanted a way to do it without modifying the kernel source lol

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

Linux Kernel Brickers

(yes, that's exactly what I meant)

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

Linux Kernel Brickers

I didn't write all of this for nothing you know

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

Linux Kernel Brickers

unforuntately that isnt it

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

Linux Kernel Brickers

I don't remember what option you had to set for O3, maybe there even is none in which case you should type KCFLAGS="-O3" before make

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

Linux Kernel Brickers

What's meant by ARC here?

Depends on: <choice> && ARC

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

Linux Kernel Brickers

Anyways, it is and was make menuconfig

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

Linux Kernel Brickers

There is no x86 kernel, it's the Linux kernel, you seem to be confused about some things

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

Linux Kernel Brickers

Does the Android kernel have something similar to x86 kernel's configuration menu?

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

Linux Kernel Brickers

Click on the button to see the chat rules!

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

Linux Kernel Brickers

By reading the README provided by Samsung, obviously

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

Linux Kernel Brickers

If you're doing an inline build with a rom, there's some variable you have to set

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