4397
- 收藏
- 点赞
- 分享
- 举报
Description of modules, modules parameters and SoC registers
Hello!
In SDK for Hi3531 there are some initial scripts, that setups SoC peripherals:
First we run pinctrl_XXX_hi3531.sh (according to operation mode, like capture 4 1080p SDI), clkcfg_hi3531.sh, than sysctl_hi3531.sh.
This shell scripts contains some commands for writing some parameters in SoC registers.
For example:
[code]himm 0x200f00f4 0x00000000 #VIU3_HS / GPIO7_5 / VOU7_CLK / VOU1120_HS / VIU3_CLKA
himm 0x200f00f8 0x00000000 #VIU3_DAT15/ GPIO7_6 / VOU6_DAT7/ VOU1120_DAT15/SDIOxx
himm 0x200f00fc 0x00000000 #VIU3_DAT14/ GPIO7_7 / VOU6_DAT6/ VOU1120_DAT14/SDIOxx
himm 0x200f0100 0x00000000 #VIU3_DAT13/ GPIO8_0 / VOU6_DAT5/ VOU1120_DAT13/SDIOxx
himm 0x200f0104 0x00000000 #VIU3_DAT12/ GPIO8_1 / VOU6_DAT4/ VOU1120_DAT12/SDIOxx[/code]
Where I can find description of each register? I have look at SDK docs, and don`t find something like this. Maybe I`m blind...
Last we run load3531.sh
It loads modules:
Some drivers from extdrv dir:
Related to audio:
Related to pci express:
So, where to find description of each module and their parameters?
I already know about mmz.ko, hifb.ko.
Another number of modules are descripted in related documents (pdf docs). But maybe there are some docs with all list?
Another thing, that unclear for me, why some modules is precompiled, and some have sources and placed in extdrv dir?
In SDK for Hi3531 there are some initial scripts, that setups SoC peripherals:
- load3531.sh
- pinctrl_XXX_hi3531.sh
- clkcfg_hi3531.sh
- sysctl_hi3531.sh
First we run pinctrl_XXX_hi3531.sh (according to operation mode, like capture 4 1080p SDI), clkcfg_hi3531.sh, than sysctl_hi3531.sh.
This shell scripts contains some commands for writing some parameters in SoC registers.
For example:
[code]himm 0x200f00f4 0x00000000 #VIU3_HS / GPIO7_5 / VOU7_CLK / VOU1120_HS / VIU3_CLKA
himm 0x200f00f8 0x00000000 #VIU3_DAT15/ GPIO7_6 / VOU6_DAT7/ VOU1120_DAT15/SDIOxx
himm 0x200f00fc 0x00000000 #VIU3_DAT14/ GPIO7_7 / VOU6_DAT6/ VOU1120_DAT14/SDIOxx
himm 0x200f0100 0x00000000 #VIU3_DAT13/ GPIO8_0 / VOU6_DAT5/ VOU1120_DAT13/SDIOxx
himm 0x200f0104 0x00000000 #VIU3_DAT12/ GPIO8_1 / VOU6_DAT4/ VOU1120_DAT12/SDIOxx[/code]
Where I can find description of each register? I have look at SDK docs, and don`t find something like this. Maybe I`m blind...
Last we run load3531.sh
It loads modules:
- hi3531_base.ko
- hi3531_sys.ko
- hi3531_tde.ko
- hi3531_dsu.ko
- hi3531_venc.ko
- hi3531_group.ko
- hi3531_chnl.ko
- hi3531_h264e.ko
- hi3531_rc.ko
- hi3531_jpege.ko
- hi3531_mpeg4e.ko
- hi3531_viu.ko
- hi3531_vou.ko
- hi3531_vpss.ko
- hi3531_region.ko
- hi3531_ive.ko
- hi3531_vda.ko
- vcmp.ko
- hifb.ko
- hi3531_vdec.ko
- hi3531_vfmw.ko
- hi3531_hdmi.ko
- jpeg.ko
Some drivers from extdrv dir:
- extdrv/gpioi2c.ko
- extdrv/tw2960.ko
- extdrv/tw2865.ko
- extdrv/sil9024.ko
- extdrv/ssp.ko
- extdrv/adv_7179.ko
Related to audio:
- hidmac.ko
- extdrv/tlv_320aic31.ko
- hi3531_sio.ko
- hi3531_ai.ko
- hi3531_ao.ko
- hi3531_aenc.ko
- hi3531_adec.ko
Related to pci express:
- pcie/hi35xx_dev_host.ko
- pcie/mcc_drv_host.ko
- pcie/mcc_usrdev_host.ko
- pcie/pcit_dma_host.ko
- hi3531_pciv_fmw.ko
- hi3531_pciv.ko
So, where to find description of each module and their parameters?
I already know about mmz.ko, hifb.ko.
Another number of modules are descripted in related documents (pdf docs). But maybe there are some docs with all list?
Another thing, that unclear for me, why some modules is precompiled, and some have sources and placed in extdrv dir?
我来回答
回答2个
时间排序
认可量排序
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-09-02 10:19:32
-
2014-11-01 10:41:55
-
2020-10-28 10:22:28
-
2017-03-02 16:49:21
-
2020-12-04 09:14:40
-
2015-02-01 13:16:09
-
2019-03-27 14:50:24
-
2019-10-09 11:01:07
-
2018-11-28 17:03:16
-
2022-08-01 17:15:21
-
2022-08-01 16:50:37
-
2018-10-11 10:45:44
-
2020-01-07 16:00:22
-
2014-12-13 22:05:10
-
2023-08-24 16:59:25
-
2018-01-10 13:10:12
-
2015-07-27 21:22:50
-
2013-08-25 11:19:52
-
2018-05-06 21:42:55
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认