Created
March 10, 2025 18:03
-
-
Save cyring/e077025f36391f7a52f753aa0fa33aeb to your computer and use it in GitHub Desktop.
POWER10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IBM POWER10 Functional Simulator |
Debian
- Download the Debian virtual machine, in qcow2 format: 64-bit Little Endian PowerPC (qcow2)
- Install QEMU for PowerPC
- Start the virtual machine with the qcow image
pacman -S qemu-system-ppc
qemu-system-ppc64 -nographic -smp 6 -m 3G debian-12-nocloud-ppc64el.qcow2
- Once in the VM, create a privileged user account
useradd -m nickname
passwd nickname
nano /etc/sudoers.d/01_first
nickname ALL=(ALL) ALL
- Install the kernel development packages
sudo apt-get update
apt-cache search linux-headers-$(uname -r)
sudo apt install linux-headers-6.1.0-31-powerpc64le
sudo apt install make
sudo apt install gcc
sudo apt install ssh
sudo apt install git
CoreFreq
- Build and Run CoreFreq, alpha preview version for PowerPC
cd
mkdir src
cd src
git clone [email protected]:cyring/CoreFreq.git
make -j
sudo sync; sudo insmod build/corefreqk.ko
sudo sync; sudo build/corefreqd -q &
./build/corefreq-cli
jobs
kill %1
sudo rmmod corefreqk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CoreFreq
Prepare
ppc64le
Step 1
Step 2
ssh -Y root@localhost PATH=$PATH:/opt/ibm/systemsim-p10-1.2-4/bin systemsim -f /opt/ibm/systemsim-p10-1.2-4/run/p10/linux/boot-linux-ubuntu-p10.tcl
Step 3
Step 4
/opt/ibm/systemsim-p10-1.2-4/images/
using losetup mount as described in Step 1Build