Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 8, 2013
  1. Dag Wieers Stephan Raue

    Mount /var as tmpfs and limit the use of tmpfs

    dagwieers authored sraue committed
    This commit (apart from the cosmetic change to avoid using 'none') changes the use of ramfs into tmpfs. The reason for this is that ramfs usage can fill 100% of RAM and cannot be swapped out. While tmpfs can be swapped out and can be limited in size.
    
    The size chosen is arbitrary, but taking into account the ATV1 hardware 5% of 256MB means 12MB and 20% means 50MB, considering we have swap this is not too drastic. For any larger system, these sizes are fine as well as we do not expect /var or /dev/shm to be filled completely. So worst case is covered, but not expected.
Commits on May 3, 2013
  1. Dag Wieers

    Put libthread_db.so into the correct location for gdb

    dagwieers authored
    Otherwise we get:
    
        warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Commits on Apr 22, 2013
  1. Dag Wieers Stephan Raue

    AppleTV: Make sure loop devices are allocated dynamically

    dagwieers authored sraue committed
    CONFIG_BLK_DEV_LOOP_MIN_COUNT: Number of loop devices to pre-create at init time
    
    Static number of loop devices to be unconditionally pre-created at init time.
    
    This default value can be overwritten on the kernel command line or with module-parameter loop.max_loop.
    
    The historic default is 8. If a late 2011 version of losetup(8) is used, it can be set to 0, since needed loop devices can be dynamically allocated with the /dev/loop-control interface.
  2. Dag Wieers

    Fix slow syslogd remote syslog startup and klogd interaction

    dagwieers authored
    Because syslogd is not properly started its remote syslog support when klogd dumps its kernel ring buffer content to it, most of the kernel boot output is missing on the remote syslog server. By adding a small delay between syslogd and klogd, we are sure the messages are properly send to the remote syslog by syslogd.
  3. Dag Wieers Stephan Raue

    AppleTV: Disable RDRAND support

    dagwieers authored sraue committed
    The AppleTV hardware does not have RDRAND support.
  4. Dag Wieers

    AppleTV: Disable MPPARSE

    dagwieers authored
    The AppleTV hardware does not have MPPARSE support (as it does not have SMP capabilities).
  5. Dag Wieers

    AppleTV: Disable intel_idle support

    dagwieers authored
    The AppleTV hardware does not support intel_idle.
  6. Dag Wieers

    AppleTV: Enable PCIEAER and PCIEPM support

    dagwieers authored
    The AppleTV hardware supports both PCI-Express Advanced Error Reporting and PCI-Express Power Management.
  7. Dag Wieers

    AppleTV: Disable PAT

    dagwieers authored
    The AppleTV hardware does not have PAT support.
  8. Dag Wieers

    AppleTV: Make in-kernel config modular (but keep it available)

    dagwieers authored
    The in-kernel config (/proc/config.gz) is a useful way to understand how your existing kernel has been compiled, however it does use some memory to represent this information inside the kernel. However by making it optional you can still have this information if wanted, but as part of the system ramdisk (as a kernel module) rather than in memory all the time.
    
    For AppleTV this was not (yet) enabled, for other platforms we make it modular.
  9. Dag Wieers

    AppleTV: Enable MSI support for ATV1

    dagwieers authored
    Not sure why Message Signaled interrupts was disabled, but the ATV1 hardware *does* support MSI and we specifically enable MSI for the nvidia driver.
    
    Here is a list of hardware that supports and uses MSI on AppleTV 1st Gen :
    
    ```
    00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Exp
    ress Root Port (rev 03) (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
            Memory behind bridge: 20000000-21ffffff
            Prefetchable memory behind bridge: 0000000010000000-000000001fffffff
            Capabilities: [88] Subsystem: Intel Corporation Device 0000
            Capabilities: [80] Power Management version 2
            Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
            Capabilities: [a0] Express Root Port (Slot+), MSI 00
            Capabilities: [100] Virtual Channel
            Capabilities: [140] Root Complex Link
            Kernel driver in use: pcieport
    
    00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
            Subsystem: Realtek Semiconductor Co., Ltd. Device 0885
            Flags: bus master, fast devsel, latency 0, IRQ 42
            Memory at 22a00000 (64-bit, non-prefetchable) [size=16K]
            Capabilities: [50] Power Management version 2
            Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
            Capabilities: [100] Virtual Channel
            Capabilities: [130] Root Complex Link
            Kernel driver in use: snd_hda_intel
    
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
            Flags: bus master, fast devsel, latency 0
            Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
            I/O behind bridge: 00003000-00003fff
            Memory behind bridge: 22000000-228fffff
            Prefetchable memory behind bridge: 0000000022b00000-0000000022cfffff
            Capabilities: [40] Express Root Port (Slot+), MSI 00
            Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
            Capabilities: [90] Subsystem: Gammagraphx, Inc. (or missing ID) Device 0000
            Capabilities: [a0] Power Management version 2
            Capabilities: [100] Virtual Channel
            Capabilities: [180] Root Complex Link
            Kernel driver in use: pcieport
    
    01:00.0 VGA compatible controller: NVIDIA Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1) (prog-if 00 [VGA controller])
            Subsystem: Apple Inc. Device 0081
            Flags: bus master, fast devsel, latency 0, IRQ 44
            Memory at 21000000 (32-bit, non-prefetchable) [size=16M]
            Memory at 10000000 (64-bit, prefetchable) [size=256M]
            Memory at 20000000 (64-bit, non-prefetchable) [size=16M]
            Capabilities: [60] Power Management version 2
            Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [78] Express Endpoint, MSI 00
            Capabilities: [100] Virtual Channel
            Capabilities: [128] Power Budgeting <?>
            Kernel driver in use: nvidia
            Kernel modules: nvidia
    
    02:00.0 Multimedia controller: Broadcom Corporation BCM70015 Video Decoder [Crystal HD]
            Subsystem: Broadcom Corporation BCM70015 Video Decoder [Crystal HD]
            Flags: bus master, fast devsel, latency 0, IRQ 43
            Memory at 22800000 (64-bit, non-prefetchable) [size=64K]
            Memory at 22000000 (64-bit, non-prefetchable) [size=8M]
            Capabilities: [48] Power Management version 3
            Capabilities: [60] Vendor Specific Information: Len=6c <?>
            Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [cc] Express Endpoint, MSI 00
            Capabilities: [100] Advanced Error Reporting
            Capabilities: [13c] Virtual Channel
            Kernel driver in use: crystalhd
            Kernel modules: crystalhd
    ```
Commits on Apr 21, 2013
  1. Dag Wieers

    Enable DMI module to allow for debugging

    dagwieers authored
    While debugging a Zotac ID-80 not having any DMI information at all at your disposal is a drag. Making the DMI module afavilable at least allows me to see whether we need to flash the BIOS etc...
  2. Dag Wieers

    Use the host's vesamenu.c32 as well

    dagwieers authored
    When using syslinux and C32 modules it's important to use the C32 modules build with the same syslinux. This patch ensures that we use the host OS's vesamenu.c32, rather than the one shipped in the tarball.
  3. Dag Wieers

    Wrong partition name used for devices ending with numbers

    dagwieers authored
    On Linux when a block device ends with a number (like my SD card device: **/dev/mmcblk0**) the first partition is called **/dev/mmcblk0p1** (with an added **p**). This snippet makes sure that the correct partition name is used in both cases.
Commits on Apr 19, 2013
  1. Dag Wieers

    Replace busybox free with *real* free from procps-ng

    dagwieers authored
    Busybox free reports incorrectly the used and free memory on a system. Which makes it harder to understand and compare information from other sources.
    
    In the same effort we add some other useful procps-ng tools, like pgrep, pkill, pmap, slabtop, vmstat and watch.
  2. Dag Wieers

    Add proper less to image (disable busybox less)

    dagwieers authored
    The version of less in busybox is quite annoying when working on OpenELEC. It doesn't properly support searching in files or tailing (and interrupting) logfiles. It also doesn't properly handle non-ascii characters. This patch disables busybox less and instead adds the latest stable less release.
Commits on Apr 5, 2013
  1. Dag Wieers
Commits on Apr 3, 2013
  1. Dag Wieers
Commits on Mar 27, 2013
  1. Dag Wieers

    Fixes for slow channel switching

    dagwieers authored
    This fixes and closes #2132.
Commits on Mar 21, 2013
  1. Dag Wieers

    Fix weird typo

    dagwieers authored
    Not sure what happened here, but obviously ADEND_ARG should have been TVHEADEND_ARG.
    Completely clueness how this has come about.
Commits on Mar 13, 2013
  1. Dag Wieers Stefan Saraev

    tvheadend: do not send debug message to syslog

    dagwieers authored stefansaraev committed
      Apparently tvheadend by default uses the syslog service, and the `-s`
      option that we provide in the startup script in fact makes tvheadend
      send debug messages to syslog (which we obviously do not want by default
      as this causes for my single DVB card 1k/min to /var, which is 4MB/month).
      So this fix disables the `-s` option in the tvheadend startup script.
    
      closes #2053, closes #2055
Commits on Mar 9, 2013
  1. Dag Wieers
  2. Dag Wieers

    Move syslogd after network so we can log kernel messages to remote se…

    dagwieers authored
    …rver
    
    Since syslogd was started before the network was up, all syslog messages before the network was up were discarded and not send to the remoe syslog server. By moving the syslogd startup until after the network, the kernel boot messages are available on the central syslog.
Commits on Mar 7, 2013
  1. Dag Wieers

    Enable lsof and watch

    dagwieers authored
    lsof is useful to look at all open files on the system
    watch is useful for monitoring files in proc to see system behavior, eg watch -n1 cat /proc/interrupts
Commits on Mar 5, 2013
  1. Dag Wieers Stephan Raue

    new package: add package 'wireless_tools'

    dagwieers authored sraue committed
    Signed-off-by: Stephan Raue <stephan@openelec.tv>
  2. Dag Wieers Stephan Raue

    new package: added package 'iftop'

    dagwieers authored sraue committed
    Signed-off-by: Stephan Raue <stephan@openelec.tv>
  3. Dag Wieers Stephan Raue

    new package: added package 'smem'

    dagwieers authored sraue committed
    smem is a tool that can give numerous reports on memory usage on Linux systems. Unlike existing tools, smem can report proportional set size (PSS), which is a more meaningful representation of the amount of memory used by libraries and applications in a virtual memory system.
    
    Signed-off-by: Stephan Raue <stephan@openelec.tv>
  4. Dag Wieers

    nvidia: Enable MSI (Message Signaled Interrupts)

    dagwieers authored
    Only tested on ATV1, don't just enable it on other platforms without testing with known hardware.
Commits on Mar 3, 2013
  1. Dag Wieers

    Fix the default shell

    dagwieers authored
    Go with whatever is set by SSH, and fall back to "linux" if the terminal is not available.
    
    This fixes #1975
Commits on Feb 11, 2013
  1. Dag Wieers
Commits on Feb 9, 2013
  1. Dag Wieers

    Fix typo in script name

    dagwieers authored
Commits on Feb 8, 2013
  1. Dag Wieers

    Remote syslog support from OpenELEC settings

    dagwieers authored
    This patch adds remote syslog support. The syslog startup script will add the necessary options, and leaves room for a custom syslog.conf from /storage/.config (as it was before).
  2. Dag Wieers
  3. Dag Wieers Stephan Raue

    new package: add package 'powertop'

    dagwieers authored sraue committed
  4. Dag Wieers Stephan Raue

    new package: add package 'hddtemp'

    dagwieers authored sraue committed
Something went wrong with that request. Please try again.