Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @msfjarvis @nathanchance @nickdesaulniers @tpimh
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Required parameters:
* ppc32
* ppc64
* ppc64le
* x86
* x86_64

-k | --kbuild-folder:
Expand Down
7 changes: 1 addition & 6 deletions boot-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ function setup_qemu_args() {
-dtb "${KBUILD_DIR}"/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dtb
-machine palmetto-bmc
-no-reboot)
QEMU_RAM=512m
QEMU=(qemu-system-arm)
;;

Expand All @@ -122,7 +121,6 @@ function setup_qemu_args() {
-dtb "${KBUILD_DIR}"/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dtb
-machine romulus-bmc
-no-reboot)
QEMU_RAM=512m
QEMU=(qemu-system-arm)
;;

Expand All @@ -131,7 +129,6 @@ function setup_qemu_args() {
QEMU_ARCH_ARGS=(-append "console=ttyAMA0${RDINIT}"
-machine virt
-no-reboot)
QEMU_RAM=512m
QEMU=(qemu-system-arm)
;;

Expand All @@ -140,7 +137,6 @@ function setup_qemu_args() {
QEMU_ARCH_ARGS=(-append "console=ttyAMA0${RDINIT}"
-cpu cortex-a57
-machine virt)
QEMU_RAM=512m
QEMU=(qemu-system-aarch64)
;;

Expand All @@ -149,7 +145,6 @@ function setup_qemu_args() {
QEMU_ARCH_ARGS=("${APPEND_RDINIT[@]}"
-cpu 24Kf
-machine malta)
QEMU_RAM=512m
QEMU=(qemu-system-"${ARCH}")
ARCH=mips
;;
Expand Down Expand Up @@ -191,7 +186,6 @@ function setup_qemu_args() {
# Use KVM if the processor supports it (first part) and the KVM module is loaded (second part)
[[ $(grep -c -E 'vmx|svm' /proc/cpuinfo) -gt 0 && $(lsmod 2>/dev/null | grep -c kvm) -gt 0 ]] &&
QEMU_ARCH_ARGS=("${QEMU_ARCH_ARGS[@]}" -cpu host -d "unimp,guest_errors" -enable-kvm)
QEMU_RAM=512m
QEMU=(qemu-system-x86_64)
;;
esac
Expand All @@ -205,6 +199,7 @@ function setup_qemu_args() {
# Invoke QEMU
function invoke_qemu() {
${INTERACTIVE} || QEMU=(timeout "${TIMEOUT:=3m}" unbuffer "${QEMU[@]}")
[[ -z ${QEMU_RAM} ]] && QEMU_RAM=512m
if ${GDB:=false}; then
while true; do
if lsof -i:1234 &>/dev/null; then
Expand Down