configs: Add GPUFS --root-partition option
Different GPUFS disk images have different root partitions that Linux needs to boot from. In particular, Ubuntu's new installer has a GRUB partition that cannot seem to be removed. Adding this as an option prevents needing to edit a config script to change one character each time a different disk image is used. Change-Id: Iac2996ea096047281891a70aa2901401ac9746fc Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/71918 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ def makeGpuFSSystem(args):
|
||||
"earlyprintk=ttyS0",
|
||||
"console=ttyS0,9600",
|
||||
"lpj=7999923",
|
||||
"root=/dev/sda1",
|
||||
f"root={args.root_partition}",
|
||||
"drm_kms_helper.fbdev_emulation=0",
|
||||
"modprobe.blacklist=amdgpu",
|
||||
"modprobe.blacklist=psmouse",
|
||||
|
||||
Reference in New Issue
Block a user