[PATCH 0/7] TMS570 BSP corrections and update

Pavel Pisa pisa at cmp.felk.cvut.cz
Thu Nov 12 22:11:26 UTC 2015


Hello all,

there are changes we have discusses in previous exchange.

Pavel Pisa (2):
  bsp/tms570: use POM only when application image does not start at
    address 0.
  bsp/tms570: use common tms570ls3137.inc file for all board ling
    variants.

Premysl Houdek (5):
  bsp/tms570: EMAC control header file corrected and EMAC interrupt
    vector added
  bsp/tms570: Pinmux support and EMAC pin definition added
  bsp/tms570: fixed sci driver freeze when closing terminal bug
  bsp/tms570: updated reserved space for vector overlay in internal RAM
  bsp/tms570: separate Flash variants to one which boots directly and
    one for boot loader.

They apply to both, actual master and 4.11 branch.
POM changes correct unreliable attempt to use POM for vectors
code overlay. POM is used only when required and only for data/target
address fetches, not isntructions as in previous version.
Even that can be a problem according to some Ti support indication
but better solution would mean even more changes and different
loader for cases when application does not start form address 0.

Other changes are correction of mistakes and extension
in header files, support functions to setup pin functions
(not called directly during BSP start yet).

The last change is fix of freeze in last close of SCI driver.
Wait condition is corrected but by default there is no
busywait for last character sent at close now.

The above changes has been tested with 4.11 prerelease
with LwIP stack in tms570ls3137_hdk_sdram
and tms570ls3137_hdk_with_loader link variants.

Please, test build and or run on hardware these changes.
I consider changes as very important for usability of
the BSP. Even with these changes, I suggest to document
TMS570 BSP as prerelease or beta in 4.11 branch.

We have there holiday so I take off from Friday afternoon
till Tuesday 17. I expect to have some time during Wednesday
evening after teaching and students consulation but it is
possible that not earlier to reply.

 c/src/lib/libbsp/arm/tms570/Makefile.am            |   6 +-
 c/src/lib/libbsp/arm/tms570/README                 |   3 +
 c/src/lib/libbsp/arm/tms570/console/tms570-sci.c   |   8 +-
 c/src/lib/libbsp/arm/tms570/include/irq.h          |   4 +
 .../libbsp/arm/tms570/include/ti_herc/reg_emac.h   | 230 -----------------
 .../libbsp/arm/tms570/include/ti_herc/reg_emacc.h  | 285 +++++++++++++++++++++
 .../lib/libbsp/arm/tms570/include/tms570-pinmux.h  | 122 +++++++++
 c/src/lib/libbsp/arm/tms570/include/tms570-pom.h   |   3 +-
 c/src/lib/libbsp/arm/tms570/include/tms570.h       |   4 +-
 c/src/lib/libbsp/arm/tms570/irq/irq.c              |  23 ++
 .../libbsp/arm/tms570/make/custom/tms570ls3137.inc |  20 ++
 .../arm/tms570/make/custom/tms570ls3137_hdk.cfg    |  17 +-
 .../tms570/make/custom/tms570ls3137_hdk_intram.cfg |  17 +-
 .../tms570/make/custom/tms570ls3137_hdk_sdram.cfg  |  17 +-
 .../make/custom/tms570ls3137_hdk_with_loader.cfg   |   5 +
 c/src/lib/libbsp/arm/tms570/pinmux/pinmux.c        |  88 +++++++
 c/src/lib/libbsp/arm/tms570/pom/tms570-pom.c       |  99 ++++++-
 c/src/lib/libbsp/arm/tms570/preinstall.am          |  10 +-
 c/src/lib/libbsp/arm/tms570/startup/bspstart.c     |  42 ++-
 .../arm/tms570/startup/linkcmds.tms570ls3137_hdk   |   5 +-
 .../startup/linkcmds.tms570ls3137_hdk_intram       |   6 +-
 .../tms570/startup/linkcmds.tms570ls3137_hdk_sdram |   5 +-
 .../startup/linkcmds.tms570ls3137_hdk_with_loader  |  33 +++
 23 files changed, 746 insertions(+), 306 deletions(-)
 delete mode 100644 c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_emac.h
 create mode 100644 c/src/lib/libbsp/arm/tms570/include/ti_herc/reg_emacc.h
 create mode 100644 c/src/lib/libbsp/arm/tms570/include/tms570-pinmux.h
 create mode 100644 c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137.inc
 create mode 100644 c/src/lib/libbsp/arm/tms570/make/custom/tms570ls3137_hdk_with_loader.cfg
 create mode 100644 c/src/lib/libbsp/arm/tms570/pinmux/pinmux.c
 create mode 100644 c/src/lib/libbsp/arm/tms570/startup/linkcmds.tms570ls3137_hdk_with_loader

-- 
1.9.1



More information about the devel mailing list