Permalink
Browse files

add powerpc support !

Yes GeeXboX now also boots on Mac !
You just have to set TARGET_ARCH=ppc in config/options.
  • Loading branch information...
1 parent 23868ce commit d8cd53450c35070c0dead3f9daee0d6fe3714692 @aurelj aurelj committed Apr 11, 2005
View
6 config/maps
@@ -0,0 +1,6 @@
+# EXTN XLate CREATOR TYPE Comment
+.b Raw 'UNIX' 'tbxi' "bootstrap"
+yaboot Raw 'UNIX' 'boot' "bootstrap"
+vmlinux Raw 'UNIX' 'boot' "kernel"
+.conf Raw 'UNIX' 'conf' "bootstrap"
+* Raw 'UNIX 'UNIX' "unix"
View
9 config/options
@@ -1,4 +1,4 @@
-# Target system we want to cross compile for (i386)
+# Target system we want to cross compile for (i386/ppc)
TARGET_ARCH=i386
# The TARGET_CPU variable controls which processor should be targeted for
@@ -12,6 +12,13 @@ case $TARGET_ARCH in
# i686 i586 i486 i386
TARGET_CPU=i586
;;
+
+ ppc)
+ # 401 403 405 405fp 440 440fp 505 601 602 603 603e ec603e 604 604e
+ # 620 630 740 7400 7450 750 801 821 823 860 970 rios rios1 rios2 rsc rs64a
+ # common G3 G4 G5 power power2 power3 power4 power5 powerpc powerpc64
+ TARGET_CPU=G3
+ ;;
esac
# Need to point to your actual cc
View
3 config/path
@@ -78,6 +78,9 @@ setup_toolchain() {
i386)
CFLAGS="$CFLAGS -march=$TARGET_CPU"
;;
+ ppc)
+ CFLAGS="$CFLAGS -maltivec"
+ ;;
esac
fi
elif [ "$1" = host ]; then
View
13 packages/MPlayer/patches/28_fix-include-pci.h.diff
@@ -0,0 +1,13 @@
+* fix #include <linux/pci.h> for ppc target (linux 2.6).
+
+diff -Naur MPlayer-1.0pre6.orig/libdha/sysdep/pci_linux.c MPlayer-1.0pre6/libdha/sysdep/pci_linux.c
+--- MPlayer-1.0pre6.orig/libdha/sysdep/pci_linux.c 2005-03-10 15:36:44.000000000 +0100
++++ MPlayer-1.0pre6/libdha/sysdep/pci_linux.c 2005-03-10 15:37:02.000000000 +0100
+@@ -130,6 +130,7 @@
+ mplayer-dev-eng@mplayerhq.hu, colin@colino.net*/
+ #include <fcntl.h>
+ //#include <sys/io.h>
++#define LINUX_MOD_DEVICETABLE_H
+ #include <linux/pci.h>
+ #include "../../bswap.h"
+
View
20 packages/MPlayer/patches/77_rage128-detection.diff
@@ -0,0 +1,20 @@
+* fix detection of rage128/radeon on ppc (which seems to keep them disabled)
+
+diff -Naur MPlayer-1.0pre6.orig/vidix/drivers/radeon_vid.c MPlayer-1.0pre6/vidix/drivers/radeon_vid.c
+--- MPlayer-1.0pre6.orig/vidix/drivers/radeon_vid.c 2005-03-10 15:36:45.000000000 +0100
++++ MPlayer-1.0pre6/vidix/drivers/radeon_vid.c 2005-03-15 02:15:38.000000000 +0100
+@@ -1002,12 +1002,14 @@
+ dname = pci_device_name(VENDOR_ATI,lst[i].device);
+ dname = dname ? dname : "Unknown chip";
+ printf(RADEON_MSG" Found chip: %s\n",dname);
++#if 0
+ if ((lst[i].command & PCI_COMMAND_IO) == 0)
+ {
+ printf("[radeon] Device is disabled, ignoring\n");
+ continue;
+ }
++#endif
+ #ifndef RAGE128
+ if(idx != -1)
+ #ifdef HAVE_X11
+ probe_fireGL_driver();
View
13 packages/alsa-lib/config/PMac.conf
@@ -0,0 +1,13 @@
+# configuration for PMac
+
+<confdir:pcm/front.conf>
+
+PMac.pcm.front.0 {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type hw
+ card $CARD
+ device 0
+}
View
3 packages/alsa-lib/install
@@ -18,3 +18,6 @@ cp -rf $BUILD/alsa-lib*/src/conf/cards $INSTALL/usr/share/alsa/
cp -rf $BUILD/alsa-lib*/src/conf/pcm $INSTALL/usr/share/alsa/
rm -f $INSTALL/usr/share/alsa/cards/Makefile*
rm -f $INSTALL/usr/share/alsa/pcm/Makefile*
+if [ "$TARGET_ARCH" = ppc ]; then
+ cp $PACKAGES/$1/config/PMac.conf $INSTALL/usr/share/alsa/cards
+fi
View
4 packages/linux/build
@@ -18,6 +18,10 @@ case $TARGET_ARCH in
i386)
make bzImage -C "$LINUX"
;;
+ ppc)
+ unset LDFLAGS
+ make vmlinux -C "$LINUX"
+ ;;
esac
make modules -C "$LINUX"
make INSTALL_MOD_PATH=$MODDIR DEPMOD=$DEPMOD modules_install -C "$LINUX"
View
1,345 packages/linux/config/linux.ppc.conf
@@ -0,0 +1,1345 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.11
+# Tue Apr 5 01:15:59 2005
+#
+CONFIG_MMU=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_RWSEM_XCHGADD_ALGORITHM=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_HAVE_DEC_LOCK=y
+CONFIG_PPC=y
+CONFIG_PPC32=y
+CONFIG_GENERIC_NVRAM=y
+
+#
+# Code maturity level options
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_CLEAN_COMPILE=y
+CONFIG_BROKEN_ON_SMP=y
+
+#
+# General setup
+#
+CONFIG_LOCALVERSION=""
+# CONFIG_SWAP is not set
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+CONFIG_SYSCTL=y
+# CONFIG_AUDIT is not set
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_HOTPLUG=y
+# CONFIG_KOBJECT_UEVENT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_EMBEDDED=y
+# CONFIG_KALLSYMS is not set
+# CONFIG_FUTEX is not set
+# CONFIG_EPOLL is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SHMEM=y
+CONFIG_CC_ALIGN_FUNCTIONS=0
+CONFIG_CC_ALIGN_LABELS=0
+CONFIG_CC_ALIGN_LOOPS=0
+CONFIG_CC_ALIGN_JUMPS=0
+# CONFIG_TINY_SHMEM is not set
+
+#
+# Loadable module support
+#
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+CONFIG_OBSOLETE_MODPARM=y
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+# CONFIG_KMOD is not set
+
+#
+# Processor
+#
+CONFIG_6xx=y
+# CONFIG_40x is not set
+# CONFIG_44x is not set
+# CONFIG_POWER3 is not set
+# CONFIG_POWER4 is not set
+# CONFIG_8xx is not set
+# CONFIG_E500 is not set
+CONFIG_ALTIVEC=y
+# CONFIG_TAU is not set
+# CONFIG_CPU_FREQ is not set
+# CONFIG_PPC601_SYNC_FIX is not set
+CONFIG_PPC_STD_MMU=y
+
+#
+# Platform options
+#
+CONFIG_PPC_MULTIPLATFORM=y
+# CONFIG_APUS is not set
+# CONFIG_KATANA is not set
+# CONFIG_WILLOW is not set
+# CONFIG_CPCI690 is not set
+# CONFIG_PCORE is not set
+# CONFIG_POWERPMC250 is not set
+# CONFIG_CHESTNUT is not set
+# CONFIG_SPRUCE is not set
+# CONFIG_EV64260 is not set
+# CONFIG_LOPEC is not set
+# CONFIG_MCPN765 is not set
+# CONFIG_MVME5100 is not set
+# CONFIG_PPLUS is not set
+# CONFIG_PRPMC750 is not set
+# CONFIG_PRPMC800 is not set
+# CONFIG_SANDPOINT is not set
+# CONFIG_ADIR is not set
+# CONFIG_K2 is not set
+# CONFIG_PAL4 is not set
+# CONFIG_GEMINI is not set
+# CONFIG_EST8260 is not set
+# CONFIG_SBC82xx is not set
+# CONFIG_SBS8260 is not set
+# CONFIG_RPX8260 is not set
+# CONFIG_TQM8260 is not set
+# CONFIG_ADS8272 is not set
+# CONFIG_PQ2FADS is not set
+# CONFIG_LITE5200 is not set
+CONFIG_PPC_CHRP=y
+CONFIG_PPC_PMAC=y
+CONFIG_PPC_PREP=y
+CONFIG_PPC_OF=y
+CONFIG_PPCBUG_NVRAM=y
+# CONFIG_SMP is not set
+# CONFIG_PREEMPT is not set
+# CONFIG_HIGHMEM is not set
+CONFIG_BINFMT_ELF=y
+# CONFIG_BINFMT_MISC is not set
+# CONFIG_PROC_DEVICETREE is not set
+# CONFIG_PREP_RESIDUAL is not set
+# CONFIG_CMDLINE_BOOL is not set
+
+#
+# Bus options
+#
+# CONFIG_ISA is not set
+CONFIG_GENERIC_ISA_DMA=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+CONFIG_PCI_LEGACY_PROC=y
+# CONFIG_PCI_NAMES is not set
+
+#
+# PCCARD (PCMCIA/CardBus) support
+#
+# CONFIG_PCCARD is not set
+
+#
+# PC-card bridges
+#
+
+#
+# Advanced setup
+#
+# CONFIG_ADVANCED_OPTIONS is not set
+
+#
+# Default settings for advanced configuration options are used
+#
+CONFIG_HIGHMEM_START=0xfe000000
+CONFIG_LOWMEM_SIZE=0x30000000
+CONFIG_KERNEL_START=0xc0000000
+CONFIG_TASK_SIZE=0x80000000
+CONFIG_BOOT_LOAD=0x00800000
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+
+#
+# Memory Technology Devices (MTD)
+#
+# CONFIG_MTD is not set
+
+#
+# Parallel port support
+#
+# CONFIG_PARPORT is not set
+
+#
+# Plug and Play support
+#
+
+#
+# Block devices
+#
+# CONFIG_BLK_DEV_FD is not set
+# CONFIG_MAC_FLOPPY is not set
+# CONFIG_BLK_CPQ_DA is not set
+# CONFIG_BLK_CPQ_CISS_DA is not set
+# CONFIG_BLK_DEV_DAC960 is not set
+# CONFIG_BLK_DEV_UMEM is not set
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+CONFIG_BLK_DEV_SX8=y
+# CONFIG_BLK_DEV_UB is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=2048
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+# CONFIG_LBD is not set
+# CONFIG_CDROM_PKTCDVD is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+CONFIG_IOSCHED_DEADLINE=y
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_ATA_OVER_ETH is not set
+
+#
+# ATA/ATAPI/MFM/RLL support
+#
+CONFIG_IDE=y
+CONFIG_BLK_DEV_IDE=y
+
+#
+# Please see Documentation/ide.txt for help/info on IDE drives
+#
+# CONFIG_BLK_DEV_IDE_SATA is not set
+CONFIG_BLK_DEV_IDEDISK=y
+# CONFIG_IDEDISK_MULTI_MODE is not set
+# CONFIG_BLK_DEV_IDECD is not set
+# CONFIG_BLK_DEV_IDETAPE is not set
+# CONFIG_BLK_DEV_IDEFLOPPY is not set
+CONFIG_BLK_DEV_IDESCSI=y
+# CONFIG_IDE_TASK_IOCTL is not set
+
+#
+# IDE chipset support/bugfixes
+#
+CONFIG_IDE_GENERIC=y
+CONFIG_BLK_DEV_IDEPCI=y
+CONFIG_IDEPCI_SHARE_IRQ=y
+# CONFIG_BLK_DEV_OFFBOARD is not set
+CONFIG_BLK_DEV_GENERIC=y
+CONFIG_BLK_DEV_OPTI621=y
+# CONFIG_BLK_DEV_SL82C105 is not set
+CONFIG_BLK_DEV_IDEDMA_PCI=y
+# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
+CONFIG_IDEDMA_PCI_AUTO=y
+# CONFIG_IDEDMA_ONLYDISK is not set
+CONFIG_BLK_DEV_AEC62XX=y
+CONFIG_BLK_DEV_ALI15X3=y
+# CONFIG_WDC_ALI15X3 is not set
+# CONFIG_BLK_DEV_AMD74XX is not set
+CONFIG_BLK_DEV_CMD64X=y
+# CONFIG_BLK_DEV_TRIFLEX is not set
+CONFIG_BLK_DEV_CY82C693=y
+# CONFIG_BLK_DEV_CS5520 is not set
+CONFIG_BLK_DEV_CS5530=y
+CONFIG_BLK_DEV_HPT34X=y
+# CONFIG_HPT34X_AUTODMA is not set
+CONFIG_BLK_DEV_HPT366=y
+# CONFIG_BLK_DEV_SC1200 is not set
+CONFIG_BLK_DEV_PIIX=y
+CONFIG_BLK_DEV_NS87415=y
+CONFIG_BLK_DEV_PDC202XX_OLD=y
+# CONFIG_PDC202XX_BURST is not set
+CONFIG_BLK_DEV_PDC202XX_NEW=y
+# CONFIG_PDC202XX_FORCE is not set
+# CONFIG_BLK_DEV_SVWKS is not set
+CONFIG_BLK_DEV_SIIMAGE=y
+CONFIG_BLK_DEV_SLC90E66=y
+# CONFIG_BLK_DEV_TRM290 is not set
+CONFIG_BLK_DEV_VIA82CXXX=y
+CONFIG_BLK_DEV_IDE_PMAC=y
+CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y
+CONFIG_BLK_DEV_IDEDMA_PMAC=y
+# CONFIG_BLK_DEV_IDE_PMAC_BLINK is not set
+# CONFIG_IDE_ARM is not set
+CONFIG_BLK_DEV_IDEDMA=y
+# CONFIG_IDEDMA_IVB is not set
+CONFIG_IDEDMA_AUTO=y
+# CONFIG_BLK_DEV_HD is not set
+
+#
+# SCSI device support
+#
+CONFIG_SCSI=y
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+CONFIG_BLK_DEV_SR=y
+# CONFIG_BLK_DEV_SR_VENDOR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+
+#
+# SCSI Transport Attributes
+#
+CONFIG_SCSI_SPI_ATTRS=y
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+
+#
+# SCSI low-level drivers
+#
+# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
+# CONFIG_SCSI_3W_9XXX is not set
+# CONFIG_SCSI_ACARD is not set
+# CONFIG_SCSI_AACRAID is not set
+CONFIG_SCSI_AIC7XXX=y
+CONFIG_AIC7XXX_CMDS_PER_DEVICE=253
+CONFIG_AIC7XXX_RESET_DELAY_MS=15000
+# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
+CONFIG_AIC7XXX_DEBUG_MASK=0
+# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not set
+# CONFIG_SCSI_AIC7XXX_OLD is not set
+# CONFIG_SCSI_AIC79XX is not set
+# CONFIG_SCSI_DPT_I2O is not set
+# CONFIG_MEGARAID_NEWGEN is not set
+# CONFIG_MEGARAID_LEGACY is not set
+CONFIG_SCSI_SATA=y
+CONFIG_SCSI_SATA_AHCI=y
+CONFIG_SCSI_SATA_SVW=y
+CONFIG_SCSI_ATA_PIIX=y
+CONFIG_SCSI_SATA_NV=y
+CONFIG_SCSI_SATA_PROMISE=y
+CONFIG_SCSI_SATA_QSTOR=y
+CONFIG_SCSI_SATA_SX4=y
+CONFIG_SCSI_SATA_SIL=y
+CONFIG_SCSI_SATA_SIS=y
+CONFIG_SCSI_SATA_ULI=y
+CONFIG_SCSI_SATA_VIA=y
+CONFIG_SCSI_SATA_VITESSE=y
+# CONFIG_SCSI_BUSLOGIC is not set
+# CONFIG_SCSI_DMX3191D is not set
+# CONFIG_SCSI_EATA is not set
+# CONFIG_SCSI_EATA_PIO is not set
+# CONFIG_SCSI_FUTURE_DOMAIN is not set
+# CONFIG_SCSI_GDTH is not set
+# CONFIG_SCSI_IPS is not set
+# CONFIG_SCSI_INITIO is not set
+# CONFIG_SCSI_INIA100 is not set
+CONFIG_SCSI_SYM53C8XX_2=y
+CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
+CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
+CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
+# CONFIG_SCSI_SYM53C8XX_IOMAPPED is not set
+# CONFIG_SCSI_IPR is not set
+# CONFIG_SCSI_QLOGIC_ISP is not set
+# CONFIG_SCSI_QLOGIC_FC is not set
+# CONFIG_SCSI_QLOGIC_1280 is not set
+CONFIG_SCSI_QLA2XXX=y
+# CONFIG_SCSI_QLA21XX is not set
+# CONFIG_SCSI_QLA22XX is not set
+# CONFIG_SCSI_QLA2300 is not set
+# CONFIG_SCSI_QLA2322 is not set
+# CONFIG_SCSI_QLA6312 is not set
+# CONFIG_SCSI_DC395x is not set
+CONFIG_SCSI_DC390T=y
+# CONFIG_SCSI_NSP32 is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_MESH is not set
+# CONFIG_SCSI_MAC53C94 is not set
+
+#
+# Multi-device support (RAID and LVM)
+#
+# CONFIG_MD is not set
+
+#
+# Fusion MPT device support
+#
+# CONFIG_FUSION is not set
+
+#
+# IEEE 1394 (FireWire) support
+#
+CONFIG_IEEE1394=y
+
+#
+# Subsystem Options
+#
+# CONFIG_IEEE1394_VERBOSEDEBUG is not set
+# CONFIG_IEEE1394_OUI_DB is not set
+# CONFIG_IEEE1394_EXTRA_CONFIG_ROMS is not set
+
+#
+# Device Drivers
+#
+CONFIG_IEEE1394_PCILYNX=y
+CONFIG_IEEE1394_OHCI1394=y
+
+#
+# Protocol Drivers
+#
+# CONFIG_IEEE1394_VIDEO1394 is not set
+CONFIG_IEEE1394_SBP2=y
+# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
+# CONFIG_IEEE1394_ETH1394 is not set
+# CONFIG_IEEE1394_DV1394 is not set
+# CONFIG_IEEE1394_RAWIO is not set
+# CONFIG_IEEE1394_CMP is not set
+
+#
+# I2O device support
+#
+# CONFIG_I2O is not set
+
+#
+# Macintosh device drivers
+#
+# CONFIG_ADB is not set
+CONFIG_ADB_CUDA=y
+CONFIG_ADB_PMU=y
+# CONFIG_PMAC_PBOOK is not set
+# CONFIG_PMAC_BACKLIGHT is not set
+# CONFIG_ANSLCD is not set
+
+#
+# Networking support
+#
+CONFIG_NET=y
+
+#
+# Networking options
+#
+CONFIG_PACKET=y
+# CONFIG_PACKET_MMAP is not set
+# CONFIG_NETLINK_DEV is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+# CONFIG_IP_PNP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_IP_TCPDIAG is not set
+# CONFIG_IP_TCPDIAG_IPV6 is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETFILTER is not set
+
+#
+# SCTP Configuration (EXPERIMENTAL)
+#
+# CONFIG_IP_SCTP is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_NET_DIVERT is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+
+#
+# QoS and/or fair queueing
+#
+# CONFIG_NET_SCHED is not set
+# CONFIG_NET_CLS_ROUTE is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+
+#
+# ARCnet devices
+#
+# CONFIG_ARCNET is not set
+
+#
+# Ethernet (10 or 100Mbit)
+#
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+CONFIG_MACE=y
+# CONFIG_MACE_AAUI_PORT is not set
+CONFIG_BMAC=y
+CONFIG_HAPPYMEAL=y
+CONFIG_SUNGEM=y
+CONFIG_NET_VENDOR_3COM=y
+CONFIG_VORTEX=y
+CONFIG_TYPHOON=y
+
+#
+# Tulip family network device support
+#
+# CONFIG_NET_TULIP is not set
+# CONFIG_HP100 is not set
+CONFIG_NET_PCI=y
+CONFIG_PCNET32=y
+CONFIG_AMD8111_ETH=y
+# CONFIG_AMD8111E_NAPI is not set
+CONFIG_ADAPTEC_STARFIRE=y
+# CONFIG_ADAPTEC_STARFIRE_NAPI is not set
+CONFIG_B44=y
+CONFIG_FORCEDETH=y
+# CONFIG_DGRS is not set
+CONFIG_EEPRO100=y
+# CONFIG_E100 is not set
+# CONFIG_FEALNX is not set
+CONFIG_NATSEMI=y
+CONFIG_NE2K_PCI=y
+CONFIG_8139CP=y
+CONFIG_8139TOO=y
+# CONFIG_8139TOO_PIO is not set
+CONFIG_8139TOO_TUNE_TWISTER=y
+CONFIG_8139TOO_8129=y
+# CONFIG_8139_OLD_RX_RESET is not set
+CONFIG_SIS900=y
+CONFIG_EPIC100=y
+# CONFIG_SUNDANCE is not set
+# CONFIG_TLAN is not set
+CONFIG_VIA_RHINE=y
+# CONFIG_VIA_RHINE_MMIO is not set
+
+#
+# Ethernet (1000 Mbit)
+#
+CONFIG_ACENIC=y
+CONFIG_ACENIC_OMIT_TIGON_I=y
+# CONFIG_DL2K is not set
+CONFIG_E1000=y
+# CONFIG_E1000_NAPI is not set
+# CONFIG_NS83820 is not set
+# CONFIG_HAMACHI is not set
+# CONFIG_YELLOWFIN is not set
+CONFIG_R8169=y
+# CONFIG_R8169_NAPI is not set
+CONFIG_SK98LIN=y
+CONFIG_VIA_VELOCITY=y
+CONFIG_TIGON3=y
+
+#
+# Ethernet (10000 Mbit)
+#
+# CONFIG_IXGB is not set
+# CONFIG_S2IO is not set
+
+#
+# Token Ring devices
+#
+# CONFIG_TR is not set
+
+#
+# Wireless LAN (non-hamradio)
+#
+CONFIG_NET_RADIO=y
+
+#
+# Obsolete Wireless cards support (pre-802.11)
+#
+# CONFIG_STRIP is not set
+
+#
+# Wireless 802.11b ISA/PCI cards support
+#
+CONFIG_HERMES=y
+# CONFIG_APPLE_AIRPORT is not set
+CONFIG_PLX_HERMES=y
+CONFIG_TMD_HERMES=y
+CONFIG_PCI_HERMES=y
+CONFIG_ATMEL=y
+CONFIG_PCI_ATMEL=y
+
+#
+# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
+#
+# CONFIG_PRISM54 is not set
+CONFIG_NET_WIRELESS=y
+
+#
+# Wan interfaces
+#
+# CONFIG_WAN is not set
+# CONFIG_FDDI is not set
+# CONFIG_HIPPI is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NET_FC is not set
+# CONFIG_SHAPER is not set
+# CONFIG_NETCONSOLE is not set
+
+#
+# ISDN subsystem
+#
+# CONFIG_ISDN is not set
+
+#
+# Telephony Support
+#
+# CONFIG_PHONE is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+
+#
+# Userland interfaces
+#
+# CONFIG_INPUT_MOUSEDEV is not set
+CONFIG_INPUT_JOYDEV=y
+# CONFIG_INPUT_TSDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input I/O drivers
+#
+CONFIG_GAMEPORT=y
+CONFIG_SOUND_GAMEPORT=y
+CONFIG_GAMEPORT_NS558=y
+# CONFIG_GAMEPORT_L4 is not set
+CONFIG_GAMEPORT_EMU10K1=y
+# CONFIG_GAMEPORT_VORTEX is not set
+# CONFIG_GAMEPORT_FM801 is not set
+CONFIG_GAMEPORT_CS461X=y
+CONFIG_SERIO=y
+# CONFIG_SERIO_I8042 is not set
+# CONFIG_SERIO_SERPORT is not set
+# CONFIG_SERIO_CT82C710 is not set
+# CONFIG_SERIO_PCIPS2 is not set
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_INPUT_MOUSE is not set
+CONFIG_INPUT_JOYSTICK=y
+# CONFIG_JOYSTICK_ANALOG is not set
+# CONFIG_JOYSTICK_A3D is not set
+# CONFIG_JOYSTICK_ADI is not set
+# CONFIG_JOYSTICK_COBRA is not set
+# CONFIG_JOYSTICK_GF2K is not set
+CONFIG_JOYSTICK_GRIP=y
+# CONFIG_JOYSTICK_GRIP_MP is not set
+# CONFIG_JOYSTICK_GUILLEMOT is not set
+# CONFIG_JOYSTICK_INTERACT is not set
+CONFIG_JOYSTICK_SIDEWINDER=y
+# CONFIG_JOYSTICK_TMDC is not set
+# CONFIG_JOYSTICK_IFORCE is not set
+# CONFIG_JOYSTICK_WARRIOR is not set
+# CONFIG_JOYSTICK_MAGELLAN is not set
+# CONFIG_JOYSTICK_SPACEORB is not set
+# CONFIG_JOYSTICK_SPACEBALL is not set
+# CONFIG_JOYSTICK_STINGER is not set
+# CONFIG_JOYSTICK_TWIDDLER is not set
+# CONFIG_JOYSTICK_JOYDUMP is not set
+# CONFIG_INPUT_TOUCHSCREEN is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=m
+CONFIG_SERIAL_8250_NR_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_CORE=m
+# CONFIG_SERIAL_PMACZILOG is not set
+# CONFIG_UNIX98_PTYS is not set
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+
+#
+# IPMI
+#
+# CONFIG_IPMI_HANDLER is not set
+
+#
+# Watchdog Cards
+#
+# CONFIG_WATCHDOG is not set
+# CONFIG_NVRAM is not set
+# CONFIG_GEN_RTC is not set
+# CONFIG_DTLK is not set
+# CONFIG_R3964 is not set
+# CONFIG_APPLICOM is not set
+
+#
+# Ftape, the floppy tape device driver
+#
+# CONFIG_AGP is not set
+# CONFIG_DRM is not set
+# CONFIG_RAW_DRIVER is not set
+
+#
+# I2C support
+#
+CONFIG_I2C=y
+# CONFIG_I2C_CHARDEV is not set
+
+#
+# I2C Algorithms
+#
+CONFIG_I2C_ALGOBIT=y
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+# CONFIG_I2C_ALI1535 is not set
+# CONFIG_I2C_ALI1563 is not set
+# CONFIG_I2C_ALI15X3 is not set
+# CONFIG_I2C_AMD756 is not set
+# CONFIG_I2C_AMD8111 is not set
+# CONFIG_I2C_HYDRA is not set
+# CONFIG_I2C_I801 is not set
+# CONFIG_I2C_I810 is not set
+# CONFIG_I2C_ISA is not set
+# CONFIG_I2C_KEYWEST is not set
+# CONFIG_I2C_MPC is not set
+# CONFIG_I2C_NFORCE2 is not set
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_PIIX4 is not set
+# CONFIG_I2C_PROSAVAGE is not set
+# CONFIG_I2C_SAVAGE4 is not set
+# CONFIG_SCx200_ACB is not set
+# CONFIG_I2C_SIS5595 is not set
+# CONFIG_I2C_SIS630 is not set
+# CONFIG_I2C_SIS96X is not set
+# CONFIG_I2C_STUB is not set
+# CONFIG_I2C_VIA is not set
+# CONFIG_I2C_VIAPRO is not set
+# CONFIG_I2C_VOODOO3 is not set
+# CONFIG_I2C_PCA_ISA is not set
+
+#
+# Hardware Sensors Chip support
+#
+# CONFIG_I2C_SENSOR is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ASB100 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_FSCHER is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_VIA686A is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83627HF is not set
+
+#
+# Other I2C Chip support
+#
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_SENSORS_RTC8564 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+
+#
+# Dallas's 1-wire bus
+#
+# CONFIG_W1 is not set
+
+#
+# Misc devices
+#
+
+#
+# Multimedia devices
+#
+CONFIG_VIDEO_DEV=m
+
+#
+# Video For Linux
+#
+
+#
+# Video Adapters
+#
+CONFIG_VIDEO_BT848=m
+# CONFIG_VIDEO_CPIA is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_TUNER_3036 is not set
+# CONFIG_VIDEO_STRADIS is not set
+# CONFIG_VIDEO_ZORAN is not set
+CONFIG_VIDEO_SAA7134=m
+# CONFIG_VIDEO_MXB is not set
+# CONFIG_VIDEO_DPC is not set
+# CONFIG_VIDEO_HEXIUM_ORION is not set
+# CONFIG_VIDEO_HEXIUM_GEMINI is not set
+CONFIG_VIDEO_CX88=m
+# CONFIG_VIDEO_OVCAMCHIP is not set
+
+#
+# Radio Adapters
+#
+# CONFIG_RADIO_GEMTEK_PCI is not set
+# CONFIG_RADIO_MAXIRADIO is not set
+# CONFIG_RADIO_MAESTRO is not set
+
+#
+# Digital Video Broadcasting Devices
+#
+# CONFIG_DVB is not set
+CONFIG_VIDEO_TUNER=m
+CONFIG_VIDEO_BUF=m
+CONFIG_VIDEO_BTCX=m
+CONFIG_VIDEO_IR=m
+CONFIG_VIDEO_TVEEPROM=m
+
+#
+# Graphics support
+#
+CONFIG_FB=y
+CONFIG_FB_MODE_HELPERS=y
+# CONFIG_FB_TILEBLITTING is not set
+# CONFIG_FB_CIRRUS is not set
+# CONFIG_FB_PM2 is not set
+# CONFIG_FB_CYBER2000 is not set
+CONFIG_FB_OF=y
+# CONFIG_FB_CONTROL is not set
+# CONFIG_FB_PLATINUM is not set
+# CONFIG_FB_VALKYRIE is not set
+# CONFIG_FB_CT65550 is not set
+# CONFIG_FB_ASILIANT is not set
+# CONFIG_FB_IMSTT is not set
+# CONFIG_FB_VGA16 is not set
+# CONFIG_FB_RIVA is not set
+# CONFIG_FB_MATROX is not set
+# CONFIG_FB_RADEON_OLD is not set
+# CONFIG_FB_RADEON is not set
+# CONFIG_FB_ATY128 is not set
+# CONFIG_FB_ATY is not set
+# CONFIG_FB_SAVAGE is not set
+# CONFIG_FB_SIS is not set
+# CONFIG_FB_NEOMAGIC is not set
+# CONFIG_FB_KYRO is not set
+# CONFIG_FB_3DFX is not set
+# CONFIG_FB_VOODOO1 is not set
+# CONFIG_FB_TRIDENT is not set
+# CONFIG_FB_VIRTUAL is not set
+
+#
+# Console display driver support
+#
+CONFIG_VGA_CONSOLE=y
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+
+#
+# Logo configuration
+#
+# CONFIG_LOGO is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Bootsplash configuration
+#
+CONFIG_BOOTSPLASH=y
+
+#
+# Sound
+#
+CONFIG_SOUND=y
+# CONFIG_DMASOUND_PMAC is not set
+
+#
+# Advanced Linux Sound Architecture
+#
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+CONFIG_SND_HWDEP=y
+CONFIG_SND_RAWMIDI=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+
+#
+# Generic devices
+#
+CONFIG_SND_MPU401_UART=y
+CONFIG_SND_OPL3_LIB=y
+CONFIG_SND_VX_LIB=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+
+#
+# PCI devices
+#
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_ALI5451=y
+CONFIG_SND_ATIIXP=y
+# CONFIG_SND_ATIIXP_MODEM is not set
+CONFIG_SND_AU8810=y
+CONFIG_SND_AU8820=y
+CONFIG_SND_AU8830=y
+CONFIG_SND_AZT3328=y
+# CONFIG_SND_BT87X is not set
+CONFIG_SND_CS46XX=y
+CONFIG_SND_CS46XX_NEW_DSP=y
+CONFIG_SND_CS4281=y
+CONFIG_SND_EMU10K1=y
+CONFIG_SND_EMU10K1X=y
+CONFIG_SND_CA0106=y
+# CONFIG_SND_KORG1212 is not set
+# CONFIG_SND_MIXART is not set
+CONFIG_SND_NM256=y
+# CONFIG_SND_RME32 is not set
+# CONFIG_SND_RME96 is not set
+# CONFIG_SND_RME9652 is not set
+# CONFIG_SND_HDSP is not set
+CONFIG_SND_TRIDENT=y
+CONFIG_SND_YMFPCI=y
+CONFIG_SND_ALS4000=y
+CONFIG_SND_CMIPCI=y
+CONFIG_SND_ENS1370=y
+CONFIG_SND_ENS1371=y
+CONFIG_SND_ES1938=y
+CONFIG_SND_ES1968=y
+CONFIG_SND_MAESTRO3=y
+CONFIG_SND_FM801=y
+# CONFIG_SND_FM801_TEA575X is not set
+CONFIG_SND_ICE1712=y
+CONFIG_SND_ICE1724=y
+CONFIG_SND_INTEL8X0=y
+CONFIG_SND_INTEL8X0M=y
+CONFIG_SND_SONICVIBES=y
+CONFIG_SND_VIA82XX=y
+# CONFIG_SND_VIA82XX_MODEM is not set
+CONFIG_SND_VX222=y
+
+#
+# ALSA PowerMac devices
+#
+CONFIG_SND_POWERMAC=y
+
+#
+# USB devices
+#
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_USX2Y is not set
+
+#
+# Open Sound System
+#
+# CONFIG_SOUND_PRIME is not set
+
+#
+# USB support
+#
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+
+#
+# Miscellaneous USB options
+#
+# CONFIG_USB_DEVICEFS is not set
+# CONFIG_USB_BANDWIDTH is not set
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_USB_EHCI_HCD=y
+# CONFIG_USB_EHCI_SPLIT_ISO is not set
+# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_UHCI_HCD=y
+# CONFIG_USB_SL811_HCD is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_AUDIO is not set
+# CONFIG_USB_BLUETOOTH_TTY is not set
+# CONFIG_USB_MIDI is not set
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+
+#
+# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_RW_DETECT is not set
+CONFIG_USB_STORAGE_DATAFAB=y
+CONFIG_USB_STORAGE_FREECOM=y
+CONFIG_USB_STORAGE_ISD200=y
+CONFIG_USB_STORAGE_DPCM=y
+CONFIG_USB_STORAGE_HP8200e=y
+CONFIG_USB_STORAGE_SDDR09=y
+CONFIG_USB_STORAGE_SDDR55=y
+CONFIG_USB_STORAGE_JUMPSHOT=y
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+CONFIG_USB_HIDINPUT=y
+# CONFIG_HID_FF is not set
+# CONFIG_USB_HIDDEV is not set
+# CONFIG_USB_AIPTEK is not set
+# CONFIG_USB_WACOM is not set
+# CONFIG_USB_KBTAB is not set
+# CONFIG_USB_POWERMATE is not set
+# CONFIG_USB_MTOUCH is not set
+# CONFIG_USB_EGALAX is not set
+CONFIG_USB_XPAD=y
+# CONFIG_USB_ATI_REMOTE is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB Multimedia devices
+#
+# CONFIG_USB_DABUSB is not set
+# CONFIG_USB_VICAM is not set
+# CONFIG_USB_DSBR is not set
+# CONFIG_USB_IBMCAM is not set
+# CONFIG_USB_KONICAWC is not set
+# CONFIG_USB_OV511 is not set
+# CONFIG_USB_SE401 is not set
+# CONFIG_USB_SN9C102 is not set
+# CONFIG_USB_STV680 is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+CONFIG_USB_PEGASUS=y
+CONFIG_USB_RTL8150=y
+# CONFIG_USB_USBNET is not set
+
+#
+# USB port drivers
+#
+
+#
+# USB Serial Converter support
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_AUERSWALD is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGETKIT is not set
+# CONFIG_USB_PHIDGETSERVO is not set
+# CONFIG_USB_IDMOUSE is not set
+
+#
+# USB ATM/DSL drivers
+#
+
+#
+# USB Gadget Support
+#
+# CONFIG_USB_GADGET is not set
+
+#
+# MMC/SD Card support
+#
+# CONFIG_MMC is not set
+
+#
+# InfiniBand support
+#
+# CONFIG_INFINIBAND is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+CONFIG_EXT3_FS=y
+# CONFIG_EXT3_FS_XATTR is not set
+CONFIG_JBD=y
+# CONFIG_JBD_DEBUG is not set
+CONFIG_REISERFS_FS=y
+# CONFIG_REISERFS_CHECK is not set
+# CONFIG_REISERFS_PROC_INFO is not set
+# CONFIG_REISERFS_FS_XATTR is not set
+# CONFIG_JFS_FS is not set
+
+#
+# XFS support
+#
+# CONFIG_XFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_QUOTA is not set
+# CONFIG_DNOTIFY is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+
+#
+# CD-ROM/DVD Filesystems
+#
+CONFIG_ISO9660_FS=y
+CONFIG_JOLIET=y
+CONFIG_ZISOFS=y
+CONFIG_ZISOFS_FS=y
+CONFIG_UDF_FS=y
+CONFIG_UDF_NLS=y
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+# CONFIG_MSDOS_FS is not set
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=850
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+CONFIG_NTFS_FS=y
+# CONFIG_NTFS_DEBUG is not set
+# CONFIG_NTFS_RW is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_KCORE=y
+CONFIG_SYSFS=y
+# CONFIG_DEVFS_FS is not set
+# CONFIG_TMPFS is not set
+# CONFIG_HUGETLB_PAGE is not set
+CONFIG_RAMFS=y
+CONFIG_SUPERMOUNT=y
+# CONFIG_SUPERMOUNT_DEBUG is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+CONFIG_HFS_FS=y
+CONFIG_HFSPLUS_FS=y
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_SYSV_FS is not set
+CONFIG_UFS_FS=y
+# CONFIG_UFS_FS_WRITE is not set
+
+#
+# Network File Systems
+#
+CONFIG_NFS_FS=y
+# CONFIG_NFS_V3 is not set
+# CONFIG_NFS_V4 is not set
+# CONFIG_NFS_DIRECTIO is not set
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_SUNRPC=y
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+CONFIG_SMB_FS=y
+# CONFIG_SMB_NLS_DEFAULT is not set
+CONFIG_CIFS=y
+# CONFIG_CIFS_STATS is not set
+# CONFIG_CIFS_XATTR is not set
+# CONFIG_CIFS_EXPERIMENTAL is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+CONFIG_MAC_PARTITION=y
+# CONFIG_MSDOS_PARTITION is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+
+#
+# Native Language Support
+#
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+# CONFIG_NLS_CODEPAGE_437 is not set
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+CONFIG_NLS_CODEPAGE_850=y
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+# CONFIG_NLS_ASCII is not set
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+
+#
+# Library routines
+#
+CONFIG_CRC_CCITT=y
+CONFIG_CRC32=y
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+
+#
+# Profiling support
+#
+# CONFIG_PROFILING is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_DEBUG_KERNEL is not set
+# CONFIG_BOOTX_TEXT is not set
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+
+#
+# Cryptographic options
+#
+# CONFIG_CRYPTO is not set
+
+#
+# Hardware crypto devices
+#
View
4 packages/linux/install
@@ -10,6 +10,10 @@ case "$2" in
i386)
cp $BUILD/$1*/arch/$TARGET_ARCH/boot/bzImage $INSTALL/vmlinuz
;;
+ ppc)
+ cp $BUILD/linux*/vmlinux $INSTALL/vmlinux
+ $STRIP $INSTALL/vmlinux
+ ;;
esac
;;
View
22 packages/linux/patches/52_bootsplash-novesa.diff
@@ -0,0 +1,22 @@
+* allow bootsplash to work on non-vesa fb drivers
+
+diff -Naur linux-2.6.11.orig/drivers/video/bootsplash/bootsplash.c linux-2.6.11/drivers/video/bootsplash/bootsplash.c
+--- linux-2.6.11.orig/drivers/video/bootsplash/bootsplash.c 2005-03-30 19:32:11.000000000 +0200
++++ linux-2.6.11/drivers/video/bootsplash/bootsplash.c 2005-03-30 19:32:52.000000000 +0200
+@@ -28,7 +28,6 @@
+ #include "bootsplash.h"
+ #include "decode-jpg.h"
+
+-extern struct fb_ops vesafb_ops;
+ extern signed char con2fb_map[MAX_NR_CONSOLES];
+
+ #define SPLASH_VERSION "3.1.7.4-geexbox"
+@@ -545,7 +544,7 @@
+ printk(" found, but has oversized text area!\n");
+ return -1;
+ }
+- if (!vc_cons[unit].d || info->fbops != &vesafb_ops) {
++ if (!vc_cons[unit].d) {
+ splash_free(vc, info);
+ printk(" found, but framebuffer can't handle it!\n");
+ return -1;
View
14 packages/linux/patches/80_alsa-pmac-awacs.diff
@@ -0,0 +1,14 @@
+* dirty hack to get sound on a Mac Mini
+
+diff -Naur linux-2.6.11.orig/sound/ppc/pmac.c linux-2.6.11/sound/ppc/pmac.c
+--- linux-2.6.11.orig/sound/ppc/pmac.c 2005-03-22 16:46:58.000000000 +0100
++++ linux-2.6.11/sound/ppc/pmac.c 2005-03-22 16:49:02.000000000 +0100
+@@ -964,7 +964,7 @@
+ if (device_is_compatible(sound, "AOAKeylargo")) {
+ /* Seems to support the stock AWACS frequencies, but has
+ a snapper mixer */
+- chip->model = PMAC_SNAPPER;
++ chip->model = PMAC_AWACS;
+ // chip->can_byte_swap = 0; /* FIXME: check this */
+ chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
+ }
View
372 packages/module-init-tools/patches/20_endian.diff
@@ -0,0 +1,372 @@
+* fix depmod so that it handles modules in a non-native endian
+
+diff -Naur module-init-tools-3.1.orig/depmod.c module-init-tools-3.1/depmod.c
+--- module-init-tools-3.1.orig/depmod.c 2005-02-04 00:00:27.449043784 +0100
++++ module-init-tools-3.1/depmod.c 2005-02-04 00:01:00.522015928 +0100
+@@ -284,6 +284,7 @@
+ static struct module *grab_module(const char *dirname, const char *filename)
+ {
+ struct module *new;
++ int swap = 0;
+
+ new = NOFAIL(malloc(sizeof(*new)
+ + strlen(dirname) + 1 + strlen(filename) + 1));
+@@ -303,12 +304,25 @@
+ goto fail;
+ }
+
++#if BYTE_ORDER == LITTLE_ENDIAN
++ if (((char *)new->data)[EI_DATA] == ELFDATA2MSB)
++#else
++ if (((char *)new->data)[EI_DATA] == ELFDATA2LSB)
++#endif
++ swap = 1;
++
+ switch (((char *)new->data)[EI_CLASS]) {
+ case ELFCLASS32:
+- new->ops = &mod_ops32;
++ if (swap)
++ new->ops = &mod_ops_swap32;
++ else
++ new->ops = &mod_ops32;
+ break;
+ case ELFCLASS64:
+- new->ops = &mod_ops64;
++ if (swap)
++ new->ops = &mod_ops_swap64;
++ else
++ new->ops = &mod_ops64;
+ break;
+ default:
+ warn("Module %s has elf unknown identifier %i\n",
+diff -Naur module-init-tools-3.1.orig/moduleops.c module-init-tools-3.1/moduleops.c
+--- module-init-tools-3.1.orig/moduleops.c 2005-02-04 00:00:27.449043784 +0100
++++ module-init-tools-3.1/moduleops.c 2005-02-04 00:01:00.522015928 +0100
+@@ -9,15 +9,70 @@
+ #include "moduleops.h"
+ #include "tables.h"
+
++static uint64_t swap_real (uint64_t x, int length)
++{
++ switch (length)
++ {
++ case 2:
++ return (((uint16_t)x & 0x00ffU) << 8) |
++ (((uint16_t)x & 0xff00U) >> 8);
++ case 4:
++ return (((uint32_t)x & 0x000000ffU) << 24) |
++ (((uint32_t)x & 0x0000ff00U) << 8) |
++ (((uint32_t)x & 0x00ff0000U) >> 8) |
++ (((uint32_t)x & 0xff000000U) >> 24);
++ case 8:
++ return (((uint64_t)x & 0x00000000000000ffULL) << 56) |
++ (((uint64_t)x & 0x000000000000ff00ULL) << 40) |
++ (((uint64_t)x & 0x0000000000ff0000ULL) << 24) |
++ (((uint64_t)x & 0x00000000ff000000ULL) << 8) |
++ (((uint64_t)x & 0x000000ff00000000ULL) >> 8) |
++ (((uint64_t)x & 0x0000ff0000000000ULL) >> 24) |
++ (((uint64_t)x & 0x00ff000000000000ULL) >> 40) |
++ (((uint64_t)x & 0xff00000000000000ULL) >> 56);
++ }
++ return x;
++}
++
++#define PERBIT(x) x##32
++#define PERBITSWAP(x) x##32
++#define ElfPERBIT(x) Elf32_##x
++#define ELFPERBIT(x) ELF32_##x
++#define swap(x) (x)
++#include "moduleops_core.c"
++
++#undef PERBIT
++#undef PERBITSWAP
++#undef ElfPERBIT
++#undef ELFPERBIT
++#undef swap
++#define PERBIT(x) x##64
++#define PERBITSWAP(x) x##64
++#define ElfPERBIT(x) Elf64_##x
++#define ELFPERBIT(x) ELF64_##x
++#define swap(x) (x)
++#include "moduleops_core.c"
++
++#undef PERBIT
++#undef PERBITSWAP
++#undef ElfPERBIT
++#undef ELFPERBIT
++#undef swap
+ #define PERBIT(x) x##32
++#define PERBITSWAP(x) x##_swap32
+ #define ElfPERBIT(x) Elf32_##x
+ #define ELFPERBIT(x) ELF32_##x
++#define swap(x) ((typeof(x)) swap_real(x, sizeof(x)))
+ #include "moduleops_core.c"
+
+ #undef PERBIT
++#undef PERBITSWAP
+ #undef ElfPERBIT
+ #undef ELFPERBIT
++#undef swap
+ #define PERBIT(x) x##64
++#define PERBITSWAP(x) x##_swap64
+ #define ElfPERBIT(x) Elf64_##x
+ #define ELFPERBIT(x) ELF64_##x
++#define swap(x) ((typeof(x)) swap_real(x, sizeof(x)))
+ #include "moduleops_core.c"
+diff -Naur module-init-tools-3.1.orig/moduleops.h module-init-tools-3.1/moduleops.h
+--- module-init-tools-3.1.orig/moduleops.h 2005-02-04 00:00:27.449043784 +0100
++++ module-init-tools-3.1/moduleops.h 2005-02-04 00:01:00.522015928 +0100
+@@ -23,6 +23,6 @@
+ char *(*get_modinfo)(struct module *module, unsigned long *size);
+ };
+
+-extern struct module_ops mod_ops32, mod_ops64;
++extern struct module_ops mod_ops32, mod_ops64, mod_ops_swap32, mod_ops_swap64;
+
+ #endif /* MODINITTOOLS_MODULEOPS_H */
+diff -Naur module-init-tools-3.1.orig/moduleops_core.c module-init-tools-3.1/moduleops_core.c
+--- module-init-tools-3.1.orig/moduleops_core.c 2005-02-04 00:00:27.449043784 +0100
++++ module-init-tools-3.1/moduleops_core.c 2005-02-04 00:01:21.906764952 +0100
+@@ -1,36 +1,37 @@
+ /* Load the given section: NULL on error. */
+-static void *PERBIT(load_section)(ElfPERBIT(Ehdr) *hdr,
++static void *PERBITSWAP(load_section)(ElfPERBIT(Ehdr) *hdr,
+ const char *secname,
+ unsigned long *size)
+ {
+ ElfPERBIT(Shdr) *sechdrs;
+- unsigned int i;
++ unsigned int i, n;
+ char *secnames;
+
+ /* Grab section headers and strings so we can tell who is who */
+- sechdrs = (void *)hdr + hdr->e_shoff;
+- secnames = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
++ sechdrs = (void *)hdr + swap(hdr->e_shoff);
++ secnames = (void *)hdr +swap(sechdrs[swap(hdr->e_shstrndx)].sh_offset);
+
+ /* Find the section they want */
+- for (i = 1; i < hdr->e_shnum; i++) {
+- if (strcmp(secnames+sechdrs[i].sh_name, secname) == 0) {
+- *size = sechdrs[i].sh_size;
+- return (void *)hdr + sechdrs[i].sh_offset;
++ n = swap(hdr->e_shnum);
++ for (i = 1; i < n; i++) {
++ if (strcmp(secnames+swap(sechdrs[i].sh_name), secname) == 0) {
++ *size = swap(sechdrs[i].sh_size);
++ return (void *)hdr + swap(sechdrs[i].sh_offset);
+ }
+ }
+ *size = 0;
+ return NULL;
+ }
+
+-static void PERBIT(load_symbols)(struct module *module)
++static void PERBITSWAP(load_symbols)(struct module *module)
+ {
+ struct PERBIT(kernel_symbol) *ksyms;
+ char *ksymstrings;
+ unsigned long i, size;
+
+ /* New-style: strings are in this section. */
+- ksymstrings = PERBIT(load_section)(module->data, "__ksymtab_strings",
+- &size);
++ ksymstrings = PERBITSWAP(load_section)(module->data,
++ "__ksymtab_strings", &size);
+ if (ksymstrings) {
+ unsigned int i = 0;
+ for (;;) {
+@@ -42,9 +43,9 @@
+ i += strlen(ksymstrings+i);
+ }
+ /* GPL symbols too */
+- ksymstrings = PERBIT(load_section)(module->data,
+- "__ksymtab_strings_gpl",
+- &size);
++ ksymstrings = PERBITSWAP(load_section)(module->data,
++ "__ksymtab_strings_gpl",
++ &size);
+ for (;;) {
+ /* Skip any zero padding. */
+ while (!ksymstrings[i])
+@@ -57,22 +58,22 @@
+ }
+
+ /* Old-style. */
+- ksyms = PERBIT(load_section)(module->data, "__ksymtab", &size);
++ ksyms = PERBITSWAP(load_section)(module->data, "__ksymtab", &size);
+ for (i = 0; i < size / sizeof(struct PERBIT(kernel_symbol)); i++)
+ add_symbol(ksyms[i].name, module);
+- ksyms = PERBIT(load_section)(module->data, "__gpl_ksymtab", &size);
++ ksyms = PERBITSWAP(load_section)(module->data, "__gpl_ksymtab", &size);
+ for (i = 0; i < size / sizeof(struct PERBIT(kernel_symbol)); i++)
+ add_symbol(ksyms[i].name, module);
+ }
+
+-static char *PERBIT(get_aliases)(struct module *module, unsigned long *size)
++static char *PERBITSWAP(get_aliases)(struct module *module,unsigned long *size)
+ {
+- return PERBIT(load_section)(module->data, ".modalias", size);
++ return PERBITSWAP(load_section)(module->data, ".modalias", size);
+ }
+
+-static char *PERBIT(get_modinfo)(struct module *module, unsigned long *size)
++static char *PERBITSWAP(get_modinfo)(struct module *module,unsigned long *size)
+ {
+- return PERBIT(load_section)(module->data, ".modinfo", size);
++ return PERBITSWAP(load_section)(module->data, ".modinfo", size);
+ }
+
+ #ifndef STT_REGISTER
+@@ -80,7 +81,7 @@
+ #endif
+
+ /* Calculate the dependencies for this module */
+-static void PERBIT(calculate_deps)(struct module *module, int verbose)
++static void PERBITSWAP(calculate_deps)(struct module *module, int verbose)
+ {
+ unsigned int i;
+ unsigned long size;
+@@ -89,8 +90,8 @@
+ ElfPERBIT(Ehdr) *hdr;
+ int handle_register_symbols;
+
+- strings = PERBIT(load_section)(module->data, ".strtab", &size);
+- syms = PERBIT(load_section)(module->data, ".symtab", &size);
++ strings = PERBITSWAP(load_section)(module->data, ".strtab", &size);
++ syms = PERBITSWAP(load_section)(module->data, ".symtab", &size);
+
+ if (!strings || !syms) {
+ warn("Couldn't find symtab and strtab in module %s\n",
+@@ -100,16 +101,16 @@
+
+ hdr = module->data;
+ handle_register_symbols = 0;
+- if (hdr->e_machine == EM_SPARC ||
+- hdr->e_machine == EM_SPARCV9)
++ if (swap(hdr->e_machine) == EM_SPARC ||
++ swap(hdr->e_machine) == EM_SPARCV9)
+ handle_register_symbols = 1;
+
+ module->num_deps = 0;
+ module->deps = NULL;
+ for (i = 1; i < size / sizeof(syms[0]); i++) {
+- if (syms[i].st_shndx == SHN_UNDEF) {
++ if (swap(syms[i].st_shndx) == SHN_UNDEF) {
+ /* Look for symbol */
+- const char *name = strings + syms[i].st_name;
++ const char *name = strings + swap(syms[i].st_name);
+ struct module *owner;
+ int weak;
+
+@@ -118,11 +119,12 @@
+ variables, to avoid anyone else misusing
+ them. */
+ if (handle_register_symbols
+- && (ELFPERBIT(ST_TYPE)(syms[i].st_info)
++ && (ELFPERBIT(ST_TYPE)(swap(syms[i].st_info))
+ == STT_REGISTER))
+ continue;
+
+- weak = ELFPERBIT(ST_BIND)(syms[i].st_info) == STB_WEAK;
++ weak = ELFPERBIT(ST_BIND)(swap(syms[i].st_info))
++ == STB_WEAK;
+ owner = find_symbol(name, module->pathname, weak);
+ if (owner) {
+ if (verbose)
+@@ -135,7 +137,7 @@
+ }
+ }
+
+-static void *PERBIT(deref_sym)(ElfPERBIT(Ehdr) *hdr, const char *name)
++static void *PERBITSWAP(deref_sym)(ElfPERBIT(Ehdr) *hdr, const char *name)
+ {
+ unsigned int i;
+ unsigned long size;
+@@ -143,65 +145,65 @@
+ ElfPERBIT(Sym) *syms;
+ ElfPERBIT(Shdr) *sechdrs;
+
+- sechdrs = (void *)hdr + hdr->e_shoff;
+- strings = PERBIT(load_section)(hdr, ".strtab", &size);
+- syms = PERBIT(load_section)(hdr, ".symtab", &size);
++ sechdrs = (void *)hdr + swap(hdr->e_shoff);
++ strings = PERBITSWAP(load_section)(hdr, ".strtab", &size);
++ syms = PERBITSWAP(load_section)(hdr, ".symtab", &size);
+
+ /* Don't warn again: we already have above */
+ if (!strings || !syms)
+ return NULL;
+
+ for (i = 0; i < size / sizeof(syms[0]); i++) {
+- if (strcmp(strings + syms[i].st_name, name) == 0) {
++ if (strcmp(strings + swap(syms[i].st_name), name) == 0) {
+ /* In BSS? Happens for empty device tables on
+ * recent GCC versions. */
+- if (sechdrs[syms[i].st_shndx].sh_type == SHT_NOBITS)
++ if (swap(sechdrs[swap(syms[i].st_shndx)].sh_type) == SHT_NOBITS)
+ return NULL;
+ return (void *)hdr
+- + sechdrs[syms[i].st_shndx].sh_offset
+- + syms[i].st_value;
++ + swap(sechdrs[swap(syms[i].st_shndx)].sh_offset)
++ + swap(syms[i].st_value);
+ }
+ }
+ return NULL;
+ }
+
+ /* FIXME: Check size, unless we end up using aliases anyway --RR */
+-static void PERBIT(fetch_tables)(struct module *module)
++static void PERBITSWAP(fetch_tables)(struct module *module)
+ {
+ module->pci_size = PERBIT(PCI_DEVICE_SIZE);
+- module->pci_table = PERBIT(deref_sym)(module->data,
++ module->pci_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_pci_device_table");
+
+ module->usb_size = PERBIT(USB_DEVICE_SIZE);
+- module->usb_table = PERBIT(deref_sym)(module->data,
++ module->usb_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_usb_device_table");
+
+ module->ccw_size = PERBIT(CCW_DEVICE_SIZE);
+- module->ccw_table = PERBIT(deref_sym)(module->data,
++ module->ccw_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_ccw_device_table");
+
+ module->ieee1394_size = PERBIT(IEEE1394_DEVICE_SIZE);
+- module->ieee1394_table = PERBIT(deref_sym)(module->data,
++ module->ieee1394_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_ieee1394_device_table");
+
+ module->pnp_size = PERBIT(PNP_DEVICE_SIZE);
+- module->pnp_table = PERBIT(deref_sym)(module->data,
++ module->pnp_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_pnp_device_table");
+
+ module->pnp_card_size = PERBIT(PNP_CARD_DEVICE_SIZE);
+- module->pnp_card_table = PERBIT(deref_sym)(module->data,
++ module->pnp_card_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_pnp_card_device_table");
+ module->pnp_card_offset = PERBIT(PNP_CARD_DEVICE_OFFSET);
+
+ module->input_size = PERBIT(INPUT_DEVICE_SIZE);
+- module->input_table = PERBIT(deref_sym)(module->data,
++ module->input_table = PERBITSWAP(deref_sym)(module->data,
+ "__mod_input_device_table");
+ }
+
+-struct module_ops PERBIT(mod_ops) = {
+- .load_symbols = PERBIT(load_symbols),
+- .calculate_deps = PERBIT(calculate_deps),
+- .fetch_tables = PERBIT(fetch_tables),
+- .get_aliases = PERBIT(get_aliases),
+- .get_modinfo = PERBIT(get_modinfo),
++struct module_ops PERBITSWAP(mod_ops) = {
++ .load_symbols = PERBITSWAP(load_symbols),
++ .calculate_deps = PERBITSWAP(calculate_deps),
++ .fetch_tables = PERBITSWAP(fetch_tables),
++ .get_aliases = PERBITSWAP(get_aliases),
++ .get_modinfo = PERBITSWAP(get_modinfo),
+ };
View
14 packages/nvtv/patches/30_powerpc.diff
@@ -0,0 +1,14 @@
+* fix compilation on non-x86 arch
+
+diff -Naur nvtv-0.4.7.orig/src/mmio.h nvtv-0.4.7/src/mmio.h
+--- nvtv-0.4.7.orig/src/mmio.h 2005-03-23 01:19:42.000000000 +0100
++++ nvtv-0.4.7/src/mmio.h 2005-03-23 01:20:04.000000000 +0100
+@@ -51,7 +51,7 @@
+ /* from xfree common/compiler.h */
+
+ #ifndef __NetBSD__
+-#ifdef linux
++#if defined(linux) && defined(__i386__)
+ #include <sys/io.h>
+
+ #define OUTB(p,v) outb(v,p)
View
146 packages/uClibc/config/uClibc.ppc.conf
@@ -0,0 +1,146 @@
+#
+# Automatically generated make config: don't edit
+#
+# TARGET_alpha is not set
+# TARGET_arm is not set
+# TARGET_bfin is not set
+# TARGET_cris is not set
+# TARGET_e1 is not set
+# TARGET_frv is not set
+# TARGET_h8300 is not set
+# TARGET_i386 is not set
+# TARGET_i960 is not set
+# TARGET_m68k is not set
+# TARGET_microblaze is not set
+# TARGET_mips is not set
+# TARGET_nios is not set
+# TARGET_nios2 is not set
+TARGET_powerpc=y
+# TARGET_sh is not set
+# TARGET_sparc is not set
+# TARGET_v850 is not set
+# TARGET_x86_64 is not set
+
+#
+# Target Architecture Features and Options
+#
+HAVE_ELF=y
+TARGET_ARCH="powerpc"
+ARCH_SUPPORTS_BIG_ENDIAN=y
+# ARCH_LITTLE_ENDIAN is not set
+ARCH_BIG_ENDIAN=y
+# ARCH_HAS_NO_MMU is not set
+ARCH_HAS_MMU=y
+UCLIBC_HAS_FLOATS=y
+HAS_FPU=y
+DO_C99_MATH=y
+WARNINGS="-Wall"
+KERNEL_SOURCE=""
+C_SYMBOL_PREFIX=""
+HAVE_DOT_CONFIG=y
+
+#
+# General Library Settings
+#
+# HAVE_NO_PIC is not set
+DOPIC=y
+# HAVE_NO_SHARED is not set
+HAVE_SHARED=y
+# ARCH_HAS_NO_LDSO is not set
+BUILD_UCLIBC_LDSO=y
+# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
+# LDSO_LDD_SUPPORT is not set
+# LDSO_CACHE_SUPPORT is not set
+# LDSO_PRELOAD_FILE_SUPPORT is not set
+UCLIBC_CTOR_DTOR=y
+# HAS_NO_THREADS is not set
+UCLIBC_HAS_THREADS=y
+# PTHREADS_DEBUG_SUPPORT is not set
+UCLIBC_HAS_LFS=y
+# UCLIBC_STATIC_LDCONFIG is not set
+# MALLOC is not set
+# MALLOC_SIMPLE is not set
+MALLOC_STANDARD=y
+# MALLOC_GLIBC_COMPAT is not set
+# UCLIBC_DYNAMIC_ATEXIT is not set
+# HAS_SHADOW is not set
+# UNIX98PTY_ONLY is not set
+# ASSUME_DEVPTS is not set
+# UCLIBC_HAS_TM_EXTENSIONS is not set
+# UCLIBC_HAS_TZ_CACHING is not set
+# UCLIBC_HAS_TZ_FILE is not set
+
+#
+# Networking Support
+#
+# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_RPC=y
+# UCLIBC_HAS_FULL_RPC is not set
+
+#
+# String and Stdio Support
+#
+# UCLIBC_HAS_STRING_GENERIC_OPT is not set
+# UCLIBC_HAS_STRING_ARCH_OPT is not set
+UCLIBC_HAS_CTYPE_TABLES=y
+UCLIBC_HAS_CTYPE_SIGNED=y
+# UCLIBC_HAS_CTYPE_UNSAFE is not set
+UCLIBC_HAS_CTYPE_CHECKED=y
+# UCLIBC_HAS_CTYPE_ENFORCED is not set
+# UCLIBC_HAS_WCHAR is not set
+# UCLIBC_HAS_LOCALE is not set
+# UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
+# UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
+# USE_OLD_VFPRINTF is not set
+UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
+# UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
+UCLIBC_HAS_STDIO_BUFSIZ_256=y
+# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_4096 is not set
+# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
+UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
+# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
+UCLIBC_HAS_STDIO_GETC_MACRO=y
+UCLIBC_HAS_STDIO_PUTC_MACRO=y
+# UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION is not set
+# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
+# UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
+# UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
+# UCLIBC_HAS_PRINTF_M_SPEC is not set
+# UCLIBC_HAS_ERRNO_MESSAGES is not set
+UCLIBC_HAS_SIGNUM_MESSAGES=y
+UCLIBC_HAS_SYS_SIGLIST=y
+UCLIBC_HAS_GNU_GETOPT=y
+
+#
+# Big and Tall
+#
+UCLIBC_HAS_REGEX=y
+# UCLIBC_HAS_WORDEXP is not set
+# UCLIBC_HAS_FTW is not set
+UCLIBC_HAS_GLOB=y
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PREFIX="$(DEVEL_PREFIX)/lib"
+RUNTIME_PREFIX="/"
+DEVEL_PREFIX="/usr"
+
+#
+# uClibc security related options
+#
+# UCLIBC_SECURITY is not set
+
+#
+# uClibc development/debugging options
+#
+# DODEBUG is not set
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set
+# UCLIBC_MJN3_ONLY is not set
View
1 packages/yaboot/arch
@@ -0,0 +1 @@
+ppc
View
7 packages/yaboot/build
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+. config/options
+
+$SCRIPTS/build toolchain
+
+make -C $BUILD/$1* CROSS=$TARGET_NAME-
View
5 packages/yaboot/config/Config
@@ -0,0 +1,5 @@
+CONFIG_COLOR_TEXT := y
+CONFIG_SET_COLORMAP := y
+USE_MD5_PASSWORDS := n
+CONFIG_FS_XFS := n
+CONFIG_FS_REISERFS := n
View
1 packages/yaboot/config/boot.msg
@@ -0,0 +1 @@
+Welcome to GeeXboX release-nr (C) 2002-2005 by A. Jacobs and B. Zores
View
13 packages/yaboot/config/ofboot.b
@@ -0,0 +1,13 @@
+<CHRP-BOOT>
+<COMPATIBLE>
+MacRISC MacRISC3 MacRISC4
+</COMPATIBLE>
+<DESCRIPTION>
+GeeXboX PPC bootloader
+</DESCRIPTION>
+<BOOT-SCRIPT>
+" screen" output
+load-base release-load-area
+boot cd:,\GEEXBOX\boot\yaboot
+</BOOT-SCRIPT>
+</CHRP-BOOT>
View
16 packages/yaboot/config/yaboot.conf
@@ -0,0 +1,16 @@
+device=cd:
+default=geexbox
+timeout=20
+message=/GEEXBOX/boot/boot.msg
+
+image=/GEEXBOX/boot/vmlinux
+ label=geexbox
+ append="root=/dev/ram0 rw init=linuxrc splash=silent boot=cdrom"
+ read-only
+ initrd=/GEEXBOX/boot/initrd.gz
+
+image=/GEEXBOX/boot/vmlinux
+ label=debug
+ append="root=/dev/ram0 rw init=linuxrc splash=0 boot=cdrom debugging"
+ read-only
+ initrd=/GEEXBOX/boot/initrd.gz
View
18 packages/yaboot/install
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+. config/options
+
+mkdir -p $INSTALL/boot/netboot
+
+cp $BUILD/$1*/second/yaboot $INSTALL/boot
+cp $PACKAGES/$1/config/yaboot.conf $INSTALL/boot
+cp $PACKAGES/$1/config/ofboot.b $INSTALL/boot
+sed s%release-nr%$GEEXBOX_VERSION% $PACKAGES/$1/config/boot.msg > $INSTALL/boot/boot.msg
+if [ -n "$BOOT_DEFAULT" ]; then
+ sed -i "s/default=.*/default=$BOOT_DEFAULT/" $INSTALL/boot/yaboot.conf
+fi
+
+sed 's/^device=.*/device=enet:/' $INSTALL/boot/yaboot.conf > $INSTALL/boot/netboot/yaboot.conf
+sed -i 's%/GEEXBOX/boot/%GEEXBOX.ppc/boot/%g' $INSTALL/boot/netboot/yaboot.conf
+sed -i 's/boot=[^ \"]*/boot=nfs/' $INSTALL/boot/netboot/yaboot.conf
+sed -i "s%\(.*append.*\)\"$%\1 nfsroot=$DEFAULT_NFS_SERVER:/tftpboot/GEEXBOX.ppc\"%" $INSTALL/boot/netboot/yaboot.conf
View
11 packages/yaboot/patches/10_gcc-fix.diff
@@ -0,0 +1,11 @@
+--- yaboot-1.3.13.orig/lib/strstr.c 2001-09-20 15:15:31.000000000 +0200
++++ yaboot-1.3.13/lib/strstr.c 2005-02-07 22:56:07.942209152 +0100
+@@ -76,7 +76,7 @@
+ a = *++haystack;
+ if (a == '\0')
+ goto ret0;
+-shloop: }
++shloop:; }
+ while (a != b);
+
+ jin: a = *++haystack;
View
15 packages/yaboot/patches/20_conf-path.diff
@@ -0,0 +1,15 @@
+diff -Naur yaboot-1.3.13.orig/second/yaboot.c yaboot-1.3.13/second/yaboot.c
+--- yaboot-1.3.13.orig/second/yaboot.c 2005-03-24 01:24:15.000000000 +0100
++++ yaboot-1.3.13/second/yaboot.c 2005-03-24 01:34:05.000000000 +0100
+@@ -344,8 +344,10 @@
+ strcpy(conf_path, "/etc/");
+ else if (path && *path)
+ strcpy(conf_path, path);
++ else if (strstr(device, "ethernet") || strstr(device, "enet"))
++ strcpy(conf_path, "GEEXBOX.ppc/boot/netboot/");
+ else
+- conf_path[0] = 0;
++ strcpy(conf_path, "/GEEXBOX/boot/");
+ strcat(conf_path, CONFIG_FILE_NAME);
+
+ /* Open it */
View
5 packages/yaboot/unpack
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. config/options
+
+cp $PACKAGES/$1/config/Config $BUILD/$1*/
View
1 packages/yaboot/url
@@ -0,0 +1 @@
+http://penguinppc.org/bootloaders/yaboot/yaboot-1.3.13.tar.gz
View
1 scripts/gentree
@@ -40,4 +40,5 @@ if [ "$2" = boot -o "$2" = full ]; then
$SCRIPTS/install linux image $1
$SCRIPTS/install initrd $1
$SCRIPTS/install syslinux $1
+ $SCRIPTS/install yaboot $1
fi
View
8 scripts/iso
@@ -24,6 +24,14 @@ case $TARGET_ARCH in
-b GEEXBOX/boot/isolinux.bin \
-c GEEXBOX/boot/boot.catalog"
;;
+ ppc)
+ MKISOFS_ARCH="-hfs \
+ -part \
+ -no-desktop \
+ -map $CONFIG/maps \
+ -hfs-volid GEEXBOX \
+ -hfs-bless $BUILD/ziso/GEEXBOX/boot"
+ ;;
esac
mkisofs -quiet -no-pad -V GEEXBOX -volset GEEXBOX -publisher "The GeeXboX team (www.geexbox.org)" -p "The GeeXboX team (www.geexbox.org)" -A "MKISOFS ISO 9660/HFS FILESYSTEM BUILDER" -z -D -r -J -sort $CONFIG/sort $MKISOFS_ARCH $BUILD/ziso > $ISO

0 comments on commit d8cd534

Please sign in to comment.