Hi,
I am using “nxp-real-time-edge-sw” Linux on IMX8MP. I want to develop a project in Jailhouse with Harpoon platform. When I enable jailhouse with a simple “hello_world!” harpoon project, it works correctly. However, when I load a code on CM7 in U-Boot, then in Linux I can enable the jailhouse, but the Harpoon code doesn’t work and only CM7 works correctly. I found that the Harpoon code stuck in “BOARD_InitDebugConsole”. To avoid confliction, I changed the console UART of CM7 to UART3 and disable UART3 in device tree, but it didn’t have any effect. On the other hand, when I disable console and only toggle a pin in CM7, harpoon code works correctly. Does anyone have any suggestions to solve this issue?
What I have done:
fatload mmc 1:1 0x40400000 test_uart3.bin;
cp.b 0x40400000 0x7e0000 4e88;
bootaux 0x7e0000 0;
setenv jh_boot_db imx8mp-evk-rpmsg-cm7-jailhouse.dtb;saveenv
run jh_mmcboot
harpoon_set_configuration.sh freertos test_gpio_test
systemctl start harpoon
I have attached the codes and the device trees.
Thank you.
Hello,
You should modified the assigned memory to uboot since CM7 don't create a point to upload harpoon.
Regards
Thank you for you response.
Could you please explain more. I don't know which of the assigned memory should be modified!