]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/log
hercules2020/jailhouse-build.git
6 years agoUse built-in device tree rahter than the one compiled with the kernel
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

6 years agoRevert "Update jailshouse to Claudio's version"
Michal Sojka [Tue, 15 May 2018 08:31:33 +0000 (10:31 +0200)]
Revert "Update jailshouse to Claudio's version"

This reverts commit 73a0ca057fd9840f8b06b197caab76925ff2c0d3.

6 years agoTune Makefile and buildroot .config
Michal Sojka [Tue, 15 May 2018 08:19:56 +0000 (10:19 +0200)]
Tune Makefile and buildroot .config

6 years agoAdd .editorconfig
Michal Sojka [Tue, 15 May 2018 07:41:25 +0000 (09:41 +0200)]
Add .editorconfig

6 years agoAdd command for building U-Boot FIT image
Michal Sojka [Tue, 15 May 2018 07:11:01 +0000 (09:11 +0200)]
Add command for building U-Boot FIT image

6 years agoUpdate Makefile to build everything
Michal Sojka [Mon, 14 May 2018 23:10:37 +0000 (01:10 +0200)]
Update Makefile to build everything

6 years agoUse Claudio's kernel config
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.

6 years agoRemove 3.10 kernel
Michal Sojka [Mon, 14 May 2018 22:12:03 +0000 (00:12 +0200)]
Remove 3.10 kernel

It was used for TX1.

6 years agoMake plain Linux bootable on TX2
Michal Sojka [Mon, 14 May 2018 21:55:44 +0000 (23:55 +0200)]
Make plain Linux bootable on TX2

6 years agoAdd working configuration for nv-tegra kernel-4.4 build
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'.

6 years agoUpdate jailshouse to Claudio's version
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

6 years agoAdd nvidia's sources as git submodules
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

6 years agoModify source_sync.sh to run "git submodule add" rather than "git clone"
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"

6 years agoAdd source_sync.sh from "L4T Jetson TX2 Driver Package 28.2"
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.

6 years agoUpdate URL of jailhouse repo
Michal Sojka [Mon, 7 May 2018 07:59:24 +0000 (09:59 +0200)]
Update URL of jailhouse repo

6 years agoMove Linux sources to our server
Michal Sojka [Sat, 2 Dec 2017 13:33:24 +0000 (14:33 +0100)]
Move Linux sources to our server

6 years agoChange novaboot configuration
Michal Sojka [Tue, 26 Sep 2017 11:45:04 +0000 (13:45 +0200)]
Change novaboot configuration

7 years agoinit test moved to proper location
houdek [Wed, 10 May 2017 13:21:24 +0000 (13:21 +0000)]
init test moved to proper location

7 years agologin prompt is on tty0
houdek [Wed, 10 May 2017 13:20:27 +0000 (13:20 +0000)]
login prompt is on tty0

7 years agoget IP adress after init
houdek [Wed, 10 May 2017 08:37:27 +0000 (08:37 +0000)]
get IP adress after init

7 years agoMake novaboot not reset the board until it is unused
Michal Sojka [Tue, 9 May 2017 15:10:16 +0000 (17:10 +0200)]
Make novaboot not reset the board until it is unused

7 years agoFix TFTP server IP address
Michal Sojka [Tue, 9 May 2017 14:44:15 +0000 (16:44 +0200)]
Fix TFTP server IP address

7 years agoUpdate novaboot configuration for TX1
Michal Sojka [Tue, 9 May 2017 14:40:24 +0000 (16:40 +0200)]
Update novaboot configuration for TX1

7 years agossh support (nameserver probably not working)
houdek [Fri, 5 May 2017 14:11:23 +0000 (14:11 +0000)]
ssh support (nameserver probably not working)

7 years agoautorun jailhouse test
houdek [Fri, 5 May 2017 14:10:08 +0000 (14:10 +0000)]
autorun jailhouse test

7 years agoroot password
houdek [Fri, 5 May 2017 14:08:41 +0000 (14:08 +0000)]
root password

7 years agosilent boot
houdek [Fri, 5 May 2017 14:07:59 +0000 (14:07 +0000)]
silent boot

7 years agoMakefile support for jailhouse tx1 cells
houdek [Fri, 5 May 2017 14:07:41 +0000 (14:07 +0000)]
Makefile support for jailhouse tx1 cells

7 years agoMakefile: target clean
houdek [Fri, 5 May 2017 14:07:04 +0000 (14:07 +0000)]
Makefile: target clean

7 years agopublic key - houdek, eth-on
houdek [Fri, 5 May 2017 14:05:41 +0000 (14:05 +0000)]
public key - houdek, eth-on

7 years agoInstall both jailhouse and kernel modules to the same directory
Michal Sojka [Wed, 3 May 2017 16:07:47 +0000 (18:07 +0200)]
Install both jailhouse and kernel modules to the same directory

7 years agoTemporary fixes
houdek [Wed, 3 May 2017 15:01:21 +0000 (15:01 +0000)]
Temporary fixes

7 years agoFirst commit
Michal Sojka [Wed, 3 May 2017 11:49:21 +0000 (13:49 +0200)]
First commit