Excerpt | |||||||
---|---|---|---|---|---|---|---|
| |||||||
IntroductionThis article is intended to provide information for HoneyComb and ClearFog CX to start evaluating the platform as quickly as possible. Boot Source Selector (Boot Switch SW1):Did you have information between the boot switch SW1 and the CPU on the print side (Notice the marking ‘ON’ on the DIP switch) Flashing Ubuntu on NVME m.2 or SATA drivePreparing a bootable micro SDDownload a pre-built snapshot image from https://images.solid-run.com/LX2k/lx2160a_build Those images are built with the suffix of the commit ID of the https://github.com/SolidRun/lx2160a_build project that you can clone and build by yourself.
You can build your own image using the script in here – https://github.com/SolidRun/lx2160a_build Plug a micro SD into your Linux PC, the following assumes that the micro SD is added as /dev/sdX and all it’s partitions are unmounted.
Booting the micro SD and flashing to either eMMC, NVME M.2 or SATA drive |
Introduction
This article is intended to provide information for HoneyComb and ClearFog CX to start evaluating the platform as quickly as possible.
...
Boot Source Selector (Boot Switch SW1):
Did you have information between the boot switch SW1 and the CPU on the print side (Notice the marking ‘ON’ on the DIP switch)
how to boot from SD card, eMMc, SPI.
for example to booting from SD-Card: configure the boot switch SW1 to be [1:off,2:on,3:on,4:on,5:nc]
Flashing Ubuntu on NVME m.2 or SATA drive
Preparing a bootable micro SD
Download a pre-built snapshot image from https://images.solid-run.com/LX2k/lx2160a_build
Those images are built with the suffix of the commit ID of the https://github.com/SolidRun/lx2160a_build project that you can clone and build by yourself.
Note |
---|
Please note The prebuilt images are configured for SO-DIMM DDR4 with speed of 3200, 2900, 2600 and 2400 Mtps (with or without ECC support),. Images that have the prefix lx2160a_xspi are intended to be flashed into SPI and recommended for later use after being booted from micro SD |
You can build your own image using the script in here – https://github.com/SolidRun/lx2160a_build
Plug a micro SD into your Linux PC, the following assumes that the micro SD is added as /dev/sdX and all it’s partitions are unmounted.
Code Block | ||
---|---|---|
| ||
unxz lx2160acex7_2000_700_....img.xz
sudo dd if=lx2160acex7_2000_700_...img of=/dev/sdX |
Booting the micro SD and flashing to either eMMC, NVME M.2 or SATA drive
Plug a micro USB cable to the ‘console’ micro USB connector and run a terminal emulator like minicom or putty pointing to the USB tty running at 115200,8N1. booting from SD-Card: configure the boot switch SW1 to be [1:off,2:on,3:on,4:on,5:nc] Plug NVME M.2 or SATA drive to one of the ports. Plug the micro SD into the HoneyComb / ClearFog CX mini ITX board and power it up; you should see the board booting. Stop the u-boot count down by clicking any key – To flash to eMMC run the following commands (it will wipre your data on the eMMC device). For this to work eMMC distroboot support is required (patch is here – https://github.com/SolidRun/lx2160a_build/commit/75891e5cb4d2171a2094c1e35087374b1f47acdd )
To flash to NVME M.2 run the following (it will wipe your data on the drive) –
To flash the image into SATA drive run the following commands (it will wipe your data) –
Final stagesBoot the machine by running ‘boot’ in u-boot.
The following stages needs to be done in order to finalize the imaging :
Using the built-in NICsIn case of SERDES configuration of 8 (default build) then dpmac.3 to dpmac.10 can be exposed. Those are 8x10Gbps interfaces where first 4 dpmac.3 to dpmac.6 can be obtained by using a 40G to 4x10G splitter cable (or so called octopus cable) when connected to HoneyComb / ClearFog CX QSFP28 port and dpmac.7 to dpmac.10 are on the 2×2 SFP+ connector cage. For example – dpmac.9 is the SFP+ port on the upper row and left towards PCB edge –
and then a new ethX ethernet interface is attached to the kernel. For SERDES SD1 config 20 which is dual 40G, then dpmac.1 and dpmac.2 are to be used where dpmac.1 is achieved directly by using the QSFP port and dpmac.2 by using an 40G to 4x10G splitter cable where the splitter cable is connected to HoneyComb. For different dpmac configuration please refer to the reference manual on different SERDES configuration and how it’s map to the different dpmacs. Packet Generator using DPDKFollowing is an example instructions that demonstrates using the DPDK framework that is built in the lx2160a_build project under build/dpdk/ directory –
Notice that DPRC variable in this case holds the output of dynamic_dpl.sh An alternative way to run testpmd in interactive mode is as follows –
GPUsGPUs that were briefly tested –
Tips
Example to install Gentoo from the UbuntuGentoo is a free and open-source distribution with a rolling-release model.
|