diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2014-01-27 13:51:03 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-01-27 13:51:03 +0200 |
commit | a8f96555d0373417a4f66b745eb4ba6f43f962a6 (patch) | |
tree | f263bc3505f5a5a8ed7ac9da23392b8c3bac69e8 /files | |
parent | fafe2c44b1d69359932335b58d541793e2ef4f01 (diff) |
Full midway support
Add a json file and bootscript for midway.
Add neccesary mods to makelavaimg to finish the job
Diffstat (limited to 'files')
-rw-r--r-- | files/midway-boot.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/files/midway-boot.txt b/files/midway-boot.txt new file mode 100644 index 0000000..5431929 --- /dev/null +++ b/files/midway-boot.txt @@ -0,0 +1,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 |