diff --git a/layers/meta-belden-coreos/classes/coreos-image.bbclass b/layers/meta-belden-coreos/classes/coreos-image.bbclass index f643366..6ae0dfb 100644 --- a/layers/meta-belden-coreos/classes/coreos-image.bbclass +++ b/layers/meta-belden-coreos/classes/coreos-image.bbclass @@ -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)}" diff --git a/layers/meta-belden-marvell-bsp/conf/machine/cn9130-cex7.conf b/layers/meta-belden-marvell-bsp/conf/machine/cn9130-cex7.conf new file mode 100644 index 0000000..6c4f83a --- /dev/null +++ b/layers/meta-belden-marvell-bsp/conf/machine/cn9130-cex7.conf @@ -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" diff --git a/layers/meta-belden-marvell-bsp/conf/machine/include/cn913x.inc b/layers/meta-belden-marvell-bsp/conf/machine/include/cn913x.inc index 399953d..afb4aa2 100644 --- a/layers/meta-belden-marvell-bsp/conf/machine/include/cn913x.inc +++ b/layers/meta-belden-marvell-bsp/conf/machine/include/cn913x.inc @@ -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" diff --git a/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/files/cn913x.cfg b/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/files/cn913x.cfg new file mode 100644 index 0000000..7818deb --- /dev/null +++ b/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/files/cn913x.cfg @@ -0,0 +1 @@ +CONFIG_CMD_MVEBU_PHY_FW_DOWNLOAD=y \ No newline at end of file diff --git a/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/u-boot_2019.10-solidrun.bb b/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/u-boot_2019.10-solidrun.bb index 36e27ae..cff8ce3 100644 --- a/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/u-boot_2019.10-solidrun.bb +++ b/layers/meta-belden-marvell-bsp/recipes-bsp/u-boot/u-boot_2019.10-solidrun.bb @@ -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 \ " #