aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Expand)AuthorAgeFilesLines
* scripts/ipkg: remove file, it is obsoleteFelix Fietkau2015-03-291-1183/+0
* tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/Felix Fietkau2015-03-291-0/+148
* scripts/metadata.pl: do not emit ARCH selection for a target if it has subtar...Felix Fietkau2015-03-291-3/+3
* buildroot: make it easier to build all kmodsJonas Gorski2015-03-161-1/+5
* scripts/feeds: add support for uninstalling targetsFelix Fietkau2015-03-151-0/+22
* scripts/feeds: add support for installing targetsFelix Fietkau2015-03-151-0/+57
* scripts/metadata.pm: save target makefile namesFelix Fietkau2015-03-151-0/+3
* scripts/feeds: get rid of redundant feed cache copyFelix Fietkau2015-03-151-8/+6
* scripts/feeds: remove useless install_method abstractionFelix Fietkau2015-03-151-18/+2
* scripts/feeds: add support for searching for targetsFelix Fietkau2015-03-151-1/+44
* scripts/metadata.pl: move parse_target_metadata() to metadata.pmFelix Fietkau2015-03-152-86/+87
* scripts/feeds: scan for target metadataFelix Fietkau2015-03-151-0/+2
* scripts/feeds: remove a few trailing tabsFelix Fietkau2015-03-151-2/+2
* scripts: fix ubinize-image on OS XFelix Fietkau2015-03-151-2/+5
* scripts: fix getver git dir checkJohn Crispin2015-02-141-1/+1
* scripts: extend rstrip.sh to remove bad rpathsJo-Philipp Wich2015-02-101-1/+11
* build: propagate override information to .config fileJohn Crispin2015-02-092-1/+18
* build: allow openwrt.git packages to be replaced by feedsJohn Crispin2015-02-091-8/+22
* scripts: avoid outputting empty lines in gen-dependencies.shJo-Philipp Wich2015-01-291-1/+1
* scripts: gen-dependencies.sh: fix kmod dependency generationJo-Philipp Wich2015-01-291-3/+1
* scripts: add version_filter command to metadata.plJo-Philipp Wich2015-01-291-9/+59
* scripts: remote-gdb: fix target / libc matching on directory namesJo-Philipp Wich2015-01-231-2/+2
* build: revert r44076John Crispin2015-01-221-18/+7
* build: allow openwrt.git packages to be replaced by feedsJohn Crispin2015-01-221-7/+18
* scripts/config: sync with linux upstreamFelix Fietkau2015-01-0824-239/+627
* scripts/config: fix segfault introduced in r43652Felix Fietkau2014-12-132-0/+2
* scripts/config: remove debug statementJo-Philipp Wich2014-12-121-1/+0
* scripts/download.pl: add support for adding mirrors through an environment va...Felix Fietkau2014-12-121-0/+3
* scripts/config: support includes relative to the currently processed fileJo-Philipp Wich2014-12-122-0/+21
* scripts: use extended-remote for greater compatibilityJohn Crispin2014-12-101-1/+1
* packages: fix typo in OpenWrt nameJohn Crispin2014-12-071-2/+2
* scripts/config.sub: add back musl support that was accidentally dropped in r4...Felix Fietkau2014-11-281-2/+2
* aarch64: add initial supportFlorian Fainelli2014-11-242-179/+250
* scripts/om-fwupgradecfg-gen.sh: add support for the MR900John Crispin2014-11-141-2/+2
* generate list of license information for packagesJohn Crispin2014-10-262-0/+28
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-141-3/+3
* scripts/feeds: handle missing/broken feeds betterJohn Crispin2014-10-131-1/+2
* include/download.mk: Add download mirrors for tools from GNU Savannah (bug #1...John Crispin2014-10-081-0/+5
* build: add support for declaring package CONFLICTS which only affect selectin...Felix Fietkau2014-10-052-0/+14
* build: allow packages with build variants to explicitly select a default variantFelix Fietkau2014-09-232-1/+2
* script/remote-gdb: enable and keep command historyJo-Philipp Wich2014-09-181-0/+5
* build: introduce per feed repository supportJo-Philipp Wich2014-08-053-1/+38
* scripts/om-fwupgradecfg-gen.sh: add support for the OM5PJohn Crispin2014-07-201-2/+2
* scripts/abs2rel.pl: remove, it is unusedFelix Fietkau2014-07-041-16/+0
* scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)Felix Fietkau2014-06-302-0/+2
* scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernelJohn Crispin2014-06-291-0/+1
* make UbinizeImage work nicely without a kernel volumeImre Kaloz2014-06-271-10/+4
* scripts/ubinize-image.sh: fix parameter handlingJohn Crispin2014-06-261-24/+27
* scripts/metadata.pl: avoid adding depends and select for the same symbolFelix Fietkau2014-06-121-1/+1
* kernel: add a NAND_SUPPORT symbolJohn Crispin2014-06-111-0/+1
cell) { return cell->type == ctx->id("ICESTORM_LC"); } // Return true if a cell is a SB_IO inline bool is_sb_io(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_IO"); } // Return true if a cell is a global buffer inline bool is_gbuf(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_GB"); } // Return true if a cell is a RAM inline bool is_ram(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_RAM40_4K") || cell->type == ctx->id("SB_RAM40_4KNR") || cell->type == ctx->id("SB_RAM40_4KNW") || cell->type == ctx->id("SB_RAM40_4KNRNW"); } inline bool is_sb_lfosc(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_LFOSC"); } inline bool is_sb_hfosc(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_HFOSC"); } inline bool is_sb_spram(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_SPRAM256KA"); } inline bool is_sb_mac16(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_MAC16"); } inline bool is_sb_pll40(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_PLL40_PAD") || cell->type == ctx->id("SB_PLL40_2_PAD") || cell->type == ctx->id("SB_PLL40_2F_PAD") || cell->type == ctx->id("SB_PLL40_CORE") || cell->type == ctx->id("SB_PLL40_2F_CORE"); } inline bool is_sb_pll40_pad(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_PLL40_PAD") || cell->type == ctx->id("SB_PLL40_2_PAD") || cell->type == ctx->id("SB_PLL40_2F_PAD"); } uint8_t sb_pll40_type(const BaseCtx *ctx, const CellInfo *cell); // Convert a SB_LUT primitive to (part of) an ICESTORM_LC, swapping ports // as needed. Set no_dff if a DFF is not being used, so that the output // can be reconnected void lut_to_lc(const Context *ctx, CellInfo *lut, CellInfo *lc, bool no_dff = true); // Convert a SB_DFFx primitive to (part of) an ICESTORM_LC, setting parameters // and reconnecting signals as necessary. If pass_thru_lut is True, the LUT will // be configured as pass through and D connected to I0, otherwise D will be // ignored void dff_to_lc(const Context *ctx, CellInfo *dff, CellInfo *lc, bool pass_thru_lut = false); // Convert a nextpnr IO buffer to a SB_IO void nxio_to_sb(Context *ctx, CellInfo *nxio, CellInfo *sbio, std::unordered_set<IdString> &todelete_cells); // Return true if a port is a clock port bool is_clock_port(const BaseCtx *ctx, const PortRef &port); // Return true if a port is a reset port bool is_reset_port(const BaseCtx *ctx, const PortRef &port); // Return true if a port is a clock enable port bool is_enable_port(const BaseCtx *ctx, const PortRef &port); NEXTPNR_NAMESPACE_END #endif