-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync with lx2160a_build / support lx2162a som / retimer
- support lx2162a som and clearfog evaluation board - support 10/25Gbps speed switch at runtime - support lx2160a cex7 sd1 protocol 18 w/ runtime 10/25G switch - default lx2160a cex7 sd protocol 18 - update mc firmware to 10.37.0, supporting 10/25G switch - split honeycomb and clearfog-cx into different machines - enabled cortex-a72 toolchain flags
- Loading branch information
Showing
48 changed files
with
9,334 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# select DTBs | ||
KERNEL_DEVICETREE ?= " \ | ||
freescale/fsl-lx2160a-clearfog-cx.dtb \ | ||
freescale/fsl-lx2160a-honeycomb.dtb \ | ||
" | ||
|
||
# select DPL/DPC (config/lx2160a/LX2160A-<MC_FLAVOUR>/<DPL/DPC>) | ||
# variable consumed in wks files | ||
MC_DPC ?= "clearfog-cx-s1_8-s2_0-dpc.dtb" | ||
MC_DPL ?= "clearfog-cx-s1_8-s2_0-dpl.dtb" | ||
|
||
# select RCW | ||
BOOTTYPE ?= "flexspi_nor sd emmc auto" | ||
RCWXSPI ?= "clearfog-cx/rcw_${LX2160A_CPU_SPEED}_${LX2160A_BUS_SPEED}_${LX2160A_DDR_SPEED}_18_5_2_xspi" | ||
RCWSD ?= "clearfog-cx/rcw_${LX2160A_CPU_SPEED}_${LX2160A_BUS_SPEED}_${LX2160A_DDR_SPEED}_18_5_2_sdhc" | ||
RCWEMMC ?= "clearfog-cx/rcw_${LX2160A_CPU_SPEED}_${LX2160A_BUS_SPEED}_${LX2160A_DDR_SPEED}_18_5_2_sdhc" | ||
RCWAUTO ?= "clearfog-cx/rcw_${LX2160A_CPU_SPEED}_${LX2160A_BUS_SPEED}_${LX2160A_DDR_SPEED}_18_5_2_auto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2160A CEX-7 | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2160A 2.0 COM-Express Type 7 Module | ||
|
||
# select rev2 rcw | ||
# set before lx2160acex7.inc which uses ?=, too | ||
RCW_FOLDER ?= "lx2160acex7_rev2" | ||
|
||
require conf/machine/include/lx2160acex7.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2162A SoM | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2162A Rev 2.0 System on Module | ||
|
||
require conf/machine/include/qoriq-arm64.inc | ||
require conf/machine/include/arm/armv8a/tune-cortexa72.inc | ||
|
||
MACHINEOVERRIDES =. "lx2162a-som:fsl-lsch3:lx2162a:" | ||
|
||
MACHINE_FEATURES:append = " optee " | ||
|
||
KERNEL_CLASSES = " kernel-fitimage " | ||
KERNEL_IMAGETYPES = "fitImage" | ||
|
||
DTB_LOAD = "0x90000000" | ||
UBOOT_ENTRYPOINT = "0x80080000" | ||
|
||
UBOOT_CONFIG ?= "tfa-secure-boot tfa" | ||
UBOOT_CONFIG[tfa] = "lx2160acex7_tfa_defconfig,,u-boot-dtb.bin" | ||
UBOOT_CONFIG[tfa-secure-boot] = "lx2160ardb_tfa_SECURE_BOOT_defconfig,,u-boot-dtb.bin" | ||
|
||
KERNEL_DEFCONFIG ?= "defconfig" | ||
|
||
SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0" | ||
SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | ||
|
||
LX2160A_BUS_SPEED ?= "650" | ||
LX2160A_CPU_SPEED ?= "2000" | ||
LX2160A_DDR_SPEED ?= "2900" | ||
|
||
UEFI_XSPIBOOT ?= "LX2160ARDB_EFI_NORBOOT.fd" | ||
|
||
EXTRA_IMAGEDEPENDS += "management-complex mc-utils rcw ls2-phy ddr-phy uefi qoriq-atf inphi" | ||
USE_VT = "0" | ||
|
||
# install the vendor-prefixed dtbs | ||
# Note: must keep the non-prefixed versions in place, | ||
# to ensure bootimg-partition.py does not mess with extlinux.conf fdtdir | ||
IMAGE_BOOT_FILES:append = "${KERNEL_DEVICETREE}" | ||
|
||
# select DPL/DPC source (config/lx2162a/LX2162A-<MC_FLAVOUR>) | ||
MC_FLAVOUR ?= "SOM" | ||
|
||
# select rev2 rcw | ||
RCW_FOLDER ?= "lx2162asom_rev2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2160A Clearfog-CX | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2160A 1.0 Clearfog CX Board | ||
|
||
require conf/machine/include/lx2160acex7.inc | ||
require conf/machine/include/lx2160a-clearfog-cx.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2160A Honeycomb | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2160A 1.0 Honeycomb Board | ||
|
||
require conf/machine/include/lx2160acex7.inc | ||
require conf/machine/include/lx2160a-clearfog-cx.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2160A CEX-6 EVB | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun Internal LX2160A Rev 2.0 COM-Express Type 6 Evaluation Board | ||
|
||
require conf/machine/include/lx2160acex7.inc | ||
require conf/machine/include/lx2160a-clearfog-cx.inc | ||
|
||
# select DTBs | ||
KERNEL_DEVICETREE ?= " \ | ||
freescale/fsl-lx2160a-cex6-evb.dtb \ | ||
" | ||
|
||
# select DPL/DPC (config/lx2160a/LX2160A-<MC_FLAVOUR>/<DPL/DPC>) | ||
# variable consumed in wks files | ||
MC_DPC ?= "evb-s1_3-s2_0-dpc.dtb" | ||
MC_DPL ?= "evb-s1_3-s2_0-dpl.dtb" | ||
|
||
# select RCW | ||
BOOTTYPE ?= "auto" | ||
RCWAUTO ?= "evb/rcw_${LX2160A_CPU_SPEED}_${LX2160A_BUS_SPEED}_${LX2160A_DDR_SPEED}_3_3_2_auto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2160A Clearfog-CX | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2160A 2.0 Clearfog CX Board | ||
|
||
require conf/machine/include/lx2160acex7-rev2.inc | ||
require conf/machine/include/lx2160a-clearfog-cx.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2160A Honeycomb | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2160A 2.0 Honeycomb Board | ||
|
||
require conf/machine/include/lx2160acex7-rev2.inc | ||
require conf/machine/include/lx2160a-clearfog-cx.inc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#@TYPE: Machine | ||
#@NAME: SolidRun LX2162A Clearfog | ||
#@SOC: LSCH3 | ||
#@DESCRIPTION: Machine configuration for SolidRun LX2162A 2.0 Clearfog Board | ||
|
||
require conf/machine/include/lx2162asom-rev2.inc | ||
|
||
|
||
# select DTBs | ||
KERNEL_DEVICETREE ?= " \ | ||
freescale/fsl-lx2162a-clearfog.dtb \ | ||
" | ||
|
||
# select DPL/DPC (config/lx2162a/LX2162A-<MC_FLAVOUR>/<DPL/DPC>) | ||
# variable consumed in wks files | ||
MC_DPC ?= "clearfog-s1_3-s2_9-dpc.dtb" | ||
MC_DPL ?= "clearfog-s1_3-s2_9-dpl.dtb" | ||
|
||
# select RCW | ||
BOOTTYPE ?= "auto" | ||
RCWAUTO ?= "clearfog/rcw_${LX2160A_CPU_SPEED}_${LX2160A_BUS_SPEED}_${LX2160A_DDR_SPEED}_18_9_0_auto" |
Oops, something went wrong.