summaryrefslogtreecommitdiff
path: root/files/midway-boot.txt
blob: 1d1afc9d58b8be442c4f0bb58111f8a30fa02f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"
setenv dom0_addr "0x1000000"
setenv bootargs "console=hvc0,115200n8 nosplash root=UUID=%%UUID%% rootwait ro"
printenv 
fdt addr $fdt_addr; fdt resize
fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/soc/serial@fff36000"
fdt mknod /chosen module
fdt set /chosen/module compatible "xen,linux-zimage" "xen,multiboot-module"
fdt set /chosen/module reg <0x0 $dom0_addr 0x0 0x00a00000>
fdt set /chosen/module bootargs \"$bootargs\"
ext2load scsi 0:1 $dom0_addr zImage
ext2load scsi 0:1 $ramdisk_addr_r uInitrd
ext2load scsi 0:1 $kernel_addr_r xen
bootz $kernel_addr_r $ramdisk_addr_r $fdt_addr