|
@@ -0,0 +1,82 @@ |
|
|
|
|
|
<meta charset="utf-8"> |
|
|
|
|
|
<meta http-equiv="refresh" content="2"> |
|
|
|
|
|
|
|
|
|
|
|
Embedded Board dev cluster |
|
|
|
|
|
========================== |
|
|
|
|
|
|
|
|
|
|
|
This is the description of how the cluster is architected and setup. There |
|
|
|
|
|
are a few design decisions that are likely to be different in other |
|
|
|
|
|
environments, but this made the most sense for mine. |
|
|
|
|
|
|
|
|
|
|
|
Goal |
|
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
The goal of this setup is to allow people to be able to install and test |
|
|
|
|
|
images on various boards remotely. |
|
|
|
|
|
|
|
|
|
|
|
### Features |
|
|
|
|
|
|
|
|
|
|
|
- Remote power control |
|
|
|
|
|
- serial console access |
|
|
|
|
|
- Network boot |
|
|
|
|
|
- Internet connectivity for boards w/ ethernet |
|
|
|
|
|
- Isolation between board environments |
|
|
|
|
|
Likely implemented via VLANs+jails w/ VNET to provide complete control |
|
|
|
|
|
- Long term goals: |
|
|
|
|
|
- Emulated microSD cards |
|
|
|
|
|
|
|
|
|
|
|
### Architecture |
|
|
|
|
|
|
|
|
|
|
|
The following diagrams the connections between the components. It is expected |
|
|
|
|
|
that the connections for the RockPro64 is followed similarly for other embedded |
|
|
|
|
|
devices. |
|
|
|
|
|
|
|
|
|
|
|
In the case of the Switch, the RockPro64 will be put on a VLAN which will be |
|
|
|
|
|
delivered to the Host machine tagged. This will allow a jail in the host |
|
|
|
|
|
machine to have a direct control over the broadcast domain for the device. |
|
|
|
|
|
This will allow running dhcp/bootp/tftp services for netbooting by running dnsmasq |
|
|
|
|
|
or another service. As fusefs is now jail friendly, the root FS could even be |
|
|
|
|
|
mounted via sshfs |
|
|
|
|
|
|
|
|
|
|
|
************************************************************************************* |
|
|
|
|
|
* * |
|
|
|
|
|
* +---------------------------+ * |
|
|
|
|
|
* | | * |
|
|
|
|
|
* | Internet | * |
|
|
|
|
|
* | | * |
|
|
|
|
|
* +-------------+-------------+ * |
|
|
|
|
|
* | * |
|
|
|
|
|
* | * |
|
|
|
|
|
* | * |
|
|
|
|
|
* +-------------+-------------+ * |
|
|
|
|
|
* | | * |
|
|
|
|
|
* +--------------+ VLAN Switch +--------------+ * |
|
|
|
|
|
* | | | | * |
|
|
|
|
|
* | +---------------------------+ | * |
|
|
|
|
|
* | | * |
|
|
|
|
|
* +--------+-------+ +--------+-------+ * |
|
|
|
|
|
* | | | | * |
|
|
|
|
|
* | Host machine | | RockPro64 | * |
|
|
|
|
|
* | | | | * |
|
|
|
|
|
* +--------+-------+ +--------+---+---+ * |
|
|
|
|
|
* | | | * |
|
|
|
|
|
* | | | * |
|
|
|
|
|
* +--------+-------+ | | * |
|
|
|
|
|
* | | +------------------+ | | * |
|
|
|
|
|
* | USB Hub +-----------+ Serial adapter +------------------+ | * |
|
|
|
|
|
* | | +------------------+ | * |
|
|
|
|
|
* +--------+-------+ | * |
|
|
|
|
|
* | | * |
|
|
|
|
|
* | +---------------------------+ | * |
|
|
|
|
|
* | | +------------------+ * |
|
|
|
|
|
* +--------------+ Power Controler | * |
|
|
|
|
|
* | +----+ * |
|
|
|
|
|
* +---------------------------+ | * |
|
|
|
|
|
* | * |
|
|
|
|
|
* +-------+-------+ * |
|
|
|
|
|
* | 12V PS | * |
|
|
|
|
|
* +---------------+ * |
|
|
|
|
|
* * |
|
|
|
|
|
************************************************************************************* |
|
|
|
|
|
|
|
|
|
|
|
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script src="https://casual-effects.com/markdeep/latest/markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script> |