[PATCH 16/18] bsp/altera-cyclone-v: Add Alteras hwlib

Joel Sherrill joel.sherrill at OARcorp.com
Mon Mar 10 17:42:39 UTC 2014


Given the size of this patch and that it appears to be a direct copy
from Alters, can you provide more information about its general utility?

Can this BSP support multiple configurations of the SoC?

How does this interact with our normal BSP framework?

Is it useful for other BSPs based on Altera SoCs?

etc

My first concern is that it seems way more general than something
that should show up at a specific BSP level. How does this related to
the NIOS?

On 3/7/2014 7:59 AM, Ralf Kirchner wrote:
> Add hwlib as copied from Altera
> ---
>  .../hwlib/include/alt_16550_uart.h                 | 1555 +
>  .../hwlib/include/alt_address_space.h              |  390 +
>  .../hwlib/include/alt_bridge_manager.h             |  269 +
>  .../hwlib/include/alt_clock_group.h                |   95 +
>  .../hwlib/include/alt_clock_manager.h              | 1431 +
>  .../arm/altera-cyclone-v/hwlib/include/alt_dma.h   |  940 +
>  .../hwlib/include/alt_dma_common.h                 |  162 +
>  .../hwlib/include/alt_dma_program.h                |  949 +
>  .../hwlib/include/alt_fpga_manager.h               | 1052 +
>  .../hwlib/include/alt_generalpurpose_io.h          | 1236 +
>  .../altera-cyclone-v/hwlib/include/alt_globaltmr.h |  458 +
>  .../hwlib/include/alt_hwlibs_ver.h                 |   52 +
>  .../hwlib/include/alt_interrupt_common.h           |  531 +
>  .../hwlib/include/alt_mpu_registers.h              |  156 +
>  .../hwlib/include/alt_reset_manager.h              |  249 +
>  .../hwlib/include/alt_system_manager.h             |  209 +
>  .../altera-cyclone-v/hwlib/include/alt_timers.h    |  677 +
>  .../altera-cyclone-v/hwlib/include/alt_watchdog.h  |  779 +
>  .../arm/altera-cyclone-v/hwlib/include/hwlib.h     |  190 +
>  .../hwlib/include/socal/alt_acpidmap.h             | 3569 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_can.h |36873 +++++++
>  .../hwlib/include/socal/alt_clkmgr.h               | 6464 ++
>  .../altera-cyclone-v/hwlib/include/socal/alt_dap.h |  144 +
>  .../hwlib/include/socal/alt_dmanonsecure.h         |  144 +
>  .../hwlib/include/socal/alt_dmasecure.h            |  144 +
>  .../hwlib/include/socal/alt_emac.h                 |103305 ++++++++++++++++++
>  .../altera-cyclone-v/hwlib/include/socal/alt_f2h.h | 1075 +
>  .../hwlib/include/socal/alt_fpgamgr.h              | 7090 ++
>  .../hwlib/include/socal/alt_fpgamgrdata.h          |  158 +
>  .../hwlib/include/socal/alt_gpio.h                 | 1991 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_h2f.h | 1073 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_i2c.h | 5940 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_l3.h  | 6299 ++
>  .../hwlib/include/socal/alt_l4wd.h                 | 1801 +
>  .../hwlib/include/socal/alt_lwfpgaslvs.h           |   52 +
>  .../hwlib/include/socal/alt_lwh2f.h                | 1450 +
>  .../hwlib/include/socal/alt_mpul2.h                |  144 +
>  .../hwlib/include/socal/alt_mpuscu.h               |  144 +
>  .../hwlib/include/socal/alt_nand.h                 |10617 ++
>  .../hwlib/include/socal/alt_nanddata.h             |   52 +
>  .../hwlib/include/socal/alt_ocram.h                |   52 +
>  .../hwlib/include/socal/alt_qspi.h                 | 5951 +
>  .../hwlib/include/socal/alt_qspidata.h             |   52 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_rom.h |   52 +
>  .../hwlib/include/socal/alt_rstmgr.h               | 3382 +
>  .../hwlib/include/socal/alt_scanmgr.h              |  927 +
>  .../hwlib/include/socal/alt_sdmmc.h                | 9115 ++
>  .../altera-cyclone-v/hwlib/include/socal/alt_sdr.h | 4149 +
>  .../hwlib/include/socal/alt_spim.h                 | 3293 +
>  .../hwlib/include/socal/alt_spis.h                 | 2958 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_stm.h |  144 +
>  .../hwlib/include/socal/alt_sysmgr.h               |24810 +++++
>  .../altera-cyclone-v/hwlib/include/socal/alt_tmr.h |  864 +
>  .../hwlib/include/socal/alt_uart.h                 | 5158 +
>  .../altera-cyclone-v/hwlib/include/socal/alt_usb.h |114043 ++++++++++++++++++++
>  .../arm/altera-cyclone-v/hwlib/include/socal/hps.h | 8026 ++
>  .../altera-cyclone-v/hwlib/include/socal/socal.h   |  356 +
>  .../hwlib/src/hwmgr/alt_16550_uart.c               | 1179 +
>  .../hwlib/src/hwmgr/alt_address_space.c            |  184 +
>  .../hwlib/src/hwmgr/alt_bridge_manager.c           |  189 +
>  .../hwlib/src/hwmgr/alt_clock_manager.c            | 5208 +
>  .../arm/altera-cyclone-v/hwlib/src/hwmgr/alt_dma.c | 2806 +
>  .../hwlib/src/hwmgr/alt_dma_program.c              | 1043 +
>  .../hwlib/src/hwmgr/alt_fpga_manager.c             |  999 +
>  .../hwlib/src/hwmgr/alt_generalpurpose_io.c        |  745 +
>  .../hwlib/src/hwmgr/alt_globaltmr.c                |  529 +
>  .../hwlib/src/hwmgr/alt_reset_manager.c            |  135 +
>  .../hwlib/src/hwmgr/alt_system_manager.c           |  265 +
>  .../altera-cyclone-v/hwlib/src/hwmgr/alt_timers.c  | 1292 +
>  .../hwlib/src/hwmgr/alt_watchdog.c                 | 1026 +
>

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list