Forum Discussion

jackhab's avatar
jackhab
Icon for Occasional Contributor rankOccasional Contributor
6 years ago

How to patch NIOS II BSP driver

I'd like to make changes to standard Altera driver (e.g. add debug variables), store the changes as a patch file and have it applied automatically each time I re-generate BSP. How it can be done?

3 Replies

  • jackhab's avatar
    jackhab
    Icon for Occasional Contributor rankOccasional Contributor

    Hi Ahmed

    I'm looking for a way to patch the C sources of pristine copy of BSP with my modifications.

    Unfortunately, creating a script from Eclipse does not pickup any changes I made to the sources.

    The linked pdf describes how BSP settings can be customized using Tcl Script.

    Is there a similar standard way to modify BSP code (preferably, without writing the whole Tcl script from scratch)?

  • Ahmed_H_Intel1's avatar
    Ahmed_H_Intel1
    Icon for Frequent Contributor rankFrequent Contributor

    The only way available is to create a script. Can you please let me know what errors you are facing with creating a script?