qnx hypervisor load qvm

2023-12-06 07:44
文章标签 load qnx hypervisor qvm

本文主要是介绍qnx hypervisor load qvm,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

   //解析dts 获取node qcom_gvms

参考博客:https://blog.csdn.net/liaochaoyun/article/details/127427719

startup-qvmhost.sh  startup.sh1419 waitfor /dev/lcm_demo/display0
1420 if [ $RECOVERY_MODE -eq 0 ]; then
1421 log_launch $VMM_SERVICE_BINARY  #启动 vmm_service
1422 $ON $VMM_SERVICE_ON_ARGS $VMM_SERVICE_BINARY $VMM_SERVICE_ARGS &
1423 log_launch $VMM_LIFECYCLE_BINARY
1424 $ON $VMM_LIFECYCLE_ON_ARGS $VMM_LIFECYCLE_BINARY $VMM_LIFECYCLE_ARGS &
1425 log_launch $VM_SSR_BE_BINARY
1426 $ON $VM_SSR_BE_ON_ARGS $VM_SSR_BE_BINARY $VM_SSR_BE_ARGS &
1427 fi

 vmm_service load qvm

[19:28:32]Jan 01 08:00:04.779            vmm_service.1736789              default  16040  vmm_service[vmm_utils.c:693]:  Ask qvm to load kernel @ phys addr = 0xdf280000
[19:28:32]Jan 01 08:00:04.782            vmm_service.1736789              default  16040  vmm_service[vmm_utils.c:721]: Ask qvm to load ramdisk @ phys addr = 0xe2db7000 continuous size: 23429645 bytes
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[0] = svs_dtach
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[1] = -n
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[2] = /tmp/android
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[3] = -r
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[4] = winch
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[5] = -o
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[6] = /var/log/la_gvm.txt
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[7] = qvm
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[8] = @/mnt/vm/images/linux-la.config
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[9] = @/dev/shmem/linux-la-mem.config
[19:28:32]Jan 01 08:00:04.799            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:850]: qvm cmdline arg[10] = @/mnt/vm/images/la_dp_enabled_a.config
[19:28:32]Jan 01 08:00:04.800            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:929]: Succefully locked the abilities for qvm
[19:28:32]Jun 19 10:40:14.043            vmm_service.1736789              default  16130  vmm_service[vmm_fsm.c:685]: update qvm pid to 2130035
# vmm_service -h
vmm_service: unrecognized option `-h'
Usage: vmm_service [OPTION]... [Value]...
---------------------------------------------------------------------------------------------------------Short opt       Long opt                     Description
----------------------------------------------------------------------------------------------------------i       or   --vmid                     : vmid (Not configurable)-n       or   --vm_name                  : Name of the GVM (Not configurable)--vm_config                : VM Config file path--vm_uid_gid_config        : UID GID config file path--vm_avb1_config           : AVB1 config file path--vm_recovery_config       : VM recovery config file path-b       or   --vm_starts_b4_vmm         : GVM to be started before or after vmm service, <1> or <0>-d       or   --vm_starts_by_default     : GVM to be started by default, <1> or <0> (Not configurable)-m       or   --vm_restart_mode_manual   : GVM start manual mode, <1> or <0> (Not configurable)-t       or   --vm_client_timeout        : GVM client timeout value-l       or   --vm_number_of_logs        : Number of GVM logs-a       or   --vm_avb_version           : AVB version-s       or   --slot_switch_config       : Slot switch configuration <1> to enable <0> to disable-p       or   --vm_partition_prefix      : GVM prefix (Not configurable)-v       or   --vm_dtb_variant           : DTB variant-T       or   --secpol_type              : Secpol Type-c       or   --vm_cmdline               : GVM Command line--dp_enabled_a_config      : GVM DP enable _a config file path--dp_enabled_b_config      : GVM DP enable _b config file path--dp_disabled_config       : GVM DP disable config file path-r       or   --vm_ramdisk_as_root       : Ramdisk as root <1> or <0>-D       or   --debug_mode               : Enable or disable debug mode, It required to be set if we want to use command line options-U       or   --uid_gid                  : vmm uid and gid value
---------------------------------------------------------------------------------------------------------
dtach - version 0.9, compiled on Jun 13 2020 at 20:19:49.
Usage: dtach -a <socket> <options>dtach -A <socket> <options> <command...>dtach -c <socket> <options> <command...>dtach -n <socket> <options> <command...>dtach -N <socket> <options> <command...>dtach -p <socket>
Modes:-a            Attach to the specified socket.-A            Attach to the specified socket, or create it if itdoes not exist, running the specified command.-c            Create a new socket and run the specified command.-n            Create a new socket and run the specified command detached.-N            Create a new socket and run the specified command detached,and have dtach run in the foreground.-p            Copy the contents of standard input to the specifiedsocket.
Options:-e <char>     Set the detach character to <char>, defaults to ^\.-E            Disable the detach character.-r <method>   Set the redraw method to <method>. The valid methods are:none: Don't redraw at all.ctrl_l: Send a Ctrl L character to the program.winch: Send a WINCH signal to the program.-z            Disable processing of the suspend key.Report any bugs to <crigler@users.sourceforge.net>.

apps/qnx_ap/target/hypervisor/host/fdt_config/dtb/sdm-host_la.dts

Dtsi配置了qvm 启动参数 cdt_id

 #include "8540.dtsi"vm_config = "/mnt/vm/images/linux-la.config";vm_recovery_config = "/mnt/vm/images/recovery-la.config";vm_avb1_config = "/mnt/vm/images/avb1-la.config";dp_enabled_a_config = "/mnt/vm/images/la_dp_enabled_a.config";dp_enabled_b_config = "/mnt/vm/images/la_dp_enabled_b.config";dp_disabled_config = "/mnt/vm/images/la_dp_disabled.config";vm_uid_gid_config = "/mnt/vm/images/la_uid_gid.config";8540.dtsi  qcom_gvms {
214         qcom_gvm1 {
215             vm_dtb_soc = <0x1CC>;
216         };
217         #if defined (__GUEST_TYPE_MULTI__) || defined (__GUEST_TYPE_LALA__)
218         qcom_gvm2 {
219             vm_dtb_soc = <0x1CC>;
220         };
221         #endif

/qnx_ap/AMSS/platform

const struct kpi_marker markers_replace[] = {{ "ifs1_entry", 201, "SYS_BOOT_LOADER_END" },{ "ifs1_exit", 201, "SYS_KERNEL_START" },{ "openwfd_server: READY", 501, "SYS_Display_Ready"},{ "/dev/audio_service", 501, "SYS_Audio_Ready"},{ "openwfd_telltale start", 511, "CAR_Display_Telltails" },{ "gears first frame done", 511, "HMI_Cluster" },{ "videoCore: READY", 301, "SYS_Video_Ready"},{ "audio_chime_csd_write", 501, "SYS_Audio_Chime"},{ "ais_server: READY", 501, "SYS_Camera_Ready" },{ "static splash ready", 501, "SYS_Static_Splash"},{ "First decoder output frame after start", 504, "APP_Early_Welcome_Animation"},{ "/dev/qcarcam Camera First Frame", 504, "APP_CSI_RVC"},{ "EMAC0 DRIVER Attach Ready", 510, "SYS_Ethernet0_Ready" },{ "EMAC1 DRIVER Attach Ready", 510, "SYS_Ethernet1_Ready" },{ "vmm_service: LAUNCH",  501, "SYS_QVM_Launch" },{ "ICD_Serializer-Init", 501, "SYS_DISP_ICD_Serializer_init"},{ "CID_Serializer-Init", 501, "SYS_DISP_CID_Serializer_init"},{ "HUD_Serializer-Init", 501, "SYS_DISP_HUD_Serializer_init"},{ "CID_DP-Init", 501, "SYS_DISP_DP0_HOST_INIT"},{ "ICD_DP-Init", 501, "SYS_DISP_DP1_HOST_INIT" },{ "HUD_DSI-Init", 501, "SYS_DISP_DSI_HOST_INIT"},{ "cpld_qnx_app Ready", 501, "SYS_CPLD_QNX_COMM_Init"},{ "MAX96912E_DeSerializer_Init", 501, "SYS_INT_CAM_DeSerializer_init"},{ "MAX96934D_DeSerializer_Init", 501, "SYS_EXT_CAM_DeSerializer_init"},{ "kgsl: READY", 501, "SYS_GPU_Ready"},{ "PBL, End", 201, "SYS_BOOT_PBL_END"},{ "SBL1, Start", 201, "SYS_BOOT_LOAD_XBL_END"},{ "SBL1, End", 201, "SYS_BOOT_XBL_END"},{ "devb-ufs-qualcomm: LAUNCH", 501, "SYS_BOOT_UFS_INIT_START"},{ "devb-ufs-qualcomm: READY", 501, "SYS_BOOT_UFS_INIT_END"},{ "load_RichOS_kernel start", 501, "SYS_BOOT_KERNEL_LOAD_START"},{ "load_RichOS_kernel done", 501, "SYS_BOOT_KERNEL_LOAD_END"}
};

/services/daemons/bmetrics_service/src/bmetric_service.c

const struct kpi_marker markers_replace[] = {{ "ifs1_entry", 201, "SYS_BOOT_LOADER_END" },{ "ifs1_exit", 201, "SYS_KERNEL_START" },{ "openwfd_server: READY", 501, "SYS_Display_Ready"},{ "/dev/audio_service", 501, "SYS_Audio_Ready"},{ "openwfd_telltale start", 511, "CAR_Display_Telltails" },{ "gears first frame done", 511, "HMI_Cluster" },{ "videoCore: READY", 301, "SYS_Video_Ready"},{ "audio_chime_csd_write", 501, "SYS_Audio_Chime"},{ "ais_server: READY", 501, &#

这篇关于qnx hypervisor load qvm的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/460989

相关文章

类的load方法和initialize方法对比

1. load方法在main()之前被调用,而initialize方法在main()之后调用 load方法实际是在load_images过程中被调用的。load_images会将当前应用依赖的所有镜像(动态库)加载到内存,在在加载中首先是对镜像进行扫描,将所有包含 load 方法的类加入列表 loadable_classes ,然后从这个列表中逐一调用其所包含的 load 方法。 +[XXCl

【QNX+Android虚拟化方案】120 - Android 侧 USB2.0 插拔过程

【QNX+Android虚拟化方案】120 - Android 侧 USB2.0 插拔过程 基于原生纯净代码,自学总结 纯技术分享,不会也不敢涉项目、不泄密、不传播代码文档!!! 本文禁止转载分享 !!! 汇总链接:《【QNX+Android虚拟化方案】00 - 系列文章链接汇总》 本文链接:《【QNX+Android虚拟化方案】120 - Android 侧 USB2.0

基于Hypervisor智能驾舱的AUTOSAR解决方案

MENTOR嵌入式管理程序 目前,通常使用两种类型的管理程序(图6): Type 1本机管理程序:一种在硬件上本机运行的管理程序,因为它充当核心中的操作系统。Type 2托管虚拟机监控程序:此类型的虚拟机监控程序必须由另一个操作系统托管,并且仅负责使用主机操作系统可用的资源来虚拟化客户操作系统。 图6:虚拟机管理程序 虚拟化的工作原理是从硬件上运行的应用程序中抽象出物理硬件和设备。虚拟化流程管理

Unity Adressables 使用说明(六)加载(Load) Addressable Assets

【概述】Load Addressable Assets Addressables类提供了加载 Addressable assets 的方法。你可以一次加载一个资源或批量加载资源。为了识别要加载的资源,你需要向加载方法传递一个键或键列表。键可以是以下对象之一: Address:包含你分配给资源的地址的字符串。Label:包含分配给一个或多个资源的标签的字符串。AssetReference Obj

How can I load the openai api configuration through js in html?

题意:怎样在HTML中通过JavaScript加载OpenAI API配置 问题背景: I am trying to send a request through js in my html so that openai analyzes it and sends a response, but if in the js I put the following: 我正在尝试通过HTM

JavaBug系列- Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class load

JavaBug系列之Mysql驱动问题 Java医生一、关于错误信息二、如何解决问题 Java医生 本系列记录常见Bug,以及诊断过程和原因 Java/一对一零基础辅导/企业项目一对一辅导/日常Bug解决/代码讲解/毕业设计等 V:study_51ctofx 一、关于错误信息 APPLICATION FAILED TO START Description: Fai

【Python百日进阶-Web开发-音频】Day705 - 音频加载 librosa.load / librosa.stream

文章目录 一、音频加载1.1 librosa.load1.1.1 语法与参数1.1.2 例子1.1.2.1 下载并加载文件1.1.2.2 加载并重采样1.1.2.3 加载文件,从第15秒开始,加载5秒- 1.2 librosa.stream1.2.1 语法与参数1.2.2 例子1.2.2.1 一次对 256 帧的块应用短期傅里叶变换。1.2.2.2 使用较短的帧和不重叠的窗口计算流上的 m

【异常】java.sql.SQLException: Unable to load authentication plugin ‘caching_sha2_password‘.

异常现象 执行mysql数据库操作的时候,出现以下异常信息: java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'.at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:868) ~[mysql-connector-

$(document).ready()与$(window).load()的区别

1.执行时间不同: 从字面的意思上理解,$(document).ready()就是文档准备好了。也就是浏览器已经解析完整个html文档,dom树已经建立起来了,这时就可以通过class属性或者id属性等等对dom进行操作等。而$(window).load()就是整个页面已经加载完毕。与前者的区别是dom树虽然已经建立起来了,但页面不一定加载完毕,如一些大的图片等,加载完成就需要一定的时间;但是页

解决Can‘t load tokenizer for ‘bert-base-chinese‘.问题

报错提示: OSError: Can't load tokenizer for 'bert-base-chinese'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwi