The ONL GitHub repository isn’t maintained anymore. Netberg has a GitHub page supporting ONL with kernel 4.19 to build a custom image.
Or download a ready-to-use image from the links below:
ONL-DebianOS8_2021-12-28.1037-7156984_AMD64_INSTALLED_INSTALLER
ONL-DebianOS9_2021-12-28.1934-7156984_AMD64_INSTALLED_INSTALLER
Download the image we provide and copy it to:
1. A USB thumb device.
2. FTP server in your network.
0. a) Connect to the switch via serial console using standard settings:

WARNING: Do not use a USB-mini USB cable, it will damage the console port on the switch.
Use the enclosed mini USB-serial cable.
b) If you know the system IP address, you can ssh into ONIE with root/no password.
1. Boot into ONIE

8. Go to the ONIE: Rescue mode and deploy ONL image:
Use "onie-nos-install" command to download and install ONL from FTP server: ONIE:/ # onie-nos-install ftp://192.168.0.2/ONL-2.0.0-ONL-OS-DEB8-2017-07-18.1642-40fc82b-AMD64-INSTALLED-INSTALLER
From a USB thumb drive ONIE:/ # mkdir /mnt/usb_drive_mount_point ONIE:/# mount /dev/sdb1 /mnt/usb_drive_mount_point ONIE:/ # onie-nos-install /mnt/usb_drive_mount_point/ONL-2.0.0-ONL-OS-DEB8-2017-07-18.1642-40fc82b-AMD64-INSTALLED-INSTALLER
9. The resulting installation has a default account (“root”) with a default password (“onl”). The network interface is disabled by default so that you can change the root password before the system comes up.
Please refer to our FTP for instructions.
Use the package we provide.
NOTE: Change directory to target deliverables directory, and launch ofagentapp in backaground.
client_drivshell ps
client_drivshell 'ps'
client_drivshell port <port_number>
client_drivshell help
client_drivshell log f=/dev/console
client_drivshell log f=$(tty)
1. Show Platform Information with ONL
onl-platform-show
2. Show sysconfig with ONL
onl-sysconfig
1. Show ONL information for human read
onlpdump -r
2. Show Hardware information
onlpdump -s
3. Show SFP information
onlpdump -S