dev-nfs-boot: document openipc-nfs-root package + standalone manual guide#476
dev-nfs-boot: document openipc-nfs-root package + standalone manual guide#476widgetii wants to merge 1 commit into
Conversation
…uide Expand the NFS boot page into a complete, self-contained guide: - Rewrite the manual UART/TFTP/NFS walkthrough as a full step-by-step procedure (console wiring, saving the u-boot env, TFTP and NFS server setup, the bootargs sequence, first login, making it permanent/revert). Content translated to English and folded in so the page no longer points readers to an external Russian write-up. - Add a section on the opt-in `openipc-nfs-root` Buildroot package: why to use it, building via contrib/make_nfsroot or the fragment, config options, server setup, u-boot bootargs, read-only vs read-write modes, the no-op ifup/ifdown networking behaviour, and troubleshooting. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Looks good! Couple notes:
Even with ethaddr= in bootargs the DT mac will win currently.
This is the preferred method for setting hostname since it works across multiple cameras all mounting the same rootfs as RO. The only way it gets overridden (when present) is when we pass it via the DHCP request and the server responds with a different hostname due to a static lease. In my testing it's always been honored when using dynamic leases (on opnsense at least). For the DHCP use case I would recommend setting hostname= (in bootargs) and bootp_vci (in uboot env) to the same unique name. That makes tagging and option serving easier when configuring DHCP. Here's a useful configuration which might be nice to add.
Everything else looks good! |
Summary
Expands
en/dev-nfs-boot.mdinto a complete, self-contained guide to NFS root boot, covering both the hands-on manual method and the newopenipc-nfs-rootBuildroot package.Manual method
Rewrote the thin u-boot snippet into a full step-by-step walkthrough: UART console wiring (with the 12 V warning), saving the current u-boot env, TFTP server setup (kernel), NFS server setup (rootfs), the
bootargs/nfsrootboot sequence, first login, and making it permanent / reverting to stock. This content was translated from the external Russian write-up and folded in, so the page is now standalone English with no cross-language links.openipc-nfs-rootpackageDocuments the opt-in package workflow: why to use it, building via
contrib/make_nfsrootor theopenipc.fragment, the config options, server setup, u-boot bootargs (including theethaddr=/DT MAC handling), read-only vs read-write modes, the no-opifup/ifdownnetworking behaviour, and troubleshooting.Review request
@tinylabs — since this documents your NFS-root work, could you sanity-check the package section for accuracy (the
make_nfsrootflags, config defaults, RO/RW semantics, and the bootargs example)? Want to make sure the docs match the implementation before this goes live.