This is the mail archive of the ecos-discuss@sources.redhat.com 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] |
Hi Thomas, I have tried your epk files on the snapshot ecos-v2-full-alpha-snap-2002-10-14 from the ecoscentric web site. [chpart@cortomaltese packages]$ tclsh ecosadmin.tcl add ../epk/flash_at49xxxx.epk adding package CYGPKG_DEVS_FLASH_ATMEL_AT49XX1604A [chpart@cortomaltese packages]$ tclsh ecosadmin.tcl add ../epk/hal_at91.epk adding package CYGPKG_HAL_ARM_AT91 [chpart@cortomaltese packages]$ tclsh ecosadmin.tcl add ../epk/hal_eb40.epk adding package CYGPKG_HAL_ARM_AT91_EB40 adding target eb40 then I have applied the patch file : [chpart@cortomaltese ecos]$ patch -p0 < epk/ThomasKeller.patchpourepk patching file packages/devs/flash/arm/at91/current/ChangeLog Hunk #1 succeeded at 1 with fuzz 1. patching file packages/devs/flash/arm/at91/current/src/at91_flash.c patching file packages/devs/flash/arm/at91/current/src/flash.h patching file packages/devs/flash/arm/at91/current/src/flash_erase_block.c patching file packages/devs/flash/arm/at91/current/src/flash_program_buf.c patching file packages/devs/flash/arm/at91/current/src/flash_query.c patching file packages/io/flash/current/ChangeLog Hunk #1 succeeded at 1 with fuzz 1. patching file packages/io/flash/current/include/flash.h patching file packages/io/flash/current/src/flash.c patching file packages/redboot/current/ChangeLog Hunk #1 succeeded at 1 with fuzz 1. patching file packages/redboot/current/src/flash.c Hunk #11 FAILED at 1241. 1 out of 12 hunks FAILED -- saving rejects to file packages/redboot/current/src/flash.c.rej I have attached flash.c.rej , flash.c.orig and my flash.c. Could you look at my correction ? The rej file surprise me. Now, when I start configtool, I have this error. ecos.db, package CYGPKG_HAL_ARM_AT91: warning Version subdirectory `var' does not have a CDL script `hal_arm_at91.cdl'. ecos.db, package CYGPKG_HAL_ARM_AT91: warning Version subdirectory `eb40' does not have a CDL script `hal_arm_at91.cdl'. If I understand well I have now to patch the directory eb40 to create the directory eb40A with the patch of Tim but without the patch for the flash. Is it true ? In the var_io.h file, do i have to correct the register ? #define AT91_PS 0xFFFF4000 #define AT91_PS_CR 0x000 // Control #define AT91_PS_PCER 0x004 // Peripheral clock enable #define AT91_PS_PCDR 0x004 // Peripheral clock disable #define AT91_PS_PCSR 0x004 // Peripheral clock status by #define AT91_PS 0xFFFF4000 #define AT91_PS_CR 0x000 // Control #define AT91_PS_PCER 0x004 // Peripheral clock enable #define AT91_PS_PCDR 0x008 // Peripheral clock disable #define AT91_PS_PCSR 0x00C // Peripheral clock status From Marc Pignat. Thanks for your help, Christophe On Sunday 20 October 2002 08:19 am, Thomas Koeller wrote: > There has been some discussion about the modular AT91/EB40 hal > recently. I'd like to point those using it to an updated version that I > uploaded to ecos-patches@sources.redhat.com about a week ago, > and for which I submitted a copyright assignment to Red Hat: > > http://sources.redhat.com/ml/ecos-patches/2002-10/msg00008.html > > So this will be the version that will (hopefully) be included into CVS and > I'd like to encourage everyone using one of the older versions to have a > look at it. > > tk
Attachment:
flash.tar.bz2
Description: application/tbz
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |