Enigma2 on Odroid C2

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Enigma2 on Odroid C2

Unread post by csucsu » Tue Jul 12, 2016 12:32 am

Hi All,

I would like to create a project Enigma2 for C2 (or other S905 device).
I think Enigma2 is a good client software to watch TV. Enigma2 is used mainly for satellite receiving but it can handle DVB-T and DVB-C tuners. Odroid C2 and other S905 devices don't have tuners but can be plug an USB tuner... Enigma2 can play http or udp streams also.
My first goal to watch IPTV on this board. My provider has 10-20Mbit udp stream per channel.
So I'm looking for developers who would like to join this project...

If you are interested just send me a PM.

best regards, csucsu.

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Tue Sep 06, 2016 6:20 am

Where is project sources and have sources of e2procfs for amlogic.

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sun Sep 18, 2016 2:06 pm

Hi,

there is no public source available yet. I'm working on e2procfs but not finished.

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Mon Sep 19, 2016 5:44 pm

https://github.com/vitmod/meta-infiniti ... le-stbfake

https://github.com/project-magpie/tdt-d ... er/e2_proc

Look this sources.

I used wetek oealiance sources . Its booted but e2procfs.ko modules give privaled instructions

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Mon Sep 19, 2016 6:12 pm

I use s812 with kernel https://github.com/wetek-enigma/linux-wetek-3.10.y
same smal patch dtb and kernel

oealiance
https://github.com/wetek-enigma/oe-alliance-core

here boot log

Code: Select all

Starting kernel ...

