Add support for CN9130-CEX7
This commit is contained in:
parent
8fb29094c9
commit
da856bdcd7
|
|
@ -42,7 +42,8 @@ IMAGE_LINGUAS ?= " "
|
||||||
inherit image
|
inherit image
|
||||||
|
|
||||||
# Enable some feature by default
|
# 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
|
# Add some extra space, as done in core-image-minimal
|
||||||
IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
|
IMAGE_ROOTFS_EXTRA_SPACE:append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}"
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
@ -37,6 +37,7 @@ KERNEL_DEFCONFIG ?= "cn9130-netmodule_defconfig"
|
||||||
# is then set for each machine with the KERNEL_DEVICETREE_TO_USE variable
|
# is then set for each machine with the KERNEL_DEVICETREE_TO_USE variable
|
||||||
KERNEL_DEVICETREE ?= "\
|
KERNEL_DEVICETREE ?= "\
|
||||||
marvell/cn9131-bldn-mbv.dtb \
|
marvell/cn9131-bldn-mbv.dtb \
|
||||||
|
marvell/cn9130-cex7.dtb \
|
||||||
"
|
"
|
||||||
|
|
||||||
# getty configuration
|
# getty configuration
|
||||||
|
|
@ -56,3 +57,4 @@ WKS_FILE = "cn913x-sdcard.wks"
|
||||||
IMAGE_FSTYPES += "wic.xz wic.bmap"
|
IMAGE_FSTYPES += "wic.xz wic.bmap"
|
||||||
|
|
||||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS:append = " kernel-modules kernel-devicetree"
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS:append = " kernel-modules kernel-devicetree"
|
||||||
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules kernel-devicetree"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
CONFIG_CMD_MVEBU_PHY_FW_DOWNLOAD=y
|
||||||
|
|
@ -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://0021-octeontx2_cn913x-increase-CONFIG_SYS_BOOTM_LEN-to-32.patch \
|
||||||
file://0001-sr_cn913x_cex7-enable-VERSION_VARIABLE.patch \
|
file://0001-sr_cn913x_cex7-enable-VERSION_VARIABLE.patch \
|
||||||
file://boot.cmd \
|
file://boot.cmd \
|
||||||
|
file://cn913x.cfg \
|
||||||
"
|
"
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue