Comments (7)
On top of using ln -s
instead of making relative symlinks won't you have to fix the instances where $(SYMLINK)
was used like from:
$(SYMLINK) Makefile $(BUILD)/Makefile
to:
$(SYMLINK) $(PWD)/Makefile $(BUILD)/Makefile
in https://github.com/cyring/CoreFreq/blob/develop/Makefile#L109, so that $(BUILD)/Makefile
won't be a broken symlink? $(HW)/corefreqk.c
below also would need the $(PWD)/
prefix
from corefreq.
Based on Virtual x86_64 alpine-virt-3.18.3-x86_64.iso
Host [Arch Linux 6.5.4
]
qemu-system-x86_64 -enable-kvm -cpu max,hv-runtime -m 2G -smp 4 -cdrom alpine-virt-3.18.3-x86_64.iso
Once VM booted, the following packages have been installed
apk add nano git make gcc musl-dev linux-headers
CoreFreq Makefile
is also fixed for symbolic links
git clone -b develop https://github.com/cyring/CoreFreq.git
cd CoreFreq
nano Makefile
SYMLINK ?= ln -s
Now try to build.
You may have to force clean
rm -fr build
make
Missing kernel module: to be continued
from corefreq.
- Alpine is now installed to disk to ease Linux Kernel Headers
apk update
apk upgrade
apk add linux-virt-dev
reboot
- CoreFreq is now build and run from a standard user
cd ~/src/CoreFreq
nano Makefile
SYMLINK ?= ln -s
prepare:
@if [ ! -e $(BUILD)/Makefile ]; then \
$(SYMLINK) $(PWD)/Makefile $(BUILD)/Makefile; \
fi
rm -fr build
make
- Need to rebuild a custom kernel ...
from corefreq.
Custom Kernel
apk add alpine-sdk sed installkernel bc nawk diffutils findutils pahole openssl-dev python3 linux-virt linux-virt-dev
- Clone the aports tree
git config --global user.name "Your Full Name"
git config --global user.email "[email protected]"
git clone https://gitlab.alpinelinux.org/alpine/aports
- Fix write mode of
/var/cache/distfiles/
- Create User keygen
- Add User to group
abuild
- Create a branch for custom kernel
# addgroup <yourusername> abuild
abuild-keygen -a -i
cd aports
git checkout -b corefreq-kernel
cd main/linux-lts
cp -vi virt.x86_64.config .config
nano APKBUILD
_flavor-virt
abuild -rd
from corefreq.
@JamiKettunen
With your Makefile
changes, can you now build and run CoreFreq ?
Can you show the UI with its kernel window and the view in Tasks mode ?
from corefreq.
No more work
from corefreq.
- New parallel build
- Symlinks
from corefreq.
Related Issues (20)
- [Chimera] Musl libc and Clang compiler support HOT 21
- TUXEDO Linux 6.5 kernel compatibility? HOT 11
- How can i save a configuration to a file and load it? HOT 10
- AMD Hardware Prefetchers [Zen3 Zen4 EPYC TR] HOT 31
- Intel 12th,13th,14th Gen: Reporting BIOS Overclocking Status HOT 1
- Cannot compile on Almalinux 9.3 HOT 8
- Hardware Prefetch for Atom E-Cores HOT 9
- Steam Deck HOT 39
- Clarification on Intel Prerequisites: What's Being Built by `make`? HOT 3
- Unknown symbol cpufreq_unregister_driver (err -22) HOT 1
- Unraid crash on installation - Intel(R) Celeron(R) CPU J3455 HOT 22
- 1C not changing. Xeon E5 1650 v3 HOT 8
- [SOLVED] No temp readings on Epyc 9274F HOT 48
- coreqfreqd not working on 6.8.6-1-cachyos-echo HOT 5
- When uninstalling any kernel. corefreq will stop working HOT 3
- Building on Almalinux 9 Redux HOT 8
- Corefreq broken on custom kernel 6.9 HOT 18
- [Intel: Gen 12,13,14] Memory Controller data HOT 6
- Changing Idle Limit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corefreq.