Files
winf-photobooth/support/testing/tests/package/test_xen/arm/boot.cmd
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

19 lines
620 B
Batchfile

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}