Repository navigation
HopOS v3.0.20
HopOS v3.0.20, the Rust generation. Every board comes in two flavors:
headless (no gui) and headfull (gui, plus media on the O6N). The
config in each image is three layers from image/cfg, the last value of a
key wins: default.cfg (open on your own LAN: no API key, console over
TCP), <board>.cfg (where Hop lives: the OS core on the Pis and the
Radxa, a core of his own, a small one where the board has them, on the O6N,
the Altra, the M4 and the LicheeRV) and headless.cfg or
headfull.cfg (the init jobs: headfull starts welcome on port 80). A
node without hopos.node names itself after its board and the tail of its
MAC (rpi4-4c54).
| Board | Headless | Headfull |
|---|---|---|
| Raspberry Pi 4 | hopos-rpi4-headless.img.gz |
hopos-rpi4-headfull.img.gz |
| Raspberry Pi 5 | hopos-rpi5-headless.img.gz |
hopos-rpi5-headfull.img.gz |
| Radxa Zero 3E | hopos-radxa-headless.img.gz |
hopos-radxa-headfull.img.gz |
| Radxa Orion O6N (USB stick) | hopos-o6n-headless.img.gz |
hopos-o6n-headfull.img.gz (media) |
| Ampere Altra (USB stick) | hopos-altra-headless.img.gz |
hopos-altra-headfull.img.gz |
| Mac mini M4 | hopos-apple-headless.img.gz (USB stick: image, installer, README) |
none |
| Sipeed LicheeRV Nano | hopos-licheerv-headless.img.gz |
none |
Every image carries its node config (hopos.cfg) inside the kernel, in a
16 KiB config window, the same on every board and in every flip bundle. Put
your own config in (hopos.node, hopos.apikey, your jobs) and write the
card or stick in one go with the hop command from
hop; stack the layers with your own lines
last:
gunzip hopos-rpi4-headless.img.gz
cat default.cfg rpi4.cfg headless.cfg my-node.cfg >node.cfg
hop image hopos-rpi4-headless.img --config node.cfg --write /dev/rdiskN
hop image <file> shows the config in an image, a bundle or on a card;
--keep writes a new image but keeps the config already on the card.
Without hop: gunzip -c hopos-rpi4-headless.img.gz | sudo dd of=/dev/rdiskN bs=4m
gives a node with the default config of its flavor.
The M4 stick is not a boot medium: write it to a USB drive, boot the mini
into Recovery and run sh /Volumes/HOPOS/install.sh go (the README on
the stick has the steps); from then on the Mac powers on into HopOS.
Kernel flip bundles, hopos-<board>-<flavor>.flip, replace a running
kernel without a reboot (docs/flip.md): put one on a web server and
curl -X POST http://NODE:8080/flip -d '{"url":"...","sha256":"..."}'
with its sum from SHA256SUMS. A bundle's config window is empty, so the
node keeps its own config over the flip; hop image <bundle> --config <cfg> gives it another one (and prints the new sha256).
Apps (rolling release apps,
named <app>-<arch>.elf): appspike, welcome, bench, display, vitals, syncprobe, decode for arm64;
appspike and welcome for riscv64. Jobspecs in jobs/.
SHA256SUMS:
b8179482623a9e569c21f57185e9f7c59cfc1ea0e7cfeb4b76a9b7cf88fac2ce appspike-arm64.elf
2966c6b4d253adfd9e08e83d36798bf4cd1ac99d30a8a87ce5edde040c287ab7 appspike-riscv64.elf
00d07287120f4e99b15acf8841a74ac546827914dc9cc1761895c09a8b15c6d8 bench-arm64.elf
e3c45d6b504ff0245e56df00beeae018fdf86d5f7b29e81f956640e6b2aeb060 cloudflared-arm64-tamago.elf
fabc9472fbe724f97280d77a3ab07f1436b19e7f794eb5b6e1304f24d84d1e58 decode-arm64.elf
f948cd0308a5c3cfeaaa475dd96746173c8757fd6c00c765f959f98848c454c5 display-arm64.elf
be4745da4ce335062d5aa585e2e09368ccd6a914ee0a82dce92ba1787f8a62a4 hopos-altra-headfull.flip
620c86ef6069d3c8d83d2ef949c2e8c7a5422f82292365cd46dee8571774c689 hopos-altra-headfull.img.gz
d266c786b46a092f1a97b319b8f2da6e6311a13e653b8b0f7a6f86ae46e27cad hopos-altra-headless.flip
ffcfbd1fa1ef620b3f763e7c4b33bb49eeadb6ee8ff656ded5056aba5f73fd69 hopos-altra-headless.img.gz
fd720792b55d653a9840860d5fa0e4a047450d4d878842f1cc636bd96dca9ba6 hopos-apple-headless.flip
0fadf1dc644b446410025ae9c2e58871e8db22eab633d92f127b50731765e890 hopos-apple-headless.img.gz
5081e60e93cc63b854f9149f86107771e43cbf5c344b3a4072b0a94c2f31ad16 hopos-licheerv-fip.bin
e514dde2164768ae1ca9938e614e55acc8d96f8ca3197d1e1bfb44a5a34d9175 hopos-licheerv-headless.img.gz
1f7bc2159c1633998277b1f233913bed024021c18942febc311f7c16436896d5 hopos-o6n-headfull.flip
077f5cde7dbd1b51f7dfc59f39cc9af2225d3fcc15db10e4d410c401744aa708 hopos-o6n-headfull.img.gz
b516380ae643d9f2cd978ef7eed44790e93a65c8eee297ba6c7606c4bef5a130 hopos-o6n-headless.flip
2484836ba04a996895b91cfe98e2ef88445bbb4296f9836a3d04a29b6cf85952 hopos-o6n-headless.img.gz
89baab0b1832c2b0ca30ee2374b250a9071450df7c1c3c8a21dcaf1b47c5238d hopos-radxa-headfull.flip
a0bcc9452c09b6bcb9fff35da2b0f9356e0a550c057d23f2687466bbc174c842 hopos-radxa-headfull.img.gz
b951871f7a86d51acfcc9949208fb7e7639ffbcf562accc33e2dd27aa6f13748 hopos-radxa-headless.flip
c2bc165c0257f290ecd157710f963dfa931226a846c5e66498c06023a1a09836 hopos-radxa-headless.img.gz
7339fe92dbffcfd5962dace54a172b6e05b8f2451f1c5d27e67fdb73136f552f hopos-rpi4-headfull.flip
09e548482548bc53b9330c7e324db4c1ec246a084e735c633465728cb16bddb8 hopos-rpi4-headfull.img.gz
8f01c4bab0a3c76ec07c18b66abde967d3d08494154736fddbb2022a43548781 hopos-rpi4-headless.flip
13e9ff33ed3dcdb6f9c18dfdb0d2ed07096a8d4b175719fdf28293b6e6587b1d hopos-rpi4-headless.img.gz
5fde1e8617f7420466c567356ca5f2f4c76374d267dc735415e632e95b68375b hopos-rpi5-headfull.flip
d5f055d721ffb3aace4bf383c9dc23c11608cfbb69f8f4159db7f14b5183d489 hopos-rpi5-headfull.img.gz
ed1b0d093cb01818fc30d6a7262481624e552e8549a05a558ee6827424d068b2 hopos-rpi5-headless.flip
8a6a9f5731d58d9e1b3000a948543476be67092c0f73a5e711980661e1025a8c hopos-rpi5-headless.img.gz
7a390f8482bc9e004b5db59e78dce936ec24874b2fc7558576ec6b1c8fe54b0e syncprobe-arm64.elf
e14d4651c8621cc71c5ad509bffe471e61eeb6d17ebc774876ec8d9a188dacbb vitals-arm64.elf
41265fdd13ccefe76125b390444dbf073c093ddef100bba05662e45fdcb2bae8 welcome-arm64.elf
2c0e5a363fd5580f905c4345b7665d74058c1c9bd9db7024b55fe01414437d35 welcome-riscv64.elf