▲ Click☆Star me to avoid losing contact
1. Introduction
The SemiDrive X9HP chip supports multiple operating systems running in coordination, enabling the control of four screens for the instrument panel, air conditioning, central control, and co-driver multimedia. The intelligent interaction between the vehicle and the driver can be achieved through a perfect integration of display screens, touch control, voice control, physical buttons, and vehicle protocols, making the car smarter. This enhances the experience and enjoyment for both drivers and passengers. In practical projects, customers are likely to develop the instrument panel based on Kanzi, this article focuses on the methods for adapting X9HP to Kanzi.
2. Modifying the Compilation SDK
1. Modify the JSON Configuration File
This article is based on the SemiDrive PTG4.3 baseline, using the X9HP_MS_Isolation_AndroidUser_Linux_Serdes_8G_vemmc_4266.json configuration file, which is for the dual system of Android and Linux. Modify the JSON file to disable the boot animation,
set Android to userdebug mode
and set the distro in Yocto to wayland.
2. Modify the Makefile
In the top-level Makefile, replace all instances of core-image-base with core-image-weston.
3. Yocto Configuration
Modify the x9hp_ms_cluster_virt_emmc.conf file in the machine directory, removing the default cluster and cluster-demo applications.
4. Modify the BPT File
Modify the BPT file used in the path res/partiotion/ab/emmc_standard/vmmc_android_3d-cluster/ to increase the ap2 rootfs capacity to 2G and the ap2 capacity to 5G; otherwise, an error will occur during packaging.
5. Export the Compilation Toolchain
When using Kanzi to develop applications, we need to provide a compilation toolchain. Set the environment variable in Yocto: DISTRO=wayland MACHINE=x9hp_ms_cluster_virt_emmc source sd_setup.sh -b build-x9hp_ms_cluster_virt_emmc/
The command to compile and generate the toolchain is bitbake core-image-weston -c do_populate_sdk. After compilation, the generated toolchain path will be yocto/build-x9hp_ms_cluster_virt_emmc/tmp/deploy/sdk, and the .sh file should be provided to application developers.
3. Running the Kanzi Demo
1. Flash the PAC Package
After all configurations are complete, run make build_all and make genpac to generate the PAC package, and flash it onto the board. Confirm that the board can boot normally, the screen lights up, and ADB can connect to the board.
2. Add Applications and Library Files
Use the ADB tool to push the application and necessary library files to the board. Since it is an Android system, ADB can push files to the Android directory.
Then, through the shared directory between Android and Linux, copy the above files to Linux, copy the library files to the Linux /lib directory, set the environment variable export XDG_RUNTIME_DIR=/run/user/0, and modify the execution permissions of the application.
3. Application File Configuration
Set the display resolution to 1920*720.
The default display will have a status bar; modify the board’s /etc/xdg/weston/weston.ini file to add panel-position=none to disable the status bar and display in full screen.
4. Running Effects
The full-screen display effect of the instrument demo is shown in the figure below.
After the above steps of debugging, the X9HP adaptation to Kanzi has been successfully completed.
4. Reference Documents
“SemiDrive_9_Series_Display Application Guide”
“X9_SDK_User Manual”
“X9 Series Multimedia Development User Guide”
Welcome to follow the expert blogger: Automotive Expert
To learn more about automotive-related application knowledge!

Welcome to follow the Dalian Engineer Community – Expert Blogger
👇👇👇


ClickRead the original text to learn more details!

Like
Collect
Share