]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/blobdiff - build/boot
Unify jailhouse and linux boot scripts
[hercules2020/jailhouse-build.git] / build / boot
index 82766b3db2360fd8ffaac2dd7b8e9f7958adc4fd..3c1b1d57071e5620b86f390130078c6e99169138 100755 (executable)
@@ -1,9 +1,3 @@
-#!/usr/bin/env novaboot
+#!/bin/sh
 
-# Boot localy built Linux kernel and initramfs and start Jailhouse during boot
-
-load linux-4.4/arch/arm64/boot/Image jailhouse mem=7808M vmalloc=512M console=ttyS0,115200n8 OS=l4t fbcon=map:0 net.ifnames=0 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 nvdumper_reserved=0x2772e0000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 androidboot.serialno=0320418051135 bl_prof_dataptr=0x10000@0x277240000 sdhci_tegra.en_boot_part_access=1
-load buildroot/images/rootfs.cpio.uboot
-
-# Use FDT prepared by firmware at address fdt_addr
-UBOOT_CMD=booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}
+$(dirname $0)/boot-linux -a jailhouse "$@"