This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redboot v2.04, IXP4XX and Flash v2


Hi,

Sorry,

I forgot to mention that you'll need to add the flash v2 packages to
your ecos.db file so that they are known to the configuration system.

Also, the package that enables your flash support should implement
CYGHWR_IO_FLASH_DEVICE, this will tell eCos how many flashes are
available on your platform.
I'm not sure which package it should be for your setup since I'm not
familiar with your particular setup, maybe someone else can clarify
...

Tom


On Feb 5, 2008 12:06 PM, Antonello Lombardinilo <antonello@kasko.it> wrote:
> 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 <antonello@kasko.it> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]