Posts: 6,743
Joined: Oct 2008
Reputation:
317
noggin
Posting Freak
Posts: 6,743
Hi all
Has anyone managed to produce a 32bit UEFI friendly version of OpenElec for Baytrail-T devices (TV boxes, HDMI sticks, Tablets etc.) that have 32bit UEFI only (no legacy BIOS nor 64bit UEFI) ? They usually come with Windows 8.1 or 8.1 with Bing pre-installed.
There's a growing list of machines in this bracket - Zotac PI320 compact PC, Meegopad T01 HDMI TV stick, Pipo X7 and Minix Neo Z64 compact PCs etc. as well as loads of Windows 8 tablets.
I've found Fedlet and an Ubuntu Mate live CD that have UEFI 32 bit support and both boot on a Pipo X7. Be great to get an OpenElec build that worked.
I'm about to try an Ubuntu 14.10 64 bit USB install with a bootia32.efi installed to see how that goes (and possibly follow fritsch's VAAPI guide to see how it performs. The Windows Kodi builds sit at high CPUs and start thermal throttling...)
Posts: 4,512
Joined: Nov 2008
Reputation:
224
I may give this a go, I have an Asus Transformer T100TA "convertible" here that I'd be curious to see how well it runs OE
Posts: 278
Joined: Sep 2012
Reputation:
4
goujam
Senior Member
Posts: 278
This would be great the pipo x7 works OK in windows I'm sure in openenelec it would be a great machine
Posts: 6,743
Joined: Oct 2008
Reputation:
317
noggin
Posting Freak
Posts: 6,743
2015-01-25, 02:15
(This post was last modified: 2015-01-25, 02:39 by noggin.)
Matt Devo - I've managed to hack together an Ubuntu 14.04.1 set-up (I'm such a noob that I can't quite get the EFI stuff and Ubuntu on the same drive but have hacked a second USB stick to be my Grub boot loader for the Ubuntu install on a second stick)
Following fritsch's instructions in the Linux forum I've got the latest VAAPI stuff installed. 720/50p files that fall over on the Windows 8.1 with Bing + Kodi setup are playing beautifully with no drops and skips. (720/50p DVB off-air recordings of Swedish broadcaster SVT. 10-15Mbs - CPUs hitting 20-25% max - and only one at a time, the rest are at around 8-10%)
Lots of missing drivers for the sound and network devices (not sure what's going on with the cabled ethernet adaptor - it worked fine on the Live USB but not on install) - but with a USB Ethernet adaptor and USB Sound Blaster I'm really pleased.
** EDIT - Internal Ethernet (itself on the USB bus I believe) works fine after a reboot **
dmesg reporting CPU throttling due to temperature - as in Windows - but this doesn't seem to impact video playback in Linux Kodi.
1080/50i with VAAPI Bob plays back very well for a minute or so then starts frame dropping. Non-VAAPI Bob seems to be OK. (One CPU occasionally hits a max of about 75%, the others sit at less) This is brilliant news!
Cooling is still an issue I think on the Pipo X7.
Posts: 6,743
Joined: Oct 2008
Reputation:
317
noggin
Posting Freak
Posts: 6,743
Have just installed a TVHeadend PVR client and pointed the box at my TV server. It's playing Freesat UK SD 575/50i MPEG 2 and 1080/50i H264 HD stuff with no problem at all - include 50fps de-interlacing of news channel tickers.
Posts: 4,512
Joined: Nov 2008
Reputation:
224
I compiled a 32-bit build of OpenELEC with 32-bit UEFI support, and am able to boot the image on USB, but I don't get the menu to select Install / Run Live, it just eventually boots the installer (which can't see the eMMC storage, so can't do anything). Will play with it some more tomorrow if I have time
Posts: 6,743
Joined: Oct 2008
Reputation:
317
noggin
Posting Freak
Posts: 6,743
2015-01-25, 17:15
(This post was last modified: 2015-01-25, 17:28 by noggin.)
So downloaded syslinux from git and "make clear ; make efi32" to generate a syslinux.efi and a ldlinux.e32 file in Ubuntu
Installed OpenElec to an external USB drive on a separate machine, and then copied over freshly made syslinux.efi as bootia32.efi and ldlinux.e32 to the EFI/BOOT ESP partition on this disk.
Sadly no joy. Definitely missing something (well I'm totally out of my depth!) - could it be a noefi boot flag?
Posts: 4,512
Joined: Nov 2008
Reputation:
224
I've already configured OE to boot the installer with a 32-bit EFI, using the files mentioned above (bootia32.efi / ldlinux.e32). When syslinux is installed, it also writes the MBR sector, so you have to do that separately as well if not using syslinux to install itself, and you have to use the correct one for a GPT partitioned disk.
With a 2nd USB drive connected to my T100TA (via a USB-OTG adapter), I am now able to install and run OE, though boot time isn't very impressive currently - circa 2 mins. I also don't have any wifi support. I tested a few h.264 1080p24 files and they played back ok, albeit without sound, as no audio device is recognized.
I'm not trying to boot a 64-bit kernel, so CONFIG_EFI_MIXED isn't relevant for me; it likely is for you if you're using a x86_64 build.
Posts: 132
Joined: Nov 2006
Reputation:
3
Will be interesting to see if you can get HDMI audio working. In Windows, the Baytrail-T can handle AC3/DTS but does not support any HD audio. Supposedly the desktop Baytrail variants can now do HD audio in both Linux and Windows with latest drivers.