Other Parts Discussed in Thread: SK-AM62B-P1
Tool/software:
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?
The OPN of the dev board is SK-AM62B-P1. The screenshotof crash is in the attachment.
Please feel free to reply to this email if you have any questions.
Thank you,
Texas Instruments