Table of Contents

eCos BSP

New ecos BSP was developed for improving configuration. The BSP is located in hw/edk_repository. The BSP helps you generate eCos configuration for your design. Together with mon_new_platfrom script, it brings up a powerful tool for adding new platforms to mONeCos distribution. If you experience any problems with the ecos BSP, please, report them to Michal Simek.

How to work with

[monstr@monstr ~]$ cd /opt/xilinx/ise92i/
[monstr@monstr ise92i]$ . settings.sh
[monstr@monstr ise92i]$ cd ../edk92i/
[monstr@monstr edk92i]$ . settings.sh
[monstr@monstr edk92i]$ xps

Software platform settings

Software platform settings OS & Lib

* here is a corresponding block that was added in system.mss file

PARAMETER VERSION = 2.2.0

BEGIN OS
 PARAMETER OS_NAME = ecos
 PARAMETER OS_VER = 1.00.a
 PARAMETER PROC_INSTANCE = microblaze_0
 PARAMETER name = Spartan 3E1600
END
make -f system.make libs
[monstr@monstr Xilinx-Spartan3E1600-RevA-edk92-opb-gpio]$ make -f system.make libs
*********************************************
Creating software libraries...
*********************************************
...
Running generate for OS'es, Drivers and Libraries ...
#--------------------------------------
# eCos BSP generate...
#--------------------------------------
Microblaze CPU
#--------------------------------------
# Standalone BSP generate...
#--------------------------------------
Calling standalone::generate
Copying Library Files ...
...
Running execs_generate for OS'es, Drivers and Libraries ...

LibGen Done.

TIPS

To save your time, you can also use top BSP, which generates all BSPs for your eCos, Linux, U-Boot, http://developer.petalogix.com/PetaLinux and standalone applications. Reference design Xilinx-Spartan3E1600-RevA-xps-edk92 shows this feature. (PetaLinux BSP is not distributed with mONeCos)

BEGIN OS
 PARAMETER OS_NAME = top
 PARAMETER OS_VER = 1.00.b
 PARAMETER PROC_INSTANCE = microblaze_0
 PARAMETER name = Xilinx Spartan3e1600 xps edk92
 PARAMETER timer = xps_timer_1
 PARAMETER ethernet = Ethernet_MAC
 PARAMETER gpio = LEDs_6Bit
 PARAMETER lmb_memory = dlmb_cntlr
 PARAMETER flash_memory = FLASH
 PARAMETER main_memory = DDR_SDRAM
 PARAMETER stdin = RS232_DTE
 PARAMETER stdout = RS232_DTE
END 

License

The ecos BSP is written under restricted license. You are not allowed to change and distribute the BSP without permission from Michal Simek. You can use these files without any restriction.

Future work