Nikita

Nikita

1个粉丝

35

问答

0

专栏

1

资料

Nikita  发布于  2014-04-22 16:11:25
采纳率 0%
35个问答
4397

Description of modules, modules parameters and SoC registers

 
Hello!

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个
时间排序
认可量排序

AOC

0个粉丝

19

问答

0

专栏

15

资料

AOC 2014-04-22 17:51:50
认可0
本帖最后由 AOC 于 2014-4-22 18:28 编辑

about register,pls read "Hi3531 H.264 Codec Processor Data sheet.pdf"
some modules are precompiled,becuase They are relate hi3531 SOC's media functions.  some modules are source code,because they are Periphery. like AD and so on

Nikita

1个粉丝

35

问答

0

专栏

1

资料

Nikita 2014-04-22 20:10:29
认可0
Yes, you are right! Thanks!

And what about modules?

For example this two hi3531_base.ko, hi3531_sys.ko. What is it?
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区