Repository navigation
HopOS v3.2.0
HopOS v3.2.0. The Rust kernel, tested on every board on hardware: Raspberry Pi 4 and 5, Radxa Zero 3E, Radxa Orion O6N, Ampere Altra and the Mac mini M4 boot cold and flip warm with Hop and its apps carried over; the LicheeRV Nano boots cold and runs apps on its big core (riscv64 does not flip). QEMU: all 33 rings green. With Hop v3.2.0 and lean v3.2.0.
Since rc9:
- Published ports at 10.100.0.1. An app finds the node's public ports on the gateway address too, without knowing the node's IP:
http://10.100.0.1:80reaches whatever the node publishes on port 80, as the node IP does. A publication wins over the kernel's own listeners there, as on the node IP; the replies come back from 10.100.0.1. Point a tunnel athttp://10.100.0.1and it no longer depends on a slot number. - Mac mini M4: both ANS interrupt lines are enabled without an idle test at boot, as Linux does (
apple_nvme_irq); rc8 could stop withan ANS line fires on an idle ANS. - lean v3.2.0, the same code as v3.2.0-rc3.
Upgrading from 3.0.x needs the boot medium once (FLIP_ABI 5): write the card or stick, boot, and flip from there on. From an rc of 3.2.0 a warm flip is enough.
HopOS v3.2.0, 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 one file per flavor from image/cfg:
headless.cfg (open on your own LAN: no API key, console over TCP) or
headfull.cfg (the same, and welcome on port 80). Where Hop lives is
the board's default: 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 (hopos.hop.sharegroup and hopos.hop.core-class
override it). 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; your own lines go last, the last
value of a key wins:
gunzip hopos-rpi4-headless.img.gz
cat 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:
f9dfae36871df3aeafe77caad8c2b46353f1c830ed0a4cc86a04b922b0c98591 appspike-arm64.elf
bc544002d32b04b93956f4ddae90250b5343469578117dcb2a8cfd09b7429743 appspike-riscv64.elf
7ff8d3004682ed5f0330a4c819feede487f9c6c0f268b69c699fb3eb86a1e146 bench-arm64.elf
fe5dea9ad87fc2d0788f3402727fa4568091e064f923a7b08396d1d3af119006 cloudflared-arm64-tamago.elf
e2f9b711f92b7d1912912bffaca992b64e59bd79171daaa7478b54518950f81b decode-arm64.elf
d1f4011481629200f12b2d0ab07980715da7902b1c779f6ba23aa34ee96b8990 display-arm64.elf
ab4f3956aa72485292424ec545eed4a0455b4eb566b3392a2f3434e51e3a9c85 hopos-altra-headfull.flip
b3493bb5befd9b3e5853118702e5a10816733d36e25a2e3b7b3575bac0d9804e hopos-altra-headfull.img.gz
38547ef3277856d24e6a70b24f8c5d5e7014c439455b512da2c9125405a67473 hopos-altra-headless.flip
51e1ca12b696b8eb88a8387707eed570b5eb5e3fb67b5f5e99bf2c064d1b3813 hopos-altra-headless.img.gz
89890048b72c038aa4995135257f5109d3353467581b8d7c96176342940db3f8 hopos-apple-headless.flip
0187c72ea047c63b5ca88b0a99372320b7bc9b6cc96e93929dc9f00dfbda825c hopos-apple-headless.img.gz
401f94e7f5fe7aed171360ee091725b80e489d45ce599b2d3f1e7c795cdcc8da hopos-licheerv-fip.bin
e4b0d34335942281947330676657a72de170f44d4067b2aac9c46d2c84c1ffc6 hopos-licheerv-headless.img.gz
4041c0f6cd6912d2936ee986065152d18c1eaad6680bfb7dc35918e18e3af505 hopos-o6n-headfull.flip
f7d6680008407d35746d7b755e928dfc5fc2fbaa1f722c1bf0a0eb8cf237a407 hopos-o6n-headfull.img.gz
192fcc9a5efe8e89e8f9d971aa6e0793392fc71e885dc5be1c40c95acbc110bf hopos-o6n-headless.flip
6ff6c77fbb3939cbbae71fa9773cceac91f2bf60b344c42015f8e88725930333 hopos-o6n-headless.img.gz
afd5a4293e744c6dfd5336987f77f75a8dc5c323706f6f290de4e89414d1a95d hopos-radxa-headfull.flip
2cd449d1c8064a458882de8c70496b715e5c6e628287a863c35e551b8a947a9a hopos-radxa-headfull.img.gz
815e824469db9c2f9b93759b94f5f9c6630a8d2228f1cb969846e1ffb1f25bf9 hopos-radxa-headless.flip
7d2d398508431b47f7442c279f73e720cd746516247d70129535bae40bc71dee hopos-radxa-headless.img.gz
467ecc7ab728f30e575bfb2d5b3d5ea534ff69afde961570983c822509b501f1 hopos-rpi4-headfull.flip
83a50a88111629e8fe298a974a5d613e577821cc1c771665dec525bfb64852d6 hopos-rpi4-headfull.img.gz
be1b61cfd73f52249ae1aa2bd99eef24bfd28063d4e94e18cc03ef954fbd6a36 hopos-rpi4-headless.flip
fac6db960320826622cb41d4529cd6ad87e62f702cdf78bd78e5f9e9d14c634a hopos-rpi4-headless.img.gz
59b05d128ddd132d3080b5b05e586fbecf68be33a2caf2204955761206f01d51 hopos-rpi5-headfull.flip
36387a8cd7795e5458f6e947755e7804fc136676c32285a82315089c3489ab2f hopos-rpi5-headfull.img.gz
0f424c88e1e599b04664e92f050a91100508ef4c6a143f48901e563a16411b14 hopos-rpi5-headless.flip
16668165fc43ce58467bd2716c596bcc97be4e843ea5f6acfb09ce4fbef9a210 hopos-rpi5-headless.img.gz
adf27c72399175a5aa680ed03fdaa21d6052cc222951cd971b5ac2b2e5bc2966 syncprobe-arm64.elf
043f9cd1d104729265d4a1fb4494b1b11d9c9fe8a337132e499cce683d109545 vitals-arm64.elf
4f46b9267734795fd5c1991e65faff65511682d1da33de3dc676a21f22ab3105 welcome-arm64.elf
99fe45a7e88308498da1627e2687241084cd5927a8ef71e133787cd046a22665 welcome-riscv64.elf