https://github.com/qq516333132/c600/blob/master/linux-3.10/drivers/media/cedar-ve/cedar_ve.c
驱动勾选:
CONFIG_VIDEO_ENCODER_DECODER_SUNXI=y
烧录启动后自动生成:
/dev/cedar_dev
启动log:
[ 1.113513] sunxi cedar version 0.1
[ 1.117820] [cedar]: install start!!!
[ 1.122041] cedar-ve the get irq is 102
[ 1.126530] cedar-ve the sram base addr is f1c00000, value is 7fffffff
[ 1.133759] IR RX IRQ Serve
[ 1.136847] sunxi_ir_recv_irq !!
[ 1.140415] receive cnt :5
[ 1.143505] get frist pulse,add head 128 !!
[ 1.148130] pusle :1, dur: 16277079 ns
[ 1.152275] handle raw data.
[ 1.155579] cedar-ve the sram for ve addr is f1c00004, value is 70000001
[ 1.163789] cedar-ve clk_bass_vir 0x18 is f1c20018, the value:93000800
[ 1.171249] cedar-ve clk_bass_vir 0x13c is f1c2013c, the value:80000000
[ 1.178725] cedar-ve clk_bass_vir 0x64 is f1c20064, the value:1
[ 1.185381] cedar-ve clk_bass_vir 0x2c4 is f1c202c4, the value:0
[ 1.192163] cedar-ve clk_bass_vir 0x100 is f1c20100, the value:1
[ 1.198946] [cedar]: install end!!!
离线