Site Tools


projects:homelab:clearfog_cx_lx2:build_uefi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:homelab:clearfog_cx_lx2:build_uefi [2024/09/30 15:41] – created Andrew Yongprojects:homelab:clearfog_cx_lx2:build_uefi [2024/10/01 16:47] (current) – [Valid Speed Settings] Andrew Yong
Line 5: Line 5:
   * Docker on Linux   * Docker on Linux
   * git   * git
 +  * x86_64 or aarch64 build host
 ===== Steps ===== ===== Steps =====
  
-  * ''git clone --depth=1 --single-branch --branch docker-dubious-ownership-fix git@github.com:ndoo/lx2160a_uefi.git''+  * ''%%git clone --depth=1 --single-branch --branch docker-dubious-ownership-fix https://github.com/ndoo/lx2160a_uefi.git && cd lx2160a_uefi%%''
   * ''docker build -t lx2160a_uefi docker/''   * ''docker build -t lx2160a_uefi docker/''
-  * ''docker run -e SOC_SPEED=2200 -e BUS_SPEED=800 -e DDR_SPEED=3200 -e XMP_PROFILE=1 -v %%"$PWD"%%:/work:Z --rm -i -t lx2160a_uefi build''+  * ''%%docker run -e SOC_SPEED=2200 -e BUS_SPEED=800 -e DDR_SPEED=3200 -e XMP_PROFILE=1 -v "$PWD":/work:Z --rm -i -t lx2160a_uefi build%%''
   * ''ls images''   * ''ls images''
   * ''sudo dd if=images/[image name] of=/dev/[your microsd reader device]''   * ''sudo dd if=images/[image name] of=/dev/[your microsd reader device]''
Line 16: Line 16:
 ===== Valid Speed Settings ===== ===== Valid Speed Settings =====
  
-  * **SOC_SPEED: 600 to 2200 (MHz) in 100 MHz increments**+  * **SOC_SPEED: 600 to 2200 (MHz) in 100 MHz increments** (default: 2000 MHz)
     * //CGA_PLL1_RAT = CGA_PLL1_RAT = SOC_SPEED / 100//     * //CGA_PLL1_RAT = CGA_PLL1_RAT = SOC_SPEED / 100//
-  * **BUS_SPEED: 550 to 800 (MHz) in 100 MHz increments**, except 600 MHz+  * **BUS_SPEED: 550 to 800 (MHz) in 100 MHz increments**, except 600 MHz (default: 700 MHz)
     * //SYS_PLL_RAT = 2 * BUS_SPEED / 100 - 1//     * //SYS_PLL_RAT = 2 * BUS_SPEED / 100 - 1//
     * //0b01011 - 11:1 - is a reserved value//     * //0b01011 - 11:1 - is a reserved value//
Line 26: Line 26:
 - //QorIQ LX2160A Reference Manual, 4.9.8.9 Reset Control Word (RCW) Register Descriptions.// - //QorIQ LX2160A Reference Manual, 4.9.8.9 Reset Control Word (RCW) Register Descriptions.//
  
 +==== Anecdotal Tips ====
 +
 +  * Overclocking SOC_SPEED = 2200 MHz is stable for most LX2160A; even higher speeds can be set but will be unstable
 +  * Overclocking BUS_SPEED = 800 MHz caused core lockups on heavy PCIe load for me
 ===== Other Build Options ===== ===== Other Build Options =====
  
 +  * **AMDGOP**: **(undefined)**, " "
 +    * Undefined: Build UEFI GOP driver (for full-resolution graphical UEFI boot)
 +    * " ": Do not build UEFI GOP driver
   * **BIFURPCI**: **(undefined)**, TRUE   * **BIFURPCI**: **(undefined)**, TRUE
     * Undefined: SerDes 3 protocol (SRDS_PRTCL_S3) = PCI Gen 3 x8     * Undefined: SerDes 3 protocol (SRDS_PRTCL_S3) = PCI Gen 3 x8
Line 39: Line 46:
     * SRDS_PRTCL_S1 = 8: 8x USXGMII (10 GbE) - 4 SFP+ & 4x10G lanes to QSFP28 cage (QSFP+ PSM/quad breakout DAC)     * SRDS_PRTCL_S1 = 8: 8x USXGMII (10 GbE) - 4 SFP+ & 4x10G lanes to QSFP28 cage (QSFP+ PSM/quad breakout DAC)
     * SRDS_PRTCL_S1 = 13: 2x 100 GbE - 1x100G to QSFP28 cage (SFP+ cages non-functional((Maybe a 100G DAC breakout might work in reverse?!)))     * SRDS_PRTCL_S1 = 13: 2x 100 GbE - 1x100G to QSFP28 cage (SFP+ cages non-functional((Maybe a 100G DAC breakout might work in reverse?!)))
-    * SRDS_PRTCL_S1 = 20: 2x 40GbE - 1x40G to QSFP28 cage (SFP+ cages non-functional(Maybe a 40G DAC breakout might work in reverse?!)))+    * SRDS_PRTCL_S1 = 20: 2x 40GbE - 1x40G to QSFP28 cage (SFP+ cages non-functional((Maybe a 40G DAC breakout might work in reverse?!)))
     * Other SerDes 1 protocols will not work unless you [[https://github.com/nxp-qoriq/mc-utils/tree/master/config/lx2160a/LX2160A-RDB|compile]] the [[https://github.com/SolidRun/edk2-non-osi/tree/c4f571fe0da70cafc58b90342a766da854e71572/Platform/SolidRun/LX2160aCex7/QoriqMcBinaryDtbs|necessary DPC & DPL DTB files]] and update runme.sh to support these port configs     * Other SerDes 1 protocols will not work unless you [[https://github.com/nxp-qoriq/mc-utils/tree/master/config/lx2160a/LX2160A-RDB|compile]] the [[https://github.com/SolidRun/edk2-non-osi/tree/c4f571fe0da70cafc58b90342a766da854e71572/Platform/SolidRun/LX2160aCex7/QoriqMcBinaryDtbs|necessary DPC & DPL DTB files]] and update runme.sh to support these port configs
   * **X64EMU_ENABLE**: **(undefined)**, (any value)   * **X64EMU_ENABLE**: **(undefined)**, (any value)
projects/homelab/clearfog_cx_lx2/build_uefi.1727710904.txt.gz · Last modified: 2024/09/30 15:41 by Andrew Yong