5 months ago
origami74@gmail.com
d092d7a7

README.md

Tollgate Device Firmware Build Action

A GitHub Action that uses OpenWRT's image-builder to create base firmware for supported devices without needing to recompile all packages.

Usage

- name: Build Tollgate Firmware
  uses: your-organization/tollgate-image-builder@main
  with:
    model: 'gl-mt3000'
    publish_metadata: true
    relays: 'wss://relay.damus.io,wss://nos.lol'
    nsec: ${{ secrets.NSEC }}

Inputs

InputDescriptionRequiredDefaultmodelDevice model to build firmware for (gl-ar300m, gl-mt3000, gl-mt6000)Yes-nostr_secret_keyNostr secret key for signingNo-nostr_public_keyNostr public key for identificationNo-nostr_relaysComma-separated list of Nostr relaysNowss://relay.damus.io,wss://nos.lol,wss://nostr.mom

Outputs

OutputDescriptionfirmware_pathPath to the built firmware filefirmware_nameName of the generated firmware file

Supported Models

Currently supported device models:

  • gl-ar300m

  • gl-mt3000

  • gl-mt6000

Installation on Device

# Copy firmware to device
scp /tmp/openwrt-build/openwrt-imagebuilder-23.05.3-mediatek-filogic.Linux-x86_64/bin/targets/mediatek/filogic/openwrt-23.05.3-mediatek-filogic-glinet_gl-mt3000-squashfs-sysupgrade.bin root@192.168.8.1:/tmp/.

# SSH to device and upgrade
ssh <device>
sysupgrade -v /tmp/firmware-file

Issues / Contributions

We use Nostr to manage issues and pull requests for this repository.

Requirements for contributing:

  • Ability to push to this git remote, or

  • Push to your own git remote with ngit installed

Any remote branches beginning with pr/ are rendered as open PRs from contributors on [GitWorkshop]](https://gitworkshop.dev/npub1c03rad0r6q833vh57kyd3ndu2jry30nkr0wepqfpsm05vq7he25slryrnw/tollgate-image-builder/prs). Submit these by pushing a branch with the pr/ prefix.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Repository Details

name / identifier

tollgate-os

nostr clone url

nostr://npub1c03rad0r6q833vh57kyd3ndu2jry30nkr0wepqfpsm05vq7he25slryrnw/relay.damus.io/tollgate-os
just install ngit and run
git clone nostr://...

description

For generating OpenWRT images out of existing binaries in minutes

grasp servers

none

git servers

https://github.com/OpenTollGate/tollgate-os.git

earliest unique commit

4f9f4bda881b50eea2a092669d17ed8d34a9f317

gitworkshop.dev logo GitWorkshop.dev