Repository navigation
HopOS v3.2.0-rc6
Pre-releaseRelease candidate 6, the one to test on hardware. The last candidate before v3.2.0: every board once cold, then one warm flip. QEMU: all 33 rings green.
Since rc5 (the cleanup round, docs/sequence-hopos.md §15):
- The flip has no flight recorder anymore (
HOPOS_FLIP_LASTandHOPOS_FLIP_ARCHIVEDare gone): after a reset, tcp/5555 replays what the new kernel said last (the console ring survives the reset). One bundle format. - On the Radxa and the Mac mini M4 the flip trampoline has its own page; the heap ends one page earlier, and the link fails if it ever runs into it.
- DHCP: one client that keeps asking (rounds of 3 s) until a lease comes; the boot guard (120 s) is the end. The console says
dhcp: asking for a lease for <mac>, until one comes. - A connection of a stopped app ends on a stop bell instead of a 100 ms check.
- Smaller SDK edge:
App::network_ready,Ctrl::rx_door,Env::from_bytesandNic::deferringare gone from applib. - Hop v3.2.0-rc6:
POST /fliptakes onlyurlandsha256; its HTTP park waits on a bell when all workers are busy and no longer closes good keep-alive connections.
Since rc2 (rc3 to rc5): applibhttp (the HTTP server of an app, opt-in: an acceptor with a park for idle keep-alive connections and a fixed pool of workers; welcome and vitals run on it), lean v3.2.0-rc3 (one request per serve call, a listener backlog of 64), and the measuring apps httpprobe and httpload.
Upgrading from 3.0.x needs the boot medium once. FLIP_ABI is 5 (one flip entry with the facts page in x0, handoff blob version 8), so a node on 3.0.x refuses these bundles before the 202. Write the card or stick, boot, and flip from there on.
What changed since v3.0.20:
- No slot maximum: the kernel hands out the lowest free slot and a VMID per placement (no rollover; 8 VMID bits on the Pi 4 means the 256th cage does not fit), the slot LAN is 10.100.0.0/16,
PrivOp::Slotslists the live slots, the cage block of a slot comes from the pool. - One flip entry on every arm64 board (x3 /
FLIP_ENTRYgone), noStagedRole: a staged image is Hop. riscv64 still refuses a flip before the 202. - TX completion on the NIC's interrupt line on every driver (the 300 µs poll is gone), no
hopos.nicirq(the board picks: MSI-X on QEMU-UEFI and the Altra, INTx 477 on the O6N, INTA on the M4), and no probe waits for the link: the MAC is set at the first link, like Linuxadjust_link. - No storage answers "not found" on every file call.
- On UEFI (O6N, Altra) a warm flip keeps the kernel's own map intact (every change goes through
Board::remap, into the stub's tables, not the heap) and the screen comes back after a flip (the GOP travels in the facts page). - lean v3.2.0-rc3 (ISS from a 16-byte secret, every dial has a deadline, ARP/NDP ask 3 times) and Hop v3.2.0-rc6 (clock before anything leaves the node, a kernel call without an answer is fatal, the app logs split from the one console, the sweep over
PrivOp::Slots).
What to look for on the first boot (console, UART or tcp/5555). Every board with a PHY: first link pending (autoneg), then net: link up at N Mbps after N ms HOPOS_LINK_UP, then HOPOS_DHCP_BOUND. No HOPOS_LINK_UP means no link (cable, MDIO): the boot guard resets the node after 120 s.
| Board | Line to see |
|---|---|
| Pi 4 | net: genet up, link pending (autoneg), RX and TX done on INTID 189 |
| Pi 5 | net: gem up, link pending (autoneg), RX and TX done on INTID 166 (RP1 MSI-X via the MIP) |
| Radxa Zero 3E | net: dwmac4 at 0xfe010000 ... link pending (autoneg), intid 64 (RX and TX done), then link up at 1000 Mbps (the RGMII divider follows the link) |
| O6N | ... link pending (autoneg), INTx on INTID 477 (SPI 445) ... HOPOS_NIC_IRQ, then link up at 2500 Mbps (NBASE-T can take 12 s); the NVMe stays MSI-X and shows whether the IORT is right |
| Altra | net: igb ... link pending (autoneg), MSI-X via the ITS ..., first interrupt after N us HOPOS_NIC_IRQ |
| Mac mini M4 | tg3: link pending (autoneg), net: tg3 INTx on AIC irq 1253 ... HOPOS_NIC_IRQ |
| LicheeRV Nano | net: dwmac irq 31 on the PLIC (RX and TX done) HOPOS_NIC_IRQ, then link up at 100 Mbps |
TX interrupt under load: with hopos.tick=1 during an upload, HOPOS_TICK shows nic(full= held=) above 0, err=0, irq(nic=) rising and no stall. A warm flip on the new entry (from rc6 to a later bundle): after HOPOS_FLIP_JUMP the bunny again, fdt: at the same address as the cold boot (Pi, Radxa), the UEFI facts back without HOPOS_UEFI_STUB and, headfull, HOPOS_FB_CONSOLE again (O6N, Altra), and on the M4 the same hopos x<boot_args> line as the cold boot.
HopOS v3.2.0-rc6, 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:
b255dc85ea21500417f1eddb669dbf873418bc507be340edebf410ad3630706d appspike-arm64.elf
1795bb9eff40a3b7b62a012a5554809b7646e6c9cfac8cdebf43d995aa47f425 appspike-riscv64.elf
b1fda0c2a54836cee9fe415ed679d4a251135640c2b0d2172747fc43d501cf91 bench-arm64.elf
bb031fd48924a65a48087bdab7186845ce2ca0143b2377f472e6e2e74b7ab653 cloudflared-arm64-tamago.elf
ce110166e959e4a7d19b110077b3ac57dadac91670ce79c9f9e05131e0b99318 decode-arm64.elf
f2866a9b47d28fd8517e55165b54ada3554b753ba847db16f15dfc35502b5fc7 display-arm64.elf
126512fbf6213404c17776f30f55610a7fe05864c3a8a90bfbeadf95fad89057 hopos-altra-headfull.flip
bdb55aaf3328567a7cd73453c295550a30bc8cb64af6d68ad85e19d1297ee9c4 hopos-altra-headfull.img.gz
db4b1ab4aa3718268242fab8876ace7d8572a26eccc85e3780383afcadd3bb13 hopos-altra-headless.flip
e11b78c5c46cbf7646ae70482ba6a8ae4398b82b2a57d7a6c921008f770ff81c hopos-altra-headless.img.gz
ac79adf0fd990faa2a38fc0bc14c2a61c42719abfec3deb69787aa2972981d99 hopos-apple-headless.flip
8c50fe8198537f2bae548a7bf11ace9175df0c81887b46a28584247608399d32 hopos-apple-headless.img.gz
ddb86f1baf40c255d9a4113dc918be53e21b9678282926ecd31de940649a12ab hopos-licheerv-fip.bin
d63b54fb888d4bcb5df310354e112e263c18c7fc3a96386624d1cc7662625388 hopos-licheerv-headless.img.gz
c97317589d3430d14be663eedca7bcf4d19bc5c96be5d1c5116626b89a6a0db9 hopos-o6n-headfull.flip
dd01f7aae9eabda3fd0896e465b44812418a3d1e20d64ec5375464737a68bf04 hopos-o6n-headfull.img.gz
3dd3601a08f8e19fcd337aaad5e44c6fb8f4c5cb9b6c2ea520051a8de1db0d32 hopos-o6n-headless.flip
3b452cb18ff0c5ccbac9067b0e1e6cc8d8fa1e4c9b1bb5b6acad9867b7087f64 hopos-o6n-headless.img.gz
e0b5c06fd046e44135c6fb015b993a78a2768a00f417006d60d89d246724699d hopos-radxa-headfull.flip
58291e7bd39f669dc8356982e95f615d52e5ec77aefcaa900d345e5ab9d8cf32 hopos-radxa-headfull.img.gz
e39bd3340f2d3a22f423520833b5167f49bdd450b64f97f06bdbf4d6643a1c92 hopos-radxa-headless.flip
57350f1713de24ac255868399b567c9eda0c0163c61815c8f2b55abe202b30c6 hopos-radxa-headless.img.gz
4d035d845875f2f8817e711dd5adfaef1cdd8531018379846fba5303c6e22afb hopos-rpi4-headfull.flip
c113692daa2a8960bc2452d885a069e2a2de27c4fb245ad3015987c2bf28a0ef hopos-rpi4-headfull.img.gz
c99747dd3765491852846c43d26f7bf296c81441067d54a9e4cf456653a3d189 hopos-rpi4-headless.flip
fde946ff28522dbaa6d517f9c07e55f6665a63c0cca4cf754c9f0a179a667936 hopos-rpi4-headless.img.gz
ed99012f8461b77ba33e6dced5cc86625b7ca616dcc67ece02de9a7f12e35c1d hopos-rpi5-headfull.flip
248c67f13ceda3400f60cf5f9ec2325f5d698716d66eb5153d3a7a46e2d205ea hopos-rpi5-headfull.img.gz
aa5f29570c0e58bf46ff9b8a6f04d81f9e79a285421dfc1e9f12ae675874821e hopos-rpi5-headless.flip
ac70dab4fa1d6963a33152545061ccb601db4a6ef1187032b5adb293293e3cbb hopos-rpi5-headless.img.gz
04fe7d70fe90e6c1d66fe0f128db4c475845d4f1f3c5ff2850ae8b88d7cdac9d syncprobe-arm64.elf
4b9dae9e6cf4782b8d9fdc41eb16eac5fd9f42cb56f59d17f9febc616e20a6ec vitals-arm64.elf
c6bebd7ceb72629a8d20ef8364771fa65f98aec2c63cb710d60dfd0f408b8819 welcome-arm64.elf
3f6ee2153c031a5efcd784cfce7ef352c02d972e984473a33c94ef3128a7dcda welcome-riscv64.elf