Information and documentation on building an embedded board test lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

67 lines
3.6 KiB

  1. <meta charset="utf-8">
  2. <meta http-equiv="refresh" content="2">
  3. Embedded Board dev cluster
  4. ==========================
  5. This is the description of how the cluster is architected and setup. There
  6. are a few design decisions that are likely to be different in other
  7. environments, but this made the most sense for mine.
  8. Goal
  9. ----
  10. The goal of this setup is to allow people to be able to install and test
  11. images on various boards remotely.
  12. ### Features
  13. - Remote power control
  14. - serial console access
  15. - Network boot
  16. - Internet connectivity for boards w/ ethernet
  17. - Isolation between board environments
  18. Likely implemented via VLANs+jails w/ VNET to provide complete control
  19. - Long term goals:
  20. - Emulated microSD cards
  21. ### Architecture
  22. The following diagrams the connections between the components. It is expected
  23. that the connections for the RockPro64 is followed similarly for other embedded
  24. devices.
  25. In the case of the Switch, the RockPro64 will be put on a VLAN which will be
  26. delivered to the Host machine tagged. This will allow a jail in the host
  27. machine to have a direct control over the broadcast domain for the device.
  28. This will allow running dhcp/bootp/tftp services for netbooting by running dnsmasq
  29. or another service. As fusefs is now jail friendly, the root FS could even be
  30. mounted via sshfs
  31. ***********************************************************************************
  32. * *
  33. * +--------------+ +-----------------+ *
  34. * | Host machine +-----------------------------------------+ | Internet | *
  35. * +-+------------+ | +-+---------------+ *
  36. * | | | *
  37. * | | | *
  38. * | | | *
  39. * +-+------------+ +----------------+ | +-+---------------+ *
  40. * | USB Hub +-----+ Serial adapter | +--+ PoE/VLAN Switch | *
  41. * +--------------+ +-+--------------+ +-+---------------+ *
  42. * | | *
  43. * | | *
  44. * | | *
  45. * +-+--------------+ Network +-+---------------+ *
  46. * | RockPro64 +---------------------+ PoE Splitter | *
  47. * +-+--------------+ +-+---------------+ *
  48. * | | *
  49. * | | *
  50. * | | *
  51. * Power | *
  52. * -----------------------------------------+ *
  53. * *
  54. ***********************************************************************************
  55. <!-- 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>