[binaries]
c = 'arm-linux-gcc'cpp = 'arm-linux-g++'
ar = 'arm-linux-ar'
strip = 'arm-linux-strip'[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7'
endian = 'little'[build_machine]
system = 'linux'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
测试程序的使用 modetest:
#modetest 参数
modetest -h #帮助
Query options:#用于查询的参数选项-c list connectors #列举出所有的connectors-e list encoders #列举出所有的encoders -f list framebuffers #列举出所有的framebuffers -p list CRTCs and planes (pipes)#列举出所有的CRTCs和planes
Test options:#用于测试的参数选项#-P给CRTC指定plane-P <plane_id>@<crtc_id>:<w>x<h>[+<x>+<y>][*<scale>][@<format>]set a plane
#-s 设置输出模式,选择connector和crtc-s <connector_id>[,<connector_id>][@<crtc_id>]:[#<mode index>]<mode>[-<vrefresh>][@<format>] set a mode -C test hw cursor
-v test vsynced page flipping
-r set the preferred mode for all connectors
-w <obj_id>:<prop_name>:<value> set property
-a use atomic API
-F pattern1,pattern2 specify fill patterns
Generic options:#指定打开设备、驱动-d drop master after mode set-M module use the given driver
-D device use the given device
Default is to dump all info.#例子#-s <connector_id>[,<connector_id>][@<crtc_id>]:[#<mode index>]<mode>[-<vrefresh>][@<format>]#-P <plane_id>@<crtc_id>:<w>x<h>[+<x>+<y>][*<scale>][@<format>] set a plane
modetest -s 37@35:1024x768 -P 33@35:1024x768