Here is the Gt King dtb, extracted from /dev/dtb on the current android firmware.
@balbes150 LE images with Kodi-19 for S9xxx
-
balbes150 -
April 24, 2018 at 1:26 PM -
Closed -
Thread is Unresolved
-
-
- Official Post
Test images 20190604 AMLGX (S905_S905X_S912) with multi-channel sound.
-
- Official Post
what UBOOT_SYSTEM should I use for the x96 MAX box (2g)?
DEVICE=AMLG12 UBOOT_SYSTEM=box
-
balbes150 chewitt Installed 20190604 AMLGX (S905_S905X_S912) over running 20190530 build on my Kvim2 pro
(Include valid tar in update folder and reboot method)
Believe I have already read somewhere else (probably in github) that LibreELEC performs in situ update on reboot but then during update complains that its unable to locate/create dtb folder. (didn't manage to catch warning message, as boot screen quickly disappears)
Quick look at the SD on PC and original dtb folder appears to have been renamed to dtb_old with replacement dtb folder not created?
Checked uEnv.ini already contained valid modified pointer to dtb_name=/dtb/meson-gxm-khadas-vim2.dtb which it did.
Manually copied dtb_old folder to create dtb folder again, then once SD inserted back into Kvim2, able to boot correctly into 20190604
For info...quick screen grab of contents of SD with manually re-created dtb folder
-
N5 MAX S905X2 4/32
01/06/19 LibreELEC-AMLG12.aarch64-9.1-devel-20190601212344-a41fdf1-box.img
Allways fresh install with any dtb´s
DTB: meson-g12a-x96-max.dtb
Wifi OK, connect, but don´t work, reboot and then OK, work 2.4GHz and 5Ghz
Wired KO
Sound OK
Remote OK
Bluetooth OK
DTB: meson-g12a-x96-max-rmii.dtb
Wifi OK, connect, but don´t work, reboot and then OK, work 2.4GHz and 5Ghz
Wired KO
Sound OK
Remote OK
Bluetooth OK
DTB: meson-g12b-odroid-n2.dtb
Wifi KO
Wired OK
Sound OK
Remote KO
Bluetooh KO
DTB: meson-g12a-u200.dtb
Wifi KO
Wired KO
Sound OK
Remote KO
Bluetooh KO
DTB: meson-g12a-sei510.dtb
Wifi OK, connect, but don´t work, reboot and then OK, work 2.4GHz and 5Ghz
Wired KO
Sound KO
Remote KO
Bluetooh OK
DTB: meson-g12b-khadas-vim3.dtb
Wifi KO
Wired OK
Sound OK
Remote KO
Bluetooh KO
PD: Attached photos of the magicsee N5 max motherboard: MEGA
Ethernet: Pulse H5007NL
Wifi: Ap6255
Magicsee N5 MAX, dtb for android: MEGA
-
A few problems on the X96max 2gb (I believe this is gigabit NIC) - with a build of the latest github branch.
NIC not starting:
Code[ 15.752794] meson8b-dwmac ff3f0000.ethernet: Failed to reset the dma [ 15.752808] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed [ 15.752815] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Hw setup failed
HVEC crash
Code[ 565.048555] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2 [ 565.048571] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin [ 565.074145] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2 [ 565.074162] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin [ 565.094814] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2 [ 565.094829] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin [ 565.105612] meson-vdec ff620000.video-decoder: Direct firmware load for meson/vdec/g12a_hevc.bin failed with error -2 [ 565.105625] meson-vdec ff620000.video-decoder: Unable to request firmware meson/vdec/g12a_hevc.bin
CEC also fails in initialise.
Code
Display MoreLibreELEC:~ # cec-client No device type given. Using 'recording device' CEC Parser created - libCEC version 4.0.4 no serial port given. trying autodetect: path: /dev/cec0 com port: Linux opening a connection to the CEC adapter... DEBUG: [ 202] Broadcast (F): osd name set to 'Broadcast' DEBUG: [ 203] CLinuxCECAdapterCommunication::Open - m_fd=3 bStartListening=1 ERROR: [ 203] CLinuxCECAdapterCommunication::Open - ioctl CEC_S_MODE failed - errno=16 DEBUG: [ 203] CLinuxCECAdapterCommunication::Close - m_fd=3 ERROR: [ 203] could not open a connection (try 1) DEBUG: [ 203] CLinuxCECAdapterCommunication::Close - m_fd=-1 DEBUG: [ 1203] CLinuxCECAdapterCommunication::Open - m_fd=3 bStartListening=1 ERROR: [ 1203] CLinuxCECAdapterCommunication::Open - ioctl CEC_S_MODE failed - errno=16 DEBUG: [ 1203] CLinuxCECAdapterCommunication::Close - m_fd=3 ERROR: [ 1203] could not open a connection (try 2)
Code
Display MoreLibreELEC:~ # uname -a Linux LibreELEC 5.1.0-rc1 #1 SMP Tue Jun 4 18:32:28 UTC 2019 aarch64 GNU/Linux >>dmesg top [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.1.0-rc1 (docker@8ae6912c0c26) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP Tue Jun 4 18:32:28 UTC 2019 [ 0.000000] Machine model: Shenzhen Amediatech Technology Co., Ltd X96 Max [ 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] On node 0 totalpages: 490752 [ 0.000000] DMA32 zone: 7680 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 490752 pages, LIFO batch:63 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] random: get_random_bytes called from start_kernel+0x9c/0x438 with crng_init=0 [ 0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s51992 r8192 d29928 u90112 [ 0.000000] pcpu-alloc: s51992 r8192 d29928 u90112 alloc=22*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 483072 [ 0.000000] Kernel command line: boot=LABEL=LIBREELEC disk=LABEL=STORAGE quiet console=ttyAML0,115200n8 console=tty0 [ 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: 989608K/1963008K available (8382K kernel code, 792K rwdata, 3204K rodata, 2496K init, 574K bss, 55896K reserved, 917504K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 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] 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.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000125] Console: colour dummy device 80x25 [ 0.000135] printk: console [tty0] enabled [ 0.000166] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.000173] pid_max: default: 32768 minimum: 301 [ 0.000240] LSM: Security Framework initializing [ 0.000302] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000312] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000698] *** VALIDATE proc *** [ 0.000866] *** VALIDATE cgroup1 *** [ 0.000871] *** VALIDATE cgroup2 *** [ 0.001417] ASID allocator initialised with 32768 entries [ 0.001475] rcu: Hierarchical SRCU implementation. [ 0.003207] smp: Bringing up secondary CPUs ... [ 0.003657] Detected VIPT I-cache on CPU1 [ 0.003710] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.004134] Detected VIPT I-cache on CPU2 [ 0.004155] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.004546] Detected VIPT I-cache on CPU3 [ 0.004566] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.004614] smp: Brought up 1 node, 4 CPUs [ 0.004617] SMP: Total of 4 processors activated. [ 0.004620] CPU features: detected: 32-bit EL0 Support [ 0.004624] CPU features: detected: CRC32 instructions [ 0.004817] CPU: All CPU(s) started at EL2 [ 0.004830] alternatives: patching kernel code [ 0.005555] devtmpfs: initialized [ 0.012284] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.012300] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.032708] pinctrl core: initialized pinctrl subsystem [ 0.033519] NET: Registered protocol family 16 [ 0.034183] cpuidle: using governor menu [ 0.034316] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____)) [ 0.034322] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.035158] DMA: preallocated 256 KiB pool for atomic allocations [ 0.045971] cryptd: max_cpu_qlen set to 1000 [ 0.047475] VDDAO_3V3: supplied by DC_IN [ 0.047960] SCSI subsystem initialized [ 0.048098] usbcore: registered new interface driver usbfs [ 0.048128] usbcore: registered new interface driver hub [ 0.048187] usbcore: registered new device driver usb [ 0.048400] pps_core: LinuxPPS API ver. 1 registered [ 0.048402] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [ 0.048412] PTP clock support registered [ 0.048564] Advanced Linux Sound Architecture Driver Initialized. [ 0.049169] clocksource: Switched to clocksource arch_sys_counter [ 0.049318] VFS: Disk quotas dquot_6.6.0 [ 0.049365] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.049432] FS-Cache: Loaded [ 0.054009] NET: Registered protocol family 2 [ 0.054411] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes) [ 0.054438] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.054548] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) standard input
-
Sorry is seems if I use the meson-g12a-x96-max-rmii.dtb ethernet works. but 100mb, maybe it's not gigabit
-
I believe we are almost there. There's been couple of builds released in just two days. I tested LibreELEC-AMLGX.arm-9.1-devel-20190604130101-a41fdf1-box.img.gz on a MiniMX-III II (S905x), using meson-gxl-s905x-p212.dtb (for LibreELEC with kernel 3.14 it was gxl_p212_2g.dtb),
Boot: OK
Ethernet: OK
WiFi: No
Audio: OK (but unlike Kwiboo's build, only meson-gx-audio analog, no HDMI)
CEC: OK
Remote: OK (after modified rc_maps.cfg)
x264: Plays OK
x265 10bit: Plays OK (but halt after 15 minutes of playback, still respond to remote).
TVH client: OK
I also tested LibreELEC-AMLG12.arm-9.1-devel-20190603165839-a41fdf1-box.img.gz on X96S, an Android TV stick that's based on S905Y2). There is no Ethernet, only WiFi (both 2.4GHz and 5GHz band). I tried all dtb available, only meson-g12a-x96-max.dtb and meson-g12a-x96-max-rmii.dtb can boot properly.
Boot: OK (with either meson-g12a-x96-max.dtb or meson-g12a-x96-max-rmii.dtb)
WiFi: No
Audio: OK
Remote: OK right out of the box
x264: Plays OK
x265: No
WiFi chip on the X96S is Ampak AP6255 which is the same as that on Khadas-VIM.
Thank so much for making such progress in relatively short period of time. Before today, I thought my X96S stick could never have LibreELEC. Also with progress made on S905, I wish RK3328, which based on the same GPU could be benefit too.
-
I seem to be having inconsistent troubles installing the widevine CDM on the s905x2 g12a. Using inputstreamhelper the system downloads the image, then tries unpacking/installing it, but just locks up after a while. I had it working at one point, but forgot the combination i was using. Could somebody advise on which combination of...
- s905x2 g12 image date
- inputstream adaptive version
- aarch64 or ARM
...might work?
-
X96 Max 2G/16G 100Mb/s NIC 20190605 Aarch image presently.
Can anyone advise what I might be missing in order to get Live TV to work properly?
That is the future primary use for this box, hence my fixation.
Tvheadend server is running on another box on the LAN, so only tvheadend client is installed.
Do I need to get DVB drivers from somewhere for this to work?
Some of the Satellite (DVB-S) channels work correctly.
A lot of them have have sound but no video.
Broadcast DVB-T channels have sound and no video.
One DVB-T channel, generated in house using a HDMI>DVB-T Edision converter has both sound and video.
I am puzzled TBH.
I do not know where to look, so any help available would be appreciated.
-
X96 Max 2G/16G 100Mb/s NIC 20190605 Aarch image presently.
Can anyone advise what I might be missing in order to get Live TV to work properly?
That is the future primary use for this box, hence my fixation.
Tvheadend server is running on another box on the LAN, so only tvheadend client is installed.
Do I need to get DVB drivers from somewhere for this to work?
Some of the Satellite (DVB-S) channels work correctly.
A lot of them have have sound but no video.
Broadcast DVB-T channels have sound and no video.
One DVB-T channel, generated in house using a HDMI>DVB-T Edision converter has both sound and video.
I am puzzled TBH.
I do not know where to look, so any help available would be appreciated.
Per chewitt:#734 I think you need to use the arm version and not the Aarch version to have a chance of live tv working. But I don't use Tvheadend, so I could very well be wrong.
-
X96 max (4/32) S905X2
Testfile "LibreELEC-AMLG12.aarch64-9.1-devel-20190605164958-a41fdf1-box.img.gz" with "meson-g12a-x96-max.dtb"
New Installation ok
Sound over HDMI ok
Network ok, 1 Gbit/s is shown at Router
Factory Remote ok
Files x264 works good, ok
Files UHD x264 works good, ok
Files x265 crashes directly, booted new
Files UHD x265, crashes directly, booted new
Sound AC3, DTS by passthrough ok
Fast forward ok
For me there are no differences to the last 4 versions.
It would be nice if 4K and X265/HEVC would work.
Great work!
br
CT
-
- Official Post
HEVC on G12 hardware will take a while as a 10-bit video pipeline and some other 4K related things need to be completed first. Please stop testing and reporting HEVC crashes until we tell you that it's usable. Currently there is no firmware and it will crash (needing reboot) 100% of the time.
-
Long time no post.. Just to say thanks for the awesome work so far on getting Libreelec on the likes of the s905x2.
Have done a quick install to test on a 'Bqeel Y5' .. Everythings working except for it's IR remote, and to be honest the wifi is soooo slow, but I'm a wired man anyway.
Any suggestions on how i could get the IR remote running on this?
I've also got the Odroid N2, as I'm helping out with a certain Retro Gaming distro for it, and will have a play about with LibreElec on that too.
cheers guys.🖖
-
- Official Post
You need to create a keymap. It's not hard, see: Infrared Remotes [LibreELEC.wiki]
-
Unfortunately there is no real difference in behaviour that I have noticed.
-
I notice that AC3/DTS passthrough works on S905X2, which is great. I wonder if HD audio (Dolby TrueHD, Atmos, DTS HD-MA) passthrough also will be supported?
-
-