Initial Commit
- initial default booting image
This commit is contained in:
18
support/testing/tests/package/test_xen/arm/boot.cmd
Normal file
18
support/testing/tests/package/test_xen/arm/boot.cmd
Normal file
@@ -0,0 +1,18 @@
|
||||
fdt addr ${fdt_addr}
|
||||
fdt resize
|
||||
|
||||
fdt set /chosen \#address-cells <1>
|
||||
fdt set /chosen \#size-cells <1>
|
||||
|
||||
fdt mknod /chosen modules
|
||||
|
||||
fdt mknod /chosen/modules module@0
|
||||
fdt set /chosen/modules/module@0 compatible "xen,linux-zimage" "xen,multiboot-module"
|
||||
load ${devtype} ${devnum} ${kernel_addr_r} zImage
|
||||
fdt set /chosen/modules/module@0 reg <${kernel_addr_r} 0x${filesize} >
|
||||
|
||||
load ${devtype} ${devnum} ${loadaddr} xen
|
||||
fdt set /chosen xen,dom0-bootargs "console=hvc0 root=PARTLABEL=root rootwait"
|
||||
fdt set /chosen xen,xen-bootargs "dom0_mem=256M loglvl=all guest_loglvl=all"
|
||||
fdt print /chosen
|
||||
bootz ${loadaddr} - ${fdt_addr}
|
||||
Reference in New Issue
Block a user