[oe-commits] org.oe.dev merge of '03a6d73778554bdbea429845e2f717d7a2beb2f3'

thebohemian commit openembedded-commits at lists.openembedded.org
Thu Jan 3 01:28:57 UTC 2008


merge of '03a6d73778554bdbea429845e2f717d7a2beb2f3'
     and 'de9cd407cd0ce372b951a6d6982f2d16a44dd95b'

Author: thebohemian at openembedded.org
Branch: org.openembedded.dev
Revision: a6b9ef5fe5310c10bd46553489af4d825255e614
ViewMTN: http://monotone.openembedded.org/revision/info/a6b9ef5fe5310c10bd46553489af4d825255e614
Files:
1
packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302
packages/linux/linux-2.6.23+2.6.24-rc6
packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek
packages/util-linux-ng
conf/machine/gesbc-9302.conf
packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/0001-gesbc-nand.patch
packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/defconfig
packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek/0001-2.6.23-at91.patch
packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek/0002-at91sam9260ek_defconfig.patch
packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek/defconfig
packages/linux/linux_2.6.23+2.6.24-rc6.bb
packages/util-linux-ng/util-linux-ng.inc
packages/util-linux-ng/util-linux-ng_2.13.1.bb
MAINTAINERS
packages/linux/linux-rp-2.6.23/defconfig-poodle
packages/linux/linux-rp_2.6.23.bb
packages/linux/linux_2.6.23+2.6.24-rc5.bb
packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb
packages/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
packages/sgmlspl
packages/sgmlspl/files
packages/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
packages/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb
packages/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
packages/sgmlspl/files/combined.patch
packages/sgmlspl/sgmlspl-native_1.03ii.bb
packages/docbook-utils/docbook-utils-native_0.6.14.bb
Diffs:

