Giter Site home page Giter Site logo

nerves_fw_loaders's People

Contributors

fhunleth avatar mobileoverlord avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

steffende

nerves_fw_loaders's Issues

Fails to build on ubuntu 22

Environment

  • Elixir version (elixir -v): 1.15.6
  • Nerves environment: (mix nerves.env --info)
  • Additional information about your host, target hardware or environment that
    may help
    Ubuntu 22.04

Current behavior

Error when building:

>>> host-m4 1.4.18 Building
…
In file included from /usr/include/signal.h:328,
                 from ./signal.h:52,
                 from c-stack.c:49:
c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384

It seems to be due to what is discussed here: openwrt/openwrt#9055

It sounds like a patch or updating the version for the package to 1.4.19 would resolve the issue.

Expected behavior

Builds fine.

Create a bundler script for making it easy to include install.fw files

The idea would be that you could give the bundler script a loader.fw and an install.fw, and it would make a loader_bundle.fw that you could send to people for making USB thumb drives. You could also create a .img file that people with balenaEtcher could use.

Here's one way of making a bundler:

  1. Update the loader's fwup.conf files to specify an on-resource block for install.fw. There won't be a resource, so it normally won't do anything.

The rest is in the bundler script:

  1. Unzip the loader.fw
  2. Update the meta.conf to have an install.fw resource at the top.
  3. Run fwup to create a new .fw file using the updated meta.conf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.