summaryrefslogtreecommitdiff
path: root/files/midway-boot.txt
blob: 21207f0839a8220382cb2803bd9810994738929f (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%% 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