#
# mt diff -r03a6d73778554bdbea429845e2f717d7a2beb2f3 -ra6b9ef5fe5310c10bd46553489af4d825255e614
#
# 
# 
# add_dir "packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302"
# 
# add_dir "packages/linux/linux-2.6.23+2.6.24-rc6"
# 
# add_dir "packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek"
# 
# add_dir "packages/util-linux-ng"
# 
# add_file "conf/machine/gesbc-9302.conf"
#  content [dc5cebcd4e8515d7e65c4053f016747909663f28]
# 
# add_file "packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/0001-gesbc-nand.patch"
#  content [ab4bd36055349047026603f7f1035fe82b99c6e6]
# 
# add_file "packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/defconfig"
#  content [9dd09f9d70607d6a484fe477d1ad29e3da5382a9]
# 
# add_file "packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek/0001-2.6.23-at91.patch"
#  content [707e51aa6cd3708350eac84d75dac92c331ebcb6]
# 
# add_file "packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek/0002-at91sam9260ek_defconfig.patch"
#  content [1c329717e813ec3539ae5ede3b9e483408c66fe5]
# 
# add_file "packages/linux/linux-2.6.23+2.6.24-rc6/at91sam9260ek/defconfig"
#  content [4a6da18c95a3d28a7e9e1d26bdcb8e1f265a4078]
# 
# add_file "packages/linux/linux_2.6.23+2.6.24-rc6.bb"
#  content [484f320fd5570d9501196799d9d68a36d909f36f]
# 
# add_file "packages/util-linux-ng/util-linux-ng.inc"
#  content [5cc612853b6855e2f4df6b91f5f06801c6b029aa]
# 
# add_file "packages/util-linux-ng/util-linux-ng_2.13.1.bb"
#  content [506c0f835de96a1c5623a992679b614ef4a4555f]
# 
# patch "MAINTAINERS"
#  from [4feb68bdd9be0d74c5e83609ed81cdb2f0e33169]
#    to [8be8b1832f42218d3cc6ae809b61dc80fcd70003]
# 
# patch "packages/linux/linux-rp-2.6.23/defconfig-poodle"
#  from [09d7ed3a857d79fd98b743e6eb0e827e353a6ada]
#    to [d11e4161fb755938b4e6bae34a26fbc99e3c8005]
# 
# patch "packages/linux/linux-rp_2.6.23.bb"
#  from [cae2b6640f80fb88e382ef42fd697c013b99999d]
#    to [08d45cd12fcab8632fad9c0dd6c9a29f3e37ca2b]
# 
# patch "packages/linux/linux_2.6.23+2.6.24-rc5.bb"
#  from [13ddabf2aeaf44b5315cb84028c6cae9a8168953]
#    to [8cef3230be1ba924b6e2c80492f1092a17566910]
# 
============================================================
--- conf/machine/gesbc-9302.conf	dc5cebcd4e8515d7e65c4053f016747909663f28
+++ conf/machine/gesbc-9302.conf	dc5cebcd4e8515d7e65c4053f016747909663f28
@@ -0,0 +1,29 @@
+#@TYPE: Machine
+#@Name: Glomation GESBC-9302 single board computer
+#@DESCRIPTION: Low cost SBC based on Cirrus Logic EP9302 CPU
+
+TARGET_ARCH = "arm"
+PACKAGE_EXTRA_ARCHS = "armv4t"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_VERSION_linux ?= "2.6.23+2.6.24-rc5"
+
+#don't try to access tty1
+USE_VT = "0"
+
+MACHINE_FEATURES = "kernel26 apm alsa ext2 pcmcia usbhost screen"
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "57600 ttyAM0"
+
+# used by some images
+ROOT_FLASH_SIZE = "8"
+#extra jffs2 tweaks
+EXTRA_IMAGECMD_jffs2 = "--eraseblock=0x40000 --pad=0x500000 "
+
+#tune for ep93xx cpus
+#can be used for crunch support later on
+#require conf/machine/include/tune-ep9312.inc
+
+require conf/machine/include/tune-arm920t.inc
+
============================================================
--- packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/0001-gesbc-nand.patch	ab4bd36055349047026603f7f1035fe82b99c6e6
+++ packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/0001-gesbc-nand.patch	ab4bd36055349047026603f7f1035fe82b99c6e6
@@ -0,0 +1,306 @@
+From 9819226a16a12ba0545e90b475fa70d408544971 Mon Sep 17 00:00:00 2001
+From: Cliff Brake <cbrake at happy.(none)>
+Date: Mon, 17 Dec 2007 16:45:47 -0500
+Subject: [PATCH] gesbc-nand
+
+---
+ drivers/mtd/nand/Kconfig  |    7 ++
+ drivers/mtd/nand/Makefile |    1 +
+ drivers/mtd/nand/gesbc.c  |  255 +++++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 263 insertions(+), 0 deletions(-)
+ create mode 100644 drivers/mtd/nand/gesbc.c
+
+diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
+index 246d451..cde3146 100644
+--- a/drivers/mtd/nand/Kconfig
++++ b/drivers/mtd/nand/Kconfig
+@@ -51,6 +51,13 @@ config MTD_NAND_EDB7312
+ 	  This enables the driver for the Cirrus Logic EBD7312 evaluation
+ 	  board to access the onboard NAND Flash.
+ 
++config MTD_NAND_GESBC
++	tristate "Support for Glomation GESBC-93xx board"
++	depends on MTD_NAND && MACH_EDB9302
++	help
++	  This enables the driver for the Glomation GESBC-93xx
++	  board to access the onboard NAND Flash.
++
+ config MTD_NAND_H1900
+ 	tristate "iPAQ H1900 flash"
+ 	depends on ARCH_PXA && MTD_PARTITIONS
+diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
+index 3ad6c01..58c1961 100644
+--- a/drivers/mtd/nand/Makefile
++++ b/drivers/mtd/nand/Makefile
+@@ -12,6 +12,7 @@ obj-$(CONFIG_MTD_NAND_AMS_DELTA)	+= ams-delta.o
+ obj-$(CONFIG_MTD_NAND_TOTO)		+= toto.o
+ obj-$(CONFIG_MTD_NAND_AUTCPU12)		+= autcpu12.o
+ obj-$(CONFIG_MTD_NAND_EDB7312)		+= edb7312.o
++obj-$(CONFIG_MTD_NAND_GESBC)		+= gesbc.o
+ obj-$(CONFIG_MTD_NAND_AU1550)		+= au1550nd.o
+ obj-$(CONFIG_MTD_NAND_BF5XX)		+= bf5xx_nand.o
+ obj-$(CONFIG_MTD_NAND_PPCHAMELEONEVB)	+= ppchameleonevb.o
+diff --git a/drivers/mtd/nand/gesbc.c b/drivers/mtd/nand/gesbc.c
+new file mode 100644
+index 0000000..a5844b1
+--- /dev/null
++++ b/drivers/mtd/nand/gesbc.c
+@@ -0,0 +1,255 @@
++/*
++ *  drivers/mtd/nand/gesbc-9302.c
++ *
++ *  Copyright (C) 2004 Glomation (support at glomationinc.com)
++ *
++ *  Derived from drivers/mtd/nand/edb7312.c
++ *       Copyright (C) 2004 Marius Grer (mag at sysgo.de)
++ *
++ *  Derived from drivers/mtd/nand/autcpu12.c
++ *       Copyright (c) 2001 Thomas Gleixner (gleixner at autronix.de)
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
++ *
++ *  Overview:
++ *   This is a device driver for the NAND flash device found on the
++ *   GESBC-93xx board with Samsung 128/256/512 Mbyte part.
++ */
++
++#include <linux/slab.h>
++#include <linux/module.h>
++#include <linux/init.h>
++#include <linux/mtd/mtd.h>
++#include <linux/mtd/nand.h>
++#include <linux/mtd/partitions.h>
++#include <asm/io.h>
++#include <asm/arch/hardware.h>
++#include <asm/sizes.h>
++
++#define GESBC_NAND_FLASH_DATA 0x10000000
++
++#define GPIO_PADR	EP93XX_GPIO_REG(0x0)
++#define GPIO_PADDR	EP93XX_GPIO_REG(0x10)
++#define SMCBCR1		(EP93XX_AHB_VIRT_BASE + 0x00082000 + 0x04)
++
++/*
++ * MTD structure for GESBC-93xx board
++ */
++static struct mtd_info *gesbc_mtd = NULL;
++
++
++/*
++ * Module stuff
++ */
++static unsigned long gesbc_fio_pbase = GESBC_NAND_FLASH_DATA;
++
++#ifdef CONFIG_MTD_PARTITIONS
++/*
++ * Define static partitions for flash device
++ */
++static struct mtd_partition partition_info32[] = {
++	{ .name= "GESBC NAND FLASH",
++		  .offset= 0,
++		  .size= 128*1024*1024 },
++};
++/*
++ * Define static partitions for flash device
++ */
++static struct mtd_partition partition_info128[] = {
++	{ .name= "GESBC NAND FLASH",
++		  .offset= 0,
++		  .size= 128*1024*1024 },
++};
++
++/*
++ * Define static partitions for flash device
++ */
++static struct mtd_partition partition_info256[] = {
++	{ .name= "GESBC NAND FLASH",
++		  .offset= 0,
++		  .size= 256*1024*1024 },
++};
++
++/*
++ * Define static partitions for flash device
++ */
++static struct mtd_partition partition_info512[] = {
++	{ .name= "GESBC NAND FLASH",
++		  .offset= 0,
++		  .size= 512*1024*1024 },
++};
++
++#define NUM_PARTITIONS 1
++#endif
++
++
++/* 
++ *	hardware specific access to control-lines
++ *      NAND_NCE: bit 0 -> bit 3
++ *      NAND_CLE: bit 1 -> bit 4
++ *      NAND_ALE: bit 2 -> bit 6
++ */
++static void gesbc_hwcontrol(struct mtd_info *mtd, int cmd, int ctrl) 
++{
++	unsigned long flags;
++        struct nand_chip *chip = mtd->priv;
++
++	/* Disbale interrupt to avoid race condition */
++	local_irq_save(flags);
++
++        if (ctrl & NAND_CTRL_CHANGE) {
++                unsigned char bits;
++
++                bits = (ctrl & NAND_CLE) << 3;
++                bits |= (ctrl & NAND_ALE) << 4;
++		if (ctrl & NAND_NCE)
++			bits &= ~0x08;
++		else
++			bits |= 0x08;
++
++		__raw_writel( (__raw_readl(GPIO_PADR) & ~0x58 )| bits, GPIO_PADR);
++        }
++        if (cmd != NAND_CMD_NONE)
++                writeb(cmd, chip->IO_ADDR_W);
++	/* Restore interrupt state */
++	local_irq_restore(flags);
++}
++
++/*
++ *	read device ready pin
++ */
++static int gesbc_device_ready(struct mtd_info *mtd)
++{
++	return  (__raw_readl(GPIO_PADR) & 0x80) >> 7;
++}
++
++#define MTDID      "s3c2440-nand"
++
++static const char *probes[] = { "cmdlinepart", NULL };
++
++
++
++/*
++ * Main initialization routine
++ */
++static int __init gesbc_nand_init (void)
++{
++	struct nand_chip *this;
++	const char *part_type = 0;
++	int mtd_parts_nb = 0;
++	struct mtd_partition *mtd_parts = 0;
++	unsigned long flags;
++	void * gesbc_fio_base;
++
++	/* Allocate memory for MTD device structure and private data */
++	gesbc_mtd = kmalloc(sizeof(struct mtd_info) + 
++			     sizeof(struct nand_chip),
++			     GFP_KERNEL);
++	if (!gesbc_mtd) {
++		printk("Unable to allocate GESBC NAND MTD device structure.\n");
++		return -ENOMEM;
++	}
++
++	/* map physical adress */
++	gesbc_fio_base = ioremap(gesbc_fio_pbase, SZ_1K);
++	if(!gesbc_fio_base) {
++		printk("ioremap GESBC-93xx NAND flash failed\n");
++		kfree(gesbc_mtd);
++		return -EIO;
++	}
++
++	
++	/* Get pointer to private data */
++	this = (struct nand_chip *) (&gesbc_mtd[1]);
++	
++	/* Initialize structures */
++	memset((char *) gesbc_mtd, 0, sizeof(struct mtd_info));
++	memset((char *) this, 0, sizeof(struct nand_chip));
++
++	/* Link the private data with the MTD structure */
++	gesbc_mtd->priv = this;
++
++	/* Disbale interrupt to avoid race condition */
++	local_irq_save(flags);
++
++	/*
++	 * Set GPIO Port A control register so that the pins are configured
++	 * to be outputs for controlling the NAND flash.
++	 */
++	__raw_writel((__raw_readl(GPIO_PADDR) | 0x58) & ~0x80, GPIO_PADDR);
++	/* Clear NCE, clear CLE, clear ALE */
++	__raw_writel( (__raw_readl(GPIO_PADR) | 0x08 ) & ~0x50, GPIO_PADR);
++	/* Set SRAM controller to 32 bit (8 bit just doesn't work, don't know why) bus width and 7 CLK wait state */
++	__raw_writel(0x10003ce0, SMCBCR1);
++	local_irq_restore(flags);
++
++	
++	/* insert callbacks */
++	this->IO_ADDR_R = (void *) gesbc_fio_base;
++	this->IO_ADDR_W = (void *) gesbc_fio_base;
++	this->cmd_ctrl = (void *) gesbc_hwcontrol;
++	this->dev_ready = gesbc_device_ready;
++	this->chip_delay = 25;
++	this->ecc.mode = NAND_ECC_SOFT;
++	
++	__raw_writel(0xffffffff, gesbc_fio_base);
++	printk("Searching for NAND flash...\n");
++	/* Scan to find existence of the device */
++	if (nand_scan (gesbc_mtd, 1)) {
++		iounmap((void *)gesbc_fio_base);
++		kfree (gesbc_mtd);
++		return -ENXIO;
++	}
++
++#ifdef CONFIG_MTD_CMDLINE_PARTS
++        gesbc_mtd->name="GESBC-NAND";
++        mtd_parts_nb = parse_mtd_partitions(gesbc_mtd,  probes, &mtd_parts, 0);
++        if (mtd_parts_nb > 0)
++                part_type = "command line";
++        else
++                mtd_parts_nb = 0;
++#endif
++
++	if (mtd_parts_nb == 0)
++	{
++		mtd_parts_nb = NUM_PARTITIONS;
++		mtd_parts = partition_info32;
++		if (gesbc_mtd->size >= (128 * 0x100000))
++			mtd_parts = partition_info128;
++		if (gesbc_mtd->size >= (256 * 0x100000))
++			mtd_parts = partition_info256;
++		if (gesbc_mtd->size >= (512 * 0x100000))
++			mtd_parts = partition_info512;
++		part_type = "static";
++	}
++	
++	/* Register the partitions */
++	printk(KERN_NOTICE "Using %s partition definition\n", part_type);
++	add_mtd_partitions(gesbc_mtd, mtd_parts, mtd_parts_nb);
++	
++	/* Return happy */
++	return 0;
++}
++module_init(gesbc_nand_init);
++
++/*
++ * Clean up routine
++ */
++static void __exit gesbc_nand_cleanup (void)
++{
++/*	struct nand_chip *this = (struct nand_chip *) &gesbc_mtd[1]; */
++	
++	/* Unregister the device */
++	del_mtd_device (gesbc_mtd);
++	
++	/* Free the MTD device structure */
++	kfree (gesbc_mtd);
++}
++module_exit(gesbc_nand_cleanup);
++
++MODULE_LICENSE("GPL");
++MODULE_AUTHOR("zql at glomationinc.com");
++MODULE_DESCRIPTION("MTD map driver for Glomation GESBC-93xx board");
++
+-- 
+1.5.2.5
+
============================================================
--- packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/defconfig	9dd09f9d70607d6a484fe477d1ad29e3da5382a9
+++ packages/linux/linux-2.6.23+2.6.24-rc5/gesbc-9302/defconfig	9dd09f9d70607d6a484fe477d1ad29e3da5382a9
@@ -0,0 +1,1125 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.24-rc5
+# Mon Dec 17 17:01:48 2007
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+# CONFIG_GENERIC_GPIO is not set
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+# CONFIG_NO_IOPORT is not set
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+# CONFIG_AUDIT is not set
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=14
+# CONFIG_CGROUPS is not set
+# CONFIG_FAIR_GROUP_SCHED is not set
+# CONFIG_SYSFS_DEPRECATED is not set
+# CONFIG_RELAY is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+CONFIG_EMBEDDED=y
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_ALL is not set
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLAB=y
+# CONFIG_SLUB is not set
+# CONFIG_SLOB is not set
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+CONFIG_IOSCHED_DEADLINE=y
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+CONFIG_DEFAULT_DEADLINE=y
+# CONFIG_DEFAULT_CFQ is not set
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="deadline"
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_CO285 is not set
+# CONFIG_ARCH_EBSA110 is not set
+CONFIG_ARCH_EP93XX=y
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+
+#
+# Cirrus EP93xx Implementation Options
+#
+CONFIG_CRUNCH=y
+
+#
+# EP93xx Platforms
+#
+# CONFIG_MACH_ADSSPHERE is not set
+CONFIG_MACH_EDB9302=y
+# CONFIG_MACH_EDB9302A is not set
+# CONFIG_MACH_EDB9307 is not set
+# CONFIG_MACH_EDB9312 is not set
+# CONFIG_MACH_EDB9315 is not set
+# CONFIG_MACH_EDB9315A is not set
+# C%s
>>> DIFF TRUNCATED @ 16K


