]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/commitdiff
Add my boot-nfs script
authorMichal Sojka <michal.sojka@cvut.cz>
Mon, 30 Jul 2018 11:33:47 +0000 (13:33 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Mon, 30 Jul 2018 11:33:47 +0000 (13:33 +0200)
It boots locally built kernel with root filesystem over NFS. To
install Jailhouse to NFS-booted TX, run

    make jailhouse-install-remote

build/boot-nfs [new file with mode: 0755]

diff --git a/build/boot-nfs b/build/boot-nfs
new file mode 100755 (executable)
index 0000000..6b28efa
--- /dev/null
@@ -0,0 +1,9 @@
+#!/usr/bin/env novaboot
+
+# Boot localy built Linux kernel with root filesystem from the flash
+
+load linux-4.4/arch/arm64/boot/Image nfsrootdebug root=/dev/nfs nfsroot=10.35.95.3:/home/sojka/tx2/rootfs,tcp,vers=3 ip=dhcp rw rootwait 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 linux-4.4/arch/arm64/boot/dts/tegra186-quill-p3310-1000-c03-00-base.dtb
+
+# Use FDT prepared by firmware at address fdt_addr
+UBOOT_CMD=booti ${kernel_addr_r} - ${fdt_addr}