Difference between revisions of "Apple TV Linux Kernel"

From AwkwardTV
Jump to: navigation, search
m
(Added linux-2.6.23)
Line 64: Line 64:
 
# CONFIG_HUGETLBFS is not set
 
# CONFIG_HUGETLBFS is not set
 
</pre>
 
</pre>
 +
 +
Note also, that it seems that HID should be compiled as a module to avoid USB errors. -don
 +
<pre>
 +
CONFIG_HID=m
 +
CONFIG_USB_HID=m
 +
</pre>
 +
 +
== Linux 2.6.23 ==
 +
 +
=== migrated-from-23 ===
 +
 +
==== Patches ====
 +
 +
Note: The temperature-keys changes are already there, Some of the appletouch-shutup changes are there (and I don't think appletouch is relevant to appletv), the undo-blacklist changes do not seem to be required for IR, the RCA patch failed to apply.
 +
 +
[http://mactel-linux.svn.sourceforge.net/viewvc/*checkout*/mactel-linux/trunk/mach_linux_boot/kernel/2.6.22.2-appletv.patch 2.6.22.2-appletv.patch] Note that emergency_reboot changed to emergency_restart, so
 +
arch/i386/kernel/efi.c requires changes after this patch:
 +
 +
<pre>
 +
#include <linux/reboot.h>
 +
</pre>
 +
 +
<pre>
 +
emergency_restart();
 +
</pre>
 +
 +
[http://mactel-linux.svn.sourceforge.net/viewvc/*checkout*/mactel-linux/trunk/kernel/mactel-patches-2.6.22/applesmc-use-input-polldev.patch applesmc-use-input-polldev.patch]
 +
 +
[http://mactel-linux.svn.sourceforge.net/viewvc/*checkout*/mactel-linux/trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch applesmc_int.patch]
 +
 +
[http://mactel-linux.svn.sourceforge.net/viewvc/*checkout*/mactel-linux/trunk/kernel/mactel-patches-2.6.22/appletouch.patch appletouch.patch]
 +
 +
[http://www.mythic-beasts.com/resources/appletv/kernel/appletv-rtc.patch appletv-rtc.patch]
 +
 +
[http://cbg.dyndns.org/store/apple-remote-quirk-hiddev.patch apple-remote-quirk-hiddev.patch]
 +
(Change patch to define USB_DEVICE_ID_APPLE_REMOTE2 as 0x8241)
 +
 +
==== Kernel config ====
 +
 +
Can migrate 2.6.22 config. See 2.6.22 combo archive.
 +
 +
Additional changes:
 +
<pre>
 +
CONFIG_X86_UP_APIC=y
 +
CONFIG_X86_UP_IOAPIC=y
 +
# CONFIG_HUGETLBFS is not set
 +
</pre>
 +
 +
CONFIG_HID=y is ok in this release.

Revision as of 14:44, 10 October 2007

Apple TV Linux kernel configurations

Linux 2.6.20

Mythic Beasts Kernel Kit

(From Apple TV Linux walkthrough )

Patches

2.6.20.6-apletv.patch

appletv-rtc.patch

appletv-audio.patch

Kernel config

config

Linux 2.6.22

wojci combo patches plus hiddev and ck1.

Patches

(combo patch archive)

2.6.22.2-appletv.patch

applesmc-use-input-polldev.patch

applesmc-add-macbook-temperature-keys.patch

sigmatel-backport-2.6.23.patch

applesmc_int.patch

appletouch.patch

appleir-undo-hid-blacklist.patch

appletouch-shut-up-when-it-has-nothing-to-say.patch

appletv-rca-sound.patch.gz

appletv-rtc.patch

Additional Patch to recognize remote as hiddev

apple-remote-quirk-hiddev.patch (Change patch to define USB_DEVICE_ID_APPLE_REMOTE2 as 0x8241)

SD Scheduler patch by Con Kolivas

2.6.22-ck1/patch-2.6.22-ck1.bz2

Kernel config

See combo archive.

Additional changes:

CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
# CONFIG_HUGETLBFS is not set

Note also, that it seems that HID should be compiled as a module to avoid USB errors. -don

CONFIG_HID=m
CONFIG_USB_HID=m

Linux 2.6.23

migrated-from-23

Patches

Note: The temperature-keys changes are already there, Some of the appletouch-shutup changes are there (and I don't think appletouch is relevant to appletv), the undo-blacklist changes do not seem to be required for IR, the RCA patch failed to apply.

2.6.22.2-appletv.patch Note that emergency_reboot changed to emergency_restart, so arch/i386/kernel/efi.c requires changes after this patch:

#include <linux/reboot.h>
emergency_restart();

applesmc-use-input-polldev.patch

applesmc_int.patch

appletouch.patch

appletv-rtc.patch

apple-remote-quirk-hiddev.patch (Change patch to define USB_DEVICE_ID_APPLE_REMOTE2 as 0x8241)

Kernel config

Can migrate 2.6.22 config. See 2.6.22 combo archive.

Additional changes:

CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
# CONFIG_HUGETLBFS is not set

CONFIG_HID=y is ok in this release.