OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2
New OpenELEC Isengard build #0501: RPi / RPi2
(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: Build Highlights:
  1. WARNING: Pi1 users may experience very slow booting with this build and the "old" SD card driver
  2. New firmware.
  3. New kernel 4.0.1
  4. Kodi 15.0 beta2
  5. mmc fixes in 4.0.y
  6. 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:
    Code:
    dtoverlay=sdhost
    to config.txt. This will use a whole new sdcard driver (it's actually a different peripheral - the one used by the VideoCore side).
    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:
    Code:
    echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
    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.

    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.
Build Details:
  1. 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
  2. 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)
  3. dcadec:
    • Makefile: Allow out-of-tree compilation. (19d54e1b)
    • Makefile: Add a 'lib' target to compile only the library. (297a2e16)
    • Document stream and waveout APIs. (29e1dfb8)
    • Clear transition mode array for all subbands. (9eca5f65)
  4. newclock4:
    • New commits in this build:
      • fixed: broken rfft implementation used in audio visualizer api (50e46b06)
      • squash: Add rfft.cpp to utils lib (7f10ebda)
      • fixup! squash: Make screensavers use a generic framework. Add a couple more (8dab24c6)
  5. kernel 4.0.y:
    • New commits in this build:
      • bcm2835-mmc: Add option to disable delays on some writeb calls (aa6b3e63)
      • bcm2835-mmc: warn on accesses without spinlock (39315a8e)
      • bcm2835-mmc: Add locks when accessing sdhost registers (547b7363)
      • squash: sdhost support for faster core clocks, and force-pio mode (fdc5e429)
    • 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)
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - by Milhouse - 2015-05-02, 01:47
How to install the builds - by kisas - 2015-05-24, 02:10
MVC 3D ISO Blu-ray - by Azimono - 2015-06-06, 14:28
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 214