Skip to content

Instantly share code, notes, and snippets.

andrewzigerelli

  • Pitt
View GitHub Profile
View run_gem.slurm
#!/bin/bash
#SBATCH --job-name=gem5-frequency_collection
#SBATCH --qos=short
#SBATCH --mem=38g
#SBATCH --error=gem5-frequency_collection_%A_%a.err
#SBATCH --cluster=smp
#SBATCH --mail-user=anz37@pitt.edu
#SBATCH --mail-type=ALL
#SBATCH --time=2-00:00:00
#SBATCH --output=gem5-frequency_collection_%A_%a.out
View run_qemu_16.sh
/home/andrew/Research/linux-kernel-module-cheat/out/qemu/default/x86_64-softmmu/qemu-system-x86_64 \
-device rtl8139,netdev=net0 \
-gdb tcp::55455 \
-kernel /home/andrew/Research/linux-kernel-module-cheat/out/linux/default/x86_64/arch/x86/boot/bzImage \
-m 256M \
-monitor telnet::55457,server,nowait \
-netdev user,hostfwd=tcp::55455-:55455,hostfwd=tcp::55456-:22,id=net0 \
-no-reboot \
-smp 1 \
-virtfs local,path=/home/andrew/Research/linux-kernel-module-cheat/data/9p,mount_tag=host_data,security_model=mapped,id=host_data \
@andrewzigerelli
andrewzigerelli / .config
Created Dec 2, 2018
working kernel config for gem5
View .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.19.0 Kernel Configuration
#
#
# Compiler: x86_64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2018.05-00002-gbc60382b8f) 6.4.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=60400
You can’t perform that action at this time.