Add support for CN9130-CEX7

This commit is contained in:
Patrick Vogelaar 2022-10-18 09:31:22 +02:00
parent 8fb29094c9
commit da856bdcd7
5 changed files with 14 additions and 1 deletions

View File

@ -42,7 +42,8 @@ IMAGE_LINGUAS ?= " "
inherit image
# Enable some feature by default
IMAGE_FEATURES += "read-only-rootfs"
# TODO. Commented out becaus it caused Problems. Need proper fixing.
# IMAGE_FEATURES += "read-only-rootfs"
# Add some extra space, as done in core-image-minimal
IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"

View File

@ -0,0 +1,8 @@
#@TYPE: Machine
#@NAME: cn9130
#@DESCRIPTION: Machine support for Marvell Opteon TX2 CN9130.
#
require conf/machine/include/cn913x.inc
UBOOT_BUILDENV_DEVICE_TREE ?= "cn9130-cex7-A"

View File

@ -37,6 +37,7 @@ KERNEL_DEFCONFIG ?= "cn9130-netmodule_defconfig"
# is then set for each machine with the KERNEL_DEVICETREE_TO_USE variable
KERNEL_DEVICETREE ?= "\
marvell/cn9131-bldn-mbv.dtb \
marvell/cn9130-cex7.dtb \
"
# getty configuration
@ -56,3 +57,4 @@ WKS_FILE = "cn913x-sdcard.wks"
IMAGE_FSTYPES += "wic.xz wic.bmap"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS:append = " kernel-modules kernel-devicetree"
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"

View File

@ -0,0 +1 @@
CONFIG_CMD_MVEBU_PHY_FW_DOWNLOAD=y

View File

@ -42,6 +42,7 @@ SRC_URI = "git://git.denx.de/u-boot.git;branch=master \
file://0021-octeontx2_cn913x-increase-CONFIG_SYS_BOOTM_LEN-to-32.patch \
file://0001-sr_cn913x_cex7-enable-VERSION_VARIABLE.patch \
file://boot.cmd \
file://cn913x.cfg \
"
#