Merge pull request 'docs: add hardware recommendation' (#2) from raboof/liminix:hardware-recommendations into main
Reviewed-on: https://gti.telent.net/dan/liminix/pulls/2
This commit is contained in:
commit
c4041b00f6
5 changed files with 18 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,3 +6,4 @@ result-*
|
||||||
_build
|
_build
|
||||||
*-secrets.nix
|
*-secrets.nix
|
||||||
examples/static-leases.nix
|
examples/static-leases.nix
|
||||||
|
/doc/hardware.rst
|
||||||
|
|
|
@ -33,7 +33,7 @@ functioning version, see [the CI system](https://build.liminix.org/jobset/limini
|
||||||
Documentation is in the [doc](doc/) directory. You can build it
|
Documentation is in the [doc](doc/) directory. You can build it
|
||||||
by running
|
by running
|
||||||
|
|
||||||
nix-shell -p sphinx --run "make -C doc html"
|
nix-shell -p sphinx --run "make -C doc hardware.rst html"
|
||||||
|
|
||||||
Rendered documentation corresponding to the latest commit on `main`
|
Rendered documentation corresponding to the latest commit on `main`
|
||||||
is published to [https://www.liminix.org/doc/](https://www.liminix.org/doc/)
|
is published to [https://www.liminix.org/doc/](https://www.liminix.org/doc/)
|
||||||
|
|
|
@ -12,9 +12,13 @@ BUILDDIR = _build
|
||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
||||||
|
hardware.rst: hardware.nix
|
||||||
|
@rm -f hardware.rst || true
|
||||||
|
@cp $$(nix-build hardware.nix) hardware.rst
|
||||||
|
|
||||||
.PHONY: help Makefile
|
.PHONY: help Makefile
|
||||||
|
|
||||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||||
%: Makefile
|
html: Makefile
|
||||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
|
@ -24,6 +24,15 @@ writeText "hwdoc" ''
|
||||||
Supported hardware
|
Supported hardware
|
||||||
##################
|
##################
|
||||||
|
|
||||||
|
For development, the `GL.iNet GL-MT300A <https://www.gl-inet.com/products/gl-mt300a/>`_
|
||||||
|
is an attractive choice as it has a builtin "debrick" procedure in the
|
||||||
|
boot monitor and is also comparatively simple to
|
||||||
|
attach serial cables to (soldering not required), so it
|
||||||
|
is lower-risk than some devices.
|
||||||
|
|
||||||
|
For a more powerful device, something with an ath10k would be the safe bet,
|
||||||
|
or the Linksys E8450 which seems popular in the openwrt community.
|
||||||
|
|
||||||
${lib.concatStringsSep "\n\n" texts}
|
${lib.concatStringsSep "\n\n" texts}
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
|
@ -138,6 +138,8 @@ unbrick if necessary.
|
||||||
work here, but you accept the slightly greater bricking
|
work here, but you accept the slightly greater bricking
|
||||||
risk if it doesn't.
|
risk if it doesn't.
|
||||||
|
|
||||||
|
See :doc:`hardware` for device support status.
|
||||||
|
|
||||||
You may want to read and inwardly digest the Develoment Manual section
|
You may want to read and inwardly digest the Develoment Manual section
|
||||||
:ref:`serial` when you start working with Liminix on real hardware. You
|
:ref:`serial` when you start working with Liminix on real hardware. You
|
||||||
won't *need* serial access for this example, assuming it works, but it
|
won't *need* serial access for this example, assuming it works, but it
|
||||||
|
|
Loading…
Reference in a new issue