This is the mail archive of the ecos-bugs@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]

[Bug 1000910] New port: Ethernet over SPI driver for ENC424J600


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000910

Ilija Stanislevik <ilijas@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1132|0                           |1
        is obsolete|                            |

--- Comment #14 from Ilija Stanislevik <ilijas@siva.com.mk> 2011-10-27 15:41:08 BST ---
Created an attachment (id=1421)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1421)
Patch to stm3210e-eval HAL - initialization of enc424j600

(In reply to comment #12)

> I see the stm3210e changes include a change to increase RAM use by 16k to allow
> for network-enabled redboot. That's quite a large change for something that
> most people don't need. I think a different MLT file would be better for that.
> You could either create a new HAL startup type, or you could just add a new
> option, and change CYGHWR_MEMORY_LAYOUT to be something like:
> 
>         calculated    { (CYG_HAL_STARTUP == "RAM"    ) ?
> (CYGMEM_HAL_CORTEXM_STM32_STM3210E_RESERVE_EXTRA_BASE_RAM ?
> "cortexm_stm3210e_eval_extrabaseram : "cortexm_stm3210e_eval_ram")      :
>                         (CYG_HAL_STARTUP == "SRAM"   ) ?
> "cortexm_stm3210e_eval_sram"     :
>                         (CYG_HAL_STARTUP == "ROM"    ) ?
> "cortexm_stm3210e_eval_rom"      :
>                         (CYG_HAL_STARTUP == "ROMINT" ) ?
> "cortexm_stm3210e_eval_romint"   :
>                         (CYG_HAL_STARTUP == "JTAG"   ) ?
> "cortexm_stm3210e_eval_jtag"     :
>                                                          "undefined" }
> 
> Although I'm suggesting
> CYGMEM_HAL_CORTEXM_STM32_STM3210E_RESERVE_EXTRA_BASE_RAM for the option name,
> you may well be able to choose something with a better name.
> 
> Let me know what you think.

I agree. I've introduced new option
CYGMEM_HAL_CORTEXM_STM32_STM3210E_EXTRA_BASE_RAM and corresponding ldi files.
Also, there is a provision to specify the quantity of reserved RAM.

In addition, I've modified the HAL to produce non-conflicting values for
enc424j600 related options. I believe this is better than having conflicting
values at the beginning.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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