From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9845 invoked by alias); 9 Nov 2008 13:35:16 -0000 Received: (qmail 9827 invoked by uid 22791); 9 Nov 2008 13:35:15 -0000 X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 09 Nov 2008 13:34:17 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id C85EE3B4007C; Sun, 9 Nov 2008 13:34:14 +0000 (GMT) X-Virus-Scanned: amavisd-new at ecoscentric.com Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2h7aQWFRA85N; Sun, 9 Nov 2008 13:34:13 +0000 (GMT) Received: from delenn.bartv.net (hagrid.vpn.ecoscentric.com [192.168.145.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 8FC503B40069; Sun, 9 Nov 2008 13:34:13 +0000 (GMT) Date: Sun, 09 Nov 2008 13:35:00 -0000 Message-Id: From: Bart Veer To: munz@speag.ch CC: ecos-devel@sourceware.org In-reply-to: <49148705.3090007@speag.ch> (munz@speag.ch) Subject: Re: What is the reason to... References: <4910602A.3090408@speag.ch> <49148705.3090007@speag.ch> Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-11/txt/msg00012.txt.bz2 >>>>> "Oliver" == oliver munz @ s p e a g writes: Oliver> In this case templates like: Oliver> target at91sam7sek { Oliver> alias { "Atmel AT91SAM7SEK evaluation board" at91_at91sam7sek } Oliver> packages { CYGPKG_HAL_ARM Oliver> CYGPKG_HAL_ARM_AT91 Oliver> CYGPKG_HAL_ARM_AT91SAM7 Oliver> CYGPKG_HAL_ARM_AT91SAM7SEK Oliver> CYGPKG_IO_SERIAL_ARM_AT91 Oliver> CYGPKG_DEVS_FLASH_AT91 Oliver> CYGPKG_DEVS_SPI_ARM_AT91 Oliver> CYGPKG_DEVICES_WATCHDOG_ARM_AT91WDTC Oliver> CYGPKG_DEVS_USB_AT91 Oliver> } Oliver> description " Oliver> The at91sam7sek target provides the packages needed to run eCos Oliver> on an Oliver> Atmel AT91SAM7S-EK evaluation board." Oliver> } Oliver> should be changed? Oliver> They are missing the CYGPKG_IO_SPI and so on... I believe they should be changed. From http://ecos.sourceware.org/docs-latest/ref/spi-porting.html: "If there is already an SPI bus driver for the target hardware then both that driver and this generic SPI package CYGPKG_IO_SPI should be included in the ecos.db target entry." I do not know all the inner details of the AT91 SPI driver so there may be unexpected side effects. Bart -- Bart Veer eCos Configuration Architect eCosCentric Limited The eCos experts http://www.ecoscentric.com/ Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071.