From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30924 invoked by alias); 5 Feb 2008 11:07:05 -0000 Received: (qmail 30736 invoked by uid 22791); 5 Feb 2008 11:07:04 -0000 X-Spam-Check-By: sourceware.org Received: from host129-219-static.25-87-b.business.telecomitalia.it (HELO kasko.it) (87.25.219.129) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 05 Feb 2008 11:06:34 +0000 Received: (qmail 20175 invoked by uid 89); 5 Feb 2008 11:06:20 -0000 Message-ID: <20080205110620.20169.qmail@kasko.it> References: <20080204125124.12778.qmail@kasko.it> In-Reply-To: From: "Antonello Lombardinilo" To: "Tom Deconinck" Cc: "eCos Disuss" Date: Tue, 05 Feb 2008 11:07:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Redboot v2.04, IXP4XX and Flash v2 X-SW-Source: 2008-02/txt/msg00007.txt.bz2 Hi Tom, i replace io/flash, dev/flash and redboot directories with latest flash v2 snapshot from ecoscentric ftp server. I made some change to compile: - add devs/flash/arm/kixrp435 directory; - replace redboot/current/include/redboot.h with original file The compilation seems to work fine. I try to enable FLASH_V2 support. I replace CYGPKG_DEVS_FLASH_STRATA with CYGPKG_DEVS_FLASH_STRATA_V2 in ecos.db and hal/arm/xscale/kixrp435/current/misc/redboot_RAM.ecm When I try to import configuration I get a following error: [root@AntoPC001 kixrp435_npe_RAM]# ecosconfig new kixrp435_npe redboot U CYGHWR_HAL_ARM_XSCALE_CPU, new inferred value IXP43x U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0 U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0 [root@AntoPC001 kixrp435_npe_RAM]# ecosconfig import /home/antonello/projects/eCos/redboot-intel-ixp4xx-070320/packages/hal/arm/x scale/kixrp435/current/misc/redboot_RAM.ecm C CYGHWR_IO_FLASH_DEVICE, "requires" constraint not satisfied: CYGHWR_IO_FLASH_DEVICE >= 1 C CYGPKG_DEVS_FLASH_KIXRP435, "requires" constraint not satisfied: CYGPKG_DEVS_FLASH_STRATA_V2 [root@AntoPC001 kixrp435_npe_RAM]# I want test flash v2 on kixrp435 board to make sure that the hardware works. The kixrp435 board have 2 flash chips: strata flash and nand flash. Antonello Tom Deconinck writes: > Hi, > > The eCos Flash v2 code is in a separate repository. It's probably best > to start from the latest of the trunk from ecos.sourceware.org > > You just have to replace the following directories with the ones from > the flash v2 branch: > io/flash > dev/flash > redboot > fs/jffs2 > Using the flash v2 branch will make it possible to use 2 flashes. > > Tom > > On Feb 4, 2008 1:51 PM, Antonello Lombardinilo wrote: >> Hi all, >> >> I developed board based on Intel IXP435 Multi-Service >> Residential Gateway Reference Platform (KIXRP435). >> >> Main difference is that my board have a 2 flash chip: >> a 512 Kbytes boot flash and 16 Mbytes NAND flash. >> >> I succesfully ported Redboot v.2.04 with boot flash and >> npe support on my board. >> Now I would also manage NAND flash with FIS. >> I readed about eCos/Redboot Flash V2 API, but I'am >> confused because the Redboot src that I use are from >> RedHat ftp source and not from ecos repository. >> >> Can someone suggest me how go ahead ? >> >> Antonello >> >> -- >> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos >> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss >> >> Antonello Lombardinilo Kasko Networks S.r.L. sede legale: via Asti, zona Industriale S. Bernardo 10015 - Ivrea (TO) tel. +39 (0)125 631923 fax. +39 (0)125 230544 sede operativa: via Patini, 46 67100 - L'Aquila tel. +39 (0)862 65562 fax. +39 (0)862 65562 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss