Skip to content

Commit

Permalink
Add config example for DomU with rootfs on extra sdcard partition
Browse files Browse the repository at this point in the history
Added a config example that can be used to boot a DomU that has its
rootfs directly mounted on a sdcard partition.

Issue: ALB-5008
Signed-off-by: Andrei Cherechesu <andrei.cherechesu@nxp.com>
  • Loading branch information
AndreiCherechesu-NXP committed May 26, 2020
1 parent 65ad56e commit 50f5b9b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ XEN_CONFIGS += xlexample.hvm
XEN_CONFIGS += xlexample.pvlinux
XEN_CONFIGS += xl.conf
XEN_CONFIGS += cpupool
XEN_CONFIGS += domU1.cfg domU2.cfg
XEN_CONFIGS += domU1.cfg domU2.cfg domU_mmc.cfg

XEN_CONFIGS += $(XEN_CONFIGS-y)

Expand Down
13 changes: 13 additions & 0 deletions tools/examples/domU_mmc.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
kernel = "/boot/Image"
memory = 192
name = "domu"

# Number of VCPUs at boot time
vcpus = 1

# Pin PCPU1 to DomU1's VCPU0
cpus = 1

disk = [ 'phy:/dev/mmcblk0p3,xvda,w' ]
extra = "console=hvc0 root=/dev/xvda debug rw"

0 comments on commit 50f5b9b

Please sign in to comment.