afl1 If you want to use media_build, you have to port Amlvideo driver into it. What issues have you found? Any solutions you can suggest?
For loading amlvideo module in boot log is following error message:
Code
[ 5.845598@3] WARNING: You are using an experimental version of the media stack.
[ 5.845598@3] As the driver is backported to an older kernel, it doesn't offer
[ 5.845598@3] enough quality for its usage in production.
[ 5.845598@3] Use it with care.
[ 5.845598@3] Latest git patches (needed if you report a bug to [email protected]):
[ 5.845598@3] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[ 5.854411@3] aml: Unknown symbol get_stream_buffer (err 0)
[ 5.854549@3] aml: Unknown symbol tsdemux_set_ops (err 0)
[ 5.868061@3] Linux video capture interface: v2.00
[ 5.868071@3] WARNING: You are using an experimental version of the media stack.
[ 5.868071@3] As the driver is backported to an older kernel, it doesn't offer
[ 5.868071@3] enough quality for its usage in production.
[ 5.868071@3] Use it with care.
[ 5.868071@3] Latest git patches (needed if you report a bug to [email protected]):
[ 5.868071@3] a02ff2e02bee64e9955dbfd8811874c3f3880f58 cx231xx: Fix TBS MAC reading.
[ 5.906787@3] amlvid:err: amlvideo_init called
[ 5.906796@3] amlvid:err: amlvideo_create_instance called
[ 5.906802@3] amlvid:err: v4l2_dev.name=:amlvideo-000
[ 5.906978@0] amlvideo-000: V4L2 device registered as video10
[ 5.943648@3] mali-utgard d00c0000.mali: set min pp to default 1
[ 5.943660@3] mali-utgard d00c0000.mali: set min clk default to 0
[ 5.943746@3] mali-utgard d00c0000.mali: max clk set 4
[ 5.943751@3] mali-utgard d00c0000.mali: turbo clk set to 5
[ 5.945521@1] gpu cooling register okay with err=0
[ 5.945629@1] gpu core cooling register okay with err=0
[ 5.945899@1] Mali: Mali device driver loaded
[ 5.955904@1] Triggered SDIO WiFi power on and bus rescan.
[ 5.955917@1] (NULL device *): [extern_wifi_set_enable] WIFI Disable! 0
[ 6.014514@0] scsi 0:0:0:0: Direct-Access ASMedia AS2115 0 PQ: 0 ANSI: 6
[ 6.015611@1] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/232 GiB)
[ 6.016222@1] sd 0:0:0:0: [sda] Write Protect is off
[ 6.016229@1] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 6.016845@1] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 6.021096@0] sda: sda1 < sda5 >
[ 6.023741@3] sd 0:0:0:0: [sda] Attached SCSI disk
[ 6.263287@1] (NULL device *): [extern_wifi_set_enable] WIFI Enable! 0
[ 6.595877@2] sdio: new high speed SDIO card at address 0001
[ 6.595888@1] sdio: clock 50000000, 4-bit-bus-width
[ 6.595888@1]
[ 6.596201@1] [sdio_reinit] finish
[ 6.693773@3] ------------[ cut here ]------------
[ 6.693803@3] WARNING: CPU: 3 PID: 2469 at /home/afl1/LibreELEC.tv/build.LibreELEC-S905.arm-8.0-devel/media_build-2017-01-22/v4l/v4l2-ioctl.c:999 v4l_querycap+0x98/0xd8 [videodev]()
[ 6.693808@3] Bad caps for driver amlvideo, 5200001 0
[ 6.693811@3] Modules linked in: wifi_dummy mali(O) amlvideodri(O) videobuf_res(O) videobuf_core(O) videodev(O) dvb_core(O) media(O) fbcon bitblit softcursor font dwc_otg aml_nftl_dev(P)
[ 6.693836@3] CPU: 3 PID: 2469 Comm: v4l_id Tainted: P O 3.14.29 #1
[ 6.693840@3] Call trace:
[ 6.693850@3] [<ffffffc001087a58>] dump_backtrace+0x0/0x128
[ 6.693856@3] [<ffffffc001087ba0>] show_stack+0x20/0x30
[ 6.693870@3] [<ffffffc0017b1758>] dump_stack+0x78/0x94
[ 6.693878@3] [<ffffffc0010943e8>] warn_slowpath_common+0x90/0xc0
[ 6.693884@3] [<ffffffc001094478>] warn_slowpath_fmt+0x60/0x78
[ 6.693892@3] [<ffffffbffc0c78d4>] v4l_querycap+0x94/0xd8 [videodev]
[ 6.693900@3] [<ffffffbffc0c9540>] __video_do_ioctl+0x248/0x2b8 [videodev]
[ 6.693908@3] [<ffffffbffc0c9164>] video_usercopy+0x2b4/0x3f8 [videodev]
[ 6.693916@3] [<ffffffbffc0c92e0>] video_ioctl2+0x38/0x50 [videodev]
[ 6.693923@3] [<ffffffbffc0c3934>] v4l2_ioctl+0x11c/0x128 [videodev]
[ 6.693933@3] [<ffffffbffc0d7f7c>] do_video_ioctl+0x15fc/0x1b80 [videodev]
[ 6.693942@3] [<ffffffbffc0d85a0>] v4l2_compat_ioctl32+0xa0/0xa8 [videodev]
[ 6.693949@3] [<ffffffc0011efc74>] compat_sys_ioctl+0xa4/0x1570
[ 6.693953@3] ---[ end trace f966509ab66e15f2 ]---
Display More