64-bit Linux

Jul 08, 2017 2 Replies

Hi! A very nice 64-bit Linux for the RPI3 is here:


aen

Hi!

I now followed the description and compiled the kernel. That worked fine (4.10.17-v8+ is now installed), but I didn't find a way to enable the cycle counters in the compilation with make menuconfig or in any other way.

How can this be done?

aen

Solved: I found the source for a kernel module on the net:

and dug out the Makefile I used for the same module on an RPI2:

Makefile: obj-m := perf.o

all: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

which produced a nice kernel module.

aen

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required