[    0.000000@0] Booting Linux on physical CPU 0x200
[    0.000000@0] Linux version 3.10.93 (taki@taki-VirtualBox) (gcc version 5.3.0 (GCC) ) #2 SMP Fri Jun 17 13:50:37 EEST 2016
[    0.000000@0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000@0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000@0] Machine: Amlogic Meson8, model: AMLOGIC
[    0.000000@0] physical memory start address is 0x200000
[    0.000000@0] reserved_end is 1cafffff
[    0.000000@0]
[    0.000000@0] Total memory is 2046 MiB
[    0.000000@0] Reserved low memory from 0x06000000 to 0x1cafffff, size: 363 MiB
[    0.000000@0]        mesonfb0(low)           : 0x06100000 - 0x07900000 ( 24 MiB)
[    0.000000@0]        mesonfb1(low)           : 0x07900000 - 0x07a00000 (  1 MiB)
[    0.000000@0]        deinterlace0(high)      : 0x7e800000 - 0x80000000 ( 24 MiB)
[    0.000000@0]        mesonstream0(low)       : 0x07a00000 - 0x09a00000 ( 32 MiB)
[    0.000000@0]        vdec0(low)      : 0x09a00000 - 0x19a00000 (256 MiB)
[    0.000000@0]        ppmgr0(high)    : 0x7c800000 - 0x7e800000 ( 32 MiB)
[    0.000000@0]        vdin00(low)     : 0x19a00000 - 0x19b00000 (  1 MiB)
[    0.000000@0]        vdin10(low)     : 0x19b00000 - 0x1ab00000 ( 16 MiB)
[    0.000000@0]        amlvideo20(low)         : 0x1ab00000 - 0x1c300000 ( 24 MiB)
[    0.000000@0]        amvideocap0(low)        : 0x1c300000 - 0x1cb00000 (  8 MiB)
[    0.000000@0] Memory policy: ECC disabled, Data cache writealloc
[    0.000000@0] Meson chip version = RevA (1D:A - 0:74E)
[    0.000000@0] PERCPU: Embedded 8 pages/cpu @c19f1000 s11456 r8192 d13120 u32768
[    0.000000@0] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 411512
[    0.000000@0] Kernel command line: vmalloc=300M root=/dev/mmcblk0p2 rw rootfstype=ext4 disk=/dev/mmcblk0p2 no_console_suspend=1 console=ttyS0,115200n8 console=tty0 consoleblank=0 scaling_governor=ondemand scaling_min_freq=96000 scaling_max_freq=1608000 systemd.show_status=auto rootwait
[    0.000000@0] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000@0] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000@0] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000@0] Memory: 64MB 16MB 1533MB = 1613MB total
[    0.000000@0] Memory: 1624560k/1624560k available, 27152k reserved, 1312768K highmem
[    0.000000@0] Virtual kernel memory layout:
[    0.000000@0]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000@0]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000@0]     vmalloc : 0xec800000 - 0xff000000   ( 296 MB)
[    0.000000@0]     lowmem  : 0xc0000000 - 0xec400000   ( 708 MB)
[    0.000000@0]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000@0]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000@0]       .text : 0xc0008000 - 0xc08d7298   (9021 kB)
[    0.000000@0]       .init : 0xc08d8000 - 0xc0920cc0   ( 292 kB)
[    0.000000@0]       .data : 0xc0922000 - 0xc098bac0   ( 423 kB)
[    0.000000@0]        .bss : 0xc098bac0 - 0xc0a4d078   ( 774 kB)
[    0.000000@0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000@0] Hierarchical RCU implementation.
[    0.000000@0]        RCU debugfs-based tracing is enabled.
[    0.000000@0] NR_IRQS:256
[    0.000000@0] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000@0] Switching to timer-based delay loop
[    0.000000@0] Console: colour dummy device 80x30
[    0.000000@0] console [tty0] enabled
[    0.000000@0] console [ttyS0] enabled
[    0.306107@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.316407@0] pid_max: default: 32768 minimum: 301
[    0.321314@0] Mount-cache hash table entries: 512
[    0.326444@0] CPU: Testing write buffer coherency: ok
[    0.331097@0] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.336713@0] Setting up static identity map for 0xc0648cb8 - 0xc0648d10
[    0.343469@0] L310 cache controller enabled
[    0.347525@0] l2x0: 8 ways, 4096 sets, CACHE_ID 0x4100a0c9,  Cache size: 1048576 B
[    0.355089@0]       AUX_CTRL 0x7ec80001, PERFETCH_CTRL 0x71000007, POWER_CTRL  0x00000000
[    0.363217@0]       TAG_LATENCY 0x00000111, DATA_LATENCY 0x00000222
[    0.369922@0] write pen_release: 1
[    0.373059@1] CPU1: Booted secondary processor
[    0.373068@1] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.373230@0] write pen_release: 2
[    0.386663@2] CPU2: Booted secondary processor
[    0.386670@2] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.386833@0] write pen_release: 3
[    0.400274@3] CPU3: Booted secondary processor
[    0.400282@3] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.400336@0] Brought up 4 CPUs
[    0.413409@0] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.419643@0] CPU: All CPU(s) started in SVC mode.
[    0.424762@0] devtmpfs: initialized
[    0.431632@0] clkrate [ xtal         ] : 24000000
[    0.431953@0] clkrate [ pll_sys      ] : 1200000000
[    0.436461@0] clkrate [ pll_fixed    ] : 2550000000
[    0.441147@0] clkrate [ pll_vid      ] : 366000000
[    0.445561@0] TODO: clk_get_rate_hpll() is not implement in M8 now
[    0.451719@0] clkrate [ pll_hpll     ] : 0
[    0.455529@0] clkrate [ pll_ddr      ] : 0
[    0.459258@0] clkrate [ a9_clk       ] : 1200000000
[    0.463682@0] clkrate [ clk81        ] : 141666666
[    0.468673@0] pinctrl core: initialized pinctrl subsystem
[    0.473551@0] regulator-dummy: no parameters
[    0.477703@0] NET: Registered protocol family 16
[    0.487322@0] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.490539@0] VPU driver version: v03
[    0.492890@0] vpu driver detect cpu type: m8m2
[    0.497312@0] load vpu_clk in dts: 364000000Hz(7)
[    0.502048@0] vpu_probe OK
[    0.508237@0] amlogic_gpio gpio: Probed amlogic GPIO driver
[    0.510647@0] register lm device lm-root
[    0.514192@0] register lm device lm1
[    0.517742@0] register lm device lm0
[    0.521431@0] Init pinux probe!
[    0.524738@0] pinmux-m8 pinmux: Probed amlogic pinctrl driver
[    0.530240@0] -------early_init_dt_init:115----------
[    0.535104@0] tv_init_module
[    0.537967@0] major number 254 for disp
[    0.541787@0] vout_register_server
[    0.545158@0] register tv module server ok
[    0.549306@0] aml_i2c version: 20140813
[    0.553214@0] aml-i2c i2c-AO: add adapter aml_i2c_adap0(ebf248a8)
[    0.559116@0] aml-i2c i2c-AO: aml i2c bus driver.
[    0.563956@0] aml-i2c i2c-C: add adapter aml_i2c_adap3(ebf24ca8)
[    0.569778@0] aml-i2c i2c-C: aml i2c bus driver.
[    0.574437@0] not find match use_pio, use default
[    0.579052@0] not find match master_i2c_speed, use default
[    0.584628@0] aml-i2c i2c-D: add adapter aml_i2c_adap4(ebf250a8)
[    0.590502@0] aml-i2c i2c-D: aml i2c bus driver.
[    0.595214@0] aml_pmu_init, 458
[    0.598256@0] call aml_dvfs_init in
[    0.601904@0] hdmitx: system: amhdmitx_init
[    0.605837@0] hdmitx: system: Ver: 2014May6
[    0.610051@0] hdmitx: system: amhdmitx_probe
[    0.614423@0] hdmitx: system: not find cec config
[    0.618925@0] hdmitx: system: not find vend_init_data
[    0.624148@0] hdmitx: system: gate/pwr cmd: 7
[    0.628288@0] hdmitx: system: ALREADY init VIC = 16
[    0.633148@0] hdmitx: system: gate/pwr cmd: 0
[    0.637840@1] hdmitx: system: reset intr mask
[    0.663098@0] hdmitx: system: irq 1
[    0.676323@0] bio: create slab <bio-0> at 0
[    0.676931@0] SCSI subsystem initialized
[    0.679060@0] usbcore: registered new interface driver usbfs
[    0.684485@0] usbcore: registered new interface driver hub
[    0.689948@0] usbcore: registered new device driver usb
[    0.695319@0] pps_core: LinuxPPS API ver. 1 registered
[    0.700191@0] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.709520@0] PTP clock support registered
[    0.715872@0] call aml_pmu_probe_init in
[    0.717483@0] aml_pmus_probe, child name:rn5t618
[    0.722039@0] aml_pmus_probe, i2c_bus:i2c_bus_ao
[    0.726781@0] board_has_battery:false
[    0.730567@0] Allocate new i2c device: adapter:0, addr:0x32, node name:rn5t618, type:ricoh_pmu
[    0.738845@0] aml_pmus_probe, child name:rtc8563
[    0.743446@0] aml_pmus_probe, i2c_bus:i2c_bus_d
[    0.748038@0] Allocate new i2c device: adapter:0, addr:0x51, node name:rtc8563, type:rtc8563
[    0.756696@0] Advanced Linux Sound Architecture Driver Initialized.
[    0.763529@0] Switching to clocksource Timer-E
[    0.773434@1] hdmitx: system: gate/pwr cmd: 4
[    0.780586@0] NET: Registered protocol family 2
[    0.781056@0] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.786721@0] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.793316@0] TCP: Hash tables configured (established 4096 bind 4096)
[    0.799824@3] TCP: reno registered
[    0.803151@3] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.809148@3] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.815690@3] NET: Registered protocol family 1
[    0.820218@3] RPC: Registered named UNIX socket transport module.
[    0.826118@3] RPC: Registered udp transport module.
[    0.830984@3] RPC: Registered tcp transport module.
[    0.835827@3] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.842477@3] wifi_dev_probe
[    0.845277@3] wifi_dt : interrupt_pin=GPIOX_21
[    0.849706@3] wifi_dt : irq_num=null
[    0.853251@3] wifi_dt : irq_trigger_type=GPIO_IRQ_HIGH
[    0.858370@3] wifi_dt : power_on_pin=GPIOAO_6
[    0.862701@3] wifi_dt : power_on_pin2=GPIOX_11
[    0.867138@3] interrupt_pin=133, irq_num=4, irq_trigger_type=0, power_on_pin=6,clock_32k_pin=122
[    0.877181@3] bounce pool size: 64 pages
[    0.884216@3] VFS: Disk quotas dquot_6.5.2
[    0.884417@3] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.891944@3] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.897560@3] NFS: Registering the id_resolver key type
[    0.901719@3] Key type id_resolver registered
[    0.906040@3] Key type id_legacy registered
[    0.910663@3] fuse init (API version 7.22)
[    0.914838@3] msgmni has been set to 608
[    0.919080@3] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.925719@3] io scheduler noop registered (default)
[    0.930667@3] io scheduler deadline registered
[    0.935198@3] io scheduler cfq registered
[    0.942523@3] loop: module loaded
[    0.942553@3] Loading iSCSI transport class v2.0-870.
[    0.947865@3] iscsi: registered transport (tcp)
[    0.952708@3] tun: Universal TUN/TAP device driver, 1.6
[    0.957105@3] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.963764@3] ethernet base addr is fe0c0000
[    0.967688@3] key device don't create,extenal_api_key_set_version:2052
[    0.974172@3] ret = -22
[    0.974172@3] print_buff=
[    0.979234@3] stmmac - user ID: 0x11, Synopsys ID: 0x37
[    0.984400@3]  Normal descriptors
[    0.987300@1] hdmitx: system: gate/pwr cmd: 5
[    0.987301@1] hdmitx: edid: edid ready
[    0.987303@1] hdmitx: system: gate/pwr cmd: 4
[    1.000097@3]  Ring mode enabled
[    1.003297@3]  DMA HW capability register supported
[    1.007984@3]  RX Checksum Offload Engine supported (type 2)
[    1.013785@3]  TX Checksum insertion supported
[    1.018211@3]  Wake-Up On Lan supported
[    1.022043@3]  Enable RX Mitigation via HW Watchdog Timer
[    1.049270@3] libphy: stmmac: probed
[    1.049301@3] eth0: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[    1.053713@3] eth0: PHY ID 001cc916 at 1 IRQ POLL (stmmac-0:01)
[    1.059830@3] usbcore: registered new interface driver cdc_ether
[    1.065648@3] usbcore: registered new interface driver net1080
[    1.071466@3] usbcore: registered new interface driver cdc_subset
[    1.077531@3] usbcore: registered new interface driver zaurus
[    1.083264@3] usbcore: registered new interface driver cdc_ncm
[    1.089060@3] usbcore: registered new interface driver qf9700
[    1.094769@3] usbcore: registered new interface driver sr9600
[    1.100653@3] usbcore: registered new interface driver usb-storage
[    1.106804@3] mousedev: PS/2 mouse device common for all mice
[    1.112596@3] i2c /dev entries driver
[    1.116545@3] device-mapper: uevent: version 1.0.3
[    1.120959@3] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    1.129747@3] hidraw: raw HID events driver (C) Jiri Kosina
[    1.137237@3] usbcore: registered new interface driver usbhid
[    1.140567@3] usbhid: USB HID core driver
[    1.144880@3] zram: Created 1 device(s) ...
[    1.149008@3] ashmem: initialized
[    1.152132@3] logger: created 256K log 'log_main'
[    1.156799@3] logger: created 256K log 'log_events'
[    1.161665@3] logger: created 256K log 'log_radio'
[    1.166426@3] logger: created 256K log 'log_system'
[    1.171229@3] vout_init_module
[    1.174234@3] start init vout module
[    1.177825@3] create  vout attribute ok
[    1.181679@3] ge2d_init
[    1.183999@3] ge2d_dev major:245
[    1.187383@3] ge2d start monitor
[    1.190437@3] osd_init
[    1.190441@1] ge2d workqueue monitor start
[    1.196849@3] mode is 12,sync_duration_den=1,sync_duration_num=60
[    1.197300@1] hdmitx: system: gate/pwr cmd: 5
[    1.197302@1] hdmitx: edid: edid ready
[    1.197306@1] hdmitx: edid: check sum valid
[    1.197307@1] hdmitx: edid: check sum valid
[    1.197310@1] hdmitx: edid: blk0 raw data
[    1.197328@1] 00ffffffffffff004c2df603000000000b120103801009782aee91a3544c9926
[    1.197344@1] 0f5054bfef80a94081808140714f0101010101010101283c80a070b023403020
[    1.197360@1] 3600a05a0000001a011d00bc52d01e20b8285540a05a0000001e000000fd0032
[    1.197376@1] 4b1b5111000a202020202020000000fc0053796e634d61737465720a202001ea
[    1.197377@1]
[    1.197378@1] hdmitx: edid: blk1 raw data
[    1.197394@1] 02031ff24b9304128314052021221f10230907078301000066030c002000808c
[    1.197410@1] 0ad08a20e02d10103e9600a05a00000018011d007251d01e206e285500a05a00
[    1.197426@1] 00001e011d80d0721c1620102c2580a05a0000009e011d8018711c1620582c25
[    1.197442@1] 00a05a0000009e8c0ad090204031200c405500a05a0000001800000000000021
[    1.197443@1]
[    1.197473@1] hdmitx: edid: find IEEEOUT
[    1.292013@3] TV mode 1080p selected.
[    1.295643@3] already display in uboot
[    1.299379@1] hdmitx: video: get current mode: 1080p
[    1.299399@3] osd_probe, vinfo:c06968e0
[    1.299563@3] Frame buffer memory assigned at phy:0x06100000, vir:0xed000000, size=24576K
[    1.299565@3] osd_probe, mydef_var:c096b408, vinfo:c06968e0
[    1.299568@3] init fbdev bpp is :32
[    1.299570@3] ---------------clear framebuffer0 memory
[    1.330417@1] hdmitx: system: [set_disp_mode_auto] ALREADY init VIC = 16
[    1.337134@1] hdmitx: audio: audio channel num is 0
[    1.341934@1] hdmitx: audio: SPDIF
[    1.345319@1] hdmitx: audio: current VIC: 16
[    1.349566@1] hdmitx: audio: audio sample rate: 0
[    1.353210@0] Frame buffer memory assigned at phy:0x07900000, vir:0xece00000, size=1024K
[    1.353212@0] osd_probe, mydef_var:c096b408, vinfo:c06968e0
[    1.353214@0] ---------------clear framebuffer1 memory
[    1.372969@1] hdmitx: audio: set audio N para
[    1.372975@1] hdmitx: audio: PCM out to HDMI
[    1.389348@1] hdmitx: audio: Time out: AIU_HDMI_CLK_DATA_CTRL
[    1.389455@1] hdmitx: audio: i2s_to_spdif_flag:1
[    1.394135@1] hdmitx: audio: Enable audio spdif to HDMI
[    1.399387@1] hdmitx: cec: CEC not ready
[    1.403143@0] osd probe ok
[    1.405929@1] Unable to handle kernel NULL pointer dereference at virtual address 00000018
[    1.409314@0] aml_wdt_driver_init,301
[    1.409315@0] ** disable watchdog
[    1.409461@0] keys===========================================
[    1.409464@0] keys_devno=f200000
[    1.409603@0] securitykey: device aml_keys created
[    1.409612@0] amlkeys=0
[    1.409670@0] platform_driver_register--aml_keys_driver--------------------
[    1.409883@0] set uart_ao pinmux use pinctrl subsystem
[    1.409885@0] P_AO_RTI_PIN_MUX_REG:5860
[    1.409896@0] start uart_ao_ttyS0:(irq = 122)
[    1.409898@0] register uart_ao ok
[    1.410060@0] set uart_a pinmux use pinctrl subsystem
[    1.410062@0] P_AO_RTI_PIN_MUX_REG:5860
[    1.410072@0] start uart_a_ttyS1:(irq = 58)
[    1.410074@0] register uart_a ok
[    1.410228@0] start uart_d_ttyS4:(irq = 126)
[    1.410230@0] register uart_d ok
[    1.410339@0] dwc_otg: version 3.10a 12-MAY-2014
[    1.410360@0] dwc_otg_driver_probe NOT match
[    1.410385@0] usb1: type: 1, speed: 0, config: 0, dma: 0, id: 1, phy: fe108820, ctrl: fe080000
[    1.410393@0] USB (1) use clock source: XTAL input
[    1.410395@0] USB (1) PHY Clock not detected!
[    1.410466@0] Core Release: 3.10a
[    1.410470@0] Setting default values for core params
[    1.410475@0] curmode: 1, host_only: 1
[    1.410626@0] Using Buffer DMA mode
[    1.410629@0] OTG VER PARAM: 1, OTG VER FLAG: 1
[    1.410631@0] Working on port type = HOST
[    1.410693@0] dwc_otg lm1: DWC OTG Controller
[    1.410706@0] dwc_otg lm1: new USB bus registered, assigned bus number 1
[    1.410721@0] dwc_otg lm1: irq 63, io mem 0x00000000
[    1.410723@0] -------hcd->flags.d32 = 0
[    1.410741@0] Init: Port Power? op_state=1
[    1.410742@0] Init1: Power Port (0)
[    1.410818@0] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.410823@0] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.410826@0] usb usb1: Product: DWC OTG Controller
[    1.410829@0] usb usb1: Manufacturer: Linux 3.10.93 dwc_otg_hcd
[    1.410832@0] usb usb1: SerialNumber: lm1
[    1.411160@0] hub 1-0:1.0: USB hub found
[    1.411172@0] hub 1-0:1.0: 1 port detected
[    1.411328@0] usb0: type: 0, speed: 0, config: 0, dma: 0, id: 0, phy: fe108800, ctrl: fe040000
[    1.411338@0] USB (0) use clock source: XTAL input
[    1.411341@0] USB (0) PHY Clock not detected!
[    1.411412@0] Core Release: 3.10a
[    1.411415@0] Setting default values for core params
[    1.411419@0] curmode: 0, host_only: 0
[    1.411438@0] ERROR::dwc_otg_set_param_host_perio_tx_fifo_size:5923: 500 invalid for host_perio_tx_fifo_size. Check HW configuration.
[    1.411438@0]
[    1.411446@0] dwc_otg: probe of lm0 failed with error -22
[    1.412851@0] Amlogic A/V streaming port init
[    1.413970@0] buffersize=262144,0,start=0
[    1.413976@0] Subtitle stbuf alloced at 0xec040000, size = 262144
[    1.413979@0] changed the (2) buffer size from 0 to 262144
[    1.414170@0] init vdec memsource 9a00000->199fffff
[    1.414314@0] [tsync_pcr_init]init success.
[    1.414316@0] amvideocap_init_module
[    1.414342@0] amvideocap_probe,amvideocap
[    1.414345@0] amvideocap_dev_register buf:1c300000,size:800000.
[    1.414645@0] regist mpeg12 codec profile
[    1.414711@0] regist mpeg4 codec profile
[    1.414713@0] amvdec_vc1 module init
[    1.414779@0] regist vc1 codec profile
[    1.414780@0] amvdec_h264 module init
[    1.414866@0] regist h264 codec profile
[    1.414867@0] amvdec_h264mvc module init
[    1.414933@0] regist hmvc codec profile
[    1.414934@0] amvdec_h264_4k2k module init
[    1.414999@0] regist h264_4k2k codec profile
[    1.415063@0] regist mjpeg codec profile
[    1.415064@0] amvdec_real module init
[    1.415131@0] regist real codec profile
[    1.415132@0] amvdec_avs module init
[    1.415286@0] amvenc_avc memory resource undefined.
[    1.415287@0] amvenc_avc memory is invaild, probe fail!
[    1.415294@0] amvenc_avc: probe of amvenc_avc.0 failed with error -14
[    1.415384@0] jpegenc module init
[    1.415609@0] alloc_keep_buffer keep_y_addr eae00000
[    1.415620@0] alloc_keep_buffer keep_u_addr eb400000
[    1.415626@0] alloc_keep_buffer keep_v_addr eb500000
[    1.415628@0] yaddr=eae00000,u_addr=eb400000,v_addr=eb500000
[    1.415861@0] create_ge2d_work_queue video task ok
[    1.416166@0] efuse===========================================
[    1.416312@0] efuse: device efuse created
[    1.416391@0] efuse--------------------------------------------
[    1.416393@0] SARADC Driver init.
[    1.416498@0] __saradc_probe__
[    1.737157@2] saradc calibration: ref_val = 504
[    1.737159@2] saradc calibration: ref_nominal = 512
[    1.737160@2] saradc calibration: coef = 4025
[    1.737422@2] ir irblaster probe
[    1.737643@2] Remote Driver
[    1.737700@2] Remote platform_data g_remote_base=fe600580
[    1.737721@2] set drvdata completed
[    1.737728@2] device_create_file completed
[    1.738017@2] input: aml_keypad as /devices/platform/meson-remote/input/input0
[    1.738236@2] input_register_device completed
[    1.738271@2] [0xffffff00] = 0x1dd0190
[    1.738273@2] [0xffffff04] = 0xf800ca
[    1.738275@2] [0xffffff08] = 0x82006e
[    1.738276@2] [0xffffff0c] = 0x3c0030
[    1.738277@2] [0xffffff10] = 0x30fa0013
[    1.738279@2] [0xffffff18] = 0x6f19000
[    1.738280@2] [0xffffff1c] = 0xbe40
[    1.738282@2] [0x0] = 0xfa00a0
[    1.738283@2] [0x4] = 0xfa00a0
[    1.738284@2] [0x8] = 0xfa00a0
[    1.738286@2] [0xc] = 0x640030
[    1.738287@2] [0x10] = 0x30fa0013
[    1.738288@2] [0x18] = 0x961b800
[    1.738290@2] [0x1c] = 0x9740
[    1.738291@2] [0x20] = 0x104
[    1.738292@2] [0x24] = 0x0
[    1.738293@2] [0x28] = 0x0
[    1.738295@2] set_remote_mode[69]
[    1.738308@2] remote config major:237
[    1.738459@2] physical address:0x2c31c000
[    1.738528@2] Meson KeyInput init
[    1.738640@2] GPIO Keypad Driver init.
[    1.738686@2] ==gpio_key_probe==
[    1.738688@2] gpio request set to High-Z status
[    1.738702@2]  reg:2620,clearmask=400040,setmask=1
[    1.738704@2] reg:2622,clearmask=ff0000,set pin=3
[    1.738707@2] reg:2623,clearmask=7000000,setmask=7
[    1.738709@2]  reg:2620,clearmask=800080,setmask=10001
[    1.738711@2] reg:2622,clearmask=ff000000,set pin=3
[    1.738714@2] reg:2623,clearmask=70000000,setmask=7
[    1.738735@2] power key(116) registed.
[    1.738872@2] input: gpio_keypad as /devices/platform/gpio_keypad.5/input/input1
[    1.738989@2] gpio keypad register input device completed.
[    1.738994@2] gpio keypad major:236
[    1.739200@2] spi_nor_init
[    1.739293@2] amlogic_spi_nor_probe:
[    1.739298@2] amlogic_spi->state_name:default
[    1.739408@2] AMLOGIC_SPI_NOR cc000000.spi: master is unqueued, this is deprecated
[    1.739497@2] check_storage_device : spi boot_device_flag : 0
[    1.739499@2] spi_nor_probe
[    1.739526@2] spi_nor apollospi:32766: mx25l160 (2048 Kbytes)
[    1.739612@2] Creating 2 MTD partitions on "apollospi:32766":
[    1.739617@2] 0x000000000000-0x000000100000 : "bootloader"
[    1.740185@2] 0x000000100000-0x000000110000 : "ubootenv"
[    1.740699@2] amlogic_spi_nor_probe over
[    1.740831@2] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error
[    1.741812@2] host->base fe108c20
[    1.741841@2] pdata->caps 7
[    1.741843@2] pdata->caps2 0
[    1.741846@2] get property:                     port, value:0x00000001
[    1.741849@2] get property:                ocr_avail, value:0x00200000
[    1.741851@2] get property:                    f_min, value:0x000493e0
[    1.741853@2] get property:                    f_max, value:0x02faf080
[    1.741856@2] get property:                  f_max_w, value:0x02faf080
[    1.741858@2] get property:             max_req_size, value:0x00020000
[    1.741860@2] get property:                   irq_in, value:0x00000003
[    1.741863@2] get property:                  irq_out, value:0x00000005
[    1.741868@2] get property:                  gpio_cd, str:CARD_6
[    1.741873@2] get property:                  gpio_ro, str:GPIOY_15
[    1.741876@2] get property:                  pinname, str:sd
[    1.741878@2] get property:                 jtag_pin, str:CARD_0
[    1.741881@2] get property:                card_type, value:0x00000005
[    1.741883@2] get property:                gpio_dat3, str:CARD_4
[    1.741898@2] normal card in
[    2.147864@1] pgd = c0004000
[    2.147881@0] Indeed it is in host mode hprt0 = 00021501
[    2.155988@0] [00000018] *pgd=00000000
[    2.159719@1] Internal error: Oops: 5 [#1] SMP ARM
[    2.164482@1] Modules linked in:
[    2.167692@1] CPU: 1 PID: 130 Comm: kthread_hdmi Not tainted 3.10.93 #2
[    2.174278@1] task: ebfc5200 ti: ebf1a000 task.ti: ebf1a000
[    2.179832@1] PC is at set_mode_and_show_logo+0x10/0xe0
[    2.185027@1] LR is at set_mode_and_show_logo+0x10/0xe0
[    2.190229@1] pc : [<c0428860>]    lr : [<c0428860>]    psr: 60000113
[    2.190229@1] sp : ebf1bf38  ip : 00000000  fp : 00000000
[    2.202016@1] r10: 00000000  r9 : 00000000  r8 : c0975b9c
[    2.207390@1] r7 : 00000000  r6 : c0975b9c  r5 : 00000001  r4 : c0a40be0
[    2.214065@1] r3 : 00000000  r2 : c09403d8  r1 : 20000193  r0 : 00000000
[    2.220741@1] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    2.228195@1] Control: 10c5387d  Table: 0020404a  DAC: 00000015
[    2.234088@1]
[    2.234088@1] PC: 0xc04287e0:
[    2.238681@1] 87e0  e1a02001 e58d1008 e58d1004 e1a00001 e58d1000 e1a03005 e58d400c e30014ff
[    2.247003@1] 8800  ebffe28b eaffffa2 e3005437 e1a02007 e1a01007 e1a00004 e300377f e58d5000
[    2.255324@1] 8820  ebffe466 e1a03005 e58d400c e1a02007 e58d7008 e1a00007 e58d7004 e300177f
[    2.263646@1] 8840  e58d7000 ebffe27a eaffff91 c0697a4c e92d4030 e24dd00c e1a05000 ebfffa6d
[    2.271967@1] 8860  e5d03018 e3530014 83a00000 9a000001 e28dd00c e8bd8030 e3550001 e30530f8
[    2.280289@1] 8880  e34c3083 e1a04000 e3031dd0 e3050100 e34c1080 e34c0083 11a01003 eb086cf6
[    2.288610@1] 88a0  f57ff05f e3073fff e34f3e50 e51328df e202300b e3530009 0a000001 e3a00001
[    2.296932@1] 88c0  eaffffea e3550000 e30b3c0c e34c3096 05933004 15933000 e58d3004 e305399c
[    2.305254@1]
[    2.305254@1] LR: 0xc04287e0:
[    2.309847@1] 87e0  e1a02001 e58d1008 e58d1004 e1a00001 e58d1000 e1a03005 e58d400c e30014ff
[    2.318169@1] 8800  ebffe28b eaffffa2 e3005437 e1a02007 e1a01007 e1a00004 e300377f e58d5000
[    2.326490@1] 8820  ebffe466 e1a03005 e58d400c e1a02007 e58d7008 e1a00007 e58d7004 e300177f
[    2.334812@1] 8840  e58d7000 ebffe27a eaffff91 c0697a4c e92d4030 e24dd00c e1a05000 ebfffa6d
[    2.343133@1] 8860  e5d03018 e3530014 83a00000 9a000001 e28dd00c e8bd8030 e3550001 e30530f8
[    2.351455@1] 8880  e34c3083 e1a04000 e3031dd0 e3050100 e34c1080 e34c0083 11a01003 eb086cf6
[    2.359776@1] 88a0  f57ff05f e3073fff e34f3e50 e51328df e202300b e3530009 0a000001 e3a00001
[    2.368098@1] 88c0  eaffffea e3550000 e30b3c0c e34c3096 05933004 15933000 e58d3004 e305399c
[    2.376420@1]
[    2.376420@1] SP: 0xebf1beb8:
[    2.381014@1] beb8  00000000 c098dec8 c06ef290 ebf1bf1c c0a40be0 00000000 00000000 c0975b9c
[    2.389335@1] bed8  c0428860 60000113 ffffffff ebf1bf24 c0975b9c c000dad8 00000000 20000193
[    2.397657@1] bef8  c09403d8 00000000 c0a40be0 00000001 c0975b9c 00000000 c0975b9c 00000000
[    2.405978@1] bf18  00000000 00000000 00000000 ebf1bf38 c0428860 c0428860 60000113 ffffffff
[    2.414300@1] bf38  00000000 c0975b9c 00000000 c0a40be0 c0a40be0 c04d96d4 ebe45e20 00000000
[    2.422621@1] bf58  c0a40be0 c04d91a8 00000000 c004c344 ebfc7a08 00000000 ebe40000 c0a40be0
[    2.430943@1] bf78  00000000 00000000 ebf1bf80 ebf1bf80 00000000 00000000 ebf1bf90 ebf1bf90
[    2.439264@1] bf98  ebf1bfac ebe45e20 c004c290 00000000 00000000 c000dfc0 00000000 00000000
[    2.447587@1]
[    2.447587@1] R2: 0xc0940358:
[    2.452180@1] 0358  00000001 00000002 00000003 00000004 00000005 00000006 00000007 00000008
[    2.460501@1] 0378  00000009 0000000a 0000000b 0000000c 0000000d 0000000e 0000000f 00000010
[    2.468823@1] 0398  00000011 00000012 00000013 00000014 00000015 00000016 00000017 00000018
[    2.477144@1] 03b8  00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f 00000000
[    2.485466@1] 03d8  c09403d8 c09403d8 00000000 c09403e4 c09403e4 c098ebf0 00020000 066e066e
[    2.493787@1] 03f8  00000001 c09403fc c09403fc 00000000 000001f4 0000000a 00000000 00000000
[    2.502109@1] 0418  00000000 00000001 00000001 0000000f 00000004 00000001 00000007 ffffffff
[    2.510430@1] 0438  ffffffff 00000001 c0029f14 c0096ce8 c0096ce8 c0096ce8 c09402e4 c0940564
[    2.518753@1]
[    2.518753@1] R4: 0xc0a40b60:
[    2.523346@1] 0b60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.531668@1] 0b80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.539989@1] 0ba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.548311@1] 0bc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.556632@1] 0be0  00000000 c0a40be4 c0a40be4 00000000 00000000 c0947694 00000000 00000001
[    2.564954@1] 0c00  00000001 00000000 c06eedd8 c0a40c0c c0a40c0c 0fd00000 00000020 00000000
[    2.573275@1] 0c20  ebfc5200 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.581597@1] 0c40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.589919@1]
[    2.589919@1] R6: 0xc0975b1c:
[    2.594512@1] 5b1c  c0856930 00000000 c06eec10 00000000 c0856940 00000000 c06eeba4 00000000
[    2.602834@1] 5b3c  c085694c 00000000 c06eeb38 00000000 c085695c 00000000 c06eeacc 00000000
[    2.611155@1] 5b5c  00000000 ffffffff 00000000 00000100 00000100 00000100 00000100 c0825e88
[    2.619477@1] 5b7c  00000124 c004a3bc 00000000 00000000 00000000 00000000 c085696c c0856980
[    2.627798@1] 5b9c  c08571b8 ebfcb200 00000001 00000001 00000000 00000000 c04d86c4 c096b548
[    2.636120@1] 5bbc  00000000 c04d7ed8 00000000 00000000 c0857658 000001b4 c04d702c c04d7720
[    2.644441@1] 5bdc  c085764c 000001a4 c04d6d98 c04d7594 c0856988 000001a4 c04d770c c04d7d74
[    2.652763@1] 5bfc  c08570bc 000001b4 c04d6fac c04d7aa4 c0850d20 000001a4 00000000 c04d6da0
[    2.661086@1]
[    2.661086@1] R8: 0xc0975b1c:
[    2.665678@1] 5b1c  c0856930 00000000 c06eec10 00000000 c0856940 00000000 c06eeba4 00000000
[    2.674000@1] 5b3c  c085694c 00000000 c06eeb38 00000000 c085695c 00000000 c06eeacc 00000000
[    2.682321@1] 5b5c  00000000 ffffffff 00000000 00000100 00000100 00000100 00000100 c0825e88
[    2.690643@1] 5b7c  00000124 c004a3bc 00000000 00000000 00000000 00000000 c085696c c0856980
[    2.698964@1] 5b9c  c08571b8 ebfcb200 00000001 00000001 00000000 00000000 c04d86c4 c096b548
[    2.707286@1] 5bbc  00000000 c04d7ed8 00000000 00000000 c0857658 000001b4 c04d702c c04d7720
[    2.715608@1] 5bdc  c085764c 000001a4 c04d6d98 c04d7594 c0856988 000001a4 c04d770c c04d7d74
[    2.723929@1] 5bfc  c08570bc 000001b4 c04d6fac c04d7aa4 c0850d20 000001a4 00000000 c04d6da0
[    2.732253@1] Process kthread_hdmi (pid: 130, stack limit = 0xebf1a238)
[    2.738840@1] Stack: (0xebf1bf38 to 0xebf1c000)
[    2.743367@0] bf20:                                                       00000000 c0975b9c
[    2.747064@3]  reg:2620,clearmask=80008,setmask=10001
[    2.747067@3] reg:2621,clearmask=ff000000,set pin=64
[    2.747069@3] reg:2623,clearmask=7000,setmask=7
[    2.747072@3]  reg:2620,clearmask=200020,setmask=1
[    2.747074@3] reg:2622,clearmask=ff00,set pin=64
[    2.747077@3] reg:2623,clearmask=700000,setmask=7
[    2.780367@0] bf40: 00000000 c0a40be0 c0a40be0 c04d96d4 ebe45e20 00000000 c0a40be0 c04d91a8
[    2.788589@0] bf60: 00000000 c004c344 ebfc7a08 00000000 ebe40000 c0a40be0 00000000 00000000
[    2.788612@3] pdata->caps 107
[    2.788614@3] pdata->caps2 0
[    2.788617@3] get property:                     port, value:0x00000000
[    2.788620@3] get property:                ocr_avail, value:0x00200000
[    2.788622@3] get property:                    f_min, value:0x000493e0
[    2.788624@3] get property:                    f_max, value:0x02faf080
[    2.788627@3] get property:             max_req_size, value:0x00020000
[    2.788631@3] get property:                  pinname, str:sdio
[    2.788634@3] get property:                card_type, value:0x00000003
[    2.847494@0] bf80: ebf1bf80 ebf1bf80 00000000 00000000 ebf1bf90 ebf1bf90 ebf1bfac ebe45e20
[    2.847498@3] usb 1-1: new full-speed USB device number 2 using dwc_otg
[    2.862406@0] bfa0: c004c290 00000000 00000000 c000dfc0 00000000 00000000 00000000 00000000
[    2.870725@3] Indeed it is in host mode hprt0 = 00021501
[    2.870735@0] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.870740@0] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[    2.870759@0] [<c0428860>] (set_mode_and_show_logo+0x10/0xe0) from [<c04d96d4>] (hdmi_task_handle+0x52c/0x574)
[    2.870768@0] [<c04d96d4>] (hdmi_task_handle+0x52c/0x574) from [<c004c344>] (kthread+0xb4/0xb8)
[    2.870778@0] [<c004c344>] (kthread+0xb4/0xb8) from [<c000dfc0>] (ret_from_fork+0x14/0x34)
[    2.870783@0] Code: e92d4030 e24dd00c e1a05000 ebfffa6d (e5d03018)
[    2.870795@0] ---[ end trace e75b5fa69172b09f ]---
[    2.896973@2] sd: new high speed SDHC card at address aaaa, clock 35416666, 4-bit-bus-width
[    2.897228@2] mmcblk0: sd:aaaa SL16G 14.8 GiB
[    2.899161@2]  mmcblk0: p1 p2 p3
[    2.997051@3] Indeed it is in host mode hprt0 = 00021501
[    3.047042@1] [aml_sdio_probe] aml_sdio_probe() success!
[    3.048123@1] host->base fe108e00
[    3.050046@1] pdata->caps 80000547
[    3.053396@1] pdata->caps2 20
[    3.056340@1] get property:                     port, value:0x00000005
[    3.062849@1] get property:                ocr_avail, value:0x00200080
[    3.069348@1] get property:                    f_min, value:0x000493e0
[    3.075843@1] get property:                    f_max, value:0x05f5e100
[    3.082350@1] get property:             max_req_size, value:0x00020000
[    3.088854@1] get property:                  pinname, str:emmc
[    3.094654@1] get property:                card_type, value:0x00000001
[    3.101161@1] get property:                gpio_dat3, str:BOOT_3
[    3.107140@1] [is_emmc_exist] host->storage_flag=0, POR_BOOT_VALUE=5
[    3.147051@2] aml_emmc_hw_reset 1338
[    3.147741@3] mmc_init_card
[    3.179775@3] emmc: BKOPS_EN bit is not set
[    3.179804@3] ###check hw reset function is already enabled here
[    3.184976@3] Activate high speed
[    3.188411@3] emmc: new high speed MMC card at address 0001, clock 47222222, 8-bit-bus-width
[    3.196245@3] mmcblk1: emmc:0001 MAG2GA 14.5 GiB
[    3.197044@1] [aml_sdhc_probe] aml_sdhc_probe() success!
[    3.197149@1] [dsp]DSP start addr 0xc5e00000
[    3.197169@1] [dsp]register dsp to char divece(257)
[    3.197523@1] amlogic audio spdif interface device init!
[    3.197732@1] [AML1216]call aml1216_battery_init, ret = 0
[    3.197806@1] [AML1218]call aml1218_battery_init, ret = 0
[    3.197840@1] [RN5T618]call rn5t618_battery_probe in
[    3.197840@1] [RN5T618]no special flag, clear RTC mem, force using ocv
[    3.197843@1] rtc clock error
[    3.197845@1] rtc clock error
[    3.197993@1] input: rn5t618_pmu as /devices/i2c-0/0-0032/rn5t618_pmu.0/input/input2
[    3.198107@1] [RN5T618]use BSP configed battery parameters
[    3.198109@1] [RN5T618] NO BATTERY_PARAMETERS FOUND
[    3.199988@1] [RN5T618]call rn5t618_battery_probe exit, ret:0
[    3.199989@1] [RN5T618]call rn5t618_battery_init, ret = 0
[    3.200817@1] amaudio2: device amaudio2 created
[    3.200993@1] wetek-dvb dvb.10: Failed to acquire Wetek i2c-1 adapter ...
[    3.201187@1] Error: Didn't get power valid value --- wifi_power_probe 376
[    3.201189@1] Error: Didn't get suspend_power_off value --- wifi_power_probe 393
[    3.201193@1] wifi_power power_gpio is 6
[    3.201196@1] wifi_power power_gpio2 is 123
[    3.201414@1] amlogic rfkill init
[    3.201444@1] enter bt_probe of_node
[    3.201448@1] not get gpio_en
[    3.201449@1] not get gpio_wake
[    3.227149@1] wifi_request_32k_clk : OFF-->ON for bt_rfkill
[    3.227152@1] clock_32k_pin(122) : (null)
[    3.227159@1] clock_32k_pin(122) : sdio_wifi
[    3.337315@1] UMP: UMP device driver  loaded
[    3.337561@1] aml_aes aml_aes: Aml AES
[    3.337879@1] aml_tdes aml_tdes: Aml TDES
[    3.338435@1] enter rt5616_modinit
[    3.338598@1] dummy_codec_platform_probe
[    3.338778@1] == ES8323 == es8323_modinit()
[    3.339229@1] enter aml_i2s_dai_probe
[    3.339232@1] i2s get no clk src setting in dts, use the default mpll 0
[    3.339237@1] [aml-i2s-dai]enterd aml_i2s_dai_probe,old_samplerate:0,sample_rate=48000
[    3.339369@1] enter aml_pcm_dai_probe
[    3.339443@1] [aml-spdif-dai]enter aml_dai_spdif_init
[    3.339447@1] [aml-spdif-dai]enterd aml_spdif_play,set_clock:-1,sample_rate=4
[    3.339448@1] audio_set_958_clk, freq=4,
[    3.339455@1] IEC958 16bit
[    3.339458@1] hdmitx: audio: aout notify rate 48000
[    3.339460@1] hdmitx: audio: aout notify size 16
[    3.339461@1] hdmitx: audio: aout notify format CT_PCM
[    3.339464@1] hdmitx: audio: audio channel num is 1
[    3.339469@1] hdmitx: audio: SPDIF
[    3.339481@1] hdmitx: audio: current VIC: 16
[    3.339482@1] hdmitx: audio: audio sample rate: 3
[    3.339483@1] hdmitx: audio: set audio N para
[    3.339490@1] hdmitx: audio: PCM out to HDMI
[    3.339492@1] hdmitx: audio: i2s_to_spdif_flag:1
[    3.339493@1] hdmitx: audio: Enable audio spdif to HDMI
[    3.339497@1] hdmitx: audio: Audio Type: PCM
[    3.339545@1] hdmitx: audio: set audio param
[    3.339591@1] [aml-spdif-dai]aml_spdif_probe
[    3.339723@1] test codec dummy_codec
[    3.339726@1] using external codec, index = 1
[    3.339727@1] using external dummy codec
[    3.339839@1] enter spdif_dit_probe
[    3.339840@1] aml_spdif_unmute
[    3.339996@1] codec_name = dummy_codec.0
[    3.340140@0] enter aml_set_bias_level level: 1
[    3.340147@0] enter aml_set_bias_level level: 1
[    3.340150@0] enter aml_set_bias_level level: 1
[    3.340152@0] enter aml_set_bias_level level: 2
[    3.340178@1] enter aml_asoc_init
[    3.340193@1] p_aml_audio->hp_disable=1
[    3.340196@1] falied to get spk event delay time paraments from dts file
[    3.340197@1] spk_event delay_time = 0
[    3.343801@1] aml-i2s 0:playback preallocate_dma_buffer: area=ee801000, addr=2ae00000, size=524288
[    3.344703@1] aml-i2s 1:capture preallocate_dma_buffer: area=ecd92000, addr=2b7c0000, size=65536
[    3.344719@1] aml_snd_m8 aml_m8_sound_card.4:  dummy_codec <-> aml-i2s-dai.0 mapping ok
[    3.344751@1] enter aml_set_bias_level level: 1
[    3.344753@1] enter aml_set_bias_level level: 2
[    3.348389@1] aml-i2s 0:playback preallocate_dma_buffer: area=ee9e7000, addr=2af00000, size=524288
[    3.349283@1] aml-i2s 1:capture preallocate_dma_buffer: area=ecdb3000, addr=2b7e0000, size=65536
[    3.349297@1] aml_snd_m8 aml_m8_sound_card.4:  dit-hifi <-> aml-spdif-dai.0 mapping ok
[    3.349330@0] enter aml_set_bias_level level: 1
[    3.349331@0] enter aml_set_bias_level level: 2
[    3.349366@2] enter aml_set_bias_level level: 1
[    3.349368@2] enter aml_set_bias_level level: 2
[    3.350036@0] enter aml_set_bias_level level: 1
[    3.350038@0] enter aml_set_bias_level level: 2
[    3.350093@1] -----ext_codec=1---
[    3.350104@1] =aml_m8_pinmux_init==,aml_m8_pinmux_init done,---0
[    3.350236@1] Netfilter messages via NETLINK v0.30.
[    3.350414@1] xt_time: kernel timezone is -0000
[    3.350495@1] ipip: IPv4 over IPv4 tunneling driver
[    3.350859@1] arp_tables: (C) 2002 David S. Miller
[    3.350894@1] TCP: cubic registered
[    3.350896@1] Initializing XFRM netlink socket
[    3.351374@1] NET: Registered protocol family 10
[    3.351822@1] mip6: Mobile IPv6
[    3.352233@1] NET: Registered protocol family 17
[    3.352248@1] NET: Registered protocol family 15
[    3.352283@1] l2tp_core: L2TP core driver, V2.0
[    3.352284@1] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[    3.352297@1] l2tp_netlink: L2TP netlink interface
[    3.352314@1] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
[    3.352325@1] l2tp_debugfs: L2TP debugfs support
[    3.352326@1] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
[    3.352348@1] NET: Registered protocol family 35
[    3.352383@1] Key type dns_resolver registered
[    3.704484@1] VFP support v0.3: [    3.704633@3] mmcblk1boot0: emmc:0001 MAG2GA partition 1 2.00 MiB
[    3.704718@3] mmcblk1boot1: emmc:0001 MAG2GA partition 2 2.00 MiB
[    3.705444@3]  mmcblk1: unknown partition table
[    3.705751@3] emmc read lba=0x0, blocks=0x1 OK!
[    3.705877@3] emmc read lba=0x1, blocks=0x1 OK!
[    3.705880@3] [mmc_read_partition_tbl] mmc read partition OK!
[    3.705881@3] add_emmc_partition
[    3.706023@3] [mmcblk1p01]             reserved  offset 0x000000000000, size 0x000004000000
[    3.706149@3] [mmcblk1p02]                cache  offset 0x000004800000, size 0x000020000000
[    3.706273@3] [mmcblk1p03]                  env  offset 0x000025000000, size 0x000000800000
[    3.706394@3] [mmcblk1p04]                 logo  offset 0x000026000000, size 0x000002000000
[    3.706524@3] [mmcblk1p05]             recovery  offset 0x000028800000, size 0x000002000000
[    3.706647@3] [mmcblk1p06]                 misc  offset 0x00002b000000, size 0x000002000000
[    3.706764@3] [mmcblk1p07]                 boot  offset 0x00002d800000, size 0x000002000000
[    3.706874@3] [mmcblk1p08]               system  offset 0x000030000000, size 0x000040000000
[    3.706990@3] [mmcblk1p09]                 data  offset 0x000070800000, size 0x000333600000
[    3.707006@3] card key: card_blk_probe.
[    3.707010@3] emmc_key_init:428 emmc key lba_start:0x20,lba_end:0x220
[    3.707013@3] i=0,register --- emmc_key
[    3.707014@3] emmc key: emmc_key_init:450 ok.
[    3.707089@3] Exit aml_emmc_partition_ops OK.
[    3.707817@3]  mmcblk1boot1: unknown partition table
[    3.708537@3]  mmcblk1boot0: unknown partition table
[    3.777529@0] usb 1-1: not running at top speed; connect to a high speed hub
[    3.778759@0] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610
[    3.778764@0] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.778767@0] usb 1-1: Product: USB2.0 Hub
[    3.779302@0] hub 1-1:1.0: USB hub found
[    3.779619@0] hub 1-1:1.0: 4 ports detected
implementor 41 architecture 3 part 30 variant 9 rev 4
[    3.888698@1] Registering SWP/SWPB emulation handler
[    3.893624@1] enter meson_pm_init
[    3.897016@1] enter meson_pm_probe!
[    3.900395@1] meson_pm_probe done !
[    3.904241@1] regulator-dummy: disabling
[    3.907818@1] console [netcon0] enabled
[    3.911566@1] netconsole: network logging started
[    3.916250@1] /home/taki/build-enviroment/builds/openatv/release/wetekplay/tmp/work-shared/wetekplay/kernel-source/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.931498@1] meson_cpufreq: no voltage_control prop
[    3.936358@1] voltage_control = 0
[    3.940465@1] CPU freq: 1992 MHz, syspll (4000c247) can't lock:
[    3.945871@1]   [10c0..10c4]c000c247, 5ac82000, 8e452015, 0001d40c, 00000870: [10a5]fc454545, [10c7]001f7997
[    3.955606@1]   INV afc_dsel_bp_in, new latency=03003546
[    3.960850@1]   Try again!
[    3.964027@1] CPU freq: 1992 MHz, syspll (4000c247) can't lock:
[    3.969682@1]   [10c0..10c4]c000c247, 5ac83000, 8e452015, 0001d40c, 00000870: [10a5]fc454545, [10c7]001f7997
[    3.979444@1]   INV afc_dsel_bp_in, new latency=01003546
[    3.984689@1]   Try again!
[    3.987855@1] CPU freq: 1992 MHz, syspll (4000c247) can't lock:
[    3.993510@1]   [10c0..10c4]c000c247, 5ac82000, 8e452015, 0001d40c, 00000870: [10a5]fc454545, [10c7]001f7997
[    4.003262@1]   INV afc_dsel_bp_in, new latency=03003546
[    4.008522@1]   Try again!
[    4.011688@1] CPU freq: 1992 MHz, syspll (4000c247) can't lock:
[    4.017346@1]   [10c0..10c4]c000c247, 5ac83000, 8e452015, 0001d40c, 00000870: [10a5]fc454545, [10c7]001f7997
[    4.027100@1]   INV afc_dsel_bp_in, new latency=01003546
[    4.032360@1]   Try again!
[    4.035524@1] CPU freq: 1992 MHz, syspll (4000c247) can't lock:
[    4.041183@1]   [10c0..10c4]c000c247, 5ac82000, 8e452015, 0001d40c, 00000870: [10a5]fc454545, [10c7]001f7997
[    4.050940@1]   INV afc_dsel_bp_in, new latency=03003546
[    4.056199@1]   Try again!
[    4.059366@1] CPU freq: 1992 MHz, syspll (4000c247) can't lock:
[    4.059763@0] usb 1-1.2: new full-speed USB device number 3 using dwc_otg
[    4.071780@1]   [10c0..10c4]c000c247, 5ac83000, 8e452015, 0001d40c, 00000870: [10a5]fc454545, [10c7]001f7997
[    4.081538@1]   INV afc_dsel_bp_in, new latency=01003546
[    4.086797@1]   Try again!
[    4.089583@1] hdmitx: cec: CEC init
[    4.092930@3] hdmitx: cec: CEC task process
[    4.093052@1] input: cec_input as /devices/virtual/input/input3
[    4.093163@1] hdmitx: cec: hdmitx_device->cec_init_ready:0x1
[    4.093163@1] ALSA device list:
[    4.093165@1]   #0: AML-M8AUDIO
[    4.118868@1] force enable DISCARD here for ext4 fs
[    4.119702@1] EXT4-fs (mmcblk0p2): Unrecognized mount option "noatime" or missing value
[    4.127671@1] EXT4-fs (mmcblk0p2): failed to parse options in superblock: noatime
[    4.158257@0] usb 1-1.2: not running at top speed; connect to a high speed hub
[    4.164272@0] usb 1-1.2: New USB device found, idVendor=0572, idProduct=6831
[    4.166868@0] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.174338@0] usb 1-1.2: Product: S960
[    4.178055@0] usb 1-1.2: Manufacturer: Bestunar
[    4.182556@0] usb 1-1.2: SerialNumber: 20120511
[    4.267434@0] usb 1-1.3: new low-speed USB device number 4 using dwc_otg
[    4.370769@0] usb 1-1.3: New USB device found, idVendor=1220, idProduct=0008
[    4.372187@0] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.384368@0] input: HID 1220:0008 as /devices/lm1/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
[    4.387946@0] hid-generic 0003:1220:0008.0001: input,hidraw0: USB HID v1.00 Keyboard [HID 1220:0008] on usb-lm1-1.3/input0
[    4.405043@0] input: HID 1220:0008 as /devices/lm1/usb1/1-1/1-1.3/1-1.3:1.1/input/input5
[    4.407802@0] hid-generic 0003:1220:0008.0002: input,hidraw1: USB HID v1.00 Mouse [HID 1220:0008] on usb-lm1-1.3/input1
[    4.528531@1] EXT4-fs (mmcblk0p2): recovery complete
[    4.529862@1] checked enable EXT4 DISCARD here
[    4.532283@1] EXT4-fs (mmcblk0p2): mounting with "discard" option, but the device does not support discard
[    4.541913@1] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: noatime; (null)
[    4.550944@1] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.567288@1] devtmpfs: mounted
[    4.567425@1] Freeing unused kernel memory: 288K (c08d8000 - c0920000)
[    4.850676@3] tvmode set to 720p50hz
[    4.850676@3]
[    4.850718@3] mode is 13,sync_duration_den=1,sync_duration_num=50
[    4.856338@3] TV mode 720p50hz selected.
[    4.860256@3] tvoutc_setmode[505]
[    4.863531@3] tvoutc_setmode[516] mode is 13
[    4.867783@3] new mode 720p50hz
[    4.867783@3]  set ok
[    4.873156@3] hdmitx: video: get current mode: 720p50hz
[    4.878360@3] hdmitx: system: gate/pwr cmd: 7
[    4.882729@3] hdmitx: system: already init VIC = 0  Now VIC = 19
[    4.888675@3] hdmitx: system:  19 (cd0,cs0,pm1,vd0,1)
[    4.893782@3] hdmitx: system: gate/pwr cmd: 0
[    4.898122@3] hdmitx: system: hw reset
[    4.902884@3] hdmitx: audio: SPDIF
[    4.905276@3] hdmitx: system: reconfig packet setting done
[    4.910730@3] hdmitx: system: set pll
[    4.914326@3] hdmitx: system: param->VIC:19
[    4.918491@3] mode is: 10
[    4.921088@3] VPU_VIU_VENC_MUX_CTRL: 0xa
[    4.924988@3] viu chan = 1
[    4.927678@3] VPU_VIU_VENC_MUX_CTRL: 0xa
[    4.931576@3] config HPLL
[    4.934177@3] set_hpll_clk_out[68] clk = 2970
[    4.957038@3] config HPLL done
[    4.957064@3] enc_vpu_bridge_reset[292]
[    5.097040@2] hdmitx: system: phy setting done
[    5.097066@2] Sink is HDMI device
[    5.099141@2] No sink attached
[    5.102207@2] hdmitx: audio: audio channel num is 1
[    5.107037@2] hdmitx: audio: SPDIF
[    5.110415@2] hdmitx: audio: current VIC: 19
[    5.114655@2] hdmitx: audio: audio sample rate: 3
[    5.119339@2] hdmitx: audio: set audio N para
[    5.123675@2] hdmitx: audio: PCM out to HDMI
[    5.127921@2] hdmitx: audio: i2s_to_spdif_flag:1
[    5.132598@2] hdmitx: audio: Enable audio spdif to HDMI
[    5.137804@2] hdmitx: audio: Audio Type: PCM
[    5.158284@2] set_vout_mode[174]
[    5.161052@2] tvmode set to 720p50hz
[    5.161052@2]
[    5.161091@2] don't set the same mode as current.
[    5.197710@1] [RN5T618]battery vol change: 0->0
[    6.167442@2] osd0=>x:0 ,y:0,w:1280,h:720
[    6.167442@2]  osd1=> x:0,y:0,w:18,h:18
[    6.178357@2] osd0 free scale DISABLE
[    6.226571@0] cur_mode = 1
[    6.226591@0] [0x0] = 0x350032
[    6.226675@0] [0x4] = 0x1f0019
[    6.229733@0] [0x8] = 0x1e001a
[    6.232751@0] [0xc] = 0x3d0037
[    6.235783@0] [0x10] = 0x305dc013
[    6.239090@0] [0x18] = 0x4c11400
[    6.242283@0] [0x1c] = 0x9300
[    6.245231@0] [0x20] = 0x10b
[    6.248096@0] [0x24] = 0x5b004f
[    6.251210@0] [0x28] = 0x6f0063
[    6.254331@0] set_remote_mode[69]
[    6.257631@0] enter in sw repeat mode
[    6.261359@0] do nothing
[    6.264197@2] vfm_map_store:rm default
[    6.264197@2]
[    6.269368@2] vfm_map_store:add default decoder ppmgr deinterlace amvideo
[    6.269368@2]
[    6.287244@1] force enable DISCARD here for ext4 fs
[    6.287290@1] EXT4-fs (mmcblk0p3): Unrecognized mount option "noatime" or missing value
[    6.294465@1] EXT4-fs (mmcblk0p3): failed to parse options in superblock: noatime
[    6.307005@1] EXT4-fs (mmcblk0p3): warning: mounting unchecked fs, running e2fsck is recommended
[    6.312926@1] checked enable EXT4 DISCARD here
[    6.315095@1] EXT4-fs (mmcblk0p3): mounting with "discard" option, but the device does not support discard
[    6.324725@1] EXT4-fs (mmcblk0p3): mounted filesystem without journal. Opts: noatime; discard
[    6.728841@3] ------------[ cut here ]------------
[    6.728945@3] WARNING: at /home/taki/build-enviroment/builds/openatv/release/wetekplay/tmp/work-shared/wetekplay/kernel-source/net/wireless/reg.c:434 regulatory_init+0x94/0x128 [cfg80211]()
[    6.744829@3] db.txt is empty, you should update it...
[    6.749773@3] Modules linked in: cfg80211(+)
[    6.754186@3] CPU: 3 PID: 1355 Comm: modprobe Tainted: G      D      3.10.93 #2
[    6.761487@3] [<c0013f28>] (unwind_backtrace+0x0/0xec) from [<c00118a0>] (show_stack+0x10/0x14)
[    6.770142@3] [<c00118a0>] (show_stack+0x10/0x14) from [<c0029b30>] (warn_slowpath_common+0x54/0x6c)
[    6.779239@3] [<c0029b30>] (warn_slowpath_common+0x54/0x6c) from [<c0029b78>] (warn_slowpath_fmt+0x30/0x40)
[    6.788997@3] [<c0029b78>] (warn_slowpath_fmt+0x30/0x40) from [<bf04d174>] (regulatory_init+0x94/0x128 [cfg80211])
[    6.799342@3] [<bf04d174>] (regulatory_init+0x94/0x128 [cfg80211]) from [<bf04d064>] (cfg80211_init+0x64/0xe0 [cfg80211])
[    6.810222@3] [<bf04d064>] (cfg80211_init+0x64/0xe0 [cfg80211]) from [<c00085e8>] (do_one_initcall+0xfc/0x15c)
[    6.820152@3] [<c00085e8>] (do_one_initcall+0xfc/0x15c) from [<c0077dc8>] (load_module+0x194c/0x205c)
[    6.829340@3] [<c0077dc8>] (load_module+0x194c/0x205c) from [<c007865c>] (SyS_finit_module+0x80/0x90)
[    6.838528@3] [<c007865c>] (SyS_finit_module+0x80/0x90) from [<c000df20>] (ret_fast_syscall+0x0/0x38)
[    6.847713@3] ---[ end trace e75b5fa69172b0a1 ]---
[    6.852486@3] cfg80211: Calling CRDA to update world regulatory domain
[    6.924828@0] dhd_module_init: Enter
[    6.924861@0] wifi_setup_dt
[    6.925561@0] wifi_request_32k_clk : ON-->ON for sdio_wifi
[    6.931046@0] interrupt_pin(133) : (null)
[    6.935030@0]  reg:2620,clearmask=100010,setmask=0
[    6.939764@0] reg:2622,clearmask=ff,set pin=133
[    6.944271@0] reg:2623,clearmask=70000,setmask=4
[    6.948900@0] interrupt_pin(133) : sdio_wifi
[    6.953121@0] power_on_pin(6) : (null)
[    6.956861@0] power_on_pin(6) : sdio_wifi
[    6.960849@0] power_on_pin2(123) : (null)
[    6.964833@0] power_on_pin2(123) : sdio_wifi
[    6.969098@0] WIFI  Disable! 6
[    6.972437@0] WIFI  Enable! 6
[    7.967041@0] [aml_sdio_timeout] time_start_cnt:991
[aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0xc00, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x113, virqc=0x3f003f00, conf->cmd_clk_divide=177, pdata->clkc=177, conf->bus_width=0, pdata->width=0, conf=0x416270b1, clock=397940
[aml_sdio_timeout] time_start_cnt:994
[aml_sdio_print_err] sdio: Timeout error, Cmd52 arg 0x80000c08, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f003f00, conf->cmd_clk_divide=177, pdata->clkc=177, conf->bus_width=0, pdata->width=0, conf=0x416270b1, clock=397940

[   10.007052@2] [aml_sdio_timeout] time_start_cnt:995
[   10.007052@2] [aml_sdio_print_err] sdio: Timeout error, Cmd8 arg 0x1aa, Xfer 0 Bytes, host->xfer_step=12, host->cmd_is_stop=0, pdata->port=0, virqs=0x13, virqc=0x1f003f00, conf->cmd_clk_divide=177, pdata->clkc=177, conf->bus_width=0, pdata->width=0, conf=0x416270b1, clock=397940
[   10.041626@2] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
[   10.042969@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.048596@2] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
[   10.055271@2] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
[   10.107073@2] sdio: queuing unknown CIS tuple 0x91 (3 bytes)
[   10.107147@2] sdio: new high speed SDIO card at address 0001, clock 35416666, 4-bit-bus-width
[   10.125217@0] [sdio_reinit] finish
[   10.125449@0] =========== WLAN placed in POWER ON ========
[   10.129635@2] bcmsdh_register: Linux Kernel SDIO/MMC Driver
[   10.134132@2] dhd_customer_oob_irq_map: customer specific Host GPIO number is (100)
[   10.144639@2] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[   10.148532@2] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[   10.155264@2] dhdsdio_probe: Enable prop_txstatus
[   10.160434@2] wl_create_event_handler(): thread:wl_event_handler:55e started
[   10.160437@3] tsk Enter, tsk = 0xecfb74cc
[   10.170945@2] init wlan_priv_wake
[   10.174421@2] dhd_attach(): thread:dhd_watchdog_thread:560 started
[   10.180409@2] dhd_attach(): thread:dhd_dpc:561 started
[   10.185506@2] dhd_attach(): thread:dhd_sysioc:562 started
[   10.191674@2] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 55:22:11:11:22:33
[   10.200121@2] =========== WLAN placed in RESET ========
[   10.204473@2] init wifi power_wake lock
[   10.208444@2]
[   10.208444@2] Dongle Host Driver, version 1.88.45.4 (r420671)
[   10.208444@2] Compiled in drivers/net/wireless/bcmdhd on Jun 14 2016 at 10:22:45
[   10.223030@2] dhd_module_init: Exit error=0
[   10.249964@1] e2_procfs: Unknown symbol wetekfb_set_display (err 0)
[   10.279392@1] Bluetooth: Core ver 2.16
[   10.280378@1] NET: Registered protocol family 31
[   10.282110@1] Bluetooth: HCI device and connection manager initialized
[   10.288639@1] Bluetooth: HCI socket layer initialized
[   10.293639@1] Bluetooth: L2CAP socket layer initialized
[   10.298873@1] Bluetooth: SCO socket layer initialized
[   10.310478@1] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   10.310951@1] Bluetooth: HIDP socket layer initialized
[   10.348744@2] gpu cooling register okay with err=0
[   10.349767@2] gpu core cooling register okay with err=0

[   10.354144@2] Mali: Mali device driver loaded
[   10.386150@0] usbcore: registered new interface driver mceusb
[   10.419438@0] Bluetooth: RFCOMM TTY layer initialized
[   10.419500@0] Bluetooth: RFCOMM socket layer initialized
[   10.424161@0] Bluetooth: RFCOMM ver 1.11
[   10.537953@0] SGI XFS with security attributes, realtime, large block/inode numbers, no debug enabled
[   10.742635@2] video first pts = 0
[   10.836648@1] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[   10.837052@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   10.858279@0] detect vout mode change!!!!!!!!!!!!
[   10.858322@0] vpts to scr, apts = 0x0, vpts = 0x0
[   10.862044@0] [video4osd] first  picture {1280,720} pts:0,
[   10.898293@0] [video4osd] first  picture {1280,720} pts:0,
[   10.898331@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   10.918299@0] VsyncEnableVideoLayer
[   12.653810@3] eth0: device MAC address 55:22:11:11:22:33
[   12.655126@3] mask interrupts MMC
[   12.656781@3] mask interrupts MMC
[   12.660089@3] mask interrupts MMC
[   12.663392@3] stmmac_open: failed PTP initialisation
[   12.907459@0] [tsync_avevent]event:2, param 0
[   12.907494@0] video first pts = 0
[   12.909492@0] di_uninit_buf keep cur di_buf 6 (4 5 -1)
[   23.754830@2] video_blackout_policy_store(0)
[   23.761592@0] video first pts = 0
[   23.817059@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   23.838278@0] vpts to scr, apts = 0x0, vpts = 0x0
[   23.838316@0] [video4osd] first  picture {1280,720} pts:0,
[   23.842895@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   23.858281@0] VsyncEnableVideoLayer
[   23.938275@0] recycle_keep_buffer recycle keep cur di_buf 6 ( 4  5 )
[   24.722423@2] video_blackout_policy_store(0)
[   25.894464@0] [tsync_avevent]event:2, param 0
[   25.894495@0] video first pts = 0
[   25.896493@0] di_uninit_buf keep cur di_buf 7 (6 7 -1)
[   25.912962@2] video first pts = 0
[   25.977053@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   25.998277@0] vpts to scr, apts = 0x0, vpts = 0x0
[   25.998314@0] [video4osd] first  picture {1280,720} pts:0,
[   26.002895@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   26.018279@0] VsyncEnableVideoLayer
[   26.098276@0] recycle_keep_buffer recycle keep cur di_buf 7 ( 6  7 )
[   26.421950@0] video_blackout_policy_store(0)
[   28.045724@0] [tsync_avevent]event:2, param 0
[   28.045754@0] video first pts = 0
[   28.047770@0] di_uninit_buf keep cur di_buf 6 (4 5 -1)
[   28.062016@0] video first pts = 0
[   28.117060@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   28.138282@0] vpts to scr, apts = 0x0, vpts = 0x0
[   28.138322@0] [video4osd] first  picture {1280,720} pts:0,
[   28.142902@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   28.158282@0] VsyncEnableVideoLayer
[   28.238285@0] recycle_keep_buffer recycle keep cur di_buf 6 ( 4  5 )
[   28.299342@1] video_blackout_policy_store(0)
[   30.194612@2] [tsync_avevent]event:2, param 0
[   30.194646@2] video first pts = 0
[   30.196638@0] di_uninit_buf keep cur di_buf 7 (6 7 -1)
[   30.216492@1] video first pts = 0
[   30.277056@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   30.298281@0] vpts to scr, apts = 0x0, vpts = 0x0
[   30.298321@0] [video4osd] first  picture {1280,720} pts:0,
[   30.302901@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   30.318280@0] VsyncEnableVideoLayer
[   30.398282@0] recycle_keep_buffer recycle keep cur di_buf 7 ( 6  7 )
[   30.452860@0] video_blackout_policy_store(0)
[   32.345797@0] [tsync_avevent]event:2, param 0
[   32.345828@0] video first pts = 0
[   32.347842@0] di_uninit_buf keep cur di_buf 6 (4 5 -1)
[   32.362376@0] video first pts = 0
[   32.427057@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   32.438280@0] vpts to scr, apts = 0x0, vpts = 0x0
[   32.438318@0] [video4osd] first  picture {1280,720} pts:0,
[   32.442898@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   32.458281@0] VsyncEnableVideoLayer
[   32.538283@0] recycle_keep_buffer recycle keep cur di_buf 6 ( 4  5 )
[   32.598822@2] video_blackout_policy_store(0)
[   34.494538@0] [tsync_avevent]event:2, param 0
[   34.494572@0] video first pts = 0
[   34.496578@0] di_uninit_buf keep cur di_buf 7 (6 7 -1)
[   34.512012@2] video first pts = 0
[   34.567075@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   34.578278@0] vpts to scr, apts = 0x0, vpts = 0x0
[   34.578315@0] [video4osd] first  picture {1280,720} pts:0,
[   34.582895@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   34.598279@0] VsyncEnableVideoLayer
[   34.678284@0] recycle_keep_buffer recycle keep cur di_buf 7 ( 6  7 )
[   34.750215@2] video_blackout_policy_store(0)
[   36.642620@0] [tsync_avevent]event:2, param 0
[   36.642652@0] video first pts = 0
[   36.644657@0] di_uninit_buf keep cur di_buf 6 (4 5 -1)
[   36.662453@3] video first pts = 0
[   36.727062@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   36.738281@0] vpts to scr, apts = 0x0, vpts = 0x0
[   36.738320@0] [video4osd] first  picture {1280,720} pts:0,
[   36.742900@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   36.758283@0] VsyncEnableVideoLayer
[   36.838287@0] recycle_keep_buffer recycle keep cur di_buf 6 ( 4  5 )
[   36.894562@0] video_blackout_policy_store(0)
[   38.794580@2] [tsync_avevent]event:2, param 0
[   38.794617@2] video first pts = 0
[   38.796611@0] di_uninit_buf keep cur di_buf 7 (6 7 -1)
[   38.812480@0] video first pts = 0
[   38.867072@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   38.878279@0] vpts to scr, apts = 0x0, vpts = 0x0
[   38.878316@0] [video4osd] first  picture {1280,720} pts:0,
[   38.882897@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   38.898285@0] VsyncEnableVideoLayer
[   38.978285@0] recycle_keep_buffer recycle keep cur di_buf 7 ( 6  7 )
[   39.043072@2] video_blackout_policy_store(0)
[   40.942732@0] [tsync_avevent]event:2, param 0
[   40.942768@0] video first pts = 0
[   40.944772@0] di_uninit_buf keep cur di_buf 6 (4 5 -1)
[   40.961945@2] video first pts = 0
[   41.017052@0] pre_de_buf_config: source change: 0x0/0/0/0=>0x9000/1280/720/0
[   41.038280@0] vpts to scr, apts = 0x0, vpts = 0x0
[   41.038321@0] [video4osd] first  picture {1280,720} pts:0,
[   41.042899@0] cur_dispbuf->width: 1280  cur_dispbuf->height:720 -- vf->width:1280 vf->height:720
[   41.058282@0] VsyncEnableVideoLayer
[   41.138281@0] recycle_keep_buffer recycle keep cur di_buf 6 ( 4  5 )
[   43.094580@0] [tsync_avevent]event:2, param 0
[   43.094617@0] video first pts = 0
[   43.096624@0] di_uninit_buf keep cur di_buf 7 (6 7 -1)
frame buffer have problem

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sat Sep 24, 2016 5:40 pm

Hi,

thank you for the sources. I had no time last week. I need some work on the procfs and meta-layer...

best regards, csucsu

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Sat Sep 24, 2016 11:18 pm

may be we can compile enigma2 like x86 enigma2 pc (openpli for dektop pc)
I try to compile enigma2 on odroid c1 ubuntu16.img
but I have error "cant find dvb headers" ( I use ubuntu img on minix X8HP and use old 3;10.80 kernel. I installed all kernel headera but)


git clone -b wetek https://github.com/wetek-enigma/enigma2
./configure --with-boxtype=wetekplay

Code: Select all

root@odroid:/home/odroid/Downloads# cd enigma2
root@odroid:/home/odroid/Downloads/enigma2# ./configure --with-boxtype=wetekplaychecking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc option to support OpenMP... -fopenmp
checking for msgfmt... /usr/bin/msgfmt
checking for msginit... /usr/bin/msginit
checking for msgmerge... /usr/bin/msgmerge
checking for msguniq... /usr/bin/msguniq
checking for xgettext... /usr/bin/xgettext
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for python2.7... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/dist-packages
checking python extra libraries... -L/usr/lib -lz -lpthread -ldl  -lutil
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking for swig... /usr/bin/swig
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking ost/dmx.h usability... no
checking ost/dmx.h presence... no
checking for ost/dmx.h... no
checking linux/dvb/version.h usability... yes
checking linux/dvb/version.h presence... yes
checking for linux/dvb/version.h... yes
configure: found dvb version 
configure: error: can't find dvb headers

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Sat Sep 24, 2016 11:26 pm


csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Fri Sep 30, 2016 2:54 am

Hi,

I have some problem with compiling... I'm not a C expert... It may be an arm64 problem, because the simple arm version compiled suffessfully.
Could you help me?

regards, csucsu

Code: Select all

In file included from /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/eptrlist.h:7:0,
                 from /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/ebase.h:12,
                 from python/enigma_python.cpp:3261:
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/smartptr.h: In instantiation of 'unsigned int ePtr<T>::getPtrString() const [with T = eComponentData]':
python/enigma_python.cpp:6021:79:   required from here
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/smartptr.h:57:24: error: cast from 'eComponentData*' to 'unsigned int' loses precision [-fpermissive]
   return (unsigned int)ptr;
                        ^
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/smartptr.h: In instantiation of 'unsigned int ePtr<T>::getPtrString() const [with T = eGenreData]':
python/enigma_python.cpp:6331:75:   required from here
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/smartptr.h:57:24: error: cast from 'eGenreData*' to 'unsigned int' loses precision [-fpermissive]
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/smartptr.h: In instantiation of 'unsigned int ePtr<T>::getPtrString() const [with T = eParentalData]':
python/enigma_python.cpp:6618:78:   required from here
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/enigma2/2.7+gitAUTOINC+27fd9d3e20-r0/git/lib/base/smartptr.h:57:24: error: cast from 'eParentalData*' to 'unsigned int' loses precision [-fpermissive]
rm -f gdi/libenigma_gdi.a

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Fri Sep 30, 2016 4:40 am

Code: Select all

--- a/enigma2.openpli/lib/base/smartptr.h       2016-08-16 19:29:33.391073531 +0200
+++ b/enigma2.openpli/lib/base/smartptr.h       2016-08-19 20:24:56.860701072 +0200
@@ -54,7 +54,7 @@
         * the actual type it returns. */
        unsigned int getPtrString() const
        {
-               return (unsigned int)ptr;
+               return (uintptr_t)ptr;
        }
 #ifndef SWIG
        T* grabRef() { if (!ptr) return 0; ptr->AddRef(); return ptr; }

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Fri Sep 30, 2016 6:41 am

thank you noone2k!

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Sat Oct 01, 2016 2:36 am

checking for ALSA... yes
checking for AMLPLAYER... no
configure: error: Package requirements (libamcodec libamadec) were not met:

No package 'libamcodec' found
No package 'libamadec' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables AMLPLAYER_CFLAGS
and AMLPLAYER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
root@odroid:/home/odroid/Downloads/enigma2-wetek# ./configure --with-droid ubuntu uses different libamlogic where ldflag and cflag path usr/lib ?

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sat Oct 01, 2016 2:53 am

Hi,

I have finished the meta-amlogic. Compiles fine. I start to work with procfs...

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Sat Oct 01, 2016 4:44 am

thats good news for amlogic user. Good luck.
patch for use usb tuner

https://github.com/takitr/enigma2pc/blo ... card.patch.
indeed work with enigma2 on s905 (k2 plus) with vidmod-os (kodi-nutrinomp-vdr-enigma2) based buildroot of amlogic. 4pda user vitaly_s make it. Dont share anything. You exemine some structures.
https://cloud.mail.ru/public/JYzE/nbjeQWc4X

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sat Oct 08, 2016 9:07 pm

Hi,

I worked on the meta part, but it needs more cleanup.
I use noone2k's fake stb procfs module, but I have another (enigma) problem

box boots well, enigma starts. When firsttime setup finished and ui starts I got enigma crash...

Code: Select all

<  2237.601> [SKIN] Parsing embedded skin <embedded-in-'Screensaver'>
<  2237.689> [SKIN] Parsing embedded skin <embedded-in-'HideVBILine'>
<  2237.719> [SKIN] No skin to read...
<  2237.722> EXCEPTION IN PYTHON STARTUP CODE:
<  2237.723> ------------------------------------------------------------
<  2237.723> Traceback (most recent call last):
<  2237.723>   File "/usr/lib/enigma2/python/mytest.py", line 574, in <module>
<  2237.724>     runScreenTest()
<  2237.724>   File "/usr/lib/enigma2/python/mytest.py", line 455, in runScreenTest
<  2237.724>     runNextScreen(session, screensToRun)
<  2237.724>   File "/usr/lib/enigma2/python/mytest.py", line 449, in runNextScreen
<  2237.724>     session.openWithCallback(boundFunction(runNextScreen, session, screensToRun[1:]), screen, *args)
<  2237.724>   File "/usr/lib/enigma2/python/mytest.py", line 279, in openWithCallback
<  2237.724>     dlg = self.open(screen, *arguments, **kwargs)
<  2237.724>   File "/usr/lib/enigma2/python/mytest.py", line 289, in open
<  2237.724>     dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
<  2237.724>   File "/usr/lib/enigma2/python/mytest.py", line 232, in instantiateDialog
<  2237.724>     return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
<  2237.724>   File "/usr/lib/enigma2/python/mytest.py", line 249, in doInstantiateDialog
<  2237.725>     dlg = screen(self, *arguments, **kwargs)
<  2237.725>   File "/usr/lib/enigma2/python/Screens/InfoBar.py", line 67, in __init__
<  2237.725>   File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 136, in __init__
<  2237.725> OverflowError: in method 'eActionMap_bindAction', argument 3 of type 'int'
<  2237.725> ------------------------------------------------------------
It may occurs because of the wrong boxtype. I found some error told me broadcom framebuffer acceleration statred.

Code: Select all

Jan  1 01:01:10 s905 user.err kernel: [   65.409658@1] fb: command 0x23 not supported (enigma2)
Jan  1 01:01:10 s905 user.err kernel: [   65.410915@1] fb: command 0x40014621 not supported (enigma2)
noone2k, have you met this problem?

best regards, csucsu

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Sun Oct 09, 2016 12:15 am

q&d

Code: Select all

--- a/enigma2.openpli/lib/python/Screens/InfoBarGenerics.py     2016-08-19 17:27:41.467503948 +0200
+++ b/enigma2.openpli/lib/python/Screens/InfoBarGenerics.py     2016-08-19 22:50:41.698867834 +0200
@@ -43,7 +43,8 @@
 from time import time, localtime, strftime
 import os
 from bisect import insort
-from sys import maxint
+#from sys import maxint
+maxint=65335
 
 from RecordTimer import RecordTimerEntry, RecordTimer, findSafeRecordPath
 

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sun Oct 09, 2016 8:12 am

Hi noone2k,

thank you!
65335 or 65535? :)

best regards, gcsuri

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Sun Oct 09, 2016 8:27 am

little typo, but doesn't matter ...
and yes, the latter :)

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sun Oct 09, 2016 4:29 pm

Hi noone2k,

here is my repo: https://github.com/gcsuri/meta-amlogic

here is a compiled sd image: http://www.telconet.hu/s905/openpli-4-s905_sdcard.zip
you need to copy your proper dtb into boot partition as boot.dtb. You can find it at http://kszaq.libreelec.tv/s905/7.0.2.007/device_trees/
If you have odroidC2 you need to revert back the boot.ini (I created a special boot.ini for media boxes). If you have a S905 box you can use the toothpick method to boot.

enigma2 boots, screens ok, but it can't play any file with movieplayer or udp stream :(

best regards, csucsu

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Sun Oct 09, 2016 11:54 pm

e2 relies for multimedia heavily on gstreamer using playbin(2).
therefore is a complete videodec and -sink neccessary.

i'll setup your oe-environment and do some tests, if i have time and i'm not to lazy. ;)

meanwhile you can test e2 with "GST_DEBUG=3 enigma2" on the shell or
try "GST_DEBUG=3 gst-launch playbin2 uri=URI".

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Mon Oct 10, 2016 1:24 am

Hi,

thank you for your help!

I think "Caught SIGSEGV accessing address 0xffffffff943c8038" is the problem. May it caused by some aml lib problem?

Code: Select all

# gst-launch --gst-debug-level=2 playbin2 uri="http://xx.xx.xx.x:8080/udp/10.0.11.16:1234"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.825252875  2333   0x7f9000dc00 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/aarch64-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst-libs/gst/pbutils/descriptions.c:995:gst_pb_utils_get_codec_description: No description available for media type: application/x-mpegts-private-section
0:00:00.825840292  2333   0x7f9000dc00 WARN            uridecodebin /home/dev1/openpli4/openpli-oe-core/build/tmp/work/aarch64-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst/playback/gsturidecodebin.c:883:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'application/x-mpegts-private-section'.
Missing element: application/x-mpegts-private-section decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'application/x-mpegts-private-section'.
Additional debug info:
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/aarch64-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst/playback/gsturidecodebin.c(883): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
0:00:00.843104667  2333   0x7f9000dc00 WARN                 amlvdec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlvideo/AMLVDEC/gstamlvdec.c:609:gst_amlvdec_start: amlvdec start....

0:00:00.875554542  2333   0x7f9000dc00 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/aarch64-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst-libs/gst/pbutils/descriptions.c:995:gst_pb_utils_get_codec_description: No description available for media type: private/teletext
0:00:00.876041000  2333   0x7f9000dc00 WARN            uridecodebin /home/dev1/openpli4/openpli-oe-core/build/tmp/work/aarch64-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst/playback/gsturidecodebin.c:883:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'private/teletext'.
Missing element: private/teletext decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'private/teletext'.
Additional debug info:
/home/dev1/openpli4/openpli-oe-core/build/tmp/work/aarch64-oe-linux/gst-plugins-base/0.10.36.1+gitAUTOINC+bdb3316347-r2/git/gst/playback/gsturidecodebin.c(883): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
0:00:00.987192250  2333   0x7f9000dc00 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:152:gst_amladec_class_init: gst_amladec_class_init

0:00:00.988020833  2333   0x7f9000dc00 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:1009:gst_amladec_start: gst_amladec_start

0:00:00.992155042  2333   0x7f9000dc00 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:1009:gst_amladec_start: gst_amladec_start

0:00:01.128482500  2333   0x7f8804c9e0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:1009:gst_amladec_start: gst_amladec_start

0:00:01.133745750  2333   0x7f88087d90 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:1009:gst_amladec_start: gst_amladec_start

0:00:02.778510376  2333   0x7f8804cad0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/common/amstreaminfo/amlstreaminfo.c:32:createStreamInfo: [createStreamInfo:32]

0:00:02.778707543  2333   0x7f8804cad0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/amlaudioinfo.c:47:createAudioInfo: [createAudioInfo:]Audio info construct

0:00:02.778785876  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:494:gst_set_astream_info: got name=audio/x-ac3

0:00:02.778907959  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779225543  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779337709  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779442834  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779537043  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779631168  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779724501  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779819376  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.779917793  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.780012793  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.780106793  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.780205251  2333   0x7f8804cad0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.780731001  2333   0x7f9000ded0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/common/amstreaminfo/amlstreaminfo.c:32:createStreamInfo: [createStreamInfo:32]

0:00:02.780877334  2333   0x7f9000ded0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/amlaudioinfo.c:47:createAudioInfo: [createAudioInfo:]Audio info construct

0:00:02.780953126  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:494:gst_set_astream_info: got name=audio/x-ac3

0:00:02.781102876  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.781199459  2333   0x7f8804c9e0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/common/amstreaminfo/amlstreaminfo.c:32:createStreamInfo: [createStreamInfo:32]

0:00:02.781286834  2333   0x7f8804c9e0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/amlaudioinfo.c:47:createAudioInfo: [createAudioInfo:]Audio info construct

0:00:02.781358501  2333   0x7f8804c9e0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:494:gst_set_astream_info: got name=audio/mpeg

0:00:02.781511543  2333   0x7f8804c9e0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/amlaudioinfo.c:210:amlInitAmpeg: [amlInitAmpeg:210]
0:00:02.781537584  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.781639293  2333   0x7f8804c9e0 WARN                 default /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/amlaudioinfo.c:29:amlAudioInfoInit: [amlAudioInfoInit:29]samplerate=48000 channels=2

0:00:02.781702168  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.781801959  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.781899668  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.781999501  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.782098001  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.782195918  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.782290418  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.782484709  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.782585876  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.782682751  2333   0x7f9000ded0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:787:gst_amladec_decode: we will do nothing in render as audio decoder not ready yet

0:00:02.785529459  2333   0x7f88087d90 WARN                amlvsink /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlvideo/AMLVSINK/gstamlvsink.c:169:gst_amlvsink_init: gst_amlvsink_init

Caught SIGSEGV accessing address 0xffffffff943c8038
0:00:02.789875376  2333   0x7f8804c9e0 WARN                 amladec /home/dev1/openpli4/openpli-oe-core/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:244:aml_decode_init: set1 amladec->apcodec=78006000,codec_init_ok=1

send control failed,handle=6,cmd=80085309,paramter=94c60120, t=ffffffff errno=25
exec gdb failed: No such file or directory
Spinning.  Please run 'gdb gst-launch 2333' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
send control failed,handle=6,cmd=4008530e,paramter=e48f9f8b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c601f0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fa7fb, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c601f0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fb06b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c601f0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fb8db, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c601f0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fc14b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c601f0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fc9bb, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c601f0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fd22b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c602c0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fda9b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c602c0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48fe30b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c602c0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48feb7b, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c602c0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48ff3eb, t=ffffffff errno=25
pts checkin flied maybe lose sync
send control failed,handle=6,cmd=80085309,paramter=94c602c0, t=ffffffff errno=25
send control failed,handle=6,cmd=4008530e,paramter=e48ffc5b, t=ffffffff errno=25


noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Mon Oct 10, 2016 8:21 am

the log tells me 2 things:

1.) there are mixed up gstreamer versions:
0.10 is the old and 0.11 the development for the api 1.x branch.

2.) some ioctls ( errno=25 ) are wrong.
could point to the direction you mentioned: wrong aml_libs.

but i've to dig deeper ...

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Tue Oct 11, 2016 2:02 am

Hi noone2k,

I can play some stream on gstreamer:

Code: Select all

wget -O - http://xx.xx.xx.xx:8080/udp/10.0.11.16:1234 | gst-launch fdsrc fd=0 ! decodebin ! amlvsink 
and

Code: Select all

 gst-launch -vvvv filesrc location=test.mkv ! decodebin ! amlvsink 
works fine...

How can I test playbin2?

best regards, csucsu

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Tue Oct 11, 2016 6:18 am

thx for the input ...

now a really blind guess, since i haven't ( not yet ) setup your oe:

Code: Select all

--- lib/service/servicemp3.cpp.org	2016-08-16 19:29:33.631078105 +0200
+++ lib/service/servicemp3.cpp.test	2016-10-10 22:48:41.173365537 +0200
@@ -573,6 +573,14 @@
 #endif
 	if ( m_gst_playbin )
 	{
+
+		/* 
+		 *test forcing aml-video-sink
+		 */
+
+		videoSink = gst_element_factory_make("amlvout", "GstDVBVideoSink");
+		g_object_set (m_gst_playbin, "video-sink", videoSink, NULL);
+
 		/*
 		 * avoid video conversion, let the dvbmediasink handle that using native video flag
 		 * volume control is done by hardware, do not use soft volume flag
better would be to use amlvsink, but this will probably crash also. ( different api versions ... )

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Tue Oct 11, 2016 7:12 am

Hi,

I will start my nightly build soon...
One more question for today: mediaplayer streams and 4097 (service id) streams go trough the gstreamer. What about the dvb streams coming from the dvb cards or the service id 1? Are they demuxed via dvb layer and go to amplayer or amcodec lib?

best regards, csucsu

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Tue Oct 11, 2016 7:44 am

i'm new to the c2/amlogic stuff and didn't study all available datasheets/sources.

dvb streams are managed by a hardware demuxer on the stbs, via v4l-api.
( route the ts-streams -> demuxer -> decoder -> vout )
the amlogics has also a hw-demxuer , but only accessible trough the ts-input pins or tvin path, i guess.

if i'm right, parts of the software for the hw demuxer, must be rewritten.
fortunaly gstreamer can also demux ts in software.

tuning, zapping, epg and recordings should be available without the demuxer part,
but no live-tv without a proper demux/ts-handler.


regards

btw. the easiest way would be to record the stream and play it, while recording ;)

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Tue Oct 11, 2016 10:40 pm

Hi,

with amlvout works fine! :)
iptv with 4097 service id also plays but it buffering a lot and stopped after a while :(

amstream_vbuf not initialized somehow

Code: Select all

0:00:26.749729721  2299   0x7f6c004680 ERROR                amladec /home/dev1/openpli4/openpli/build/tmp/work/s905-oe-linux/gst-amlavsink/0.11.0-r1/gst-aml-plugins-0.11.0/amlaudio/AMLADEC/gstamladec.c:237:aml_decode_init: codec init failed, ret=-0xfefffff4
retry_open [/dev/amstream_vbuf] failed,ret = -1 error=16 used_times=1000*10(ms)
Error=1 errno=16 : Device or resource busy,func=codec_video_es_init,line=487
Tonight I will check why no sound...

My goal to play my iptv stream with dvb and v4l skipping gstreamer. I will check the hw-demux part.

thank you for your important help!

best regards,

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Thu Oct 13, 2016 4:34 am

Hi,

I need to ask again...
I went back to libreelec kernel - it contains the latest amlogic patches and aml dvb layer is included.
I got compile error when build the enigma image:

Code: Select all

|   CC [M]  drivers/staging/vt6656/firmware.o
|   CC [M]  drivers/staging/vt6656/int.o
|   LD [M]  drivers/staging/rtl8712/r8712u.o
|   LD [M]  drivers/staging/vt6656/vt6656_stage.o
|   Building modules, stage 2.
|   MODPOST 418 modules
| ERROR: "of_reserved_mem_device_init" [drivers/amlogic/dvb_tv/aml_fe.ko] undefined!
| ERROR: "aml_audiomode_autodet" [drivers/amlogic/dvb_tv/aml_fe.ko] undefined!
| ERROR: "amlatvdemod_set_std" [drivers/amlogic/dvb_tv/aml_fe.ko] undefined!
| ERROR: "retrieve_frequency_offset" [drivers/amlogic/dvb_tv/aml_fe.ko] undefined!
| ERROR: "aml_dmx_register_frontend" [drivers/amlogic/dvb_tv/aml_fe.ko] undefined!
| ERROR: "atvdemod_debug_en" [drivers/amlogic/dvb_tv/aml_fe.ko] undefined!
| ERROR: "get_stream_buffer" [drivers/amlogic/dvb_tv/aml.ko] undefined!
| make[3]: *** [__modpost] Error 1
| make[2]: *** [modules] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile_kernelmodules (log file is located at...
If I compile it from command line everything works well...
Do you have any idea why?

best regards,

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Thu Oct 13, 2016 6:25 am

my english not good but
add this patch
https://raw.githubusercontent.com/Libre ... _dvb.patch

after recompile
it dont work
try y not m (modules)
CONFIG_AM_DVB=y

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Thu Oct 13, 2016 3:58 pm

Hi taki,

this patch remove the aml demux code we need and adds wetek frontend drivers.
Wetek coders rewrited the demux layer a bit and it's provided as closed source wetekdvb.ko

regards,

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Thu Oct 13, 2016 5:20 pm

remove this patch
and change your kernel config
CONFIG_AM_DVB=m
to
CONFIG_AM_DVB=y (no compile module)

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Fri Oct 14, 2016 7:22 am

the code controls the nim ( tuner/demod ) via i2c and
process the ts ( mpeg2-transport stream ) via the ts-input-pins, like a "real" stb.
you may also look at s905 public datasheet ( latest rev ) , section 4 ( pg 106 ff)

the error you got: you need the atv_demod ( analog tv ) code ( but its useless, only dtv ( digital tv / dvb-X ) is needed, the code should be split up ).

as already written: the the code, as is, is only useful for a full nim-socket controlled tuner-module ( plugin, tuner AND demod ),
like the wetek boxes have.

a full software-solution should be fine ( using gstreamer-demux and hw-dec ). to demux is not a very heavy task.

btw. the gstreamer modules are incomplete, and need a overhaul und a switch to gstreamer 1.x should be done.

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Fri Oct 14, 2016 9:22 am

Hi noone2k,

I will try gstreamer1 in the next days...

I looked at the aml dvb code. I think DMX_SOURCE_DVR0 could work...
Normal STBs play the ts streams (from file or network) in this way without gstreamer.

Code: Select all

[eDVBResourceManager] allocating demux adapter=0, demux=4, source=-1 fesource=-1
Do you think it's possible with this aml dvb code?

regards, csucsu

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Fri Oct 14, 2016 4:31 pm

k2 plus closed dvb source
it can compile modules aml_fe.ko

kernel/drivers/amlogic/dvb_tv/aml_fe.ko
kernel/drivers/amlogic/dvb_tv/avl6862.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_CommonAPI.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_CommonInternal.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_DVBC.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_DVBSx.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_DVBTx.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_ISDBT.ko
kernel/drivers/amlogic/dvb_tv/AVL_Demod_Config.ko
kernel/drivers/amlogic/dvb_tv/user_defined_function.ko
kernel/drivers/amlogic/dvb_tv/r848.ko

old kernel 8726 m3 source related media dvb core
https://github.com/Pivosgroup/buildroot ... /aml_dvb.h

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Sun Oct 16, 2016 6:47 pm

Hi,

I've successfully made the grstreamer1 and its plugins to meta layer.
I have some library or LD problem...
All plugins loaded fine but 4 aml plugins :(

Code: Select all

root@s905:~# gst-inspect-1.0 /usr/lib/gstreamer-1.0/libgstamlvsink.so

(gst-inspect-1.0:819): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstamlvsink.so': /usr/lib/libamplayer.so: undefined symbol: url_buffed_pos
Could not load plugin file: Opening module failed: /usr/lib/libamplayer.so: undefined symbol: url_buffed_pos
Any idea?

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Mon Oct 17, 2016 12:54 am

Code: Select all

find ../ -type f -exec grep -li url_buffed_pos {} \;
../amffmpeg/libavformat/avio.h
../amffmpeg/libavformat/aviobuf.c

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Mon Oct 17, 2016 3:09 am

it means libamffmpeg.so needs to be compiled also?

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Mon Oct 17, 2016 5:00 am

s905.con add libc kernel headers

PREFERRED_PROVIDER_virtual/kernel = "linux-amlogic"
PREFERRED_VERSION_linux-amlogic = "3.14.63"
+PREFERRED_VERSION_linux-libc-headers = "3.14"

noone2k
Posts: 10
Joined: Wed Mar 09, 2016 12:52 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by noone2k » Mon Oct 17, 2016 5:26 am

i'm figthing right now with another stb, filesystem crash and had only a quick look.

i guess it is not a "libamffmpeg.so", but a modified ffmpeg version.
you'l get a exec and few libs ( f.ex. libavformat, which is required ).
look at the linker statements or try "LD_DEBUG=all gst-inspect ...." and study the output.


//edit: maybe its enough to install regulary ffmpeg or libav, if available ...

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Wed Oct 19, 2016 5:55 am

Hi,

the problem is I used the latest version of buildroot for gst-amlplugins and amlogic developers put a software decoder in it... It needs some ffmpeg libraries to work. I can't imagine why need to be put in.
So I went back to previous version but enigma2 doesn't handle it well (slow start, no sound). Need more test...

best regards, csucsu

segmant
Posts: 7
Joined: Tue Nov 08, 2016 9:42 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by segmant » Tue Nov 08, 2016 9:57 am

Hi,

At what stage are the works?
The question is, someone knows how to run this engime2 on K1_Plus cpu is s905

csucsu
Posts: 26
Joined: Tue Jul 12, 2016 12:14 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by csucsu » Tue Nov 08, 2016 2:54 pm

Hi segmant,

meta-layer is done
dvb layer is started
procfs layer started
if dvb demux layer is finished I think this enigma works on K1_plus.

regards, csucsu

segmant
Posts: 7
Joined: Tue Nov 08, 2016 9:42 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by segmant » Tue Nov 08, 2016 6:33 pm

csucsu thank you for your work.
He tried to run enigme2 on k1plus unfortunately overturned android.
boot.dtb of kszaq

Specification k1plus:
Amlogic S905 Quad core 64-bit Cortex A53 Up to 2.0GHz
Penta-core Mali-450 Up to 750MHZ
Android 5.1.1
3D Graphics OpenGL ES 1.1/2.0 and Open VG 1.1 support
DDRIII 1GB Nand Flash 8GB
2.4G WiFi LAN
2K*4K HDMI output
KODI \DLNA \AirPlay \Google TV Remote\Miracast \3D moive Support

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Thu Nov 10, 2016 5:03 pm

csucsu look stb define
https://github.com/wetek-enigma/linux-w ... b_define.h
Your kernel not has amreg h. some logical dvb part need it. Other hand no k1 plus on board ts tuner drivet. I think k1 and k2 pro work with your meta but some body's work on kernel config and dtb.
Why amlogic dev dont share tuner part. I think usb tuner works but (that you found) how send usb tunet send to gstreamer.

segmant
Posts: 7
Joined: Tue Nov 08, 2016 9:42 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by segmant » Sat Nov 12, 2016 5:44 am

csucsu whether it is possible to adjust enigma2 for k1plus and k2?

wetek play2 kernel that has s905
https://github.com/christiantroy/androi ... ek_s905_lp

The tuner is the same just need patch
https://github.com/afl1/LibreELEC.tv/tr ... ches/linux
Enigma project for wetek play2 s905 = k1 & k2 pro
https://github.com/wetek-enigma/oe-alli ... ommits/3.4
thanks

algdu83
Posts: 25
Joined: Sat Nov 12, 2016 5:46 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by algdu83 » Sat Nov 12, 2016 6:56 am


taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Fri Nov 18, 2016 2:31 am

for openpli
open terminal
git clone -b master https://github.com/OpenPLi/openpli-oe-core.git
cd openpli-oe-core
git clone -b master https://github.com/gcsuri/meta-amlogic.git
after open /openpli-oe-core/Makefile
open with gedit (for terminal command #sudo gedit Makefile )
add
$(CURDIR)/meta-wetek \
+ $(CURDIR)/meta-amlogic \
$(CURDIR)/meta-zgemma \

save and exit
MACHINE=s905 make image
good luck
hi from turkiye

algdu83
Posts: 25
Joined: Sat Nov 12, 2016 5:46 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by algdu83 » Fri Nov 18, 2016 5:10 pm

You can do it please?

segmant
Posts: 7
Joined: Tue Nov 08, 2016 9:42 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by segmant » Fri Nov 18, 2016 8:10 pm

taki wrote:for openpli
open terminal
git clone -b master https://github.com/OpenPLi/openpli-oe-core.git
cd openpli-oe-core
git clone -b master https://github.com/gcsuri/meta-amlogic.git
after open /openpli-oe-core/Makefile
open with gedit (for terminal command #sudo gedit Makefile )
add
$(CURDIR)/meta-wetek \
+ $(CURDIR)/meta-amlogic \
$(CURDIR)/meta-zgemma \

save and exit
MACHINE=s905 make image
good luck
hi from turkiye
I have this error when compiling

ERROR: Nothing RPROVIDES 'gst-amlplugins' (but /home/segment/openpli-oe-core/openembedded-core/meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'gst-amlplugins' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gst-amlplugins']
NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-boot', 'gst-amlplugins']
ERROR: Required build target 'openpli-enigma2-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['openpli-enigma2-image', 'packagegroup-core-boot', 'gst-amlplugins']


Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Makefile:90: recipe for target 'image' failed
make: *** [image] Error 1

taki
Posts: 71
Joined: Tue Sep 06, 2016 6:07 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Enigma2 on Odroid C2

Unread post by taki » Fri Nov 18, 2016 10:44 pm

1-Install packages
sudo apt-get install -y autoconf automake bison bzip2 cvs diffstat flex g++ gawk gcc gettext git-core gzip help2man ncurses-bin ncurses-dev libc6-dev libtool make texinfo patch perl pkg-config subversion tar texi2html wget zlib1g-dev chrpath libxml2-utils xsltproc libglib2.0-dev python-setuptools zip info coreutils diffstat chrpath libproc-processtable-perl libperl4-corelibs-perl sshpass default-jre default-jre-headless java-common libserf-dev

2 - Set your shell to /bin/bash.

sudo dpkg-reconfigure dash
When asked: Install dash as /bin/sh?
select "NO"

after try

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests