Build OpenWRT firmware for DL-WRX36 with 1000 Hz tick + other optimizations

Hello,

I was using the make menuconfig and could not find the option to set the router kernel build to 1000 Hz for the newest kernel 6.6.

Can anyone show me where to find this option? Are there any other optimization flags which are hidden? I am using the NNS build env from qosmio.

I hope it is okay to open a thread for this. Otherwise, I can't help myself. A few optimizations I found already myself.

Maybe in make kernel_menuconfig?

1 Like

Well I looked up again. I can't find that in the menu. You made a screenshot. Can you show me how you found it? I cloned the openwrt repo and used the command you used up there but inside I cannot find this. Even not via Search.

I run make kernel_menuconfig on the cli, then inside the tui I type /hz<return>. It shows the search results as in the image, then if there's a number on the entry, you can type that to just jump to the entry. If no number, the you have to search around in the tui, and sometimes even edit the configs or .h files by hand...

Here is how it looks at my side. I can't find these values. Even when I search the string you provided with "/", it is unfindable.

That looks like OpenWrt's make menuconfig, not Linux kernel's make kernel_menuconfig...

Here was the mistake then. I thought I had to do it in OpenWRT.

Okay, I managed to proceed with your help.

But now I get one specific error. I want to build with Graphite.

make[5]: Entering directory '/home/anon/openwrt-ipq/build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq807x/linux-6.6.86'
  CC      scripts/mod/empty.o
scripts/mod/empty.c: sorry, unimplemented: Graphite loop optimizations cannot be used (isl is not available) ('-fgraphite', '-fgraphite-identity', '-floop-nest-optimize', '-floop-parallelize-all')

Can you tell me if I do something wrong? Or does "unimplemented" mean that it is not supported by the linux kernel?

That looks like the options for compiling the file are invalid. Maybe hack the makefile to remove whatever it's complaining about.

1 Like

I got it working. But I did another mistake which has nothing to do with the build config. This topic can be closed now. Thank you very much