Skip to content

Commit

Permalink
Convert or1k from sim to virt board, which can actually exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
landley committed Jan 8, 2025
1 parent 07a6fa6 commit e5f5121
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mkroot/mkroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ get_target_config()
KCONF+=,64BIT,CPU_MIPS64_R1,MIPS32_O32
[ "${CROSS%el}" != "$CROSS" ] && KCONF+=,CPU_LITTLE_ENDIAN
elif [ "$CROSS" == or1k ]; then
KARCH=openrisc QEMU_M=or1k-sim KARGS=ttyS0
KCONF="$(be2csv ETHOC SERIO SERIAL_OF_PLATFORM SERIAL_8250{,_CONSOLE})"
KARCH=openrisc QEMU_M=virt KARGS=ttyS0
KCONF="$(be2csv ETHOC SERIO SERIAL_OF_PLATFORM SERIAL_8250{,_CONSOLE} \
VIRTIO_{MENU,NET,BLK,PCI,MMIO} POWER_RESET{,_SYSCON{,_POWEROFF}} SYSCON_REBOOT_MODE)"
elif [ "$CROSS" == powerpc ]; then
KARCH=powerpc QEMU="ppc -M g3beige"
KCONF="$(be2csv ALTIVEC PATA_MACIO BLK_DEV_SD MACINTOSH_DRIVERS SERIO \
Expand Down

0 comments on commit e5f5121

Please sign in to comment.