Hi,

We now want to port the jailhouse running on custom hardware. But we are 
not so familiar with this set of software, so we buy the official board 
first.
The operation we have done is listed below.

1. Download the wic.xz image from official website and flash to the SD 
card. Make the target board boot from SD card.

The result is perfect. We can boot Linux and create two partitions easily.

2. Download the SDK : ti-processor-sdk-linux-am62xx-evm-09.02.01.10. Build 
up a develop Host via Ubuntu22.04. And then
      (1)Flash the files(tiboot3.bin , tispl.bin , u-boot.img)  located in 
<SDK_Path>/board-support/prebuilt-images/am62xx-evm-jailhouse into the SD 
Card boot partition.

      (2)Flash the rootfs from 
<SDK_Path>/filesystem/am62xx-evm-jailhouse/tisdk-jailhouse-image-am62xx-evm.tar.xz
 
into the SD Card root partition.

The result is perfect. We can boot Linux and create two partitions easily.

 

Now we want to compile all the mentioned files by ourselves and preparing 
to port to our own hardwares.

1. Switch to top level directory of the SDK_Path;

2. #Host: make jailhouse_clean

3. #Host: make jailhouse

4. #Host: make jailhouse_install DESTDIR=<root partition of target>

5. #Host: make linux-extras

6. #Host: make linux-extras_install DESTDIR=<root partition of target>

7. #Host: make u-boot-extras

8. #Host: make u-boot-extras_install DESTDIR=<boot partition of target>

Now the SD card should hold all files needed to boot Linux & Jailhouse.
First, we can boot up the Linux successfully. But after we create a 
jailhouse cell, the root cell, which is running on CPU0, would crash 
immediately.

In order to find out the error, we overwrite tiboot3.bin tispl.bin 
u-boot.img by the files from prebuilt-image folder.

After that, Linux & Jailhouse can work smoothly.

 

Q1 : Whether we had make any misunderstanding about the commands?

Q2 : If we want to port jailhouse to our hardware, where is the start 
point? Could you give us some suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/3b2a8c02-2e34-4a60-bb95-72a97aca445fn%40googlegroups.com.

Reply via email to