OpenEmbedded / Yocto layer definining the DENT Project dentOS network operating system (NOS) for disaggregated network switch platforms.
The current target release for this layer is v5.1 (styhead) and v5.2 (walnascar).
This layer depends on the following layers:
-
openembedded-coreor Yocto'spoky -
meta-switchbsp -
meta-oe(part ofmeta-openembedded) -
meta-python(part ofmeta-openembedded)
This layer supports the following MACHINE targets which are provided by the special meta-switchbsp BSP layer:
arm64-alldelta-tn48m
You can build an image using the following steps:
- Clone build system (OE-Core or Poky), this layer, and dependencies. For example:
~ $ git clone https://github.com/yoctoproject/poky.git
~ $ git clone https://github.com/openembedded/meta-openembedded.git poky/meta-openembedded
~ $ git clone https://github.com/dentproject/meta-switchbsp.git poky/meta-switchbsp
~ $ git clone <this-repo-url> poky/meta-dentos
-
Source
oe-init-build-envin the build system. -
Add this layer using
bitbake-layers add-layerand all dependencies:
~/poky/build $ bitbake-layers add-layer ../meta-openembedded/meta-oe
~/poky/build $ bitbake-layers add-layer ../meta-switchbsp
~/poky/build $ bitbake-layers add-layer ../meta-openembedded/meta-python
~/poky/build $ bitbake-layers add-layer ../meta-dentos
- Change
DISTROinconf/local.confto the dentOS distribution provided by this layer:
~/poky/build $ sed -i '/^DISTRO/c \DISTRO ?= "dentos"' conf/local.conf
- Set
MACHINEinconf/local.confto one of the supported targets:
~/poky/build $ sed -i '/^MACHINE/c \MACHINE ?= "delta-tn48m"' conf/local.conf
- Build a target e.g.
bitbake dentos-image
~/poky/build $ bitbake dentos-image