From d9f0c399c1afb4bb50e860370fd3adae82c7d34f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Apr 2007 16:25:16 +0000 Subject: linux-ezx: de-html defconfig --- packages/linux/linux-ezx-2.6.20.7/defconfig-a780 | 107 +---------------------- 1 file changed, 2 insertions(+), 105 deletions(-) (limited to 'packages/linux') diff --git a/packages/linux/linux-ezx-2.6.20.7/defconfig-a780 b/packages/linux/linux-ezx-2.6.20.7/defconfig-a780 index 04735c6136..a9300a61f5 100644 --- a/packages/linux/linux-ezx-2.6.20.7/defconfig-a780 +++ b/packages/linux/linux-ezx-2.6.20.7/defconfig-a780 @@ -1,88 +1,4 @@ - - - - - - - - - -svn.openezx.org Repository - markup - svn.openezx.org: branches/kernel-2.6.20.7-patches/defconfig-a780 - - - - -
- - - - - -
[svn.openezx.org] / branches / kernel-2.6.20.7-patches / defconfig-a780 - -
- -Project Root: - - -
- -
-
-

svn.openezx.org: branches/kernel-2.6.20.7-patches/defconfig-a780

- -
-File: [svn.openezx.org] / branches / kernel-2.6.20.7-patches / defconfig-a780 -(download) - -
- -Revision: 1981, -Sun Apr 22 20:32:25 2007 UTC (16 hours, 45 minutes ago) by wyrm - - - - - -
File size: 25011 byte(s) - - -
latest .config
-
-
- -
-
#
+#
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.20.7
 # Sun Apr 22 15:03:36 2007
@@ -434,7 +350,7 @@ CONFIG_FW_LOADER=m
 # CONFIG_SYS_HYPERVISOR is not set
 
 #
-# Connector - unified userspace <-> kernelspace linker
+# Connector - unified userspace <-> kernelspace linker
 #
 CONFIG_CONNECTOR=m
 
@@ -1331,22 +1247,3 @@ CONFIG_LIBCRC32C=m
 CONFIG_ZLIB_INFLATE=y
 CONFIG_PLIST=y
 CONFIG_IOMAP_COPY=y
-
- -
- - - - - -
-
CVS Admin

-Powered by ViewCVS 1.0-dev -
-(Powered by ViewCVS)
-

ViewCVS and CVS Help

-
- - - -- cgit v1.2.3 From 9af95c59d9c5f6c03f78236bf9605e4280266f52 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 23 Apr 2007 17:37:25 +0000 Subject: collie: enable MMC_DEBUG for 2.6 --- packages/linux/linux-rp-2.6.20/defconfig-collie | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/linux') diff --git a/packages/linux/linux-rp-2.6.20/defconfig-collie b/packages/linux/linux-rp-2.6.20/defconfig-collie index b0603a8408..945f2fb39c 100644 --- a/packages/linux/linux-rp-2.6.20/defconfig-collie +++ b/packages/linux/linux-rp-2.6.20/defconfig-collie @@ -1410,7 +1410,7 @@ CONFIG_USB_GADGET=y # MMC/SD Card support # CONFIG_MMC=m -# CONFIG_MMC_DEBUG is not set +CONFIG_MMC_DEBUG=y CONFIG_MMC_BLOCK=m # CONFIG_MMC_TIFM_SD is not set CONFIG_MMC_SPI=m -- cgit v1.2.3 From 48ae898759466084fd9c5907a263f9ae1ae2674a Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Mon, 23 Apr 2007 21:42:22 +0000 Subject: compulab-pxa270 2.6.16: add task to create a kernel image file. The cm-x270 bootloader requires kernel image files in a special format and this addition adds that. --- packages/linux/compulab-pxa270_2.6.16.bb | 43 +++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 15 deletions(-) (limited to 'packages/linux') diff --git a/packages/linux/compulab-pxa270_2.6.16.bb b/packages/linux/compulab-pxa270_2.6.16.bb index 6e09281546..043fc22777 100644 --- a/packages/linux/compulab-pxa270_2.6.16.bb +++ b/packages/linux/compulab-pxa270_2.6.16.bb @@ -1,7 +1,7 @@ SECTION = "kernel" DESCRIPTION = "Linux kernel for the Compulab PXA270 system" LICENSE = "GPL" -PR = "r3" +PR = "r4" # Note, the compulab package contains a binary NAND driver that is not # EABI compatible @@ -32,25 +32,38 @@ do_deploy() { KNAME=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin install -d ${DEPLOY_DIR_IMAGE} install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${KNAME} - # Create an image file that has the size prepended (used by cm-x270 BL) - # The following can only be done on a little endian machine - # the following does not work on all computers as it requires a recent - # version of coreutils (>= 6.0). We will eventually replace the following - # with python code. - #size=$(stat --printf=%s ${KNAME}) - #size_=$(printf '\%03o'\ - #$((size & 0x000000FF))\ - #$((size>>8 & 0x000000FF))\ - #$((size>>16 & 0x000000FF))\ - #$((size>>24 & 0x000000FF))) - #size_=${size_}'\c' - #echo -e $size_ > ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.img - #cat ${KNAME} >> ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.img } +python do_compulab_image() { + import os + import os.path + import struct + + deploy_dir = bb.data.getVar('DEPLOY_DIR_IMAGE', d, 1) + kernel_name = os.path.join(deploy_dir, bb.data.expand('${KERNEL_IMAGETYPE}-${MACHINE}.bin', d)) + + img_file = os.path.join(deploy_dir, 'zImage-compulab-pxa270.img') + + fo = open(img_file, 'wb') + + image_data = open(kernel_name, 'rb').read() + + # first write size into first 4 bytes + size_s = struct.pack('i', len(image_data)) + + # truncate size if we are running on a 64-bit host + size_s = size_s[:4] + + fo.write(size_s) + fo.write(image_data) + fo.close() +} + + do_deploy[dirs] = "${S}" addtask deploy before do_build after do_compile +addtask compulab_image before do_build after do_deploy COMPATIBLE_MACHINE = "compulab-pxa270" -- cgit v1.2.3