2015-05-02, 01:47
New OpenELEC Isengard build #0501: RPi / RPi2
(Supercedes previous build)
Based on tip of OpenELEC master (774f4262, changelog) and tip of XBMC master (71a45cf1, changelog) with the following modifications:
(Supercedes previous build)
Code:
# uname -a
Linux rpi512 4.0.1 #1 Fri May 1 22:21:11 BST 2015 armv6l GNU/Linux
# vcgencmd version
May 1 2015 18:56:06
Copyright (c) 2012 Broadcom
version f5f5ba5f2423c3dff6ccd4ca4b832264cd33f12a (clean) (release)
# lsb_release
OpenELEC (Milhouse) - Version: devel-20150501221749-#0501-g774f426 [Build #0501]
# vcdbg log msg 2>&1 | grep DTOK
001533.254: Kernel trailer DTOK property says yes
# Kernel device tree status: Enabled
Based on tip of OpenELEC master (774f4262, changelog) and tip of XBMC master (71a45cf1, changelog) with the following modifications:
- Includes newclock4 patches
- Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
- Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-4.0.y
- Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
- Disabled "Total Duration" in Confluence (see build #0221 for details)
- Includes latest dcadec master (9eca5f65)
- Includes libcec master (707bd51c)
- Includes latest libnfs master (77e3d80f)
- Includes latest addons: audiodecoder.modplug (c7e8ca82), audiodecoder.nosefart (c77e5a12), audiodecoder.sidplay (f2e7d985), audiodecoder.snesapu (9fc775b1), audiodecoder.stsound (775c858d), audiodecoder.timidity (bf9ff93d), audiodecoder.vgmstream (0c3a51a2), audioencoder.flac (84acb141), audioencoder.lame (3eb59de9), audioencoder.vorbis (d556a687), audioencoder.wav (40aaedfa), kodi-platform (48bdd985), pvr.argustv (96ee8750), pvr.demo (64749530), pvr.dvblink (5d505b87), pvr.dvbviewer (bd2c01f5), pvr.filmon (413fe9ec), pvr.hts (4bf1a97a), pvr.iptvsimple (000ff75b), pvr.mediaportal.tvserver (6f8ca82e), pvr.mythtv (1ca8fbc1), pvr.nextpvr (1ecbf87c), pvr.njoy (fcd62943), pvr.pctv (0a0924eb), pvr.stalker (118b2efc), pvr.vbox (4449aa55), pvr.vdr.vnsi (3a28e39a), pvr.vuplus (d6abad38), pvr.wmc (37b4b292)
- Include patch: Add experimental splash video
- Include patch: Enable sdhost driver
- Include patch: Add dcadec package for DTS HD-MA support
- Include patch: Enable audiodecoder, audioencoder, pvr and visualization addons
- Include PR:6732: [pvr] fixed crash when multiple add-on instances get registered
- Include PR:6919: added: also hide thumbs for unwatched episodes if option to show plot is off
- Revert 02ffc575: ffmpeg/dcadec (performance issue)
- Revert 75dd5a44: kodi/dcadec (performance issue)
- Revert 78787437: dcadec package (performance issue)
- WARNING: Pi1 users may experience very slow booting with this build and the "old" SD card driver
- New firmware.
- New kernel 4.0.1
- Kodi 15.0 beta2
- mmc fixes in 4.0.y
- New experimental SD card driver. WARNING: Test with a fully backed up SD card (just in case!)
popcornmix Wrote:When you create next build, can you try adding:
to config.txt. This will use a whole new sdcard driver (it's actually a different peripheral - the one used by the VideoCore side).Code:dtoverlay=sdhost
Now the driver is brand new - it works for me and Phil, so please only use it on a new (or backed up) sdcard.
Possible benefits? It gives higher benchmark numbers.
It won't suffer any of the sdcard corruption of the other driver.
Downsides - not widely tested, so may be buggy.
If it works okay for you, we can suggest brave testers try it.
If you are using an overclock of core_freq and don't have force_turbo then it's recommended to run:
otherwise the sdcard won't be running at full speed. If core_freq is fixed (either by not overclocking or using force_turbo) then this isn't needed.Code:echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
I've been using it for a couple of days with a NOOBS (Samsung) 8GB SD card on a RPi2, formatted with ext4, and not had any problems.
Simplistic benchmark results:
Code:Stop Kodi: systemctl stop kodi
Write Test: dd if=/dev/zero of=/storage/test.dat bs=1M count=1024 && rm test.dat && sync (repeated 3 times)
Read Test: dd if=/storage/test.dat of=/dev/null bs=1M count=1024 (repeated 3 times)
hdparm Test: hdparm -t --direct /dev/mmcblk0p2 (repeated 3 times)
Results
=======
Standard driver: Avg. Write 7.2 MB/s Avg. Read 18.3 MB/s Avg. hdparm 18.35 MB/s (core_freq=500, force_turbo=1)
New SD driver: Avg. Write 7.2 MB/s Avg. Read 21.5 MB/s Avg. hdparm 21.83 MB/s (dtoverlay=sdhost, core_freq=500, force_turbo=1)
New SD driver: Avg. Write 7.2 MB/s Avg. Read 11.2 MB/s Avg. hdparm 11.15 MB/s (dtoverlay=sdhost, core_freq=500, force_turbo=0)
Enabling force_turbo=1 (or "echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy" - add it to /storage/.config/autostart.sh) looks to be essential to get the best out of the new driver. Hopefully this setting will only be required temporarily and will be taken care of automatically in future, once this new driver becomes the default driver.
- Firmware (May 1):
- firmware: arm_loader: Set the new sdhost_freq DT parameter, if it exists firmware: sdcard: Move the handling of the clock and its divisor into sdhost
- firmware: arm_loader: Set the new sdhost_freq DT parameter, if it exists firmware: sdcard: Move the handling of the clock and its divisor into sdhost
- XBMC:
- drop useless setting hw/sw decoding (PR:7034, 1 commit, 8 files changed)
- [IMX] probe & push all resolutions we can use (PR:6996, 1 commit, 2 files changed)
- dvdplayer: fixes for ff (PR:7041, 4 commits, 3 files changed)
- bump to 15.0 beta2 (PR:7040, 1 commit, 2 files changed)
- [resource.ui.sounds.confluence] Give it a destiguishing name (PR:6980, 1 commit, 2 files changed)
- drop useless setting hw/sw decoding (PR:7034, 1 commit, 8 files changed)
- dcadec:
- newclock4:
- kernel 4.0.y:
- New commits in this build:
- Commits no longer in build:
- vcsm: Use boolean as it cannot be built as module (0e189c13)
- Merge pull request #935 from pranith/rpi-4.0.y (86662dfe)
- fixup! Add 2709 platform for Raspberry Pi 2 (8a38de5a)
- alsa: Ensure mutexes are released through error paths (07a5d16b)
- alsa: Make interrupted close paths quieter (ed9e73db)
- fixup! MMC: added alternative MMC driver (aba1c973)
- fixup! bcm2708 framebuffer driver (07d2cffd)
- fixup! 8192cu needs old wireless extensions (8d7a5a23)
- Revert "Adding bcm2835-sdhost driver, and an overlay to enable it" (447841c3)
- Revert "Add blk_pos parameter to mmc multi_io_quirk callback" (809f8156)
- Merge pull request #945 from notro/dma (f7087bb5)
- Squash: Make delay_after_stop a DT parameter, defaulting to zero (154a21d6)
- Squash: Inlcude ARCH_BCM2835 in depends for bcm2835-sdhost (3140e4a5)
- Merge pull request #947 from notro/mmc (6ee7bbc2)
- vcsm: Use boolean as it cannot be built as module (0e189c13)