#
# mt diff -rde9cd407cd0ce372b951a6d6982f2d16a44dd95b -ra6b9ef5fe5310c10bd46553489af4d825255e614
#
# 
# 
# rename "packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb"
#     to "packages/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb"
# 
# add_dir "packages/sgmlspl"
# 
# add_dir "packages/sgmlspl/files"
# 
# add_file "packages/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb"
#  content [8af8a43ede5d17504c520bf8d4329c50aeb479f1]
# 
# add_file "packages/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb"
#  content [e8096a2fc94fd8c1d952962f9e9a3172902171fb]
# 
# add_file "packages/docbook-sgml-dtd/docbook-sgml-dtd-native.inc"
#  content [01a0574c4b3118881ffd717a2614da49aad139af]
# 
# add_file "packages/sgmlspl/files/combined.patch"
#  content [4ca5a624cdcc66efa1d3aa936c8a9a116486d189]
# 
# add_file "packages/sgmlspl/sgmlspl-native_1.03ii.bb"
#  content [d31e81ad7221fd62d1b0de0b029adda659ed88a2]
# 
# patch "packages/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb"
#  from [dc639dcc8d259f0b47f5c3350b926cc213ffe48f]
#    to [1fc1597723f6cd7f859c6ab5cb7cd2829205a052]
# 
# patch "packages/docbook-utils/docbook-utils-native_0.6.14.bb"
#  from [1a0a22dd392f60cedcc86e8ef30f293786d3ebc9]
#    to [a71a90f95c1e63d6e70e783d56e0e3d756600f16]
# 
============================================================
--- packages/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb	8af8a43ede5d17504c520bf8d4329c50aeb479f1
+++ packages/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb	8af8a43ede5d17504c520bf8d4329c50aeb479f1
@@ -0,0 +1,12 @@
+require docbook-sgml-dtd-native.inc
+
+DTD_VERSION = "4.1"
+
+SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip"
+
+do_compile() {
+    # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
+    # for details.
+		sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
+}
+
============================================================
--- packages/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb	e8096a2fc94fd8c1d952962f9e9a3172902171fb
+++ packages/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb	e8096a2fc94fd8c1d952962f9e9a3172902171fb
@@ -0,0 +1,10 @@
+require docbook-sgml-dtd-native.inc
+
+DTD_VERSION = "4.4"
+
+do_compile() {
+    # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
+    # for details.
+		sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
+}
+
============================================================
--- packages/docbook-sgml-dtd/docbook-sgml-dtd-native.inc	01a0574c4b3118881ffd717a2614da49aad139af
+++ packages/docbook-sgml-dtd/docbook-sgml-dtd-native.inc	01a0574c4b3118881ffd717a2614da49aad139af
@@ -0,0 +1,31 @@
+# The DTDs of the various versions have to be installed in parallel and should
+# not replace each other. The installation step is common for all versions
+# and just differs in the DTD_VERSION.
+#
+# However the DTDs need some quirks (see LFS documentation).
+
+DESCRIPTION = "Document type definitions for verification of SGML data files against the DocBook rule set"
+
+DEPENDS = "sgml-common-native"
+
+SRC_URI = "http://www.docbook.org/sgml/${DTD_VERSION}/docbook-${DTD_VERSION}.zip"
+
+S = "${WORKDIR}"
+
+inherit native
+
+do_stage () {
+    # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
+    # for details.
+    install -d -m 755 ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}
+    install docbook.cat ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
+    cp -dpr *.dtd *.mod *.dcl ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}
+    
+    install-catalog --add ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat \
+      ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
+	
+    install-catalog --add ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat \
+      ${sysconfdir}/sgml/sgml-docbook.cat
+}
+
+PACKAGES = ""
============================================================
--- packages/sgmlspl/files/combined.patch	4ca5a624cdcc66efa1d3aa936c8a9a116486d189
+++ packages/sgmlspl/files/combined.patch	4ca5a624cdcc66efa1d3aa936c8a9a116486d189
@@ -0,0 +1,454 @@
+--- libsgmls-perl-1.03ii.orig/Makefile
++++ libsgmls-perl-1.03ii/Makefile
+@@ -94,5 +94,5 @@
+ 	mv /tmp/${DIST} SGMLSpm
+ 
+ clean:
+-	cd DOC; make clean
++	#cd DOC; make clean
+ 	rm -f *~ core *.tar *.tar.gz
+--- libsgmls-perl-1.03ii.orig/Makefile.PL
++++ libsgmls-perl-1.03ii/Makefile.PL
+@@ -0,0 +1,17 @@
++use ExtUtils::MakeMaker;
++# See lib/ExtUtils/MakeMaker.pm for details of how to influence
++# the contents of the Makefile that is written.
++WriteMakefile(
++      'NAME'	=> 'SGMLS',
++      'VERSION'	=> '1.03ii',
++      'PM'	=> { 'SGMLS.pm' => '$(INST_LIBDIR)/SGMLS.pm',
++		     'Output.pm' => '$(INST_LIBDIR)/SGMLS/Output.pm',
++		     'Refs.pm' => '$(INST_LIBDIR)/SGMLS/Refs.pm',
++		     'skel.pl' => '$(INST_LIBDIR)/sgmlspl-specs/skel.pl',
++		 },
++      'MAN3PODS'=> { 'SGMLS.pm' => '$(INST_MAN3DIR)/SGMLS.3pm',
++		     'Output.pm' => '$(INST_MAN3DIR)/SGMLS::Output.3pm',
++		     'Refs.pm' => '$(INST_MAN3DIR)/SGMLS::Refs.3pm',
++		 },
++      'EXE_FILES' => [ 'sgmlspl', ],
++);
+--- libsgmls-perl-1.03ii.orig/Output.pm
++++ libsgmls-perl-1.03ii/Output.pm
+@@ -5,7 +5,7 @@
+ @ISA = Exporter;
+ @EXPORT = qw(output push_output pop_output);
+ 
+-$version = '$Id: Output.pm,v 1.6 1995/12/05 12:21:51 david Exp $';
++$version = '$Id: Output.pm,v 1.1 1999/10/26 19:30:45 ardo Exp $';
+ 
+ =head1 NAME
+ 
+--- libsgmls-perl-1.03ii.orig/Refs.pm
++++ libsgmls-perl-1.03ii/Refs.pm
+@@ -2,11 +2,11 @@
+ 
+ use Carp;
+ 
+-$version = '$Id: Refs.pm,v 1.5 1995/12/03 21:28:36 david Exp $';
++$version = '$Id: Refs.pm,v 1.1 1999/10/26 19:30:45 ardo Exp $';
+ 
+ =head1 NAME
+ 
+-SGMLS::Refs
++SGMLS::Refs - Forward refeence handling
+ 
+ =head1 SYNOPSIS
+ 
+--- libsgmls-perl-1.03ii.orig/sgmlspl.1
++++ libsgmls-perl-1.03ii/sgmlspl.1
+@@ -0,0 +1,47 @@
++.\" -*- nroff -*-
++.\" ----------------------------------------------------------------------
++.TH SGMLSPL 1 "October 26, 1999" "SGMLSPL" "SGMLSPL"
++.\"
++.\" ----------------------------------------------------------------------
++.SH "NAME"
++sgmlspl \- a simple post-processor for nsgmls
++.\"
++.\" ----------------------------------------------------------------------
++.SH "SYNOPSIS"
++.B sgmlspl
++.I "spec file"
++.\"
++.\" ----------------------------------------------------------------------
++.SH "DESCRIPTION"
++sgmlspl is a sample application to convert SGML documents to other
++formats by providing a specification file detailing exactly how to
++handle each element, external data entity, subdocument entity, CDATA
++string, record end, SDATA string, and processing instruction.
++
++To use sgmlspl, prepare a specification file containing regular perl5
++code. If the SGML document were named doc.sgml, the sgmlspl
++specification file were named, spec.pl, and the name of the new file
++were doc.latex, then use the following command in a Unix shell to
++convert the SGML document:
++
++nsgmls doc.sgml | sgmlspl spec.pl > doc.latex
++
++sgmlspl will pass any additional arguments on to the specification
++file, which can then process them in the regular perl5 fashion.
++.\"
++.\" ----------------------------------------------------------------------
++.SH "SEE ALSO"
++.TP
++.BR /usr/share/doc/sgmls-doc/sgmlspl/sgmlspl.html
++sgmlspl documentation in HTML format
++.TP
++.BR /usr/share/doc/sgmls-doc/SGMLSpm/sgmls.html
++SGMLS documentation in HTML format
++.TP
++.BR nsgmls (1)
++.\"
++.\" ----------------------------------------------------------------------
++.SH "AUTHOR"
++Ardo van Rangelrooij <ardo at debian.org>
++.\"
++.\" ----------------------------------------------------------------------
+--- libsgmls-perl-1.03ii.orig/sgmlspl
++++ libsgmls-perl-1.03ii/sgmlspl
+@@ -0,0 +1,323 @@
++#!/usr/bin/perl
++########################################################################
++# sgmlspl: a simple SGML postprocesser for the SGMLS and NSGMLS
++#          parsers (requires SGMLS.pm library).
++#
++# Copyright (c) 1995 by David Megginson <dmeggins at aix1.uottawa.ca>
++#
++# This program is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 2 of the License, or
++# (at your option) any later version.
++#
++# This program 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 General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with this program; if not, write to the Free Software
++# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++#
++# $Log: sgmlspl,v $
++# Revision 1.1  2004/02/23 01:23:07  ardo
++# Added debian changes for version 1.03ii-27.
++#
++# Revision 1.1  2001/04/15 14:42:01  ardo
++# *** empty log message ***
++#
++# Revision 1.8  1995/12/03  21:46:31  david
++# Eliminated all use of the SGMLS_Event::key method.
++#
++# Revision 1.7  1995/11/15  20:22:24  david
++# Changed "use Output" to "use SGMLS::Output".  Qualified the STDIN
++# filehandle for the SGMLS object with the main:: package name.
++#
++# Revision 1.6  1995/08/12  16:15:14  david
++# Revised version for 1.01 distribution.
++#
++# Revision 1.5  1995/04/27  11:52:25  david
++# Changed 'print' to 'main::output' for re handler; empty string
++# translates into an empty sub {} rather than a sub printing an empty
++# string; instead of evaluating every argument as a perl script, take
++# only the first as a perl script and the rest as its arguments; allow
++# empty scripts or scripts which do not end with '1;'; pass the event
++# itself as the second argument to each handler, after the event data.
++#
++# Revision 1.4  1995/04/23  14:44:58  david
++# Use the Output package.  Fixed the $version variable.
++#
++# Revision 1.3  1995/04/22  21:02:49  david
++# Added some missing 'last SWITCH;' statements in the sgmls function.
++#
++# Revision 1.2  1995/04/22  20:58:48  david
++# Added $SGMLS_PL::version variable and changed SDATA notation from
++# [SDATA] to |SDATA|.
++#
++# Revision 1.1  1995/04/22  14:40:50  david
++# Initial revision
++#
++########################################################################
++
++use SGMLS::Output;
++
++package SGMLS_PL;
++use SGMLS;
++
++$version = '$Id: sgmlspl,v 1.1 2004/02/23 01:23:07 ardo Exp $';
++
++#
++# Set up handler defaults.
++#
++$start_document_handler = sub {};
++$end_document_handler = sub {};
++$start_element_handlers = { '' => sub {} };
++$end_element_handlers = { '' => sub {} };
++$cdata_handler = sub { main::output($_[0]); };
++$sdata_handlers = { '' => sub { main::output($_[0]);} };
++$re_handler = sub { main::output("\n"); };
++$pi_handler = sub { '' => sub {} };
++$entity_handlers = { '' => sub {} };
++$start_subdoc_handlers = { '' => sub {} };
++$end_subdoc_handlers = { '' => sub {} };
++$conforming_handler = sub {};
++
++#
++# Main access point: declare handlers for different SGML events.
++#
++# Usage: sgml(event, handler);
++#
++# The event may be one of the following strings, or a special pattern.
++# The generic events are as follow:
++#
++#   'start'                 The beginning of the document.
++#   'end'                   The end of the document.
++#   'start_element'         The beginning of an element.
++#   'end_element'           The end of an element.
++#   'cdata'                 Regular character data.
++#   'sdata'                 Special system-specific data.
++#   're'                    A record-end.
++#   'pi'                    A processing instruction.
++#   'entity'                An external-entity reference.
++#   'start_subdoc'          The beginning of a subdocument entity.
++#   'end_subdoc'            The end of a subdocument entity.
++#   'conforming'            The document is conforming.
++#
++# In addition to these generic events, it is possible to handlers
++# for certain specific, named events, as follow:
++#
++#   '<GI>'                  The beginning of element GI.
++#   '</GI>'                 The end of element GI.
++#   '[SDATA]'               The system-specific data SDATA.
++#   '&ENAME;'               A reference to the external entity ENAME.
++#   '{ENAME}'               The beginning of the subdocument-entity ENAME.
++#   '{/ENAME}'              The end of the subdocument-entity ENAME.
++#
++#
++# The handler may be a string, which will simply be printed when the
++# event occurs (this is usually useful only for the specific, named
++# events), or a reference to an anonymous subroutine, which will
++# receive two arguments: the event data and the event itself.  For 
++# example,
++#
++#   sgml('<FOO>', "\n\\begin{foo}\n");
++#
++# and
++#
++#   sgml('<FOO>', sub { output("\n\\begin{foo}\n"); });
++#
++# will have identical results.
++#
++sub main::sgml {
++    my ($spec,$handler) = (@_);
++    if (ref($handler) ne 'CODE') {
++	$handler =~ s/\\/\\\\/g;
++	$handler =~ s/'/\\'/g;
++	if ($handler eq '') {
++	    $handler = sub {};
++	} else {
++	    $handler = eval "sub { main::output('$handler'); };";
++	}
++    }
++  SWITCH: {
++				# start-document handler
++      $spec eq 'start' && do {
++	  $start_document_handler = $handler;
++	  last SWITCH;
++      };
++				# end-document handler
++      $spec eq 'end' && do {
++	  $end_document_handler = $handler;
++	  last SWITCH;
++      };
++				# start-element handler
++      $spec =~ /^<([^\/].*|)>$/ && do {
++	  $start_element_handlers->{$1} = $handler;
++	  last SWITCH;
++      };
++				# generic start-element handler
++      $spec eq 'start_element' && do {
++	  $start_element_handlers->{''} = $handler;
++	  last SWITCH;
++      };
++				# end-element handler
++      $spec =~ /^<\/(.*)>$/ && do {
++	  $end_element_handlers->{$1} = $handler;
++	  last SWITCH;
++      };
++				# generic end-element handler
++      $spec =~ 'end_element' && do {
++	  $end_element_handlers->{''} = $handler;
++	  last SWITCH;
++      };
++				# cdata handler
++      $spec eq 'cdata' && do {
++	  $cdata_handler = $handler;
++	  last SWITCH;
++      };
++				# sdata handler
++      $spec =~ /^\|(.*)\|$/ && do {
++	  $sdata_handlers->{$1} = $handler;
++	  last SWITCH;
++      };
++				# generic sdata handler
++      $spec eq 'sdata' && do {
++	  $sdata_handlers->{''} = $handler;
++	  last SWITCH;
++      };
++				# record-end handler
++      $spec eq 're' && do {
++	  $re_handler = $handler;
++	  last SWITCH;
++      };
++				# processing-instruction handler
++      $spec eq 'pi' && do {
++	  $pi_handler = $handler;
++	  last SWITCH;
++      };
++				# entity-reference handler
++      $spec =~ /^\&(.*);$/ && do {
++	  $entity_handlers->{$1} = $handler;
++	  last SWITCH;
++      };
++				# generic entity-reference handler
++      $spec eq 'entity' && do {
++	  $entity_handlers->{''} = $handler;
++	  last SWITCH;
++      };
++				# start-subdoc handler
++      $spec =~ /^\{([^\/].*|)\}$/ && do {
++	  $start_subdoc_handlers->{$1} = $handler;
++	  last SWITCH;
++      };
++				# generic start-subdoc handler
++      $spec eq 'start_subdoc' && do {
++	  $start_subdoc_handlers->{''} = $handler;
++	  last SWITCH;
++      };
++				# end-subdoc handler
++      $spec =~ /^\{\/(.*)\}$/ && do {
++	  $end_subdoc_handlers->{$1} = $handler;
++	  last SWITCH;
++      };
++				# generic end-subdoc handler
++      $spec eq 'end_subdoc' && do {
++	  $end_subdoc_handlers->{''} = $handler;
++	  last SWITCH;
++      };
++				# conforming handler
++      $spec eq 'conforming' && do {
++	  $conforming_handler = $handler;
++	  last SWITCH;
++      };
++
++      die "Bad SGML handler pattern: $spec\n";
++  }
++}
++
++
++#
++# The first argument on the command line is a perl module which will be
++# read here and evaluated in the 'main' package -- everything else will
++# be an argument to it.
++#
++package main;
++
++$ARGV = shift;
++unless ($ARGV eq '' || do 'sgmlspl-specs/' . $ARGV || do $ARGV) {
++    if (!-e $ARGV) {
++	die "FATAL: $ARGV does not exist.\n";
++    } elsif (!-r $ARGV) {
++	die "FATAL: $ARGV exists but is read-protected.\n";
++    } elsif ($@) {
++	die "FATAL: $@\n";
++    }
++}
++
++
++#
++# Do the actual work, using the SGMLS package.
++#
++package SGMLS_PL;
++
++$parse = new SGMLS(main::STDIN);	# a new parse object
++
++&{$start_document_handler}();	# run the start handler.
++
++				# run the appropriate ha%s
>>> DIFF TRUNCATED @ 16K






More information about the Openembedded-commits mailing list