]>
rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michal Sojka [Wed, 28 Nov 2018 12:44:52 +0000 (13:44 +0100)]
Update Jailhouse submodule (memguard test inmate)
Michal Sojka [Wed, 28 Nov 2018 12:04:28 +0000 (13:04 +0100)]
Fix the memguard test
Michal Sojka [Wed, 28 Nov 2018 12:02:42 +0000 (13:02 +0100)]
jailhouse-test: Add test for non-overflowed memory statistics
Currently, this test fails.
Michal Sojka [Mon, 19 Nov 2018 12:08:51 +0000 (13:08 +0100)]
Install also all inmate binaries
Michal Sojka [Tue, 6 Nov 2018 13:11:42 +0000 (14:11 +0100)]
memguard-test: Do not intermix test results from prallel threads
Michal Sojka [Mon, 5 Nov 2018 10:28:29 +0000 (11:28 +0100)]
Remove long blocking memguard test and switch to memguard jailhouse branch
Michal Sojka [Mon, 5 Nov 2018 09:07:06 +0000 (10:07 +0100)]
Update memgaurd test and add test for throttling correctness
Michal Sojka [Thu, 1 Nov 2018 21:27:05 +0000 (22:27 +0100)]
Fixes to memguard-test
Joel Matejka [Thu, 1 Nov 2018 16:39:50 +0000 (17:39 +0100)]
Make memguard-test multithreaded - naive
Michal Sojka [Thu, 1 Nov 2018 13:40:05 +0000 (14:40 +0100)]
memguard-test: Implement full wvtest protocol
Michal Sojka [Thu, 1 Nov 2018 13:33:28 +0000 (14:33 +0100)]
Add more memguard checks
Michal Sojka [Thu, 1 Nov 2018 13:23:30 +0000 (14:23 +0100)]
memguard-test: Add wvtest protocol support
Michal Sojka [Wed, 31 Oct 2018 23:57:31 +0000 (00:57 +0100)]
Rework memguard test
Michal Sojka [Tue, 30 Oct 2018 16:17:18 +0000 (17:17 +0100)]
Update memguard-test
Michal Sojka [Tue, 30 Oct 2018 16:17:00 +0000 (17:17 +0100)]
Allow easy installation of perf
Joel Matejka [Mon, 29 Oct 2018 18:09:20 +0000 (19:09 +0100)]
Test memguard call return value.
Michal Sojka [Mon, 29 Oct 2018 09:28:54 +0000 (10:28 +0100)]
Current memguard version + updated test
Michal Sojka [Fri, 26 Oct 2018 05:14:24 +0000 (07:14 +0200)]
Makefile: Fix jailhouse-remote-deploy and add memguard-test to deploy target
Joel Matejka [Thu, 25 Oct 2018 09:47:51 +0000 (11:47 +0200)]
Simple memguard test
Michal Sojka [Sun, 26 Aug 2018 21:50:08 +0000 (23:50 +0200)]
README: Fix typos
Michal Sojka [Sun, 26 Aug 2018 21:46:53 +0000 (23:46 +0200)]
Rename README
Michal Sojka [Sun, 26 Aug 2018 21:27:46 +0000 (23:27 +0200)]
deb: Do not start jailhouse automatically
When jailhouse is started automatically (relatively early) during the
boot, something in the user space reads from 0xf0000 (see below),
which is not allowed by Jailhouse memory map. So far it is not clear
what it is and what it tries to read. According to TX2 memory map,
nothing should be there.
Unhandled data read at 0xf0000(1)
FATAL: unhandled trap (exception class 0x24)
Cell state before exception:
pc:
0000007f9a22fb40 lr:
000000557e594360 spsr:
20000000 EL0
Michal Sojka [Fri, 24 Aug 2018 08:28:09 +0000 (10:28 +0200)]
Allow building a Debian package from the repository
Michal Sojka [Sun, 26 Aug 2018 20:23:50 +0000 (22:23 +0200)]
jailhouse: Give Linux access to PWM4 register
This is needed for jetson-clock.sh script to work.
Michal Sojka [Fri, 24 Aug 2018 08:28:09 +0000 (10:28 +0200)]
Document how to compile jailhouse on TX2
Michal Sojka [Fri, 24 Aug 2018 11:41:04 +0000 (13:41 +0200)]
Rename build/linux-4.4 to build/kernel-4.4
TX2 sound kernel modules have kernel-4.4 somehow hardcoded and the compiled
object files are always put there. To make the directory structure less
confusing, let's put everything to kernel-4.4.
Michal Sojka [Wed, 1 Aug 2018 07:06:09 +0000 (09:06 +0200)]
Update jailhouse version
Michal Sojka [Mon, 30 Jul 2018 11:37:11 +0000 (13:37 +0200)]
Update buildroot .config
Michal Sojka [Mon, 30 Jul 2018 11:33:47 +0000 (13:33 +0200)]
Add my boot-nfs script
It boots locally built kernel with root filesystem over NFS. To
install Jailhouse to NFS-booted TX, run
make jailhouse-install-remote
Michal Sojka [Thu, 26 Jul 2018 07:12:21 +0000 (09:12 +0200)]
Makefile: Add target for remote Jailhouse installation
Michal Sojka [Thu, 26 Jul 2018 06:38:46 +0000 (08:38 +0200)]
Update .gitignore
Michal Sojka [Thu, 26 Jul 2018 06:37:19 +0000 (08:37 +0200)]
Update firmware - from JetPack 3.2.1 (L4T 28.2.1)
Michal Sojka [Tue, 17 Jul 2018 11:34:22 +0000 (13:34 +0200)]
Makefile: Create rootfs-overlay/bin before copying files there
Michal Sojka [Sat, 26 May 2018 22:09:37 +0000 (00:09 +0200)]
Use absolute paths in jailhouse init script
Useful when the script is run over SSH. For some reason *sbin is not in
the path.
Michal Sojka [Sat, 26 May 2018 21:49:16 +0000 (23:49 +0200)]
Update PREM test and main Makefile
Michal Sojka [Sat, 26 May 2018 22:10:25 +0000 (00:10 +0200)]
jailhouse: Use spinlock to allow only one CPU to execute memory phase
So far, we do not disable interrupts so care must be taken that the
calling thread does not migrate to another CPU.
Michal Sojka [Sat, 26 May 2018 11:09:10 +0000 (13:09 +0200)]
Add skeleton of prem_guard_set {sys,hyper}call and a testing program
Michal Sojka [Sat, 26 May 2018 10:38:26 +0000 (12:38 +0200)]
Use our copy of Nvidia's kernel
We will need to modify it soon.
Michal Sojka [Mon, 21 May 2018 15:08:38 +0000 (17:08 +0200)]
Enable Jailhouse also on Denver CPUs
Michal Sojka [Thu, 17 May 2018 11:57:18 +0000 (13:57 +0200)]
Add README
Michal Sojka [Thu, 17 May 2018 11:45:24 +0000 (13:45 +0200)]
Switch off Denver cores before starting Jailhouse
Jailhouse either crashes or hangs without this.
Michal Sojka [Thu, 17 May 2018 11:05:45 +0000 (13:05 +0200)]
Unify jailhouse and linux boot scripts
Michal Sojka [Thu, 17 May 2018 11:05:18 +0000 (13:05 +0200)]
Start Jailhouse earlier in the boot to not waste time during testing
Michal Sojka [Thu, 17 May 2018 10:39:39 +0000 (12:39 +0200)]
Use taskset to start JailHouse on core 0 (A57, not Denver)
Otherwise, it seems to crash.
Michal Sojka [Thu, 17 May 2018 10:33:48 +0000 (12:33 +0200)]
Makefile: Add dependency on JH configs
This ensures that ramdisk is updated even when a config changes.
Michal Sojka [Wed, 16 May 2018 16:58:12 +0000 (18:58 +0200)]
Makefile: Rebuild buildroot when its .config changes
Michal Sojka [Wed, 16 May 2018 16:55:07 +0000 (18:55 +0200)]
Makefile: Fix Jailhouse compilation
Michal Sojka [Wed, 16 May 2018 16:39:34 +0000 (18:39 +0200)]
Switch to Jailhouse for TX2
Michal Sojka [Wed, 16 May 2018 16:29:00 +0000 (18:29 +0200)]
Makefile: Rebuild ramdisk whenever an overlaid file changes
Michal Sojka [Wed, 16 May 2018 16:12:41 +0000 (18:12 +0200)]
novaboot: Use only serial console
This ensures that all messages from boot scripts can be seen on serial
line, i.e. when working remotely.
Michal Sojka [Wed, 16 May 2018 16:11:14 +0000 (18:11 +0200)]
Makefile: Run submakes in parallel
This is just to save me always typing -jN on the command line.
Michal Sojka [Wed, 16 May 2018 16:09:54 +0000 (18:09 +0200)]
novaboot: Use FDT address from u-boot variable rather than plain number
This should be more robust to possible future changes.
Michal Sojka [Wed, 16 May 2018 11:44:15 +0000 (13:44 +0200)]
Move authorized_keys to /root/.ssh, where dropbear looks for it
Michal Sojka [Wed, 16 May 2018 11:04:40 +0000 (13:04 +0200)]
Add my SSH public key to the root fs
Michal Sojka [Wed, 16 May 2018 10:26:24 +0000 (12:26 +0200)]
Use built-in device tree rahter than the one compiled with the kernel
It seems that some kind of firmware, which runs before U-Boot, modifies the
device tree based on somethig (either configuration in Flash or detected
hardware).
With this, ethernet works even with our kernels booted from network.
diff --git a/build/boot-flashfs b/build/boot-flashfs index
4c801d7 ..
d654a82
100755 --- a/build/boot-flashfs +++ b/build/boot-flashfs @@ -3,6 +3,7 @@
# Boot localy built Linux kernel with root filesystem from the flash
load linux-4.4/arch/arm64/boot/Image root=/dev/mmcblk0p1 rw rootwait console=ttyS0,115200n8 console=tty0 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 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4
-load linux-4.4/arch/arm64/boot/dts/tegra186-quill-p3310-1000-c03-00-base.dtb
+#load linux-4.4/arch/arm64/boot/dts/tegra186-quill-p3310-1000-c03-00-base.dtb
-UBOOT_CMD=booti ${kernel_addr_r} - ${fdt_addr_r}
+# Use FDT prepared by firmware at address 0x92000000
+UBOOT_CMD=booti ${kernel_addr_r} - 0x92000000
diff --git a/build/boot-linux b/build/boot-linux
index
697fbd9 ..
83af34a 100755
--- a/build/boot-linux
+++ b/build/boot-linux
@@ -3,7 +3,8 @@
# Boot localy built Linux kernel and initramfs
load linux-4.4/arch/arm64/boot/Image console=ttyS0,115200n8 console=tty0 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
+#load linux-4.4/arch/arm64/boot/dts/tegra186-quill-p3310-1000-c03-00-base.dtb
load buildroot/images/rootfs.cpio.uboot
-UBOOT_CMD=booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
+# Use FDT prepared by firmware at address 0x92000000
+UBOOT_CMD=booti ${kernel_addr_r} ${ramdisk_addr_r} 0x92000000
Michal Sojka [Tue, 15 May 2018 08:31:33 +0000 (10:31 +0200)]
Revert "Update jailshouse to Claudio's version"
This reverts commit
73a0ca057fd9840f8b06b197caab76925ff2c0d3 .
Michal Sojka [Tue, 15 May 2018 08:19:56 +0000 (10:19 +0200)]
Tune Makefile and buildroot .config
Michal Sojka [Tue, 15 May 2018 07:41:25 +0000 (09:41 +0200)]
Add .editorconfig
Michal Sojka [Tue, 15 May 2018 07:11:01 +0000 (09:11 +0200)]
Add command for building U-Boot FIT image
Michal Sojka [Mon, 14 May 2018 23:10:37 +0000 (01:10 +0200)]
Update Makefile to build everything
Michal Sojka [Mon, 14 May 2018 22:21:42 +0000 (00:21 +0200)]
Use Claudio's kernel config
i.e. the file jailhouse/kernel/tx2/config.
Michal Sojka [Mon, 14 May 2018 22:12:03 +0000 (00:12 +0200)]
Remove 3.10 kernel
It was used for TX1.
Michal Sojka [Mon, 14 May 2018 21:55:44 +0000 (23:55 +0200)]
Make plain Linux bootable on TX2
Michal Sojka [Fri, 11 May 2018 16:42:28 +0000 (18:42 +0200)]
Add working configuration for nv-tegra kernel-4.4 build
The .config is created by 'make tegra18_defconfig'.
Michal Sojka [Fri, 11 May 2018 16:33:15 +0000 (18:33 +0200)]
Update jailshouse to Claudio's version
https://github.com/evidence/linux-jailhouse-jetson/tree/
3ba5054d3b38e0a9e4e23ef9b5fd2ac234738fa7
Michal Sojka [Fri, 11 May 2018 16:20:10 +0000 (18:20 +0200)]
Add nvidia's sources as git submodules
This was done by running the script added in the last commit as
follows:
./source_sync.sh -d . -k l4t/l4t-r28.2
Michal Sojka [Fri, 11 May 2018 14:40:23 +0000 (16:40 +0200)]
Modify source_sync.sh to run "git submodule add" rather than "git clone"
Michal Sojka [Fri, 11 May 2018 14:28:42 +0000 (16:28 +0200)]
Add source_sync.sh from "L4T Jetson TX2 Driver Package 28.2"
It can be downloaded from
https://developer.nvidia.com/embedded/dlc/l4t-jetson-tx2-driver-package-28-2-ga.
We will use this script to clone all needed nv-tegra repositories.
Michal Sojka [Mon, 7 May 2018 07:59:24 +0000 (09:59 +0200)]
Update URL of jailhouse repo
Michal Sojka [Sat, 2 Dec 2017 13:33:24 +0000 (14:33 +0100)]
Move Linux sources to our server
Michal Sojka [Tue, 26 Sep 2017 11:45:04 +0000 (13:45 +0200)]
Change novaboot configuration
houdek [Wed, 10 May 2017 13:21:24 +0000 (13:21 +0000)]
init test moved to proper location
houdek [Wed, 10 May 2017 13:20:27 +0000 (13:20 +0000)]
login prompt is on tty0
houdek [Wed, 10 May 2017 08:37:27 +0000 (08:37 +0000)]
get IP adress after init
Michal Sojka [Tue, 9 May 2017 15:10:16 +0000 (17:10 +0200)]
Make novaboot not reset the board until it is unused
Michal Sojka [Tue, 9 May 2017 14:44:15 +0000 (16:44 +0200)]
Fix TFTP server IP address
Michal Sojka [Tue, 9 May 2017 14:40:24 +0000 (16:40 +0200)]
Update novaboot configuration for TX1
houdek [Fri, 5 May 2017 14:11:23 +0000 (14:11 +0000)]
ssh support (nameserver probably not working)
houdek [Fri, 5 May 2017 14:10:08 +0000 (14:10 +0000)]
autorun jailhouse test
houdek [Fri, 5 May 2017 14:08:41 +0000 (14:08 +0000)]
root password
houdek [Fri, 5 May 2017 14:07:59 +0000 (14:07 +0000)]
silent boot
houdek [Fri, 5 May 2017 14:07:41 +0000 (14:07 +0000)]
Makefile support for jailhouse tx1 cells
houdek [Fri, 5 May 2017 14:07:04 +0000 (14:07 +0000)]
Makefile: target clean
houdek [Fri, 5 May 2017 14:05:41 +0000 (14:05 +0000)]
public key - houdek, eth-on
Michal Sojka [Wed, 3 May 2017 16:07:47 +0000 (18:07 +0200)]
Install both jailhouse and kernel modules to the same directory
houdek [Wed, 3 May 2017 15:01:21 +0000 (15:01 +0000)]
Temporary fixes
Michal Sojka [Wed, 3 May 2017 11:49:21 +0000 (13:49 +0200)]
First commit