📄 llad_smallapps.readme
字号:
The gbus utilites are released with MRUA/dev/poeoring under llad_smallapps directory of MRUA_src, they can be built by "make smallapps". The gbus utilities include:*************************** a) read/write/fill through gbus for byte/word/longword 1) gbus_read_uint32 Usage: ./gbus_read_uint32 <address> 2) gbus_read_uint16 Usage: ./gbus_read_uint16 <address> 3) gbus_read_uint8 Usage: ./gbus_read_uint8 <address> 4) gbus_write_uint32 Usage: ./gbus_write_uint32 <address> <data> 5) gbus_write_uint16 Usage: ./gbus_write_uint16 <address> <data> 6) gbus_write_uint8 Usage: ./gbus_write_uint8 <address> <data> 7) gbus_fill Usage: ./gbus_fill <address> <data> <size> b) read/write a file (binary/text) through gbus 1) gbus_read_bin_to_file Usage: ./gbus_read_bin_to_file <start> <size> <filename> 2) gbus_write_bin_from_file Usage: ./gbus_write_bin_from_file <address> <filename> [<offset>] [<size>] 3) gbus_read_uint32_to_file Usage: ./gbus_read_uint32_to_file <start> <size> <filename> 4) gbus_write_uint32_from_file Usage: ./gbus_write_uint32_from_file <address> <filename> [<offset>] [<size>] example: gbus transfer test 1) ./gbus_write_bin_from_file 0x10000000 getargs.c 2) ./gbus_read_bin_to_file 0x10000000 1746 test 3) diff getargs.c test c) monitor/allocation bus bandwidth 1) bw Option: "r" for dump bandwidth, "d" and "e" for enable/disable channel "w" to change the channel bandwidth Usage: ./bw Syntax: ./bw command --- example r d channel e channel w channel >4 (in percent!) w channel <12 example: ./bw r osdWarning: ./bw: environment variable EM8XXX_SERVER not set. Using device 0informative: sum bwmin = 1%informative: sum bwmax = 494%channel gfx_in: 0% < bw < 49% <= limit 12%channel video_in: 0% < bw < 24% <= limit 3%channel main_Y: 1% < bw < 24% <= limit 12%channel main_UV: 0% < bw < 24% <= limit 6%channel pip_Y: 0% < bw < 24% <= limit 6%channel pip_UV: 0% < bw < 24% <= limit 3%channel vcr_Y: 0% < bw < 24% <= limit 6%channel vcr_UV: 0% < bw < 24% <= limit 3%channel crt_Y: 0% < bw < 24% <= limit 6%channel crt_UV: 0% < bw < 24% <= limit 3%channel osd: 0% < bw < 49% <= limit 12%channel spu: 0% < bw < 24% <= limit 6%channel gfxaccelx_in: 0% < bw < 49% <= limit 3%channel gfxaccely_in: 0% < bw < 49% <= limit 3% d) retrieve llad configuration (PCI ID, PCI class, Vendor,device,revision ID) 1) llad_get_config usage: ./llad_get_config Warning: ./llad_get_config: environment variable EM8XXX_SERVER not set. Using device 0 config is : 00:00.0 048000 1105:8634 1105:00c1 82By the way, YAMON shell also support gbus read/write function.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -