who have k1 pro tecnicall datasheet. I try to add new hw tuner. I want to find tsinb port.
Posts by taki
-
-
I use coreelec and vitmod os (neutrino and openpli) with sdcard. have any problem. I know activate multiboot or other boot method. printenv log is old. I only tested mainline libreelec img
-
balbes add below patch branch amlogic leia 4.x libreelec (I dont know that including LINUX="amlogic-amlgx")
-
thanks balbes150. I know that use toothpick method. there is no problems
-
dvb streming perfectly over lan device.
-
kernel 5x dtb structure different 4.20. I'il try if I find time. but avl6862 work with kernel 4.20
-
tvheaden ok scan ok remap ok stream ok
kodi hd 1080 p channel stutter and bad pictures guality
-
I need ssh username and password for this img
-
do not support dvb
-
-
I didnt tested full but
gui ok (some time frezing 1-4 second (old 4.20 kernel)
gui 1080p 60hz ok
remote dont work
Lan ok
wifi ok
not tested any video.
I will try tvheadend
-
I tested and tryed LibreELEC-S905.aarch64-9.1-devel-20190221092541-14a36dc.img (dvb version kernel 4.20) on my k1 pro
here is log
Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.20.10 (user@user-VirtualBox) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Thu Feb 21 11:04:36 MSK 2019
[ 0.000000] Machine model: MeCool KI Pro (S905D)
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000040000000, size 896 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] random: get_random_bytes called from start_kernel+0x94/0x3e8 with crng_init=0
[ 0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s52440 r8192 d29480 u90112
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 478528
[ 0.000000] Kernel command line: ddr_size= boot=LABEL=LIBREELEC disk=LABEL=STORAGE hdmitx=cecf console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 systemd.show_status=auto rootfstype=ramfs init=/init logo=osd1,loaded,0x3d800000,576cvbs vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs cvbsdrv=0
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Memory: 969296K/1944576K available (12542K kernel code, 1006K rwdata, 4088K rodata, 2624K init, 780K bss, 57776K reserved, 917504K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000351] Console: colour dummy device 80x25
[ 0.000647] printk: console [tty0] enabled
[ 0.000681] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000702] pid_max: default: 32768 minimum: 301
[ 0.000779] LSM: Security Framework initializing
[ 0.000795] AppArmor: AppArmor disabled by boot time parameter
[ 0.000853] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000873] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.024004] ASID allocator initialised with 32768 entries
[ 0.031991] rcu: Hierarchical SRCU implementation.
[ 0.048042] smp: Bringing up secondary CPUs ...
[ 0.080237] Detected VIPT I-cache on CPU1
[ 0.080284] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.112270] Detected VIPT I-cache on CPU2
[ 0.112305] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.144319] Detected VIPT I-cache on CPU3
[ 0.144352] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.144416] smp: Brought up 1 node, 4 CPUs
[ 0.144482] SMP: Total of 4 processors activated.
[ 0.144494] CPU features: detected: 32-bit EL0 Support
[ 0.144505] CPU features: detected: CRC32 instructions
[ 0.147093] CPU: All CPU(s) started at EL2
[ 0.147114] alternatives: patching kernel code
[ 0.147739] devtmpfs: initialized
[ 0.152093] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.152131] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.172789] xor: measuring software checksum speed
[ 0.212328] 8regs : 2375.000 MB/sec
[ 0.252353] 8regs_prefetch: 2052.000 MB/sec
[ 0.292382] 32regs : 2725.000 MB/sec
[ 0.332409] 32regs_prefetch: 2309.000 MB/sec
[ 0.332419] xor: using function: 32regs (2725.000 MB/sec)
[ 0.332487] pinctrl core: initialized pinctrl subsystem
[ 0.333556] NET: Registered protocol family 16
[ 0.334045] audit: initializing netlink subsys (disabled)
[ 0.334165] audit: type=2000 audit(0.332:1): state=initialized audit_enabled=0 res=1
[ 0.336561] cpuidle: using governor menu
[ 0.336921] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[ 0.336941] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.337923] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.338046] Serial: AMBA PL011 UART driver
[ 0.352237] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.352793] cryptd: max_cpu_qlen set to 1000
[ 0.420770] raid6: int64x1 gen() 481 MB/s
[ 0.488710] raid6: int64x1 xor() 460 MB/s
[ 0.556745] raid6: int64x2 gen() 723 MB/s
[ 0.624781] raid6: int64x2 xor() 609 MB/s
[ 0.692831] raid6: int64x4 gen() 1025 MB/s
[ 0.760891] raid6: int64x4 xor() 749 MB/s
[ 0.828920] raid6: int64x8 gen() 1190 MB/s
[ 0.896994] raid6: int64x8 xor() 767 MB/s
[ 0.965062] raid6: neonx1 gen() 783 MB/s
[ 1.033072] raid6: neonx1 xor() 900 MB/s
[ 1.101129] raid6: neonx2 gen() 1194 MB/s
[ 1.169145] raid6: neonx2 xor() 1203 MB/s
[ 1.237182] raid6: neonx4 gen() 1561 MB/s
[ 1.305240] raid6: neonx4 xor() 1459 MB/s
[ 1.373295] raid6: neonx8 gen() 1628 MB/s
[ 1.441322] raid6: neonx8 xor() 1498 MB/s
[ 1.441332] raid6: using algorithm neonx8 gen() 1628 MB/s
[ 1.441342] raid6: .... xor() 1498 MB/s, rmw enabled
[ 1.441353] raid6: using neon recovery algorithm
[ 1.441687] fbcon: Taking over console
[ 1.443134] SCSI subsystem initialized
[ 1.443453] usbcore: registered new interface driver usbfs
[ 1.443509] usbcore: registered new interface driver hub
[ 1.443600] usbcore: registered new device driver usb
[ 1.444060] pps_core: LinuxPPS API ver. 1 registered
[ 1.444083] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 1.444116] PTP clock support registered
[ 1.444543] Advanced Linux Sound Architecture Driver Initialized.
[ 1.445007] NetLabel: Initializing
[ 1.445028] NetLabel: domain hash size = 128
[ 1.445037] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.445095] NetLabel: unlabeled traffic allowed by default
[ 1.445563] clocksource: Switched to clocksource arch_sys_counter
[ 1.445731] VFS: Disk quotas dquot_6.6.0
[ 1.445786] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.445902] FS-Cache: Loaded
[ 1.451227] NET: Registered protocol family 2
[ 1.451653] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[ 1.451698] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 1.451817] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 1.452021] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.452134] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.452184] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 1.452360] NET: Registered protocol family 1
[ 1.452695] RPC: Registered named UNIX socket transport module.
[ 1.452711] RPC: Registered udp transport module.
[ 1.452721] RPC: Registered tcp transport module.
[ 1.452730] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.452743] NET: Registered protocol family 44
[ 1.529666] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 1.537743] Initialise system trusted keyrings
[ 1.537878] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 1.543453] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.543824] FS-Cache: Netfs 'nfs' registered for caching
[ 1.544356] NFS: Registering the id_resolver key type
[ 1.544393] Key type id_resolver registered
[ 1.544402] Key type id_legacy registered
[ 1.544418] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.544431] Installing knfsd (copyright (C) 1996 [email protected]).
[ 1.545237] FS-Cache: Netfs 'cifs' registered for caching
[ 1.545516] Key type cifs.spnego registered
[ 1.545541] Key type cifs.idmap registered
[ 1.545594] ntfs: driver 2.1.32 [Flags: R/W].
[ 1.546155] JFS: nTxBlock = 8192, nTxLock = 65536
[ 1.550295] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.551884] ocfs2: Registered cluster interface o2cb
[ 1.552077] OCFS2 User DLM kernel interface loaded
[ 1.553393] gfs2: GFS2 installed
[ 1.563792] Key type asymmetric registered
[ 1.563817] Asymmetric key parser 'x509' registered
[ 1.563876] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.563996] io scheduler noop registered
[ 1.564010] io scheduler deadline registered
[ 1.564171] io scheduler cfq registered (default)
[ 1.564185] io scheduler mq-deadline registered
[ 1.564195] io scheduler kyber registered
[ 1.564302] io scheduler bfq registered
[ 1.578271] soc soc0: Amlogic Meson GXL (Unknown) Revision 21:b (2:2) Detected
[ 1.581722] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.583193] Serial: AMBA driver
[ 1.583497] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 13, base_baud = 1500000) is a meson_uart
[ 2.444607] printk: console [ttyAML0] enabled
[ 2.450487] lima d00c0000.gpu: bus rate = 166666667
[ 2.453753] lima d00c0000.gpu: mod rate = 744000000
[ 2.458726] [TTM] Zone kernel: Available graphics memory: 943400 kiB
[ 2.464951] [TTM] Initializing pool allocator
[ 2.469266] [TTM] Initializing DMA pool allocator
[ 2.475024] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[ 2.480163] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[ 2.486452] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[ 2.492748] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[ 2.499044] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[ 2.507125] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[ 2.516075] [drm] Initialized lima 1.0.0 20170325 for d00c0000.gpu on minor 0
[ 2.525426] brd: module loaded
[ 2.529940] loop: module loaded
[ 2.531239] libphy: Fixed MDIO Bus: probed
[ 2.533270] tun: Universal TUN/TAP device driver, 1.6
[ 2.539242] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[ 2.543540] meson8b-dwmac c9410000.ethernet: no reset control found
[ 2.550285] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 2.556817] meson8b-dwmac c9410000.ethernet: DWMAC1000
[ 2.561980] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[ 2.569393] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[ 2.576811] meson8b-dwmac c9410000.ethernet: COE Type 2
[ 2.581989] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[ 2.588971] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[ 2.595381] meson8b-dwmac c9410000.ethernet: Normal descriptors
[ 2.601219] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[ 2.607000] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 3.645593] libphy: stmmac: probed
[ 3.647222] dwc3 c9000000.dwc3: Failed to get clk 'ref': -2
[ 3.650334] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.655413] ehci-platform: EHCI generic platform driver
[ 3.660747] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.666691] ohci-platform: OHCI generic platform driver
[ 3.672415] usbcore: registered new interface driver usb-storage
[ 3.679160] mousedev: PS/2 mouse device common for all mice
[ 3.684039] i2c /dev entries driver
[ 3.688908] sdhci: Secure Digital Host Controller Interface driver
[ 3.692908] sdhci: Copyright(c) Pierre Ossman
[ 3.697244] Synopsys Designware Multimedia Card Interface Driver
[ 3.704043] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.3
[ 3.710058] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.2
[ 3.716887] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.2
[ 3.723381] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.3
[ 3.730198] meson-gx-mmc d0072000.mmc: Linked as a consumer to regulator.3
[ 3.736753] meson-gx-mmc d0072000.mmc: Linked as a consumer to regulator.2
[ 3.743612] meson-gx-mmc d0072000.mmc: Got CD GPIO
[ 3.775296] meson-gx-mmc d0074000.mmc: Linked as a consumer to regulator.4
[ 3.776652] meson-gx-mmc d0074000.mmc: Linked as a consumer to regulator.2
[ 3.783449] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[ 3.815194] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.816288] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.821836] meson-sm: secure-monitor enabled
[ 3.825075] mmc0: new high speed SDHC card at address 1234
[ 3.825951] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.831790] mmcblk0: mmc0:1234 SA08G 7.29 GiB
[ 3.836802] usbcore: registered new interface driver usbhid
[ 3.842826] mmcblk0: p1 p2
[ 3.846198] usbhid: USB HID core driver
[ 3.853039] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[ 3.860442] meson-saradc c1108680.adc: Linked as a consumer to regulator.1
[BL31]: tee size: 0
[ 3.870179] NET: Registered protocol family 17
[ 3.872654] Key type dns_resolver registered
[ 3.877496] registered taskstats version 1
[ 3.880806] Loading compiled-in X.509 certificates
[ 3.886500] Btrfs loaded, crc32c=crc32c-generic
[ 3.890894] Key type encrypted registered
[ 3.903160] meson-drm d0100000.vpu: Queued 3 outputs on vpu
[ 3.903474] libphy: mdio_mux: probed
[ 3.907361] libphy: mdio_mux: probed
[ 3.913252] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 3.915730] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 3.924143] mmc1: new HS200 MMC card at address 0001
[ 3.928989] mmcblk1: mmc1:0001 AJNB4R 14.6 GiB
[ 3.933279] mmcblk1boot0: mmc1:0001 AJNB4R partition 1 4.00 MiB
[ 3.939174] mmcblk1boot1: mmc1:0001 AJNB4R partition 2 4.00 MiB
[ 3.944653] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[ 3.953724] mmcblk1rpmb: mmc1:0001 AJNB4R partition 3 4.00 MiB, chardev (245:0)
[ 3.961127] xhci-hcd xhci-hcd.0.auto: irq 39, io mem 0xc9000000
[ 3.967004] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[ 3.974967] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.982494] usb usb1: Product: xHCI Host Controller
[ 3.987031] usb usb1: Manufacturer: Linux 4.20.10 xhci-hcd
[ 3.992816] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 3.998162] hub 1-0:1.0: USB hub found
[ 4.000942] hub 1-0:1.0: 2 ports detected
[ 4.005170] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.010344] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 4.017931] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 4.024518] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.032562] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.20
[ 4.040684] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.047841] usb usb2: Product: xHCI Host Controller
[ 4.052670] usb usb2: Manufacturer: Linux 4.20.10 xhci-hcd
[ 4.058104] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 4.063354] hub 2-0:1.0: USB hub found
[ 4.066680] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 4.074777] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.3
[ 4.080581] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.2
[ 4.087439] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.2
[ 4.093931] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.3
[ 4.100992] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
domain-0 init dvfs: 4
[ 4.117820] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.3
[ 4.119088] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.2
[ 4.125985] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.2
[ 4.132463] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.3
[ 4.140061] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.3
[ 4.145882] meson-gx-mmc d0070000.mmc: Linked as a consumer to regulator.2
[ 4.152700] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.2
[ 4.159202] meson-gx-mmc d0070000.mmc: Dropping the link to regulator.3
[ 4.166043] hctosys: unable to open rtc device (rtc0)
[ 4.170963] ALSA device list:
[ 4.173668] No soundcards found.
[ 4.178356] Freeing unused kernel memory: 2624K
[ 4.206071] Run /init as init process
LibreELEC:~ # uname -a
Linux LibreELEC 4.20.10 #1 SMP PREEMPT Thu Feb 21 11:04:36 MSK 2019 aarch64 GNU/Linux
LibreELEC:~ # cat /dev/dvb
cat: read error: Is a directory
LibreELEC:~ # lspci
/bin/sh: lspci: not found
LibreELEC:~ # lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
LibreELEC:~ # dmesg | grep dvb
[ 38.254317] dvb_meson c1108c40.dvb: Found i2c-0 adapter: Meson I2C adapter
[ 38.254328] dvb_meson c1108c40.dvb: ts0: parallel
[ 38.254509] dvb_meson c1108c40.dvb: ts0_control: 0x0
[ 38.254663] dvb_meson c1108c40.dvb: dev_name=avl6862
[ 39.485662] dvb_meson c1108c40.dvb: DVB demod detection for i2c-0 (Meson I2C adapter)...
[ 40.701594] dvb_meson c1108c40.dvb: Checking for Availink AVL6862 DVB-S2/T2/C demod ...
[ 40.702131] i2c i2c-0: dvb_meson: found AVL6862 family_id=0x68624955
[ 42.264496] i2c i2c-0: dvb_meson: Rafael R912 successfully attached!
[ 42.264509] dvb_meson c1108c40.dvb: Total DVB modules found: 0
[ 42.274475] dvbdev: DVB: registering new adapter (dvb_meson)
[ 42.284595] dvb_meson c1108c40.dvb: DVB: registering adapter 0 frontend 0 (Availink avl6862)...
LibreELEC:~ # dmesg | grep -i dvb
[ 38.254317] dvb_meson c1108c40.dvb: Found i2c-0 adapter: Meson I2C adapter
[ 38.254328] dvb_meson c1108c40.dvb: ts0: parallel
[ 38.254509] dvb_meson c1108c40.dvb: ts0_control: 0x0
[ 38.254663] dvb_meson c1108c40.dvb: dev_name=avl6862
[ 39.485662] dvb_meson c1108c40.dvb: DVB demod detection for i2c-0 (Meson I2C adapter)...
[ 40.701594] dvb_meson c1108c40.dvb: Checking for Availink AVL6862 DVB-S2/T2/C demod ...
[ 40.702131] i2c i2c-0: dvb_meson: found AVL6862 family_id=0x68624955
[ 40.702138] i2c i2c-0: Load avl6862 firmware patch for DVB-S/S2 size=44108
[ 42.264496] i2c i2c-0: dvb_meson: Rafael R912 successfully attached!
[ 42.264509] dvb_meson c1108c40.dvb: Total DVB modules found: 0
[ 42.274475] dvbdev: DVB: registering new adapter (dvb_meson)
[ 42.284595] dvb_meson c1108c40.dvb: DVB: registering adapter 0 frontend 0 (Availink avl6862)...
[ 42.284820] Meson DVB frontend(s) registered successfully.
LibreELEC:~ #
-
k1pro#printenv
1080p60hz_deepcolor=rgb,8bit
EnableSelinux=enforcing
active_slot=_a
aml_dt=gxl_q20x_2g
baudrate=115200
bcb_cmd=get_valid_slot;
boot_part=misc
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 pq= androidboot.firstboot=0 jtag=apao androidboot.hardware=amlogic mac=55:55:555:55:55:55 androidboot.mac=55:55:555:55:55:55 androidboot.slot_suffix=_a
bootcmd=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; else run libreelec; fi; run storeboot
bootdelay=1
bootfromnand=0
bootup_offset=0x10d8120
bootup_size=0x3f4c8
cmdline_keys=if keyman init 0x1234; then if keyman read usid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.serialno=${usid};setenv serial ${usid};fi;if keyman read mac ${loadaddr} str; then setenv bootargs ${bootargs} mac=${mac} androidboot.mac=${mac};fi;if keyman read deviceid ${loadaddr} str; then setenv bootargs ${bootargs} androidboot.deviceid=${deviceid};fi;fi;
colorattribute=rgb,8bit
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=16
display_color_bg=0
display_color_fg=0xffff
display_color_index=16
display_height=576
display_layer=osd1
display_width=720
dtb_mem_addr=0x1000000
ethact=dwmac.c9410000
ethaddr=55:55:555:55:55:55
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
filesize=1a9
firstboot=0
gatewayip=10.18.9.1
hdmimode=1080p60hz
hostname=arm_gxbb
init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
ipaddr=10.18.9.97
jtag=apao
libreelec=run librefromsd; run librefromusb
librefromsd=mmcinfo; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi
librefromusb=usb start 0; if fatload usb 0 ${loadaddr} kernel.img; then run usbdtb; setenv bootargs ${bootargs} bootfromusb; bootm; fi
linux_start_mmc=if fatload mmc 0 1080000 kernel.itb;then echo E2 mmc ;; bootm 1080000;fi;
loadaddr=1080000
mac=55:55:555:55:55:55
maxcpus=4
netmask=255.255.255.0
outputmode=576cvbs
preboot=run factory_reset_poweroff_protect;run upgrade_check;run bootmode_check;run init_display;run storeargs;run upgrade_key;run user_start;run switch_bootmode;
reboot_mode=cold_boot
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;
recovery_from_sdcard=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload mmc 0 ${loadaddr} recovery.img; then if fatload mmc 0 ${dtb_mem_addr} dtb.img; then echo sd dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
sddtb=if fatload mmc 0 ${dtb_mem_addr} dtb.img; then else store dtb read $dtb_mem_addr; fi
serverip=10.18.9.113
stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} pq=${pq} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.hardware=amlogic;run cmdline_keys;setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};
storeboot=if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then else if test ${reboot_mode} = fastboot; then fastboot;fi;fi;fi;fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if mmcinfo; then run recovery_from_sdcard;fi;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_key=if gpio input GPIOAO_2; then echo detect upgrade key; sleep 3;if gpio input GPIOAO_2; then run update; fi;fi;
upgrade_step=2
usb_burning=update 1000
usbdtb=if fatload usb 0 ${dtb_mem_addr} dtb.img; then else store dtb read $dtb_mem_addr; fi
user_start=if mmcinfo; then run linux_start_mmc;fi;
wipe_cache=successful
wipe_data=successful
Environment size: 6174/65532 bytes
k1pro#help
? - alias for 'help'
aml_sysrecovery- Burning with amlogic format package from partition sysrecovery
amlmmc - AMLMMC sub system
autoscr - run script from memory
base - print or set address offset
bcb - bcb
bmp - manipulate BMP image data
booti - boot arm64 Linux Image image from memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cbusreg - cbus register read/write
chipid - Print Chip ID
clkmsr - Amlogic measure clock
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
cvbs - CVBS sub-system
dcache - enable or disable data cache
defenv_reserv- reserve some specified envs after defaulting env
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
efuse - efuse commands
efuse_user- efuse user space read write ops
emmc - EMMC sub system
env - environment handling commands
exit - exit script
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size- determine a file's size
false - do nothing, unsuccessfully
fastboot- use USB Fastboot protocol
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fdt - flattened device tree utility commands
forceupdate- forceupdate
get_rebootmode- get reboot mode
get_valid_slot- get_valid_slot
go - start application at address 'addr'
gpio - query and control gpio pins
hdmitx - HDMITX sub-system
help - print command description/usage
i2c - I2C sub-system
icache - enable or disable instruction cache
imgread - Read the image from internal flash with actual size
irkey - irkey <timeout> <key1> ...<keyN> - maximum value of N: 10
itest - return true/false on integer compare
jtagoff - disable jtag
jtagon - enable jtag
keyman - Unify key ops interfaces based dts cfg
keyunify- key unify sub-system
loop - infinite loop on address range
macreg - ethernet mac register read/write/dump
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mw - memory write (fill)
mwm - mw mask function
nm - memory modify (constant address)
open_scp_log- print SCP messgage
osd - osd sub-system
phyreg - ethernet phy register read/write/dump
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
query - SoC query commands
rarpboot- boot image via network using RARP/TFTP protocol
read_temp- cpu temp-system
reboot - set reboot mode and reboot system
reset - Perform RESET of the CPU
rsvmem - reserve memory
run - run commands in an environment variable
saradc - saradc sub-system
saradc_12bit- saradc sub-system
saveenv - save environment variables to persistent storage
sdc_burn- Burning with amlogic format package in sdmmc
sdc_update- Burning a partition with image file in sdmmc card
set_active_slot- set_active_slot
set_trim_base- cpu temp-system
set_usb_boot- set usb boot mode
setenv - set environment variables
showvar - print local hushshell variables
silent - silent
sleep - delay execution for some time
store - STORE sub-system
systemoff- system off
temp_triming- cpu temp-system
test - minimal test like /bin/sh
tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
unpackimg- un pack logo image into pictures
update - Enter v2 usbburning mode
usb - USB sub-system
usb_burn- Burning with amlogic format package in usb
usb_update- Burning a partition with image file in usb host
usbboot - boot from USB device
version - print monitor, compiler and linker version
vout - VOUT sub-system
vpp - vpp sub-system
vpu - vpu sub-system
wipeisb - wipeisb
write_trim- cpu temp-system
write_version- cpu temp-system
k1pro#
-
mainline kernel not support ts interface. thus no good options for me. afl1 add pinctrl tsin driver and add dvb driver. I think only problem k1 pro correct dts for 5.xx kernel. need to modification old dts to 5xx
-
which log that you needed. uboot or kernel. I have uart and k1pro. which would log in.
-
linux/amlogic/osd/osd_dev.h was removed from Kernel 3.14.29
-
it is possible amlogic box work with usb tuner under enigma2 (hw Demuxer and e2procfs) May be work all s805 s905 like dvb receicer with usb tuner?
-
Big thanks. I am not devoloper but I always follow your threads. Big idea and project. openatv and vdr addon work simultaneously under with libreelec.