diff options
74 files changed, 3830 insertions, 11 deletions
diff --git a/packages/dosfstools/dosfstools/.mtn2git_empty b/packages/beecrypt/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/dosfstools/dosfstools/.mtn2git_empty +++ b/packages/beecrypt/.mtn2git_empty diff --git a/packages/beecrypt/beecrypt-native_3.1.0.bb b/packages/beecrypt/beecrypt-native_3.1.0.bb new file mode 100644 index 0000000000..81bbe2bcd9 --- /dev/null +++ b/packages/beecrypt/beecrypt-native_3.1.0.bb @@ -0,0 +1,9 @@ +# beecrypt-native OE build file +# Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +include beecrypt_${PV}.bb +S = "${WORKDIR}/beecrypt-${PV}" + +inherit native +EXTRA_OECONF="--enable-shared --enable-static" diff --git a/packages/beecrypt/beecrypt_3.1.0.bb b/packages/beecrypt/beecrypt_3.1.0.bb new file mode 100644 index 0000000000..1b22b5a2d2 --- /dev/null +++ b/packages/beecrypt/beecrypt_3.1.0.bb @@ -0,0 +1,13 @@ +# Beecrypt OE build file +# Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="Beecrypt is a general-purpose cryptography library." +HOMEPAGE="http://sourceforge.net/projects/beecrypt" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz" + +inherit autotools +acpaths="" + +EXTRA_OECONF="--with-arch=${TARGET_ARCH} --enable-shared --enable-static" diff --git a/packages/bonnie/.mtn2git_empty b/packages/bonnie/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/bonnie/.mtn2git_empty diff --git a/packages/bonnie/bonnie++_1.03a.bb b/packages/bonnie/bonnie++_1.03a.bb new file mode 100644 index 0000000000..92c0342bd6 --- /dev/null +++ b/packages/bonnie/bonnie++_1.03a.bb @@ -0,0 +1,26 @@ +# bonnie OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="Tests large file IO and creation/deletion of small files." +LICENSE="GPL" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + + +SRC_URI="${SOURCEFORGE_MIRROR}/bonnie/${PN}-${PV}.tgz" + +inherit autotools + +EXES="bonnie++ zcav" +SCRIPTS="bon_csv2html bon_csv2txt" + +FILES_${PN} = "/bin /sbin" +S="${WORKDIR}/${PN}-${PV}" + +do_install () { + install -d ${D}/bin + install -d ${D}/sbin + + install -m 0755 ${EXES} ${D}/sbin + install -m 0755 ${SCRIPTS} ${D}/bin +} diff --git a/packages/cdrtools/.mtn2git_empty b/packages/cdrtools/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/cdrtools/.mtn2git_empty diff --git a/packages/cdrtools/cdrtools-native_2.01.bb b/packages/cdrtools/cdrtools-native_2.01.bb new file mode 100644 index 0000000000..9deb45c971 --- /dev/null +++ b/packages/cdrtools/cdrtools-native_2.01.bb @@ -0,0 +1,24 @@ +# cdrtools-native OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +LICENSE="GPL" +DESCRIPTION="A set of tools for CD recording, including cdrecord" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" + +SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2" + +S="${WORKDIR}/cdrtools-${PV}" + +inherit native + +STAGE_TEMP=${WORKDIR}/stage_temp + +do_stage() { + install -d ${STAGE_TEMP} + make install INS_BASE=${STAGE_TEMP} + + install -d ${STAGING_BINDIR} + install ${STAGE_TEMP}/bin/* ${STAGING_BINDIR} +} diff --git a/packages/check/check_0.9.2.bb b/packages/check/check_0.9.2.bb index bb2cebc488..ae704bb8d5 100644 --- a/packages/check/check_0.9.2.bb +++ b/packages/check/check_0.9.2.bb @@ -4,9 +4,18 @@ MAINTAINER = "Chris Larson <kergoth@handhelds.org>" PRIORITY = "optional" SECTION = "devel" +PR="r1" + SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz" S = "${WORKDIR}/check-${PV}" inherit autotools EXTRA_OECONF += "--enable-plain-docdir" + +do_stage() { + + install -m 0644 ${S}/src/check.h ${STAGING_INCDIR}/check.h + oe_libinstall -a -C src libcheck ${STAGING_LIBDIR} +} + diff --git a/packages/cpuburn/.mtn2git_empty b/packages/cpuburn/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/cpuburn/.mtn2git_empty diff --git a/packages/cpuburn/cpuburn/.mtn2git_empty b/packages/cpuburn/cpuburn/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/cpuburn/cpuburn/.mtn2git_empty diff --git a/packages/cpuburn/cpuburn/gcc_CC.patch b/packages/cpuburn/cpuburn/gcc_CC.patch new file mode 100644 index 0000000000..a572754eb0 --- /dev/null +++ b/packages/cpuburn/cpuburn/gcc_CC.patch @@ -0,0 +1,19 @@ +--- cpuburn-1.4/Makefile.orig 2006-03-09 16:11:53.368477664 -0700 ++++ cpuburn-1.4/Makefile 2006-03-09 16:13:27.053235416 -0700 +@@ -1,3 +1,15 @@ ++prefix=/usr/local ++ + all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX + .S: +- gcc -s -nostdlib -o $@ $< ++ ${CC} ${CFLAGS} -s -nostdlib -o $@ $< ++ ++install: ++ install -d ${DESTDIR}${prefix}/bin ++ install -m 0755 burnP5 ${DESTDIR}${prefix}/bin ++ install -m 0755 burnP6 ${DESTDIR}${prefix}/bin ++ install -m 0755 burnK6 ${DESTDIR}${prefix}/bin ++ install -m 0755 burnK7 ${DESTDIR}${prefix}/bin ++ install -m 0755 burnBX ${DESTDIR}${prefix}/bin ++ install -m 0755 burnMMX ${DESTDIR}${prefix}/bin ++ diff --git a/packages/cpuburn/cpuburn_1.4.bb b/packages/cpuburn/cpuburn_1.4.bb new file mode 100644 index 0000000000..cd43004aa7 --- /dev/null +++ b/packages/cpuburn/cpuburn_1.4.bb @@ -0,0 +1,26 @@ +# cpuburn OE build file +# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="CPU testing utilities in optimized assembler for maximum loading P6, K7, K6, P5 chips" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +HOMEPAGE="http://pages.sbcglobal.net/redelm/" +LICENSE="GNU" + +SRC_URI="http://pages.sbcglobal.net/redelm/${PN}_1_4_tar.gz \ + file://gcc_CC.patch;patch=1" + +python do_unpack () { + bb.build.exec_func('base_do_unpack', d) + bb.build.exec_func('cpuburn_do_unpack', d) +} + +cpuburn_do_unpack () { + tar xvf ${PN}_1_4_tar +} + +do_install () { + oe_runmake install DESTDIR=${D} +} + + diff --git a/packages/ctags/.mtn2git_empty b/packages/ctags/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/ctags/.mtn2git_empty diff --git a/packages/ctags/ctags-native_5.5.4.bb b/packages/ctags/ctags-native_5.5.4.bb new file mode 100644 index 0000000000..956182580f --- /dev/null +++ b/packages/ctags/ctags-native_5.5.4.bb @@ -0,0 +1,15 @@ +# ctags-native OE build file +# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="Ctags generates an index (or tag) file of language objects found in source files." +LICENSE="GPL" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +HOMEPAGE="http://ctags.sourceforge.net/" + +SRC_URI="${SOURCEFORGE_MIRROR}/ctags/ctags-${PV}.tar.gz" + +S="${WORKDIR}/ctags-${PV}" + +inherit native +inherit autotools diff --git a/packages/curl/curl-native_7.15.1.bb b/packages/curl/curl-native_7.15.1.bb new file mode 100644 index 0000000000..59af4ef32e --- /dev/null +++ b/packages/curl/curl-native_7.15.1.bb @@ -0,0 +1,13 @@ +include curl_${PV}.bb +inherit native + +do_stage () { + install -d ${STAGING_INCDIR}/curl + install -m 0644 ${S}/include/curl/*.h ${STAGING_INCDIR}/curl/ + oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR} +} + +do_install() { + : +} + diff --git a/packages/curl/curl_7.15.1.bb b/packages/curl/curl_7.15.1.bb new file mode 100644 index 0000000000..609320c69e --- /dev/null +++ b/packages/curl/curl_7.15.1.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Command line tool and library for client-side URL transfers." +LICENSE = "MIT" +DEPENDS = "zlib" +SECTION = "console/network" +PR = "r2" + +SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2" +S = "${WORKDIR}/curl-${PV}" + +inherit autotools pkgconfig binconfig + +EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \ + --without-ssl \ + --with-random=/dev/urandom \ + --without-idn" + +do_stage () { + install -d ${STAGING_INCDIR}/curl + install -m 0644 ${S}/include/curl/*.h ${STAGING_INCDIR}/curl/ + oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR} +} + +PACKAGES = "curl curl-doc libcurl libcurl-dev libcurl-doc" +FILES_${PN} = "${bindir}/curl" +FILES_${PN}-doc = "${mandir}/man1/curl.1" +FILES_lib${PN} = "${libdir}/lib*.so.*" +FILES_lib${PN}-dev = "${includedir} \ + ${libdir}/lib*.so \ + ${libdir}/lib*.a \ + ${libdir}/lib*.la \ + ${libdir}/pkgconfig \ + ${datadir}/aclocal \ + ${bindir}/*-config" +FILES_lib${PN}-doc = "${mandir}/man3 \ + ${mandir}/man1/curl-config.1" + diff --git a/packages/dosfstools/dosfstools-native_2.10.bb b/packages/dosfstools/dosfstools-native_2.10.bb new file mode 100644 index 0000000000..78dde3e5e3 --- /dev/null +++ b/packages/dosfstools/dosfstools-native_2.10.bb @@ -0,0 +1,25 @@ +# dosfstools-native OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +include dosfstools_${PV}.bb +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dosfstools-${PV}" + +S="${WORKDIR}/dosfstools-${PV}" + +PR="r2" + +SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ + file://mkdosfs-bootcode.patch;patch=1 \ + file://mkdosfs-dir.patch;patch=1 \ + file://alignment_hack.patch;patch=1 \ + file://dosfstools-2.10-kernel-2.6.patch;patch=1 \ + file://msdos_fat12_undefined.patch;patch=1 \ + file://dosfstools-msdos_fs-types.patch;patch=1" + +inherit native + +do_stage() { + install -m 755 ${S}/mkdosfs/mkdosfs ${STAGING_BINDIR}/mkdosfs + install -m 755 ${S}/dosfsck/dosfsck ${STAGING_BINDIR}/dosfsck +} diff --git a/packages/dosfstools/dosfstools_2.10.bb b/packages/dosfstools/dosfstools_2.10.bb index f558bbf669..7de8d1da98 100644 --- a/packages/dosfstools/dosfstools_2.10.bb +++ b/packages/dosfstools/dosfstools_2.10.bb @@ -1,11 +1,20 @@ +# dosfstools OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + DESCRIPTION = "DOS FAT Filesystem Utilities" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + SECTION = "base" PRIORITY = "optional" LICENSE = "GPL" +PR = "r1" + SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ - file://alignment_hack.patch;patch=1 \ - file://dosfstools-2.10-kernel-2.6.patch;patch=1" + file://alignment_hack.patch;patch=1 \ + file://dosfstools-2.10-kernel-2.6.patch;patch=1 \ + file://msdos_fat12_undefined.patch;patch=1" do_install () { oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ diff --git a/packages/dosfstools/files/.mtn2git_empty b/packages/dosfstools/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/dosfstools/files/.mtn2git_empty diff --git a/packages/dosfstools/dosfstools/alignment_hack.patch b/packages/dosfstools/files/alignment_hack.patch index e15060a6fe..e15060a6fe 100644 --- a/packages/dosfstools/dosfstools/alignment_hack.patch +++ b/packages/dosfstools/files/alignment_hack.patch diff --git a/packages/dosfstools/dosfstools/dosfstools-2.10-kernel-2.6.patch b/packages/dosfstools/files/dosfstools-2.10-kernel-2.6.patch index 3ecafc324b..3ecafc324b 100644 --- a/packages/dosfstools/dosfstools/dosfstools-2.10-kernel-2.6.patch +++ b/packages/dosfstools/files/dosfstools-2.10-kernel-2.6.patch diff --git a/packages/dosfstools/files/dosfstools-msdos_fs-types.patch b/packages/dosfstools/files/dosfstools-msdos_fs-types.patch new file mode 100644 index 0000000000..e70a3ead2a --- /dev/null +++ b/packages/dosfstools/files/dosfstools-msdos_fs-types.patch @@ -0,0 +1,30 @@ +--- dosfstools-2.10/dosfsck/dosfsck.h.org 2006-02-21 08:36:14.000000000 -0700 ++++ dosfstools-2.10/dosfsck/dosfsck.h 2006-02-21 08:40:12.000000000 -0700 +@@ -22,6 +22,14 @@ + #undef __KERNEL__ + #endif + ++#ifndef __s8 ++#include <asm/types.h> ++#endif ++ ++#ifndef __ASM_STUB_BYTEORDER_H__ ++#include <asm/byteorder.h> ++#endif ++ + #include <linux/msdos_fs.h> + + /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't +--- dosfstools-2.10/dosfsck/file.c.org 2006-02-21 08:37:36.000000000 -0700 ++++ dosfstools-2.10/dosfsck/file.c 2006-02-21 08:37:47.000000000 -0700 +@@ -23,6 +23,10 @@ + #undef __KERNEL__ + #endif + ++#ifndef __s8 ++#include <asm/types.h> ++#endif ++ + #include <linux/msdos_fs.h> + + #include "common.h" diff --git a/packages/dosfstools/files/mkdosfs-bootcode.patch b/packages/dosfstools/files/mkdosfs-bootcode.patch new file mode 100644 index 0000000000..52be86284b --- /dev/null +++ b/packages/dosfstools/files/mkdosfs-bootcode.patch @@ -0,0 +1,240 @@ +diff -urN dosfstools-2.10.orig/mkdosfs/ChangeLog dosfstools-2.10/mkdosfs/ChangeLog +--- dosfstools-2.10.orig/mkdosfs/ChangeLog 1997-06-18 03:09:38.000000000 -0700 ++++ dosfstools-2.10/mkdosfs/ChangeLog 2004-08-02 20:57:57.734939816 -0700 +@@ -1,3 +1,14 @@ ++19th June 2003 Sam Bingner (sam@bingner.com) ++ ++ Added option to read in bootcode from a file so that if you have ++ for example Windows 2000 boot code, you can have it write that ++ as the bootcode. This is a dump of the behinning of a partition ++ generally 512 bytes, but can be up to reserved sectors*512 bytes. ++ Also writes 0x80 as the BIOS drive number if we are formatting a ++ hard drive, and sets the number of hidden sectors to be the ++ number of sectors in one track. These were required so that DOS ++ could boot using the bootcode. ++ + 28th January 1995 H. Peter Anvin (hpa@yggdrasil.com) + + Better algorithm to select cluster sizes on large filesystems. +diff -urN dosfstools-2.10.orig/mkdosfs/mkdosfs.8 dosfstools-2.10/mkdosfs/mkdosfs.8 +--- dosfstools-2.10.orig/mkdosfs/mkdosfs.8 2003-05-15 11:28:28.000000000 -0700 ++++ dosfstools-2.10/mkdosfs/mkdosfs.8 2004-08-02 20:57:57.735939664 -0700 +@@ -40,6 +40,10 @@ + .I message-file + ] + [ ++.B \-B ++.I bootcode-file ++] ++[ + .B \-n + .I volume-name + ] +@@ -155,6 +159,18 @@ + carriage return-line feed combinations, and tabs have been expanded. + If the filename is a hyphen (-), the text is taken from standard input. + .TP ++.BI \-B " bootcode-file" ++Uses boot machine code from file "file". On any thing other than FAT32, ++this only writes the first 3 bytes, and 480 bytes from offset 3Eh. On ++FAT32, this writes the first 3 bytes, 420 bytes from offset 5Ah to both ++primary and backup boot sectors. Also writes all other reserved sectors ++excluding the sectors following boot sectors (usually sector 2 and 7). ++Does not require that the input file be as large as reserved_sectors*512. ++To make a FAT32 partition bootable, you will need at least the first ++13 sectors (6656 bytes). You can also specify a partition as the argument ++to clone the boot code from that partition. ++i.e mkdosfs -B /dev/sda1 /dev/sda1 ++.TP + .BI \-n " volume-name" + Sets the volume name (label) of the filesystem. The volume name can + be up to 11 characters long. The default is no label. +@@ -188,8 +204,9 @@ + simply will not support it ;) + .SH AUTHOR + Dave Hudson - <dave@humbug.demon.co.uk>; modified by Peter Anvin +-<hpa@yggdrasil.com>. Fixes and additions by Roman Hodek +-<Roman.Hodek@informatik.uni-erlangen.de> for Debian/GNU Linux. ++<hpa@yggdrasil.com> and Sam Bingner <sam@bingner.com>. Fixes and ++additions by Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> ++for Debian/GNU Linux. + .SH ACKNOWLEDGEMENTS + .B mkdosfs + is based on code from +diff -urN dosfstools-2.10.orig/mkdosfs/mkdosfs.c dosfstools-2.10/mkdosfs/mkdosfs.c +--- dosfstools-2.10.orig/mkdosfs/mkdosfs.c 2003-06-14 13:07:08.000000000 -0700 ++++ dosfstools-2.10/mkdosfs/mkdosfs.c 2004-08-02 20:57:57.736939512 -0700 +@@ -24,6 +24,12 @@ + - New options -A, -S, -C + - Support for filesystems > 2GB + - FAT32 support ++ ++ Fixes/additions June 2003 by Sam Bingner ++ <sam@bingner.com>: ++ - Add -B option to read in bootcode from a file ++ - Write BIOS drive number so that FS can properly boot ++ - Set number of hidden sectors before boot code to be one track + + Copying: Copyright 1993, 1994 David Hudson (dave@humbug.demon.co.uk) + +@@ -167,6 +173,8 @@ + #define FAT_BAD 0x0ffffff7 + + #define MSDOS_EXT_SIGN 0x29 /* extended boot sector signature */ ++#define HD_DRIVE_NUMBER 0x80 /* Boot off first hard drive */ ++#define FD_DRIVE_NUMBER 0x00 /* Boot off first floppy drive */ + #define MSDOS_FAT12_SIGN "FAT12 " /* FAT12 filesystem signature */ + #define MSDOS_FAT16_SIGN "FAT16 " /* FAT16 filesystem signature */ + #define MSDOS_FAT32_SIGN "FAT32 " /* FAT32 filesystem signature */ +@@ -188,6 +196,8 @@ + #define BOOTCODE_SIZE 448 + #define BOOTCODE_FAT32_SIZE 420 + ++#define MAX_RESERVED 0xFFFF ++ + /* __attribute__ ((packed)) is used on all structures to make gcc ignore any + * alignments */ + +@@ -215,7 +225,7 @@ + __u16 fat_length; /* sectors/FAT */ + __u16 secs_track; /* sectors per track */ + __u16 heads; /* number of heads */ +- __u32 hidden; /* hidden sectors (unused) */ ++ __u32 hidden; /* hidden sectors (one track) */ + __u32 total_sect; /* number of sectors (if sectors == 0) */ + union { + struct { +@@ -298,6 +308,8 @@ + + /* Global variables - the root of all evil :-) - see these and weep! */ + ++static char *template_boot_code; /* Variable to store a full template boot sector in */ ++static int use_template = 0; + static char *program_name = "mkdosfs"; /* Name of the program */ + static char *device_name = NULL; /* Name of the device on which to create the filesystem */ + static int atari_format = 0; /* Use Atari variation of MS-DOS FS format */ +@@ -842,6 +854,12 @@ + vi->volume_id[2] = (unsigned char) ((volume_id & 0x00ff0000) >> 16); + vi->volume_id[3] = (unsigned char) (volume_id >> 24); + } ++ if (bs.media == 0xf8) { ++ vi->drive_number = HD_DRIVE_NUMBER; /* Set bios drive number to 80h */ ++ } ++ else { ++ vi->drive_number = FD_DRIVE_NUMBER; /* Set bios drive number to 00h */ ++ } + + if (!atari_format) { + memcpy(vi->volume_label, volume_name, 11); +@@ -886,7 +904,7 @@ + printf( "Using %d reserved sectors\n", reserved_sectors ); + bs.fats = (char) nr_fats; + if (!atari_format || size_fat == 32) +- bs.hidden = CT_LE_L(0); ++ bs.hidden = bs.secs_track; + else + /* In Atari format, hidden is a 16 bit field */ + memset( &bs.hidden, 0, 2 ); +@@ -1358,6 +1376,32 @@ + * dir area on FAT12/16, and the first cluster on FAT32. */ + writebuf( (char *) root_dir, size_root_dir, "root directory" ); + ++ if (use_template == 1) { ++ /* dupe template into reserved sectors */ ++ seekto( 0, "Start of partition" ); ++ if (size_fat == 32) { ++ writebuf( template_boot_code, 3, "backup jmpBoot" ); ++ seekto( 0x5a, "sector 1 boot area" ); ++ writebuf( template_boot_code+0x5a, 420, "sector 1 boot area" ); ++ seekto( 512*2, "third sector" ); ++ if (backup_boot != 0) { ++ writebuf( template_boot_code+512*2, backup_boot*sector_size - 512*2, "data to backup boot" ); ++ seekto( backup_boot*sector_size, "backup boot sector" ); ++ writebuf( template_boot_code, 3, "backup jmpBoot" ); ++ seekto( backup_boot*sector_size+0x5a, "backup boot sector boot area" ); ++ writebuf( template_boot_code+0x5a, 420, "backup boot sector boot area" ); ++ seekto( (backup_boot+2)*sector_size, "sector following backup code" ); ++ writebuf( template_boot_code+(backup_boot+2)*sector_size, (reserved_sectors-backup_boot-2)*512, "remaining data" ); ++ } else { ++ writebuf( template_boot_code+512*2, (reserved_sectors-2)*512, "remaining data" ); ++ } ++ } else { ++ writebuf( template_boot_code, 3, "jmpBoot" ); ++ seekto( 0x3e, "sector 1 boot area" ); ++ writebuf( template_boot_code+0x3e, 448, "boot code" ); ++ } ++ } ++ + if (info_sector) free( info_sector ); + free (root_dir); /* Free up the root directory space from setup_tables */ + free (fat); /* Free up the fat table space reserved during setup_tables */ +@@ -1371,7 +1415,7 @@ + { + fatal_error("\ + Usage: mkdosfs [-A] [-c] [-C] [-v] [-I] [-l bad-block-file] [-b backup-boot-sector]\n\ +- [-m boot-msg-file] [-n volume-name] [-i volume-id]\n\ ++ [-m boot-msg-file] [-n volume-name] [-i volume-id] [-B bootcode]\n\ + [-s sectors-per-cluster] [-S logical-sector-size] [-f number-of-FATs]\n\ + [-F fat-size] [-r root-dir-entries] [-R reserved-sectors]\n\ + /dev/name [blocks]\n"); +@@ -1433,7 +1477,7 @@ + printf ("%s " VERSION " (" VERSION_DATE ")\n", + program_name); + +- while ((c = getopt (argc, argv, "AcCf:F:Ii:l:m:n:r:R:s:S:v")) != EOF) ++ while ((c = getopt (argc, argv, "AcCf:F:Ii:l:m:n:r:R:s:S:v:B:b")) != EOF) + /* Scan the command line for options */ + switch (c) + { +@@ -1494,6 +1538,51 @@ + listfile = optarg; + break; + ++ case 'B': /* B : read in bootcode */ ++ if ( strcmp(optarg, "-") ) ++ { ++ msgfile = fopen(optarg, "r"); ++ if ( !msgfile ) ++ perror(optarg); ++ } ++ else ++ msgfile = stdin; ++ ++ if ( msgfile ) ++ { ++ if (!(template_boot_code = malloc( MAX_RESERVED ))) ++ die( "Out of memory" ); ++ /* The template boot sector including reserved must not be > 65535 */ ++ use_template = 1; ++ i = 0; ++ do ++ { ++ ch = getc(msgfile); ++ switch (ch) ++ { ++ case EOF: ++ break; ++ ++ default: ++ template_boot_code[i++] = ch; /* Store character */ ++ break; ++ } ++ } ++ while ( ch != EOF && i < MAX_RESERVED ); ++ ch = getc(msgfile); /* find out if we're at EOF */ ++ ++ /* Fill up with zeros */ ++ while( i < MAX_RESERVED ) ++ template_boot_code[i++] = '\0'; ++ ++ if ( ch != EOF ) ++ printf ("Warning: template too long; truncated after %d bytes\n", i); ++ ++ if ( msgfile != stdin ) ++ fclose(msgfile); ++ } ++ break; ++ + case 'm': /* m : Set boot message */ + if ( strcmp(optarg, "-") ) + { diff --git a/packages/dosfstools/files/mkdosfs-dir.patch b/packages/dosfstools/files/mkdosfs-dir.patch new file mode 100644 index 0000000000..8f753b052c --- /dev/null +++ b/packages/dosfstools/files/mkdosfs-dir.patch @@ -0,0 +1,634 @@ +diff -urN dosfstools-2.10.orig/mkdosfs/mkdosfs.c dosfstools-2.10/mkdosfs/mkdosfs.c +--- dosfstools-2.10.orig/mkdosfs/mkdosfs.c 2004-08-02 20:48:45.000000000 -0700 ++++ dosfstools-2.10/mkdosfs/mkdosfs.c 2004-08-02 20:49:44.296953792 -0700 +@@ -18,6 +18,10 @@ + as a rule), and not the block. For example the boot block does not + occupy a full cluster. + ++ June 2004 - Jordan Crouse (info.linux@amd.com) ++ Added -d <directory> support to populate the image ++ Copyright (C) 2004, Advanced Micro Devices, All Rights Reserved ++ + Fixes/additions May 1998 by Roman Hodek + <Roman.Hodek@informatik.uni-erlangen.de>: + - Atari format support +@@ -71,6 +75,8 @@ + #include <unistd.h> + #include <time.h> + #include <errno.h> ++#include <libgen.h> ++#include <dirent.h> + + #if __BYTE_ORDER == __BIG_ENDIAN + +@@ -124,6 +130,8 @@ + } + #endif + ++#define ROUND_UP(value, divisor) (value + (divisor - (value % divisor))) / divisor ++ + /* Constant definitions */ + + #define TRUE 1 /* Boolean constants */ +@@ -163,7 +171,6 @@ + #define ATTR_VOLUME 8 /* volume label */ + #define ATTR_DIR 16 /* directory */ + #define ATTR_ARCH 32 /* archived */ +- + #define ATTR_NONE 0 /* no attribute bits */ + #define ATTR_UNUSED (ATTR_VOLUME | ATTR_ARCH | ATTR_SYS | ATTR_HIDDEN) + /* attribute bits that are copied "as is" */ +@@ -258,6 +265,19 @@ + __u32 reserved2[4]; + }; + ++/* This stores up to 13 chars of the name */ ++ ++struct msdos_dir_slot { ++ __u8 id; /* sequence number for slot */ ++ __u8 name0_4[10]; /* first 5 characters in name */ ++ __u8 attr; /* attribute byte */ ++ __u8 reserved; /* always 0 */ ++ __u8 alias_checksum; /* checksum for 8.3 alias */ ++ __u8 name5_10[12]; /* 6 more characters in name */ ++ __u16 start; /* starting cluster number, 0 in long slots */ ++ __u8 name11_12[4]; /* last 2 characters in name */ ++}; ++ + struct msdos_dir_entry + { + char name[8], ext[3]; /* name and extension */ +@@ -306,6 +326,15 @@ + + #define MESSAGE_OFFSET 29 /* Offset of message in above code */ + ++/* Special structure to keep track of directories as we add them for the -d option */ ++ ++struct dir_entry { ++ int root; /* Specifies if this is the root dir or not */ ++ int count; /* Number of items in the table */ ++ int entries; /* Number of entries in the table */ ++ struct msdos_dir_entry *table; /* Pointer to the entry table */ ++}; ++ + /* Global variables - the root of all evil :-) - see these and weep! */ + + static char *template_boot_code; /* Variable to store a full template boot sector in */ +@@ -339,6 +368,9 @@ + static int size_root_dir; /* Size of the root directory in bytes */ + static int sectors_per_cluster = 0; /* Number of sectors per disk cluster */ + static int root_dir_entries = 0; /* Number of root directory entries */ ++static int root_dir_num_entries = 0; ++static int last_cluster_written = 0; ++ + static char *blank_sector; /* Blank sector - all zeros */ + + +@@ -411,7 +443,6 @@ + } + } + +- + /* Mark a specified sector as having a particular value in it's FAT entry */ + + static void +@@ -1262,6 +1293,9 @@ + die ("unable to allocate space for root directory in memory"); + } + ++ ++ last_cluster_written = 2; ++ + memset(root_dir, 0, size_root_dir); + if ( memcmp(volume_name, " ", 11) ) + { +@@ -1310,11 +1344,11 @@ + } + + if (!(blank_sector = malloc( sector_size ))) +- die( "Out of memory" ); ++ die( "Out of memory" ); ++ + memset(blank_sector, 0, sector_size); + } +- +- ++ + /* Write the new filesystem's data tables to wherever they're going to end up! */ + + #define error(str) \ +@@ -1336,7 +1370,7 @@ + do { \ + int __size = (size); \ + if (write (dev, buf, __size) != __size) \ +- error ("failed whilst writing " errstr); \ ++ error ("failed whilst writing " errstr); \ + } while(0) + + +@@ -1407,6 +1441,452 @@ + free (fat); /* Free up the fat table space reserved during setup_tables */ + } + ++/* Add a file to the specified directory entry, and also write it into the image */ ++ ++static void copy_filename(char *filename, char *base, char *ext) { ++ ++ char *ch = filename; ++ int i, len; ++ ++ memset(base, 0x20, 8); ++ memset(ext, 0x20, 3); ++ ++ for(len = 0 ; *ch && *ch != '.'; ch++) { ++ base[len++] = toupper(*ch); ++ if (len == 8) break; ++ } ++ ++ for ( ; *ch && *ch != '.'; ch++); ++ if (*ch) ch++; ++ ++ for(len = 0 ; *ch; ch++) { ++ ext[len++] = toupper(*ch); ++ if (len == 3) break; ++ } ++} ++ ++/* Check for an .attrib.<filename> file, and read the attributes therein */ ++ ++/* We are going to be pretty pedantic about this. The file needs 3 ++ bytes at the beginning, the attributes are listed in this order: ++ ++ (H)idden|(S)ystem|(A)rchived ++ ++ A capital HSA means to enable it, anything else will disable it ++ (I recommend a '-') The unix user attributes will still be used ++ for write access. ++ ++ For example, to enable system file access for ldlinux.sys, write ++ the following to .attrib.ldlinux.sys: -S- ++*/ ++ ++unsigned char check_attrib_file(char *dir, char *filename) { ++ ++ char attrib[4] = { '-', '-', '-' }; ++ unsigned char *buffer = 0; ++ int ret = ATTR_NONE; ++ int fd = -1; ++ ++ buffer = (char *) calloc(1, strlen(dir) + strlen(filename) + 10); ++ if (!buffer) return ATTR_NONE; ++ ++ sprintf(buffer, "%s/.attrib.%s", dir, filename); ++ ++ if (access(buffer, R_OK)) ++ goto exit_attrib; ++ ++ if ((fd = open(buffer, O_RDONLY, 0)) < 0) ++ goto exit_attrib; ++ ++ if (read(fd, attrib, 3) < 0) ++ goto exit_attrib; ++ ++ if (attrib[0] == 'H') ret |= ATTR_HIDDEN; ++ if (attrib[1] == 'S') ret |= ATTR_SYS; ++ if (attrib[2] == 'A') ret |= ATTR_ARCH; ++ ++ printf("%s: Setting atrribute %x\n", filename, ret); ++ ++ exit_attrib: ++ if (fd >= 0) close(fd); ++ if (buffer) free(buffer); ++ ++ return ret; ++} ++ ++static void copy_name(char *buffer, int size, char **pointer) { ++ int i; ++ ++ for(i = 0; i < size; i += 2) { ++ if (*pointer) { ++ buffer[i] = **pointer; ++ buffer[i + 1] = 0x00; ++ *pointer = **pointer ? *pointer + 1 : 0; ++ } ++ else { ++ buffer[i] = 0xFF; ++ buffer[i + 1] = 0xFF; ++ } ++ } ++} ++ ++static int add_file(char *filename, struct dir_entry *dir, unsigned char attr) ++{ ++ struct stat stat; ++ struct msdos_dir_entry *entry; ++ int infile = 0; ++ int sectors, clusters; ++ struct tm *ctime; ++ int c, s; ++ int ptr; ++ char *buffer, *base; ++ int start; ++ int usedsec, totalsec; ++ ++ char name83[8], ext83[3]; ++ ++ struct msdos_dir_slot *slot; ++ int i; ++ char *p; ++ ++ /* The root directory is static, everything else grows as needed */ ++ ++ if (dir->root) { ++ if (dir->count == dir->entries) { ++ printf("Error - too many directory entries\n"); ++ } ++ } ++ else { ++ if (dir->count == dir->entries) { ++ if (!dir->table) ++ dir->table = ++ (struct msdos_dir_entry *) malloc(sizeof(struct msdos_dir_entry)); ++ else { ++ dir->table = ++ (struct msdos_dir_entry *) realloc(dir->table, (dir->entries + 1) * ++ sizeof(struct msdos_dir_entry)); ++ ++ memset(&dir->table[dir->entries], 0, sizeof(struct msdos_dir_entry)); ++ } ++ ++ dir->entries++; ++ } ++ } ++ ++ infile = open(filename, O_RDONLY, 0); ++ if (!infile) return; ++ ++ if (fstat(infile, &stat)) ++ goto exit_add; ++ ++ if (S_ISCHR(stat.st_mode) ||S_ISBLK(stat.st_mode) || ++ S_ISFIFO(stat.st_mode) || S_ISLNK(stat.st_mode)) { ++ printf("Error - cannot create a special file in a FATFS\n"); ++ goto exit_add; ++ } ++ ++ /* FIXME: This isn't very pretty */ ++ ++ usedsec = start_data_sector + (size_root_dir / sector_size) + ++ (last_cluster_written * bs.cluster_size); ++ ++ totalsec = blocks * BLOCK_SIZE / sector_size; ++ ++ /* Figure out how many sectors / clustors the file requires */ ++ ++ sectors = ROUND_UP(stat.st_size, sector_size); ++ clusters = ROUND_UP(sectors, (int) bs.cluster_size); ++ ++ if (usedsec + sectors > totalsec) { ++ printf("Error - %s is too big (%d vs %d)\n", filename, sectors, totalsec - usedsec); ++ close(infile); ++ return -1; ++ } ++ ++ printf("ADD %s\n", filename); ++ ++ /* Grab the basename of the file */ ++ base = basename(filename); ++ ++ /* Extract out the 8.3 name */ ++ copy_filename(base, name83, ext83); ++ ++ /* Make an extended name slot */ ++ ++ slot = (struct msdos_dir_slot *) &dir->table[dir->count++]; ++ slot->id = 'A'; ++ slot->attr = 0x0F; ++ slot->reserved = 0; ++ slot->start = 0; ++ ++ slot->alias_checksum = 0; ++ ++ for(i = 0; i < 8; i++) ++ slot->alias_checksum = (((slot->alias_checksum&1)<<7)|((slot->alias_checksum&0xfe)>>1)) + name83[i]; ++ ++ for(i = 0; i < 3; i++) ++ slot->alias_checksum = (((slot->alias_checksum&1)<<7)|((slot->alias_checksum&0xfe)>>1)) + ext83[i]; ++ ++ p = base; ++ ++ copy_name(slot->name0_4, 10, &p); ++ copy_name(slot->name5_10, 12, &p); ++ copy_name(slot->name11_12, 4, &p); ++ ++ ++ /* Get the entry from the root filesytem */ ++ entry = &dir->table[dir->count++]; ++ ++ strncpy(entry->name, name83, 8); ++ strncpy(entry->ext, ext83, 3); ++ ++ ++ /* If the user has it read only, then add read only to the incoming ++ attribute settings */ ++ ++ if (!(stat.st_mode & S_IWUSR)) attr |= ATTR_RO; ++ entry->attr = attr; ++ ++ /* Set the access time on the file */ ++ ctime = localtime(&create_time); ++ ++ entry->time = CT_LE_W((unsigned short)((ctime->tm_sec >> 1) + ++ (ctime->tm_min << 5) + (ctime->tm_hour << 11))); ++ ++ entry->date = CT_LE_W((unsigned short)(ctime->tm_mday + ++ ((ctime->tm_mon+1) << 5) + ++ ((ctime->tm_year-80) << 9))); ++ ++ entry->ctime_ms = 0; ++ entry->ctime = entry->time; ++ entry->cdate = entry->date; ++ entry->adate = entry->date; ++ entry->size = stat.st_size; ++ ++ start = last_cluster_written; ++ ++ entry->start = CT_LE_W(start); /* start sector */ ++ entry->starthi = CT_LE_W((start & 0xFFFF0000) >> 16); /* High start sector (for FAT32) */ ++ ++ /* We mark all of the clusters we use in the FAT */ ++ ++ for(c = 0; c < clusters; c++ ) { ++ int free; ++ int next = c == (clusters - 1) ? FAT_EOF : start + c + 1; ++ mark_FAT_cluster(start + c, next); ++ last_cluster_written++; ++ } ++ ++ /* This confused me too - cluster 2 starts after the ++ root directory data - search me as to why */ ++ ++ ptr = (start_data_sector * sector_size) + size_root_dir; ++ ptr += (start - 2) * bs.cluster_size * sector_size; ++ ++ buffer = (char *) malloc(sector_size); ++ ++ if (!buffer) { ++ printf("Error - couldn't allocate memory\n"); ++ goto exit_add; ++ } ++ ++ /* Write the file into the file block */ ++ ++ seekto(ptr, "datafile"); ++ ++ while(1) { ++ int size = read(infile, buffer, sector_size); ++ if (size <= 0) break; ++ ++ writebuf(buffer, size, "data"); ++ } ++ ++ exit_add: ++ if (infile) close(infile); ++} ++ ++/* Add a new directory to the specified directory entry, and in turn populate ++ it with its own files */ ++ ++/* FIXME: This should check to make sure there is enough size to add itself */ ++ ++static void add_directory(char *filename, struct dir_entry *dir) { ++ ++ struct dir_entry *newdir = 0; ++ struct msdos_dir_entry *entry; ++ struct tm *ctime; ++ DIR *rddir = opendir(filename); ++ struct dirent *dentry = 0; ++ int remain; ++ char *data; ++ ++ /* If the directory doesn't exist */ ++ if (!rddir) return; ++ ++ if (dir->root) { ++ if (dir->count == dir->entries) { ++ printf("Error - too many directory entries\n"); ++ goto exit_add_dir; ++ } ++ } ++ else { ++ if (dir->count == dir->entries) { ++ if (!dir->table) ++ dir->table = (struct msdos_dir_entry *) malloc(sizeof(struct msdos_dir_entry)); ++ else { ++ dir->table = (struct msdos_dir_entry *) realloc(dir->table, (dir->entries + 1) * ++ sizeof(struct msdos_dir_entry)); ++ ++ /* Zero it out to avoid issues */ ++ memset(&dir->table[dir->entries], 0, sizeof(struct msdos_dir_entry)); ++ } ++ dir->entries++; ++ } ++ } ++ ++ /* Now, create a new directory entry for the new directory */ ++ newdir = (struct dir_entry *) calloc(1, sizeof(struct dir_entry)); ++ if (!newdir) goto exit_add_dir; ++ ++ entry = &dir->table[dir->count++]; ++ ++ strncpy(entry->name, basename(filename), sizeof(entry->name)); ++ ++ entry->attr = ATTR_DIR; ++ ctime = localtime(&create_time); ++ ++ entry->time = CT_LE_W((unsigned short)((ctime->tm_sec >> 1) + ++ (ctime->tm_min << 5) + (ctime->tm_hour << 11))); ++ ++ entry->date = CT_LE_W((unsigned short)(ctime->tm_mday + ++ ((ctime->tm_mon+1) << 5) + ++ ((ctime->tm_year-80) << 9))); ++ ++ entry->ctime_ms = 0; ++ entry->ctime = entry->time; ++ entry->cdate = entry->date; ++ entry->adate = entry->date; ++ ++ /* Now, read the directory */ ++ ++ while((dentry = readdir(rddir))) { ++ struct stat st; ++ char *buffer; ++ ++ if (!strcmp(dentry->d_name, ".") || !strcmp(dentry->d_name, "..")) ++ continue; ++ ++ /* DOS wouldn't like a typical unix . (dot) file, so we skip those too */ ++ if (dentry->d_name[0] == '.') continue; ++ ++ buffer = malloc(strlen(filename) + strlen(dentry->d_name) + 3); ++ if (!buffer) continue; ++ ++ sprintf(buffer, "%s/%s", filename, dentry->d_name); ++ if (!stat(buffer, &st)) { ++ if (S_ISDIR(st.st_mode)) ++ add_directory(buffer, newdir); ++ else if (S_ISREG(st.st_mode)) { ++ unsigned char attrib = check_attrib_file(filename, dentry->d_name); ++ add_file(buffer, newdir, attrib); ++ } ++ } ++ ++ free(buffer); ++ } ++ ++ /* Now that the entire directory has been written, go ahead and write the directory ++ entry as well */ ++ ++ entry->start = CT_LE_W(last_cluster_written); ++ entry->starthi = CT_LE_W((last_cluster_written & 0xFFFF0000) >> 16); ++ entry->size = newdir->count * sizeof(struct msdos_dir_entry); ++ ++ remain = entry->size; ++ data = (char *) newdir->table; ++ ++ while(remain) { ++ int size = ++ remain > bs.cluster_size * sector_size ? bs.cluster_size * sector_size : remain; ++ ++ int pos = (start_data_sector * sector_size) + size_root_dir; ++ pos += (last_cluster_written - 2) * bs.cluster_size * sector_size; ++ ++ seekto(pos, "add_dir"); ++ writebuf(data, size, "add_dir"); ++ ++ remain -= size; ++ data += size; ++ ++ mark_FAT_cluster(last_cluster_written, remain ? last_cluster_written + 1 : FAT_EOF); ++ last_cluster_written++; ++ } ++ ++ exit_add_dir: ++ if (rddir) closedir(rddir); ++ if (newdir->table) free(newdir->table); ++ if (newdir) free(newdir); ++} ++ ++/* Given a directory, add all the files and directories to the root directory of the ++ image. ++*/ ++ ++static void add_root_directory(char *dirname) ++{ ++ DIR *dir = opendir(dirname); ++ struct dirent *entry = 0; ++ struct dir_entry *newdir = 0; ++ ++ if (!dir) { ++ printf("Error - directory %s does not exist\n", dirname); ++ return; ++ } ++ ++ /* Create the root directory structure - this is a bit different then ++ above, because the table already exists, we just refer to it. */ ++ ++ newdir = (struct dir_entry *) calloc(1,sizeof(struct dir_entry)); ++ ++ if (!newdir) { ++ closedir(dir); ++ return; ++ } ++ ++ newdir->entries = root_dir_entries; ++ newdir->root = 1; ++ newdir->count = 0; ++ newdir->table = root_dir; ++ ++ while((entry = readdir(dir))) { ++ struct stat st; ++ char *buffer; ++ ++ if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")) ++ continue; ++ ++ /* DOS wouldn't like a typical unix . (dot) file, so we skip those too */ ++ if (entry->d_name[0] == '.') continue; ++ ++ buffer = malloc(strlen(dirname) + strlen(entry->d_name) + 3); ++ if (!buffer) continue; ++ ++ sprintf(buffer, "%s/%s", dirname, entry->d_name); ++ if (!stat(buffer, &st)) { ++ if (S_ISDIR(st.st_mode)) ++ add_directory(buffer, newdir); ++ else if (S_ISREG(st.st_mode)) { ++ unsigned char attrib = check_attrib_file(dirname, entry->d_name); ++ add_file(buffer, newdir, attrib); ++ } ++ } ++ ++ free(buffer); ++ } ++ ++ closedir(dir); ++ if (newdir) free(newdir); ++} + + /* Report the command usage and return a failure error code */ + +@@ -1418,9 +1898,9 @@ + [-m boot-msg-file] [-n volume-name] [-i volume-id] [-B bootcode]\n\ + [-s sectors-per-cluster] [-S logical-sector-size] [-f number-of-FATs]\n\ + [-F fat-size] [-r root-dir-entries] [-R reserved-sectors]\n\ +- /dev/name [blocks]\n"); ++ [-d directory] /dev/name [blocks]\n"); + } +- ++ + /* + * ++roman: On m68k, check if this is an Atari; if yes, turn on Atari variant + * of MS-DOS filesystem by default. +@@ -1458,6 +1938,8 @@ + int c; + char *tmp; + char *listfile = NULL; ++ char *dirname = NULL; ++ + FILE *msgfile; + struct stat statbuf; + int i = 0, pos, ch; +@@ -1477,7 +1959,7 @@ + printf ("%s " VERSION " (" VERSION_DATE ")\n", + program_name); + +- while ((c = getopt (argc, argv, "AcCf:F:Ii:l:m:n:r:R:s:S:v:B:b")) != EOF) ++ while ((c = getopt (argc, argv, "AcCd:f:F:Ii:l:m:n:r:R:s:S:v:B:b")) != EOF) + /* Scan the command line for options */ + switch (c) + { +@@ -1502,6 +1984,10 @@ + create = TRUE; + break; + ++ case 'd': ++ dirname = optarg; ++ break; ++ + case 'f': /* f : Choose number of FATs */ + nr_fats = (int) strtol (optarg, &tmp, 0); + if (*tmp || nr_fats < 1 || nr_fats > 4) +@@ -1796,8 +2282,10 @@ + else if (listfile) + get_list_blocks (listfile); + +- write_tables (); /* Write the file system tables away! */ + ++ if (dirname) add_root_directory(dirname); ++ ++ write_tables (); /* Write the file system tables away! */ + exit (0); /* Terminate with no errors! */ + } + diff --git a/packages/dosfstools/files/msdos_fat12_undefined.patch b/packages/dosfstools/files/msdos_fat12_undefined.patch new file mode 100644 index 0000000000..4987aa3019 --- /dev/null +++ b/packages/dosfstools/files/msdos_fat12_undefined.patch @@ -0,0 +1,12 @@ +--- dosfstools-2.10/dosfsck/boot.c.orig 2004-10-15 08:51:42.394725176 -0600 ++++ dosfstools-2.10/dosfsck/boot.c 2004-10-15 08:49:16.776862456 -0600 +@@ -14,6 +14,9 @@ + #include "io.h" + #include "boot.h" + ++#ifndef MSDOS_FAT12 ++#define MSDOS_FAT12 4084 ++#endif + + #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) + /* don't divide by zero */ diff --git a/packages/fontconfig/fontconfig-native_2.2.95.bb b/packages/fontconfig/fontconfig-native_2.2.95.bb index bc988e0ee2..b3d267b798 100644 --- a/packages/fontconfig/fontconfig-native_2.2.95.bb +++ b/packages/fontconfig/fontconfig-native_2.2.95.bb @@ -6,6 +6,7 @@ DEPENDS = "freetype-native expat-native zlib-native" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/fontconfig-${PV}" EXTRA_OEMAKE = "" +EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config-native' % bb.data.getVar('STAGING_BINDIR', d, 1)][os.path.isfile('%s/freetype-config-native' % bb.data.getVar('STAGING_BINDIR', d, 1))]}" do_stage () { oe_runmake install diff --git a/packages/fontconfig/fontconfig_2.2.95.bb b/packages/fontconfig/fontconfig_2.2.95.bb index 841922206c..7ff731ebe8 100644 --- a/packages/fontconfig/fontconfig_2.2.95.bb +++ b/packages/fontconfig/fontconfig_2.2.95.bb @@ -8,7 +8,7 @@ SRC_URI = "http://freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \ file://fc-lang.patch;patch=1" PR = "r6" -PACKAGES =+ "fontconfig-utils" +PACKAGES =+ "fontconfig-utils " FILES_fontconfig-utils = "${bindir}/*" # Work around past breakage in debian.bbclass @@ -26,6 +26,18 @@ export HASDOCBOOK="no" EXTRA_OECONF = " --disable-docs " EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname" +# The tarball has some of the patched files as read only, which +# patch doesn't like at all + +fontconfig_do_unpack() { + chmod -R u+rw ${S} +} + +python do_unpack () { + bb.build.exec_func('base_do_unpack', d) + bb.build.exec_func('fontconfig_do_unpack', d) +} + do_stage () { oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/fontconfig diff --git a/packages/geode-drivers/.mtn2git_empty b/packages/geode-drivers/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/geode-drivers/.mtn2git_empty diff --git a/packages/geode-drivers/geode-accessbus5536_2.6.11.bb b/packages/geode-drivers/geode-accessbus5536_2.6.11.bb new file mode 100644 index 0000000000..97071bc91f --- /dev/null +++ b/packages/geode-drivers/geode-accessbus5536_2.6.11.bb @@ -0,0 +1,13 @@ +# AccessBus OE build file for the AMD Geode 5535/5536 +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "Linux Access Bus driver for the AMD Geode 5535/5536" +HOMEPAGE = "http://www.amd.com/embedded" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + +PR = "r0" +AMD_DRIVER_VERSION = "01.00.0401" +AMD_DRIVER_LABEL = "AccessBus_Linux_5536_${AMD_DRIVER_VERSION}" + +include geode-modules.inc
\ No newline at end of file diff --git a/packages/geode-drivers/geode-aeslx_2.6.11.bb b/packages/geode-drivers/geode-aeslx_2.6.11.bb new file mode 100644 index 0000000000..03b04d5081 --- /dev/null +++ b/packages/geode-drivers/geode-aeslx_2.6.11.bb @@ -0,0 +1,20 @@ +# AES OE build file for the AMD Geode LX +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "Linux AES Driver for the AMD Geode LX processor" +HOMEPAGE = "http://www.amd.com/embedded" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + +PR = "r0" +AMD_DRIVER_VERSION = "02.01.0100" +AMD_DRIVER_LABEL = "AES_Linux_LX_${AMD_DRIVER_VERSION}" + +include geode-modules.inc + +FILES_${PN} += " /etc" + +do_install_append(){ + install -d ${D}/etc/modules.d + echo options geodeaes rsvd_mem=0x200000 > ${D}/etc/modules.d/aes +} diff --git a/packages/geode-drivers/geode-alsa5536_2.6.11.bb b/packages/geode-drivers/geode-alsa5536_2.6.11.bb new file mode 100644 index 0000000000..8e3b85bcd4 --- /dev/null +++ b/packages/geode-drivers/geode-alsa5536_2.6.11.bb @@ -0,0 +1,13 @@ +# ALSA OE build file for the AMD Geode 5535/5536 +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "Linux 2.6.11 ALSA Audio Driver for the AMD Geode 5535/5536 companion chip" +HOMEPAGE = "http://www.amd.com/embedded" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + +PR = "r0" +AMD_DRIVER_VERSION = "1.00.0500" +AMD_DRIVER_LABEL = "Audio_LinuxALSA_5536_${AMD_DRIVER_VERSION}" + +include geode-modules.inc
\ No newline at end of file diff --git a/packages/geode-drivers/geode-modules.inc b/packages/geode-drivers/geode-modules.inc new file mode 100644 index 0000000000..6d3d2363dd --- /dev/null +++ b/packages/geode-drivers/geode-modules.inc @@ -0,0 +1,24 @@ +# Linux kernel modules OE build files for the AMD Geode GX5535/LX5536 +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +LICENSE = "GPL" +HOMEPAGE = "http://www.amd.com/embedded" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + +inherit autotools module-base + +export ARCH="i386" + +DEPENDS += " virtual/kernel" + +S="${WORKDIR}/${AMD_DRIVER_LABEL}" + +PACKAGES="${PN}" +FILES_${PN} = "/lib" + +KERNEL_SOURCE = ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')} + +EXTRA_OECONF="--with-kernel-path=${KERNEL_SOURCE} --with-module-path=${D}/lib/modules" + +SRC_URI = "http://www.amd.com/files/connectivitysolutions/geode/geode_lx/${AMD_DRIVER_LABEL}.tar.gz" diff --git a/packages/geode-drivers/geode-v4l2lx_2.6.11.bb b/packages/geode-drivers/geode-v4l2lx_2.6.11.bb new file mode 100644 index 0000000000..cc80a2c8db --- /dev/null +++ b/packages/geode-drivers/geode-v4l2lx_2.6.11.bb @@ -0,0 +1,17 @@ +# V4L2 OE build file for the AMD Geode LX +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "Linux video capture/overlay driver for the AMD Geode LX" +HOMEPAGE = "http://www.amd.com/embedded" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + +PR = "r0" +AMD_DRIVER_VERSION = "03.02.0100" +AMD_DRIVER_LABEL = "Graphics_Video4Linux2_LX_${AMD_DRIVER_VERSION}" + +include geode-modules.inc + +S="${WORKDIR}/${AMD_DRIVER_LABEL}/lxv4l2" + +export EXTRA_CFLAGS += " -DLINUX_2_6=1"
\ No newline at end of file diff --git a/packages/glibc/files/5090_all_stubs-rule-fix.patch b/packages/glibc/files/5090_all_stubs-rule-fix.patch new file mode 100644 index 0000000000..c445a5296e --- /dev/null +++ b/packages/glibc/files/5090_all_stubs-rule-fix.patch @@ -0,0 +1,39 @@ +Index: Makerules +=================================================================== +RCS file: /cvs/glibc/libc/Makerules,v +retrieving revision 1.430 +diff -u -r1.430 Makerules +--- libc/Makerules 5 Mar 2005 19:24:32 -0000 1.430 ++++ libc/Makerules 22 Apr 2005 18:31:27 -0000 +@@ -1390,15 +1390,26 @@ + $(addprefix $(objpfx),$(extra-objs)) + $(objpfx)stubs: $(objs-for-stubs) + ifneq (,$(strip $(objs-for-stubs))) +- $(OBJDUMP) -h $^ | \ +- $(AWK) '/\.gnu\.glibc-stub\./ { \ +- sub(/\.gnu\.glibc-stub\./, "", $$2); \ +- stubs[$$2] = 1; } \ +- END { for (s in stubs) print "#define __stub_" s }' > $@T ++ $(stub-obj-list) ++ cat $@L | xargs \ ++ $(OBJDUMP) -h | \ ++ $(AWK) '/\.gnu\.glibc-stub\./ { \ ++ sub(/\.gnu\.glibc-stub\./, "", $$2); \ ++ stubs[$$2] = 1; } \ ++ END { for (s in stubs) print "#define __stub_" s }' \ ++ > $@T ++ -rm -f $@L + mv -f $@T $@ + else + > $@ + endif ++ ++define stub-obj-list ++-@rm -f $@L ++-@echo "Generating stub obj list..." ++$(foreach file,$^, ++@echo >> $@L '$(file)') ++endef + + # This information is not used for making distributions any more. + # But it's used by MakeTAGS for making TAGS files and the .pot files. diff --git a/packages/glibc/files/etc/ld.so.conf b/packages/glibc/files/etc/ld.so.conf index 3f9b41aabb..fb1aab516d 100644 --- a/packages/glibc/files/etc/ld.so.conf +++ b/packages/glibc/files/etc/ld.so.conf @@ -1,3 +1,3 @@ /usr/local/lib /opt/QtPalmtop/lib - +/usr/X11R6/lib diff --git a/packages/glibc/glibc_2.3.3+cvs20050420.bb b/packages/glibc/glibc_2.3.3+cvs20050420.bb index c110619bc4..23b4098962 100644 --- a/packages/glibc/glibc_2.3.3+cvs20050420.bb +++ b/packages/glibc/glibc_2.3.3+cvs20050420.bb @@ -33,7 +33,7 @@ SRC_URI = "cvs://anoncvs@sources.redhat.com/cvs/glibc;module=libc;date=${@bb.dat file://eabi-patch-1;patch=1 \ file://eabi-patch-2;patch=1 \ file://eabi-patch-3;patch=1 \ - \ + file://5090_all_stubs-rule-fix.patch;patch=1 \ file://etc/ld.so.conf \ file://generate-supported.mk" diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb index d1925902e4..c8f1d56841 100644 --- a/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb @@ -53,6 +53,7 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat file://fhs-linux-paths.patch;patch=1 \ file://dl-cache-libcmp.patch;patch=1 \ file://ldsocache-varrun.patch;patch=1 \ + file://5090_all_stubs-rule-fix.patch;patch=1 \ file://etc/ld.so.conf \ file://generate-supported.mk" diff --git a/packages/gpm/gpm-1.20.1/init b/packages/gpm/gpm-1.20.1/init new file mode 100644 index 0000000000..bb6e4a3f55 --- /dev/null +++ b/packages/gpm/gpm-1.20.1/init @@ -0,0 +1,30 @@ +#! /bin/sh i-e + +# Grab the common functions +. /etc/init.d/functions + +# FIXME: +# Add a configuration file for GPM here + +test -x /bin/gpm || exit 0 + +case "$1" in + start) + if [ ! -p /dev/gpmdata ]; then + mkfifo /dev/gpmdata + fi + + action "Starting GPM:" start-stop-daemon -S -x /bin/gpm -- -R -m /dev/mouse -t imps2 + ;; + stop) + action "Stopping GPM:" start-stop-daemon -K -x /bin/gpm + ;; + restart|force-reload) + $0 stop + $0 start + ;; + *) + usage /etc/init.d/gpm +esac + +exit 0 diff --git a/packages/gpm/gpm_1.20.1.bb b/packages/gpm/gpm_1.20.1.bb index 2ceea6fccd..5623ebbf16 100644 --- a/packages/gpm/gpm_1.20.1.bb +++ b/packages/gpm/gpm_1.20.1.bb @@ -5,9 +5,13 @@ DESCRIPTION = "GPM (General Purpose Mouse) is a mouse server \ for the console and xterm, with sample clients included \ (emacs, etc)." +PR="r1" +PARALLEL_MAKE="" + SRC_URI = "ftp://arcana.linux.it/pub/gpm/gpm-${PV}.tar.bz2 \ file://configure.patch;patch=1 \ - file://no-docs.patch;patch=1" + file://no-docs.patch;patch=1 \ + file://init" inherit autotools @@ -23,4 +27,20 @@ do_stage () { do_install () { oe_runmake 'ROOT=${D}' install + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/gpm +} + +pkg_postinst () { + if test -n "${D}"; then + D="-r $D" + fi + update-rc.d $D gpm defaults +} + +pkg_prerm () { + if test -n "${D}"; then + D="-r $D" + fi + update-rc.d $D gpm remove } diff --git a/packages/hibernate-script/.mtn2git_empty b/packages/hibernate-script/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/hibernate-script/.mtn2git_empty diff --git a/packages/hibernate-script/hibernate-script/.mtn2git_empty b/packages/hibernate-script/hibernate-script/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/hibernate-script/hibernate-script/.mtn2git_empty diff --git a/packages/hibernate-script/hibernate-script/hibernate.conf b/packages/hibernate-script/hibernate-script/hibernate.conf new file mode 100644 index 0000000000..c7dd2f3f6b --- /dev/null +++ b/packages/hibernate-script/hibernate-script/hibernate.conf @@ -0,0 +1,169 @@ +# Example hibernate.conf file. Adapt to your own tastes. +# Options are not case sensitive. +# +# Run "hibernate -h" for help on the configuration items. + +############################################################################## +### Choose your Suspend method. You currently have 3 choices: +### +### suspend2 Software Suspend 2 (requires kernel patches from +### http://www.suspend2.net/) +### +### sysfs_power_state Uses /sys/power/state to suspend (activates pmdisk +### on kernels < 2.6.8, or vanilla swsusp otherwise). +### +### acpi_sleep Uses /proc/acpi/sleep to activate swsusp, or other +### ACPI sleep state supported by your machine. +### +############################################################################## + +### suspend2 (for Software Suspend 2) +UseSuspend2 yes +Reboot no +EnableEscape yes +DefaultConsoleLevel 1 +Compressor lzf +Encryptor none +# ImageSizeLimit 200 +## useful for initrd usage: +# SuspendDevice swap:/dev/hda2 +## Powerdown method - 3 for suspend-to-RAM, 4 for ACPI S4 sleep, 5 for poweroff +# PowerdownMethod 5 +## Any other /proc/software_suspend setting can be set like so: +# ProcSetting expected_compression 50 +## Or traditionally like this: +# Suspend2AllSettings 0 0 2056 65535 5 +## Or even from the results of hibernate --save-settings with this: +# Suspend2AllSettingsFile /etc/hibernate/suspend-settings.conf +## For filewriter: +# FilewriterLocation /suspend_file 1000 +# VerifyFilewriterResume2 yes +# ProcSetting userui_program /sbin/suspend2ui_text + +### sysfs_power_state +## To use /sys/power/state to suspend your machine (which may offer +## suspend-to-RAM, suspend-to-disk, standby, etc) comment out all the options +## above for Software Suspend 2, below for acpi_sleep, and uncomment this line. +## You may replace mem with any one of the states from "cat /sys/power/state" +# UseSysfsPowerState mem +# PowerdownMethod shutdown + +### acpi_sleep +## To use ACPI to suspend your machine (via /proc/acpi/sleep), comment out +## all the options above for Software Suspend 2 and sysfs, and uncomment this +## line. The number refers to the ACPI sleep state - 3 is suspend-to-RAM and +## 4 is suspend-to-disk. +# UseACPISleep 4 + +############################################################################## +### Some global settings +############################################################################## + +Verbosity 0 +LogFile /var/log/hibernate.log +LogVerbosity 1 +# AlwaysForce yes +# AlwaysKill yes +# HibernateVT 15 +Distribution OE +# XDisplay :0 + +############################################################################## +### Scriptlets +### Scriptlets provide support for doing all sorts of things before and after +### suspending. The defaults settings here should work for most people, but +### you may wish to edit these to taste. Consult "hibernate -h" for help on +### the configuration settings. +############################################################################## + +### bootsplash +## If you use bootsplash, also enabling SwitchToTextMode is recommended if +## you use X, otherwise you may end up with a garbled X display. +# Bootsplash on +# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg + +### clock +SaveClock restore-only + +### devices +# IncompatibleDevices /dev/dsp /dev/video* + +### diskcache +# DisableWriteCacheOn /dev/hda + +### fbsplash (enable SwitchToTextMode if you use this) +# FBSplash on +# FBSplashTheme suspend2 + +### filesystems +# Unmount /nfsshare /windows /mnt/sambaserver +# UnmountFSTypes smbfs nfs +# UnmountGraceTime 1 +# Mount /windows + +### grub +# ChangeGrubMenu yes +# GrubMenuFile /boot/grub/menu.lst +# AlternateGrubMenuFile /boot/grub/menu-suspended.lst +# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak + +### hardware_tweaks +# IbmAcpi yes +# RadeonTool yes + +### lilo +# EnsureLILOResumes yes + +### lock (generally you only want one of the following options) +# LockConsoleAs root +# LockXScreenSaver yes +# LockKDE yes +# LockXLock yes +# LockXAutoLock yes + +### misclaunch +# OnSuspend 20 echo "Good night!" +# OnResume 20 echo "Good morning!" + +### modules +# UnloadModules snd_via82cxxx usb-ohci +# UnloadAllModules yes +UnloadBlacklistedModules yes +LoadModules auto +# LoadModulesFromFile /etc/modules + +### modules-gentoo +# GentooModulesAutoload yes + +### network +# DownInterfaces eth0 +# UpInterfaces auto + +### pcmcia +# EjectCards yes + +### programs +# IncompatiblePrograms xmms + +### services +# RestartServices postfix +# StopServices alsasound +# StartServices aumix + +### vbetool +# EnableVbetool yes +# RestoreVbeStateFrom /var/lib/vbetool/vbestate +# VbetoolPost yes +# RestoreVCSAData yes + +### xhacks +SwitchToTextMode yes +# UseDummyXServer yes + +### xstatus +## This can be set to gnome, kde or x: +# XStatus gnome +# XSuspendText Preparing to suspend... +# XResumeText Resuming from suspend... +## When using XStatus x, and you have xosd installed: +# XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* --colour=Green --shadow 1 --pos bottom --align center --offset 50 diff --git a/packages/hibernate-script/hibernate-script/ram.conf b/packages/hibernate-script/hibernate-script/ram.conf new file mode 100644 index 0000000000..d452bd2957 --- /dev/null +++ b/packages/hibernate-script/hibernate-script/ram.conf @@ -0,0 +1,120 @@ +# Example ram.conf file for suspending to RAM. Adapt to your own tastes. +# Options are not case sensitive. +# +# Run "hibernate -h" for help on the configuration items. + +### sysfs_power_state +UseSysfsPowerState mem + +############################################################################## +### Some global settings +############################################################################## + +Verbosity 0 +LogFile /var/log/hibernate.log +LogVerbosity 1 +# AlwaysForce yes +# AlwaysKill yes +# HibernateVT 15 +Distribution OE +# XDisplay :0 + +############################################################################## +### Scriptlets +### Scriptlets provide support for doing all sorts of things before and after +### suspending. The defaults settings here should work for most people, but +### you may wish to edit these to taste. Consult "hibernate -h" for help on +### the configuration settings. +############################################################################## + +### bootsplash +## If you use bootsplash, also enabling SwitchToTextMode is recommended if +## you use X, otherwise you may end up with a garbled X display. +# Bootsplash on +# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg + +### clock +SaveClock restore-only + +### devices +# IncompatibleDevices /dev/dsp /dev/video* + +### diskcache +# DisableWriteCacheOn /dev/hda + +### fbsplash (enable SwitchToTextMode if you use this) +# FBSplash on +# FBSplashTheme suspend2 + +### filesystems +# Unmount /nfsshare /windows /mnt/sambaserver +# UnmountFSTypes smbfs nfs +# UnmountGraceTime 1 +# Mount /windows + +### grub +# ChangeGrubMenu yes +# GrubMenuFile /boot/grub/menu.lst +# AlternateGrubMenuFile /boot/grub/menu-suspended.lst +# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak + +### hardware_tweaks +# IbmAcpi yes +# RadeonTool yes + +### lilo +# EnsureLILOResumes yes + +### lock (generally you only want one of the following options) +# LockConsoleAs root +# LockXScreenSaver yes +# LockKDE yes +# LockXLock yes +# LockXAutoLock yes + +### misclaunch +# OnSuspend 20 echo "Good night!" +# OnResume 20 echo "Good morning!" + +### modules +UnloadModules usb-storage uhci-hcd ohci-hcd ehci-hcd +# UnloadAllModules yes +# UnloadBlacklistedModules yes +LoadModules auto +# LoadModulesFromFile /etc/modules + +### modules-gentoo +# GentooModulesAutoload yes + +### network +# DownInterfaces eth0 +# UpInterfaces auto + +### pcmcia +# EjectCards yes + +### programs +# IncompatiblePrograms xmms + +### services +# RestartServices postfix +# StopServices alsasound +# StartServices aumix + +### vbetool +EnableVbetool yes +# RestoreVbeStateFrom /var/lib/vbetool/vbestate +VbetoolPost yes +# RestoreVCSAData yes + +### xhacks +SwitchToTextMode yes +# UseDummyXServer yes + +### xstatus +## This can be set to gnome, kde or x: +# XStatus gnome +# XSuspendText Preparing to suspend... +# XResumeText Resuming from suspend... +## When using XStatus x, and you have xosd installed: +# XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* --colour=Green --shadow 1 --pos bottom --align center --offset 50 diff --git a/packages/hibernate-script/hibernate-script/standby.conf b/packages/hibernate-script/hibernate-script/standby.conf new file mode 100644 index 0000000000..d39f4fef92 --- /dev/null +++ b/packages/hibernate-script/hibernate-script/standby.conf @@ -0,0 +1,120 @@ +# Example ram.conf file for suspending to RAM. Adapt to your own tastes. +# Options are not case sensitive. +# +# Run "hibernate -h" for help on the configuration items. + +### sysfs_power_state +UseSysfsPowerState standby + +############################################################################## +### Some global settings +############################################################################## + +Verbosity 0 +LogFile /var/log/hibernate.log +LogVerbosity 1 +# AlwaysForce yes +# AlwaysKill yes +# HibernateVT 15 +Distribution OE +# XDisplay :0 + +############################################################################## +### Scriptlets +### Scriptlets provide support for doing all sorts of things before and after +### suspending. The defaults settings here should work for most people, but +### you may wish to edit these to taste. Consult "hibernate -h" for help on +### the configuration settings. +############################################################################## + +### bootsplash +## If you use bootsplash, also enabling SwitchToTextMode is recommended if +## you use X, otherwise you may end up with a garbled X display. +# Bootsplash on +# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg + +### clock +SaveClock restore-only + +### devices +# IncompatibleDevices /dev/dsp /dev/video* + +### diskcache +# DisableWriteCacheOn /dev/hda + +### fbsplash (enable SwitchToTextMode if you use this) +# FBSplash on +# FBSplashTheme suspend2 + +### filesystems +# Unmount /nfsshare /windows /mnt/sambaserver +# UnmountFSTypes smbfs nfs +# UnmountGraceTime 1 +# Mount /windows + +### grub +# ChangeGrubMenu yes +# GrubMenuFile /boot/grub/menu.lst +# AlternateGrubMenuFile /boot/grub/menu-suspended.lst +# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak + +### hardware_tweaks +# IbmAcpi yes +# RadeonTool yes + +### lilo +# EnsureLILOResumes yes + +### lock (generally you only want one of the following options) +# LockConsoleAs root +# LockXScreenSaver yes +# LockKDE yes +# LockXLock yes +# LockXAutoLock yes + +### misclaunch +# OnSuspend 20 echo "Good night!" +# OnResume 20 echo "Good morning!" + +### modules +UnloadModules usb-storage uhci-hcd ohci-hcd ehci-hcd +# UnloadAllModules yes +# UnloadBlacklistedModules yes +LoadModules auto +# LoadModulesFromFile /etc/modules + +### modules-gentoo +# GentooModulesAutoload yes + +### network +# DownInterfaces eth0 +# UpInterfaces auto + +### pcmcia +# EjectCards yes + +### programs +# IncompatiblePrograms xmms + +### services +# RestartServices postfix +# StopServices alsasound +# StartServices aumix + +### vbetool +EnableVbetool yes +# RestoreVbeStateFrom /var/lib/vbetool/vbestate +VbetoolPost yes +# RestoreVCSAData yes + +### xhacks +SwitchToTextMode yes +# UseDummyXServer yes + +### xstatus +## This can be set to gnome, kde or x: +# XStatus gnome +# XSuspendText Preparing to suspend... +# XResumeText Resuming from suspend... +## When using XStatus x, and you have xosd installed: +# XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* --colour=Green --shadow 1 --pos bottom --align center --offset 50 diff --git a/packages/hibernate-script/hibernate-script_1.12.bb b/packages/hibernate-script/hibernate-script_1.12.bb new file mode 100644 index 0000000000..fc53e49a75 --- /dev/null +++ b/packages/hibernate-script/hibernate-script_1.12.bb @@ -0,0 +1,39 @@ +# hibernate-script OE build file +# Copyright (C) 2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="Hibernate script supporting multiple suspend methods" +LICENSE="GPL" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +HOMEPAGE="http://www.suspend2.net" + +SRC_URI="http://www.suspend2.net/downloads/all/${PN}-${PV}.tar.gz \ + file://hibernate.conf \ + file://standby.conf \ + file://ram.conf" + +inherit update-rc.d + +INITSCRIPT_NAME = "hibernate-cleanup" +INITSCRIPT_PARAMS = "start 31 S ." + +FILES_${PN}_append = " /usr/share/hibernate" + +do_install () { + BASE_DIR=${D} PREFIX=/usr MAN_DIR=${D}/usr/share/man \ + ${S}/install.sh + + ln -s ./hibernate ${D}/usr/sbin/hibernate-standby + ln -s ./hibernate ${D}/usr/sbin/hibernate-ram + + #Override conf files from ${WORKDIR} + install -m 0644 ${WORKDIR}/hibernate.conf ${D}/etc/hibernate/ + install -m 0644 ${WORKDIR}/ram.conf ${D}/etc/hibernate/ + install -m 0644 ${WORKDIR}/standby.conf ${D}/etc/hibernate/ + + install -d ${D}/etc/init.d + install -m 0755 ${S}/init.d/hibernate-cleanup.sh ${D}/etc/init.d/hibernate-cleanup + +} + + diff --git a/packages/ica/.mtn2git_empty b/packages/ica/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/ica/.mtn2git_empty diff --git a/packages/ica/ica-bin_8.0.bb b/packages/ica/ica-bin_8.0.bb new file mode 100644 index 0000000000..b8afd1aaa5 --- /dev/null +++ b/packages/ica/ica-bin_8.0.bb @@ -0,0 +1,55 @@ +# ica-bin OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DEPENDS="x11 xaw rpm2cpio-native" + +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +HOMEPAGE="www.citrix.com/download/" + +SRC_URI="file://${DL_DIR}/ICAClient-8.0-1.i386.rpm" + +S="${WORKDIR}" +PACKAGES= "${PN}" +FILES_${PN} = "/" + +python ica_do_fetch() { + import os + def dowarn(str,d): + out = bb.data.expand(str, d) + bb.note(out) + + file = bb.data.getVar('A', d) + basen = os.path.basename(file) + + if not os.path.exists(file): + dowarn('You need to perform the following steps to build this package:',d) + dowarn('Sign up at ${HOMEPAGE}',d) + dowarn('- Download %s and place it in ${DL_DIR}' % basen,d) + dowarn('- make this package again',d) + raise bb.build.FuncFailed('Package not downloaded') +} + +python do_fetch() { + bb.build.exec_func('ica_do_fetch', d) + bb.build.exec_func('base_do_fetch', d) +} + +do_unpack() { + rpm2cpio.pl ${A} | cpio -i --make-directories +} + +do_compile() { +} + +DDIR="${D}/usr/lib/ICAClient" + +do_install () { + for file in `find usr/lib/ICAClient/ -type d`; do + install -d ${D}/$file + done + + for file in `find usr/lib/ICAClient/ -type f`; do + install $file ${D}/$file + done +} diff --git a/packages/kbd/.mtn2git_empty b/packages/kbd/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/kbd/.mtn2git_empty diff --git a/packages/kbd/kbd_1.12.bb b/packages/kbd/kbd_1.12.bb new file mode 100644 index 0000000000..24dc773e85 --- /dev/null +++ b/packages/kbd/kbd_1.12.bb @@ -0,0 +1,21 @@ +# kbd OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" + +SRC_URI="http://ftp.debian.org/debian/pool/main/k/kbd/kbd_1.12.orig.tar.gz" + +FILES_${PN} += " /usr/share/consolefonts/drdos8x16.psfu.gz" + +do_configure() { + ARCH=${TARGET_ARCH} ./configure +} + +do_compile() { + make CC="${CC}" CFLAGS="${CFLAGS}" +} + +do_install() { + make DESTDIR=${D} install +} diff --git a/packages/libaio/.mtn2git_empty b/packages/libaio/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libaio/.mtn2git_empty diff --git a/packages/libaio/files/.mtn2git_empty b/packages/libaio/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libaio/files/.mtn2git_empty diff --git a/packages/libaio/files/libaio-0.3.103-more-arches.patch b/packages/libaio/files/libaio-0.3.103-more-arches.patch new file mode 100644 index 0000000000..e09b392ff3 --- /dev/null +++ b/packages/libaio/files/libaio-0.3.103-more-arches.patch @@ -0,0 +1,173 @@ +diff -urN libaio-0.3.103/src/io_cancel.c libaio-0.3.103.new/src/io_cancel.c +--- libaio-0.3.103/src/io_cancel.c 2003-05-20 09:54:50.000000000 -0600 ++++ libaio-0.3.103.new/src/io_cancel.c 2005-10-13 17:32:27.000000000 -0600 +@@ -17,6 +17,7 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <libaio.h> ++#include <errno.h> + #include "syscall.h" + + io_syscall3(int, io_cancel_0_4, io_cancel, io_context_t, ctx, struct iocb *, iocb, struct io_event *, event) +diff -urN libaio-0.3.103/src/libaio.h libaio-0.3.103.new/src/libaio.h +--- libaio-0.3.103/src/libaio.h 2004-09-14 13:40:27.000000000 -0600 ++++ libaio-0.3.103.new/src/libaio.h 2005-10-13 17:32:27.000000000 -0600 +@@ -48,7 +48,7 @@ + IO_CMD_NOOP = 6, + } io_iocb_cmd_t; + +-#if defined(__i386__) /* little endian, 32 bits */ ++#if defined(__i386__) || defined(__mips__) /* little endian, 32 bits */ + #define PADDED(x, y) x; unsigned y + #define PADDEDptr(x, y) x; unsigned y + #define PADDEDul(x, y) unsigned long x; unsigned y +diff -urN libaio-0.3.103/src/syscall-mips.h libaio-0.3.103.new/src/syscall-mips.h +--- libaio-0.3.103/src/syscall-mips.h 1969-12-31 17:00:00.000000000 -0700 ++++ libaio-0.3.103.new/src/syscall-mips.h 2005-10-13 17:41:50.000000000 -0600 +@@ -0,0 +1,134 @@ ++#define __NR_io_setup 4000+241 ++#define __NR_io_destroy 4000+242 ++#define __NR_io_getevents 4000+243 ++#define __NR_io_submit 4000+244 ++#define __NR_io_cancel 4000+245 ++ ++#define io_syscall1(type,fname,sname,atype,a) \ ++type fname(atype a) \ ++{ \ ++ register unsigned long __a0 asm("$4") = (unsigned long) a; \ ++ register unsigned long __a3 asm("$7"); \ ++ unsigned long __v0; \ ++ \ ++ __asm__ volatile ( \ ++ ".set\tnoreorder\n\t" \ ++ "li\t$2, %3\t\t\t# " #sname "\n\t" \ ++ "syscall\n\t" \ ++ "move\t%0, $2\n\t" \ ++ ".set\treorder" \ ++ : "=&r" (__v0), "=r" (__a3) \ ++ : "r" (__a0), "i" (__NR_##sname) \ ++ : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ ++ "memory"); \ ++ \ ++ if (__a3 == 0) \ ++ return (type) __v0; \ ++ errno = __v0; \ ++ return (type) -1; \ ++} ++ ++#define io_syscall2(type,fname,sname,atype,a,btype,b) \ ++type fname(atype a, btype b) \ ++{ \ ++ register unsigned long __a0 asm("$4") = (unsigned long) a; \ ++ register unsigned long __a1 asm("$5") = (unsigned long) b; \ ++ register unsigned long __a3 asm("$7"); \ ++ unsigned long __v0; \ ++ \ ++ __asm__ volatile ( \ ++ ".set\tnoreorder\n\t" \ ++ "li\t$2, %4\t\t\t# " #sname "\n\t" \ ++ "syscall\n\t" \ ++ "move\t%0, $2\n\t" \ ++ ".set\treorder" \ ++ : "=&r" (__v0), "=r" (__a3) \ ++ : "r" (__a0), "r" (__a1), "i" (__NR_##sname) \ ++ : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ ++ "memory"); \ ++ \ ++ if (__a3 == 0) \ ++ return (type) __v0; \ ++ errno = __v0; \ ++ return (type) -1; \ ++} ++ ++#define io_syscall3(type,fname,sname,atype,a,btype,b,ctype,c) \ ++type fname(atype a, btype b, ctype c) \ ++{ \ ++ register unsigned long __a0 asm("$4") = (unsigned long) a; \ ++ register unsigned long __a1 asm("$5") = (unsigned long) b; \ ++ register unsigned long __a2 asm("$6") = (unsigned long) c; \ ++ register unsigned long __a3 asm("$7"); \ ++ unsigned long __v0; \ ++ \ ++ __asm__ volatile ( \ ++ ".set\tnoreorder\n\t" \ ++ "li\t$2, %5\t\t\t# " #sname "\n\t" \ ++ "syscall\n\t" \ ++ "move\t%0, $2\n\t" \ ++ ".set\treorder" \ ++ : "=&r" (__v0), "=r" (__a3) \ ++ : "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##sname) \ ++ : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ ++ "memory"); \ ++ \ ++ if (__a3 == 0) \ ++ return (type) __v0; \ ++ errno = __v0; \ ++ return (type) -1; \ ++} ++ ++#define io_syscall4(type,fname,sname,atype,a,btype,b,ctype,c,dtype,d) \ ++type fname(atype a, btype b, ctype c, dtype d) \ ++{ \ ++ register unsigned long __a0 asm("$4") = (unsigned long) a; \ ++ register unsigned long __a1 asm("$5") = (unsigned long) b; \ ++ register unsigned long __a2 asm("$6") = (unsigned long) c; \ ++ register unsigned long __a3 asm("$7") = (unsigned long) d; \ ++ unsigned long __v0; \ ++ \ ++ __asm__ volatile ( \ ++ ".set\tnoreorder\n\t" \ ++ "li\t$2, %5\t\t\t# " #sname "\n\t" \ ++ "syscall\n\t" \ ++ "move\t%0, $2\n\t" \ ++ ".set\treorder" \ ++ : "=&r" (__v0), "+r" (__a3) \ ++ : "r" (__a0), "r" (__a1), "r" (__a2), "i" (__NR_##sname) \ ++ : "$2", "$8", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ ++ "memory"); \ ++ \ ++ if (__a3 == 0) \ ++ return (type) __v0; \ ++ errno = __v0; \ ++ return (type) -1; \ ++} ++ ++#define io_syscall5(type,fname,sname,atype,a,btype,b,ctype,c,dtype,d,etype,e) \ ++type fname (atype a,btype b,ctype c,dtype d,etype e) \ ++{ \ ++ register unsigned long __a0 asm("$4") = (unsigned long) a; \ ++ register unsigned long __a1 asm("$5") = (unsigned long) b; \ ++ register unsigned long __a2 asm("$6") = (unsigned long) c; \ ++ register unsigned long __a3 asm("$7") = (unsigned long) d; \ ++ register unsigned long __a4 asm("$8") = (unsigned long) e; \ ++ unsigned long __v0; \ ++ \ ++ __asm__ volatile ( \ ++ ".set\tnoreorder\n\t" \ ++ "li\t$2, %6\t\t\t# " #sname "\n\t" \ ++ "syscall\n\t" \ ++ "move\t%0, $2\n\t" \ ++ ".set\treorder" \ ++ : "=&r" (__v0), "+r" (__a3) \ ++ : "r" (__a0), "r" (__a1), "r" (__a2), "r" (__a4), "i" (__NR_##sname) \ ++ : "$2", "$9", "$10", "$11", "$12", "$13", "$14", "$15", "$24", \ ++ "memory"); \ ++ \ ++ if (__a3 == 0) \ ++ return (type) __v0; \ ++ errno = __v0; \ ++ return (type) -1; \ ++} ++ +diff -urN libaio-0.3.103/src/syscall.h libaio-0.3.103.new/src/syscall.h +--- libaio-0.3.103/src/syscall.h 2005-01-21 07:11:20.000000000 -0700 ++++ libaio-0.3.103.new/src/syscall.h 2005-10-13 17:33:06.000000000 -0600 +@@ -20,6 +20,8 @@ + #include "syscall-ppc.h" + #elif defined(__s390__) + #include "syscall-s390.h" ++#elif defined(__mips__) ++#include "syscall-mips.h" + #else + #error "add syscall-arch.h" + #endif diff --git a/packages/libaio/files/raw.h b/packages/libaio/files/raw.h new file mode 100644 index 0000000000..642f78ce5a --- /dev/null +++ b/packages/libaio/files/raw.h @@ -0,0 +1,39 @@ +/* Copyright (C) 1999 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#ifndef _SYS_RAW_H +#define _SYS_RAW_H 1 + +#include <stdint.h> +#include <sys/ioctl.h> + +/* The major device number for raw devices. */ +#define RAW_MAJOR 162 + +/* `ioctl' commands for raw devices. */ +#define RAW_SETBIND _IO(0xac, 0) +#define RAW_GETBIND _IO(0xac, 1) + +struct raw_config_request +{ + int raw_minor; + uint64_t block_major; + uint64_t block_minor; +}; + +#endif /* sys/raw.h */ diff --git a/packages/libaio/libaio-oracle_0.3.0.bb b/packages/libaio/libaio-oracle_0.3.0.bb new file mode 100644 index 0000000000..e3aa23d78b --- /dev/null +++ b/packages/libaio/libaio-oracle_0.3.0.bb @@ -0,0 +1,35 @@ +# libaio-oracle .bb build file +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see /COPYING) + +DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel." +HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +LICENSE="GPL" + +SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz" + +DEPENDS="libaio" +RDEPENDS="libaio" + +inherit autotools + +FILES_${PN}="/usr" + +#We don't have a raw.h with uClibc, so copy in the one from glibc +SRC_URI_append_linux-uclibc=" file://raw.h" + +do_configure_prepend_linux-uclibc () { + install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h +} + +do_stage() { + + rm -rf ${STAGE_TEMP} + mkdir -p ${STAGE_TEMP} + oe_runmake DESTDIR="${STAGE_TEMP}" install + install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR} + rm -f ${STAGE_TEMP}/usr/lib/*.la + oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR} +} + diff --git a/packages/libaio/libaio_0.3.103.bb b/packages/libaio/libaio_0.3.103.bb new file mode 100644 index 0000000000..1930f77c85 --- /dev/null +++ b/packages/libaio/libaio_0.3.103.bb @@ -0,0 +1,38 @@ +# libaio .bb build file +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see /COPYING) + +DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" +HOMEPAGE="https://rhn.redhat.com/errata/RHBA-2005-085.html" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +LICENSE="GPL" + +SRC_URI="http://search.belnet.be/packages/lineox/4.0/updates/SRPMS/${P}-3.src.rpm \ +file://${P}-more-arches.patch;patch=1" + +S=${WORKDIR}/${P} + +FILES_${PN} = "/usr" + +inherit kernel-arch + +DEPENDS_append = " rpm2cpio-native" + +do_unpack() { + + if ! test -f libaio-${PV}.tar.gz ; then + rpm2cpio.pl ${DL_DIR}/${P}-3.src.rpm | cpio -i --make-directories + tar xzvf libaio-${PV}.tar.gz + fi +} + +do_stage () { + #make install prefix='${STAGING_DIR}/${TARGET_SYS}' + install -D -m 644 src/libaio.h ${STAGING_DIR}/${TARGET_SYS}/include/libaio.h + oe_libinstall -so -C src libaio ${STAGING_LIBDIR} + +} + +do_install () { + make install prefix='${D}/usr' +} diff --git a/packages/linux/linux-geodelx-2.6.11/.mtn2git_empty b/packages/linux/linux-geodelx-2.6.11/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/linux/linux-geodelx-2.6.11/.mtn2git_empty diff --git a/packages/linux/linux-geodelx-2.6.11/defconfig b/packages/linux/linux-geodelx-2.6.11/defconfig new file mode 100644 index 0000000000..a7c6a94ba9 --- /dev/null +++ b/packages/linux/linux-geodelx-2.6.11/defconfig @@ -0,0 +1,1409 @@ +# +# Automatically generated make config: don't edit +# Linux kernel version: 2.6.11-geode-02.03.0100 +# Thu Dec 15 16:56:25 2005 +# +CONFIG_X86=y +CONFIG_MMU=y +CONFIG_UID16=y +CONFIG_GENERIC_ISA_DMA=y +CONFIG_GENERIC_IOMAP=y + +# +# Code maturity level options +# +CONFIG_EXPERIMENTAL=y +CONFIG_CLEAN_COMPILE=y +CONFIG_BROKEN_ON_SMP=y + +# +# General setup +# +CONFIG_LOCALVERSION="" +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +# 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=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +# CONFIG_EMBEDDED is not set +CONFIG_KALLSYMS=y +# CONFIG_KALLSYMS_ALL is not set +# CONFIG_KALLSYMS_EXTRA_PASS is not set +CONFIG_FUTEX=y +CONFIG_EPOLL=y +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +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=y + +# +# Processor type and features +# +CONFIG_X86_PC=y +# CONFIG_X86_ELAN is not set +# CONFIG_X86_VOYAGER is not set +# CONFIG_X86_NUMAQ is not set +# CONFIG_X86_SUMMIT is not set +# CONFIG_X86_BIGSMP is not set +# CONFIG_X86_VISWS is not set +# CONFIG_X86_GENERICARCH is not set +# CONFIG_X86_ES7000 is not set +# CONFIG_M386 is not set +# CONFIG_M486 is not set +# CONFIG_M586 is not set +# CONFIG_M586TSC is not set +# CONFIG_M586MMX is not set +# CONFIG_M686 is not set +# CONFIG_MPENTIUMII is not set +# CONFIG_MPENTIUMIII is not set +# CONFIG_MPENTIUMM is not set +# CONFIG_MPENTIUM4 is not set +# CONFIG_MK6 is not set +# CONFIG_MK7 is not set +# CONFIG_MK8 is not set +# CONFIG_MGEODE_GX is not set +CONFIG_MGEODE_LX=y +# CONFIG_MCRUSOE is not set +# CONFIG_MEFFICEON is not set +# CONFIG_MWINCHIPC6 is not set +# CONFIG_MWINCHIP2 is not set +# CONFIG_MWINCHIP3D is not set +# CONFIG_MCYRIXIII is not set +# CONFIG_MVIAC3_2 is not set +# CONFIG_X86_GENERIC is not set +CONFIG_X86_CMPXCHG=y +CONFIG_X86_XADD=y +CONFIG_X86_L1_CACHE_SHIFT=5 +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_X86_WP_WORKS_OK=y +CONFIG_X86_INVLPG=y +CONFIG_X86_BSWAP=y +CONFIG_X86_POPAD_OK=y +CONFIG_X86_USE_PPRO_CHECKSUM=y +CONFIG_X86_USE_3DNOW=y +# CONFIG_HPET_TIMER is not set +# CONFIG_SMP is not set +# CONFIG_PREEMPT is not set +# CONFIG_X86_MCE is not set +# CONFIG_TOSHIBA is not set +# CONFIG_I8K is not set +# CONFIG_MICROCODE is not set +CONFIG_X86_MSR=y +CONFIG_X86_CPUID=y + +# +# Firmware Drivers +# +# CONFIG_EDD is not set +# CONFIG_NOHIGHMEM is not set +CONFIG_HIGHMEM4G=y +# CONFIG_HIGHMEM64G is not set +CONFIG_HIGHMEM=y +# CONFIG_HIGHPTE is not set +# CONFIG_MATH_EMULATION is not set +# CONFIG_MTRR is not set +# CONFIG_EFI is not set +CONFIG_REGPARM=y + +# +# Power management options (ACPI, APM) +# +CONFIG_PM=y +# CONFIG_PM_DEBUG is not set +# CONFIG_SOFTWARE_SUSPEND is not set + +# +# ACPI (Advanced Configuration and Power Interface) Support +# +CONFIG_ACPI=y +CONFIG_ACPI_BOOT=y +CONFIG_ACPI_INTERPRETER=y +CONFIG_ACPI_SLEEP=y +CONFIG_ACPI_SLEEP_PROC_FS=y +# CONFIG_ACPI_AC is not set +# CONFIG_ACPI_BATTERY is not set +CONFIG_ACPI_BUTTON=y +CONFIG_ACPI_VIDEO=m +CONFIG_ACPI_FAN=m +CONFIG_ACPI_PROCESSOR=y +CONFIG_ACPI_THERMAL=y +# CONFIG_ACPI_ASUS is not set +CONFIG_ACPI_IBM=m +# CONFIG_ACPI_TOSHIBA is not set +CONFIG_ACPI_BLACKLIST_YEAR=0 +# CONFIG_ACPI_DEBUG is not set +CONFIG_ACPI_BUS=y +CONFIG_ACPI_EC=y +CONFIG_ACPI_POWER=y +CONFIG_ACPI_PCI=y +CONFIG_ACPI_SYSTEM=y +CONFIG_X86_PM_TIMER=y +# CONFIG_ACPI_CONTAINER is not set + +# +# APM (Advanced Power Management) BIOS Support +# +# CONFIG_APM is not set + +# +# CPU Frequency scaling +# +# CONFIG_CPU_FREQ is not set + +# +# Bus options (PCI, PCMCIA, EISA, MCA, ISA) +# +CONFIG_PCI=y +# CONFIG_PCI_GOBIOS is not set +# CONFIG_PCI_GOMMCONFIG is not set +# CONFIG_PCI_GODIRECT is not set +CONFIG_PCI_GOANY=y +CONFIG_PCI_BIOS=y +CONFIG_PCI_DIRECT=y +CONFIG_PCI_MMCONFIG=y +# CONFIG_PCIEPORTBUS is not set +CONFIG_PCI_LEGACY_PROC=y +CONFIG_PCI_NAMES=y +# CONFIG_ISA is not set +# CONFIG_MCA is not set +# CONFIG_SCx200 is not set + +# +# PCCARD (PCMCIA/CardBus) support +# +# CONFIG_PCCARD is not set + +# +# PC-card bridges +# + +# +# PCI Hotplug Support +# +CONFIG_HOTPLUG_PCI=y +CONFIG_HOTPLUG_PCI_FAKE=m +CONFIG_HOTPLUG_PCI_COMPAQ=m +# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set +CONFIG_HOTPLUG_PCI_ACPI=m +# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set +CONFIG_HOTPLUG_PCI_CPCI=y +CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m +CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m +# CONFIG_HOTPLUG_PCI_SHPC is not set + +# +# Executable file formats +# +CONFIG_BINFMT_ELF=y +# CONFIG_BINFMT_AOUT is not set +# CONFIG_BINFMT_MISC is not set + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +# CONFIG_FW_LOADER is not set +# CONFIG_DEBUG_DRIVER is not set + +# +# Memory Technology Devices (MTD) +# +# CONFIG_MTD is not set + +# +# Parallel port support +# +CONFIG_PARPORT=m +CONFIG_PARPORT_PC=m +CONFIG_PARPORT_PC_CML1=m +CONFIG_PARPORT_SERIAL=m +# CONFIG_PARPORT_PC_FIFO is not set +# CONFIG_PARPORT_PC_SUPERIO is not set +# CONFIG_PARPORT_OTHER is not set +CONFIG_PARPORT_1284=y + +# +# Plug and Play support +# +CONFIG_PNP=y +# CONFIG_PNP_DEBUG is not set + +# +# Protocols +# +CONFIG_PNPACPI=y + +# +# Block devices +# +CONFIG_BLK_DEV_FD=y +# CONFIG_PARIDE 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=y +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +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=y +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +# 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_HD_IDE is not set +CONFIG_BLK_DEV_IDEDISK=y +CONFIG_IDEDISK_MULTI_MODE=y +CONFIG_BLK_DEV_IDECD=y +# CONFIG_BLK_DEV_IDETAPE is not set +# CONFIG_BLK_DEV_IDEFLOPPY is not set +# CONFIG_BLK_DEV_IDESCSI is not set +# CONFIG_IDE_TASK_IOCTL is not set + +# +# IDE chipset support/bugfixes +# +CONFIG_IDE_GENERIC=y +# CONFIG_BLK_DEV_CMD640 is not set +# CONFIG_BLK_DEV_IDEPNP is not set +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 is not set +# CONFIG_BLK_DEV_RZ1000 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 is not set +# CONFIG_BLK_DEV_ALI15X3 is not set +CONFIG_BLK_DEV_AMD74XX=y +# CONFIG_BLK_DEV_ATIIXP is not set +# CONFIG_BLK_DEV_CMD64X is not set +# CONFIG_BLK_DEV_TRIFLEX is not set +# CONFIG_BLK_DEV_CY82C693 is not set +# CONFIG_BLK_DEV_CS5520 is not set +CONFIG_BLK_DEV_CS5530=y +CONFIG_BLK_DEV_CS5535=y +# CONFIG_BLK_DEV_HPT34X is not set +# CONFIG_BLK_DEV_HPT366 is not set +CONFIG_BLK_DEV_SC1200=y +CONFIG_BLK_DEV_PIIX=y +# CONFIG_BLK_DEV_NS87415 is not set +# CONFIG_BLK_DEV_PDC202XX_OLD is not set +# CONFIG_BLK_DEV_PDC202XX_NEW is not set +# CONFIG_BLK_DEV_SVWKS is not set +# CONFIG_BLK_DEV_SIIMAGE is not set +# CONFIG_BLK_DEV_SIS5513 is not set +# CONFIG_BLK_DEV_SLC90E66 is not set +# CONFIG_BLK_DEV_TRM290 is not set +CONFIG_BLK_DEV_VIA82CXXX=y +# 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=m +CONFIG_SCSI_PROC_FS=y + +# +# SCSI support type (disk, tape, CD-ROM) +# +CONFIG_BLK_DEV_SD=m +# CONFIG_CHR_DEV_ST is not set +# CONFIG_CHR_DEV_OSST is not set +CONFIG_BLK_DEV_SR=m +# CONFIG_BLK_DEV_SR_VENDOR is not set +CONFIG_CHR_DEV_SG=m + +# +# Some SCSI devices (e.g. CD jukebox) support multiple LUNs +# +CONFIG_SCSI_MULTI_LUN=y +CONFIG_SCSI_CONSTANTS=y +# CONFIG_SCSI_LOGGING is not set + +# +# SCSI Transport Attributes +# +# CONFIG_SCSI_SPI_ATTRS is not set +# 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 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 is not set +# 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_PPA is not set +# CONFIG_SCSI_IMM is not set +# CONFIG_SCSI_SYM53C8XX_2 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=m +# 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 is not set +# CONFIG_SCSI_NSP32 is not set +# CONFIG_SCSI_DEBUG 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 is not set + +# +# I2O device support +# +# CONFIG_I2O 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=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +# CONFIG_IP_PNP_RARP 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=y +# 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 +# CONFIG_NET_SB1000 is not set + +# +# ARCnet devices +# +# CONFIG_ARCNET is not set + +# +# Ethernet (10 or 100Mbit) +# +CONFIG_NET_ETHERNET=y +CONFIG_MII=y +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +CONFIG_NET_VENDOR_3COM=y +CONFIG_VORTEX=m +CONFIG_TYPHOON=m + +# +# Tulip family network device support +# +# CONFIG_NET_TULIP is not set +# CONFIG_HP100 is not set +CONFIG_NET_PCI=y +# CONFIG_PCNET32 is not set +# CONFIG_AMD8111_ETH is not set +# CONFIG_ADAPTEC_STARFIRE is not set +# CONFIG_B44 is not set +# CONFIG_FORCEDETH is not set +# CONFIG_DGRS is not set +CONFIG_EEPRO100=m +CONFIG_E100=m +# CONFIG_E100_NAPI is not set +# CONFIG_FEALNX is not set +CONFIG_NATSEMI=m +# CONFIG_NE2K_PCI is not set +CONFIG_8139CP=m +CONFIG_8139TOO=m +# CONFIG_8139TOO_PIO is not set +# CONFIG_8139TOO_TUNE_TWISTER is not set +# CONFIG_8139TOO_8129 is not set +# CONFIG_8139_OLD_RX_RESET is not set +# CONFIG_SIS900 is not set +# CONFIG_EPIC100 is not set +# CONFIG_SUNDANCE is not set +# CONFIG_TLAN is not set +# CONFIG_VIA_RHINE is not set + +# +# Ethernet (1000 Mbit) +# +# CONFIG_ACENIC is not set +# CONFIG_DL2K is not set +CONFIG_E1000=m +# CONFIG_E1000_NAPI is not set +CONFIG_NS83820=m +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +CONFIG_R8169=m +# CONFIG_R8169_NAPI is not set +# CONFIG_SK98LIN is not set +# CONFIG_VIA_VELOCITY is not set +CONFIG_TIGON3=m + +# +# 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 is not set + +# +# Wan interfaces +# +# CONFIG_WAN is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +# CONFIG_PLIP 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=y +CONFIG_INPUT_MOUSEDEV_PSAUX=y +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +# CONFIG_INPUT_TSDEV is not set +# CONFIG_INPUT_EVDEV is not set +# CONFIG_INPUT_EVBUG is not set + +# +# Input I/O drivers +# +# CONFIG_GAMEPORT is not set +CONFIG_SOUND_GAMEPORT=y +CONFIG_SERIO=y +CONFIG_SERIO_I8042=y +# CONFIG_SERIO_SERPORT is not set +# CONFIG_SERIO_CT82C710 is not set +# CONFIG_SERIO_PARKBD 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=m +# CONFIG_KEYBOARD_NEWTON is not set +CONFIG_INPUT_MOUSE=y +CONFIG_MOUSE_PS2=y +# CONFIG_MOUSE_SERIAL is not set +# CONFIG_MOUSE_VSXXXAA is not set +# CONFIG_INPUT_JOYSTICK 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=y +CONFIG_SERIAL_8250_CONSOLE=y +# CONFIG_SERIAL_8250_ACPI is not set +CONFIG_SERIAL_8250_NR_UARTS=4 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_GEODE_UART2=y +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_UNIX98_PTYS=y +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 +CONFIG_PRINTER=m +# CONFIG_LP_CONSOLE is not set +# CONFIG_PPDEV is not set +# CONFIG_TIPAR is not set + +# +# IPMI +# +# CONFIG_IPMI_HANDLER is not set + +# +# Watchdog Cards +# +# CONFIG_WATCHDOG is not set +CONFIG_HW_RANDOM=m +# CONFIG_NVRAM is not set +CONFIG_RTC=y +# CONFIG_DTLK is not set +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set +# CONFIG_SONYPI is not set + +# +# Ftape, the floppy tape device driver +# +# CONFIG_FTAPE is not set +# CONFIG_AGP is not set +CONFIG_DRM=y +# CONFIG_DRM_TDFX is not set +# CONFIG_DRM_R128 is not set +# CONFIG_DRM_RADEON is not set +# CONFIG_MWAVE is not set +# CONFIG_RAW_DRIVER is not set +# CONFIG_HPET is not set +# CONFIG_HANGCHECK_TIMER is not set + +# +# I2C support +# +CONFIG_I2C=m +CONFIG_I2C_CHARDEV=m + +# +# I2C Algorithms +# +# CONFIG_I2C_ALGOBIT is not set +# 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=m +CONFIG_I2C_AMD756_S4882=m +CONFIG_I2C_AMD8111=m +# CONFIG_I2C_I801 is not set +# CONFIG_I2C_I810 is not set +CONFIG_I2C_ISA=m +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_PARPORT 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=m +# 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=m +# 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=m +CONFIG_SENSORS_LM75=m +CONFIG_SENSORS_LM77=m +CONFIG_SENSORS_LM78=m +CONFIG_SENSORS_LM80=m +CONFIG_SENSORS_LM83=m +CONFIG_SENSORS_LM85=m +CONFIG_SENSORS_LM87=m +CONFIG_SENSORS_LM90=m +# CONFIG_SENSORS_MAX1619 is not set +CONFIG_SENSORS_PC87360=m +# 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 +# +# CONFIG_IBM_ASM is not set + +# +# Multimedia devices +# +CONFIG_VIDEO_DEV=m + +# +# Video For Linux +# + +# +# Video Adapters +# +# CONFIG_VIDEO_BT848 is not set +# CONFIG_VIDEO_BWQCAM is not set +# CONFIG_VIDEO_CQCAM is not set +# CONFIG_VIDEO_W9966 is not set +# 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_SAA7134 is not set +# 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 is not set +# 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 + +# +# Graphics support +# +CONFIG_FB=y +# CONFIG_FB_MODE_HELPERS is not set +# 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_ASILIANT is not set +# CONFIG_FB_IMSTT is not set +# CONFIG_FB_VGA16 is not set +CONFIG_FB_VESA=y +CONFIG_VIDEO_SELECT=y +# CONFIG_FB_HGA is not set +# CONFIG_FB_RIVA is not set +# CONFIG_FB_I810 is not set +# CONFIG_FB_INTEL 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_GEODE=y +CONFIG_FB_GEODE_LX=y +CONFIG_FB_GEODE_ACCEL=y +CONFIG_FB_GEODE_PANEL=y +# 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=y +CONFIG_LOGO_LINUX_MONO=y +CONFIG_LOGO_LINUX_VGA16=y +CONFIG_LOGO_LINUX_CLUT224=y +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set + +# +# Sound +# +CONFIG_SOUND=y + +# +# Advanced Linux Sound Architecture +# +CONFIG_SND=m +CONFIG_SND_TIMER=m +CONFIG_SND_PCM=m +CONFIG_SND_HWDEP=m +CONFIG_SND_RAWMIDI=m +CONFIG_SND_SEQUENCER=m +CONFIG_SND_SEQ_DUMMY=m +CONFIG_SND_OSSEMUL=y +CONFIG_SND_MIXER_OSS=m +CONFIG_SND_PCM_OSS=m +# CONFIG_SND_SEQUENCER_OSS is not set +# CONFIG_SND_RTCTIMER is not set +# CONFIG_SND_VERBOSE_PRINTK is not set +# CONFIG_SND_DEBUG is not set + +# +# Generic devices +# +# CONFIG_SND_DUMMY is not set +# CONFIG_SND_VIRMIDI 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=m +# CONFIG_SND_ALI5451 is not set +# CONFIG_SND_ATIIXP is not set +# CONFIG_SND_ATIIXP_MODEM is not set +# CONFIG_SND_AU8810 is not set +# CONFIG_SND_AU8820 is not set +# CONFIG_SND_AU8830 is not set +# CONFIG_SND_AZT3328 is not set +# CONFIG_SND_BT87X is not set +# CONFIG_SND_CS46XX is not set +# CONFIG_SND_CS4281 is not set +CONFIG_SND_EMU10K1=m +# CONFIG_SND_EMU10K1X is not set +CONFIG_SND_CA0106=m +# CONFIG_SND_KORG1212 is not set +# CONFIG_SND_MIXART is not set +# CONFIG_SND_NM256 is not set +# 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 is not set +# CONFIG_SND_YMFPCI is not set +# CONFIG_SND_ALS4000 is not set +# CONFIG_SND_CMIPCI is not set +CONFIG_SND_ENS1370=m +CONFIG_SND_ENS1371=m +# CONFIG_SND_ES1938 is not set +# CONFIG_SND_ES1968 is not set +# CONFIG_SND_MAESTRO3 is not set +# CONFIG_SND_FM801 is not set +# CONFIG_SND_ICE1712 is not set +# CONFIG_SND_ICE1724 is not set +# CONFIG_SND_INTEL8X0 is not set +# CONFIG_SND_INTEL8X0M is not set +# CONFIG_SND_SONICVIBES is not set +# CONFIG_SND_VIA82XX is not set +# CONFIG_SND_VIA82XX_MODEM is not set +# CONFIG_SND_VX222 is not set + +# +# 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=m +# CONFIG_USB_DEBUG is not set + +# +# Miscellaneous USB options +# +CONFIG_USB_DEVICEFS=y +# CONFIG_USB_BANDWIDTH is not set +# CONFIG_USB_DYNAMIC_MINORS is not set +CONFIG_USB_SUSPEND=y +# 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=m +# CONFIG_USB_EHCI_SPLIT_ISO is not set +# CONFIG_USB_EHCI_ROOT_HUB_TT is not set +CONFIG_USB_OHCI_HCD=m +CONFIG_USB_UHCI_HCD=m +# CONFIG_USB_SL811_HCD is not set + +# +# USB Device Class drivers +# +CONFIG_USB_AUDIO=m +CONFIG_USB_BLUETOOTH_TTY=m +CONFIG_USB_MIDI=m +CONFIG_USB_ACM=m +CONFIG_USB_PRINTER=m + +# +# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information +# +CONFIG_USB_STORAGE=m +# CONFIG_USB_STORAGE_DEBUG is not set +CONFIG_USB_STORAGE_RW_DETECT=y +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=m +CONFIG_USB_HIDINPUT=y +# CONFIG_HID_FF is not set +CONFIG_USB_HIDDEV=y + +# +# USB HID Boot Protocol drivers +# +CONFIG_USB_KBD=m +CONFIG_USB_MOUSE=m +CONFIG_USB_AIPTEK=m +CONFIG_USB_WACOM=m +CONFIG_USB_KBTAB=m +CONFIG_USB_POWERMATE=m +CONFIG_USB_MTOUCH=m +CONFIG_USB_EGALAX=m +CONFIG_USB_XPAD=m +CONFIG_USB_ATI_REMOTE=m + +# +# USB Imaging devices +# +CONFIG_USB_MDC800=m +CONFIG_USB_MICROTEK=m + +# +# USB Multimedia devices +# +CONFIG_USB_DABUSB=m +CONFIG_USB_VICAM=m +CONFIG_USB_DSBR=m +CONFIG_USB_IBMCAM=m +CONFIG_USB_KONICAWC=m +CONFIG_USB_OV511=m +CONFIG_USB_SE401=m +CONFIG_USB_SN9C102=m +CONFIG_USB_STV680=m + +# +# USB Network Adapters +# +CONFIG_USB_CATC=m +CONFIG_USB_KAWETH=m +CONFIG_USB_PEGASUS=m +CONFIG_USB_RTL8150=m +CONFIG_USB_USBNET=m + +# +# USB Host-to-Host Cables +# +CONFIG_USB_ALI_M5632=y +CONFIG_USB_AN2720=y +CONFIG_USB_BELKIN=y +CONFIG_USB_GENESYS=y +CONFIG_USB_NET1080=y +CONFIG_USB_PL2301=y +CONFIG_USB_KC2190=y + +# +# Intelligent USB Devices/Gadgets +# +CONFIG_USB_ARMLINUX=y +CONFIG_USB_EPSON2888=y +CONFIG_USB_ZAURUS=y +CONFIG_USB_CDCETHER=y + +# +# USB Network Adapters +# +CONFIG_USB_AX8817X=y + +# +# USB port drivers +# +CONFIG_USB_USS720=m + +# +# USB Serial Converter support +# +# CONFIG_USB_SERIAL is not set + +# +# USB Miscellaneous drivers +# +CONFIG_USB_EMI62=m +CONFIG_USB_EMI26=m +CONFIG_USB_AUERSWALD=m +CONFIG_USB_RIO500=m +CONFIG_USB_LEGOTOWER=m +CONFIG_USB_LCD=m +CONFIG_USB_LED=m +CONFIG_USB_CYTHERM=m +CONFIG_USB_PHIDGETKIT=m +CONFIG_USB_PHIDGETSERVO=m +CONFIG_USB_IDMOUSE=m +CONFIG_USB_TEST=m + +# +# USB ATM/DSL drivers +# + +# +# USB Gadget Support +# +CONFIG_USB_GADGET=m +# CONFIG_USB_GADGET_DEBUG_FILES is not set +# CONFIG_USB_GADGET_NET2280 is not set +CONFIG_USB_GADGET_AMD5536UDC=y +CONFIG_USB_AMD5536UDC=m +# CONFIG_USB_GADGET_PXA2XX is not set +# CONFIG_USB_GADGET_GOKU is not set +# CONFIG_USB_GADGET_SA1100 is not set +# CONFIG_USB_GADGET_LH7A40X is not set +# CONFIG_USB_GADGET_DUMMY_HCD is not set +# CONFIG_USB_GADGET_OMAP is not set +CONFIG_USB_GADGET_DUALSPEED=y +CONFIG_USB_ZERO=m +CONFIG_USB_ETH=m +# CONFIG_USB_ETH_RNDIS is not set +CONFIG_USB_GADGETFS=m +CONFIG_USB_FILE_STORAGE=m +# CONFIG_USB_FILE_STORAGE_TEST is not set +CONFIG_USB_G_SERIAL=m +CONFIG_USB_GADGET_AMD5536UOC=y +CONFIG_USB_AMD5536UOC=m + +# +# 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=y +# CONFIG_EXT3_FS_POSIX_ACL is not set +# CONFIG_EXT3_FS_SECURITY is not set +CONFIG_JBD=y +# CONFIG_JBD_DEBUG is not set +CONFIG_FS_MBCACHE=y +CONFIG_REISERFS_FS=m +# CONFIG_REISERFS_CHECK is not set +CONFIG_REISERFS_PROC_INFO=y +# 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=y +CONFIG_AUTOFS_FS=y +CONFIG_AUTOFS4_FS=y + +# +# 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=y +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" +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_DEVPTS_FS_XATTR=y +# CONFIG_DEVPTS_FS_SECURITY is not set +CONFIG_TMPFS=y +# CONFIG_TMPFS_XATTR is not set +# CONFIG_HUGETLBFS is not set +# CONFIG_HUGETLB_PAGE is not set +CONFIG_RAMFS=y + +# +# Miscellaneous filesystems +# +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +CONFIG_CRAMFS=y +# 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 is not set + +# +# Network File Systems +# +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +# CONFIG_NFS_V4 is not set +# CONFIG_NFS_DIRECTIO is not set +CONFIG_NFSD=y +CONFIG_NFSD_V3=y +# CONFIG_NFSD_V4 is not set +CONFIG_NFSD_TCP=y +# CONFIG_ROOT_NFS is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_EXPORTFS=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 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 is not set +CONFIG_MSDOS_PARTITION=y + +# +# Native Language Support +# +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# 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 is not set + +# +# Profiling support +# +# CONFIG_PROFILING is not set + +# +# Kernel hacking +# +CONFIG_DEBUG_KERNEL=y +# CONFIG_MAGIC_SYSRQ is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_DEBUG_SLAB is not set +# CONFIG_DEBUG_SPINLOCK is not set +CONFIG_DEBUG_SPINLOCK_SLEEP=y +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_HIGHMEM is not set +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_FS is not set +CONFIG_FRAME_POINTER=y +CONFIG_EARLY_PRINTK=y +# CONFIG_DEBUG_STACKOVERFLOW is not set +CONFIG_KPROBES=y +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_4KSTACKS=y + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY is not set + +# +# Cryptographic options +# +# CONFIG_CRYPTO is not set + +# +# Hardware crypto devices +# + +# +# Library routines +# +# CONFIG_CRC_CCITT is not set +CONFIG_CRC32=y +# CONFIG_LIBCRC32C is not set +CONFIG_CIMARRON=y +CONFIG_ZLIB_INFLATE=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_X86_BIOS_REBOOT=y +CONFIG_PC=y diff --git a/packages/linux/linux-geodelx_2.6.11.bb b/packages/linux/linux-geodelx_2.6.11.bb new file mode 100644 index 0000000000..001f74da38 --- /dev/null +++ b/packages/linux/linux-geodelx_2.6.11.bb @@ -0,0 +1,30 @@ +# Linux kernel OE build file for the AMD Geode GX5535/LX5536 +# Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "Linux kernel for the AMD Geode GX5535/LX5536" +HOMEPAGE = "http://www.amd.com/embedded" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +LICENSE = "GPL" + +PR = "r0" +AMD_DRIVER_VERSION = "02.03.0100" +AMD_DRIVER_LABEL = "Patches_Linux2.6.11_Common_${AMD_DRIVER_VERSION}" + +KV=${PV} + +S = "${WORKDIR}/linux-${KV}" + +inherit kernel + +ARCH = "i386" +KERNEL_IMAGETYPE = "bzImage" + +SRC_URI = "http://kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \ + http://www.amd.com/files/connectivitysolutions/geode/geode_lx/${AMD_DRIVER_LABEL}.patch;patch=1 \ + file://defconfig" + +do_configure_prepend() { + + install -m 0644 ${WORKDIR}/defconfig ${S}/.config +} diff --git a/packages/mtools/.mtn2git_empty b/packages/mtools/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mtools/.mtn2git_empty diff --git a/packages/mtools/files/.mtn2git_empty b/packages/mtools/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/mtools/files/.mtn2git_empty diff --git a/packages/mtools/files/mtools-makeinfo.patch b/packages/mtools/files/mtools-makeinfo.patch new file mode 100644 index 0000000000..35fae44aba --- /dev/null +++ b/packages/mtools/files/mtools-makeinfo.patch @@ -0,0 +1,63 @@ +--- mtools-3.9.9/configure.in.orig 2006-04-14 16:05:54.337655192 -0600 ++++ mtools-3.9.9/configure.in 2006-04-14 16:12:29.736545424 -0600 +@@ -21,6 +21,33 @@ + AC_C_CONST + AC_C_INLINE + ++AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, ) ++if test "x$MAKEINFO" = "x"; then ++ MAKEINFO="@echo makeinfo missing; true" ++fi ++AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, ) ++if test "x$TEXI2DVI" = "x"; then ++ TEXI2DVI="@echo texi2dvi missing; true" ++fi ++AC_CHECK_PROG(TEXI2PDF, texi2pdf, texi2pdf, ) ++if test "x$TEXI2PDF" = "x"; then ++ TEXI2PDF="@echo texi2pdf missing; true" ++fi ++AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html, ) ++if test "x$TEXI2HTML" = "x"; then ++ TEXI2HTML="@echo texi2html missing; true" ++fi ++AC_CHECK_PROG(DVI2PS, dvi2ps, dvi2ps, ) ++if test "x$DVI2PS" = "x"; then ++ DVI2PS="@echo dvi2ps missing; true" ++fi ++ ++AC_SUBST(MAKEINFO) ++AC_SUBST(TEXI2DVI) ++AC_SUBST(TEXI2PDF) ++AC_SUBST(TEXI2HTML) ++AC_SUBST(DVI2PS) ++ + + dnl Check for configuration options + dnl Enable OS/2 extended density format disks +--- mtools-3.9.9/Makefile.in.sav 2006-04-14 15:56:19.000000000 -0600 ++++ mtools-3.9.9/Makefile.in 2006-04-14 16:15:29.315245312 -0600 +@@ -11,10 +11,11 @@ + USERLDFLAGS = + USERLDLIBS = + +-MAKEINFO = makeinfo +-TEXI2DVI = texi2dvi +-TEXI2PDF = texi2pdf +-TEXI2HTML = texi2html ++MAKEINFO = @MAKEINFO@ ++TEXI2DVI = @TEXI2DVI@ ++TEXI2PDF = @TEXI2PDF@ ++TEXI2HTML = @TEXI2HTML@ ++DVI2PS = @DVI2PS@ + + + # do not edit below this line +@@ -181,7 +182,7 @@ + + ps: mtools.ps + %.ps: %.dvi +- dvips -f < $< > $@ ++ $(DVI2PS) -f < $< > $@ + + pdf: mtools.pdf + %.pdf: %.texi diff --git a/packages/mtools/mtools-native_3.9.9.bb b/packages/mtools/mtools-native_3.9.9.bb new file mode 100644 index 0000000000..4fdd36d740 --- /dev/null +++ b/packages/mtools/mtools-native_3.9.9.bb @@ -0,0 +1,8 @@ +# mtools-native OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +include mtools_${PV}.bb +S="${WORKDIR}/mtools-${PV}" + +inherit autotools native diff --git a/packages/mtools/mtools_3.9.9.bb b/packages/mtools/mtools_3.9.9.bb new file mode 100644 index 0000000000..347ecf4776 --- /dev/null +++ b/packages/mtools/mtools_3.9.9.bb @@ -0,0 +1,15 @@ +# mtools OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them." +HOMEPAGE="http://mtools.linux.lu" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +LICENSE="GPL" + +SRC_URI="http://mtools.linux.lu/mtools-${PV}.tar.gz \ + file://mtools-makeinfo.patch;patch=1" + +DEPENDS = "tetex-native" + +inherit autotools diff --git a/packages/openssh/openssh-3.8p1/ssh_config b/packages/openssh/openssh-3.8p1/ssh_config new file mode 100644 index 0000000000..25ca7f56bd --- /dev/null +++ b/packages/openssh/openssh-3.8p1/ssh_config @@ -0,0 +1,38 @@ +# $OpenBSD: ssh_config,v 1.16 2002/07/03 14:21:05 markus Exp $ + +# This is the ssh client system-wide configuration file. See +# ssh_config(5) for more information. This file provides defaults for +# users, and the values can be changed in per-user configuration files +# or on the command line. + +# Configuration data is parsed as follows: +# 1. command line options +# 2. user-specific file +# 3. system-wide file +# Any configuration value is only changed the first time it is set. +# Thus, host-specific definitions should be at the beginning of the +# configuration file, and defaults at the end. + +# Site-wide defaults for various options + +# Host * +# ForwardAgent no +# ForwardX11 no +# RhostsAuthentication no +# RhostsRSAAuthentication no +# RSAAuthentication yes +# PasswordAuthentication yes +# HostbasedAuthentication no +# BatchMode no +# CheckHostIP yes +# StrictHostKeyChecking ask +# IdentityFile ~/.ssh/identity +# IdentityFile ~/.ssh/id_rsa +# IdentityFile ~/.ssh/id_dsa +# Port 22 +# Protocol 2,1 +# Cipher 3des +# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc +# EscapeChar ~ +Host * + ForwardX11 yes diff --git a/packages/openssh/openssh-4.0p1/ssh_config b/packages/openssh/openssh-4.0p1/ssh_config new file mode 100644 index 0000000000..25ca7f56bd --- /dev/null +++ b/packages/openssh/openssh-4.0p1/ssh_config @@ -0,0 +1,38 @@ +# $OpenBSD: ssh_config,v 1.16 2002/07/03 14:21:05 markus Exp $ + +# This is the ssh client system-wide configuration file. See +# ssh_config(5) for more information. This file provides defaults for +# users, and the values can be changed in per-user configuration files +# or on the command line. + +# Configuration data is parsed as follows: +# 1. command line options +# 2. user-specific file +# 3. system-wide file +# Any configuration value is only changed the first time it is set. +# Thus, host-specific definitions should be at the beginning of the +# configuration file, and defaults at the end. + +# Site-wide defaults for various options + +# Host * +# ForwardAgent no +# ForwardX11 no +# RhostsAuthentication no +# RhostsRSAAuthentication no +# RSAAuthentication yes +# PasswordAuthentication yes +# HostbasedAuthentication no +# BatchMode no +# CheckHostIP yes +# StrictHostKeyChecking ask +# IdentityFile ~/.ssh/identity +# IdentityFile ~/.ssh/id_rsa +# IdentityFile ~/.ssh/id_dsa +# Port 22 +# Protocol 2,1 +# Cipher 3des +# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc +# EscapeChar ~ +Host * + ForwardX11 yes diff --git a/packages/openssh/openssh_3.8p1.bb b/packages/openssh/openssh_3.8p1.bb index 47f6d0f88c..48fda6285f 100644 --- a/packages/openssh/openssh_3.8p1.bb +++ b/packages/openssh/openssh_3.8p1.bb @@ -11,11 +11,12 @@ used to provide applications with a secure communication channel." HOMEPAGE = "http://www.openssh.org/" LICENSE = "BSD" MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" -PR = "r2" +PR="r3" SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \ file://configure.patch;patch=1 \ file://scp-nossl.patch;patch=1 \ + file://ssh_config \ file://sshd_config \ file://init" @@ -42,6 +43,7 @@ do_configure_prepend () { do_compile_append () { install -m 0644 ${WORKDIR}/sshd_config ${S}/ + install -m 0644 ${WORKDIR}/ssh_config ${S}/ } do_install_append() { diff --git a/packages/openssh/openssh_4.0p1.bb b/packages/openssh/openssh_4.0p1.bb index bcfe2f370f..ee5df1421d 100644 --- a/packages/openssh/openssh_4.0p1.bb +++ b/packages/openssh/openssh_4.0p1.bb @@ -17,11 +17,12 @@ used to provide applications with a secure communication channel." HOMEPAGE = "http://www.openssh.org/" LICENSE = "BSD" MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>" -PR = "r7" +PR = "r8" SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \ file://configure.patch;patch=1 \ file://sshd_config \ + file://ssh_config \ file://init" inherit autotools @@ -48,6 +49,7 @@ do_configure_prepend () { do_compile_append () { install -m 0644 ${WORKDIR}/sshd_config ${S}/ + install -m 0644 ${WORKDIR}/ssh_config ${S}/ } do_install_append() { diff --git a/packages/rsync/files/.mtn2git_empty b/packages/rsync/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/rsync/files/.mtn2git_empty diff --git a/packages/rsync/files/rsyncd.conf b/packages/rsync/files/rsyncd.conf new file mode 100644 index 0000000000..845f5b33f5 --- /dev/null +++ b/packages/rsync/files/rsyncd.conf @@ -0,0 +1,15 @@ +# /etc/rsyncd.conf + +# Minimal configuration file for rsync daemon +# See rsync(1) and rsyncd.conf(5) man pages for help + +# This file is required by rsync --daemon +pid file = /var/run/rsyncd.pid +use chroot = yes +read only = yes + +# Simple example for enabling your own local rsync server +#[everything] +# path = / +# comment = Everything except /etc exposed +# exclude = /etc diff --git a/packages/rsync/rsync_2.6.7.bb b/packages/rsync/rsync_2.6.7.bb index b5f8a654dd..421dc76d48 100644 --- a/packages/rsync/rsync_2.6.7.bb +++ b/packages/rsync/rsync_2.6.7.bb @@ -4,8 +4,14 @@ SECTION = "console/network" PRIORITY = "optional" PR = "r1" -SRC_URI = "http://rsync.samba.org/ftp/rsync/rsync-${PV}.tar.gz" +SRC_URI = "http://rsync.samba.org/ftp/rsync/rsync-${PV}.tar.gz \ +file://rsyncd.conf" inherit autotools +do_install_append() { + install -d ${D}/etc + install -m 0644 ${WORKDIR}/rsyncd.conf ${D}/etc +} + EXTRA_OEMAKE='STRIP=""' diff --git a/packages/syslinux/syslinux-native-2.11/.mtn2git_empty b/packages/syslinux/syslinux-native-2.11/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/syslinux/syslinux-native-2.11/.mtn2git_empty diff --git a/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch b/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch new file mode 100644 index 0000000000..7243464224 --- /dev/null +++ b/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch @@ -0,0 +1,10 @@ +--- syslinux-2.11/ldlinux.asm.orig 2005-11-01 14:25:10.767581544 -0700 ++++ syslinux-2.11/ldlinux.asm 2005-11-01 14:25:42.175806768 -0700 +@@ -724,7 +724,6 @@ + + mov eax,[bsHidden] ; Hidden sectors + add edx,[bxResSectors] +- add eax,edx + mov ecx,[bxFATsecs] ; Sectors/FAT + fat_load_loop: + mov ebp,ecx ; Make sure high EBP = 0 diff --git a/packages/syslinux/syslinux-native_2.11.bb b/packages/syslinux/syslinux-native_2.11.bb index 398a3f8b69..3c41afb945 100644 --- a/packages/syslinux/syslinux-native_2.11.bb +++ b/packages/syslinux/syslinux-native_2.11.bb @@ -1,12 +1,16 @@ # syslinux-native OE build file -# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) DESCRIPTION="A multi-purpose linux bootloader" HOMEPAGE="http://syslinux.zytor.com/" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" LICENSE="GPL" -SRC_URI="http://www.kernel.org/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2" +PR="r1" + +SRC_URI="http://www.kernel.org/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 \ +file://edx_assume_zero.patch;patch=1" S="${WORKDIR}/syslinux-${PV}" diff --git a/packages/syslinux/syslinux-native_3.11.bb b/packages/syslinux/syslinux-native_3.11.bb new file mode 100644 index 0000000000..f3a040b874 --- /dev/null +++ b/packages/syslinux/syslinux-native_3.11.bb @@ -0,0 +1,40 @@ +# syslinux-native OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="A multi-purpose linux bootloader" +HOMEPAGE="http://syslinux.zytor.com/" +MAINTAINER = "Raymond Danks <raymondd@ia.amd.com>" +LICENSE="GPL" + +PR="r1" + +SRC_URI="http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " + +S="${WORKDIR}/syslinux-${PV}" + +# If you really want to run syslinux, you need mtools. We just want the +# ldlinux.* stuff for now, so skip mtools-native + +DEPENDS="nasm-native" + +inherit native + +STAGE_TEMP=${WORKDIR}/stage_temp + +do_stage() { + install -d ${STAGE_TEMP} + oe_runmake install INSTALLROOT="${STAGE_TEMP}" + + install -d ${STAGING_BINDIR} + install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${STAGING_BINDIR} + + # When building media, the syslinux binary isn't nearly as useful + # as the DOS data files, so we copy those into a special location + # for usage during a image build stage + + install -d ${STAGING_DATADIR}/syslinux + install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin + install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys + install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss +} |