vcu: add initial vcu machine config

taking linux kernel from internal git repository

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
Patrick Zysset 2018-06-15 14:02:16 +02:00 committed by Ramon Moesching
parent b42845f350
commit a990755e62
3 changed files with 51 additions and 4 deletions

View File

@ -0,0 +1,21 @@
#@TYPE: Machine
#@NAME: Vehicle Control Unit (VCU)
#@DESCRIPTION: Machine configuration for the VCU mainboard
require conf/machine/include/ti33x.inc
IMAGE_FSTYPES += "tar.gz cpio cpio.gz.u-boot"
IMAGE_CLASSES += "image_types"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
KERNEL_DEFCONFIG = "am335x-vcu_defconfig"
KERNEL_DEVICETREE = "am335x-vcu-prod1.dtb \
"
KERNEL_IMAGETYPE = "zImage"
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
PV_pn-linux-netmodule = "4.14.14-${SRCPV}"
SRC_URI_pn-linux-netmodule ?= "git://git.netmodule.intranet/nmrouter/linux.git;protocol=ssh;user=gitea;branch=4.14/standard/vcu"
SRCREV_pn-linux-netmodule ?= "${AUTOREV}"

View File

@ -0,0 +1,27 @@
require u-boot-nm.inc
# Force machine configuration for this recipe
UBOOT_MACHINE = "am335x_vcu_defconfig"
# Be aware github/netmodule git
SRC_URI = "git://git.netmodule.intranet/nmrouter/u-boot;protocol=ssh;user=gitea;branch=2016.04-am335x-hancock"
# Should be updated when a new U-Boot Version is available
SRCREV ?= "${AUTOREV}"
PV = "v2016.04+git${SRCPV}"
# PV = "v2016.04-${SRCREV}"
SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
do_deploy_append() {
rm -f ${DEPLOYDIR}/${PN}-spl.bin
rm -f ${DEPLOYDIR}/${PN}.bin
rm -f ${DEPLOYDIR}/${PN}.img
rm -f ${DEPLOYDIR}/MLO-${PN}
cp ${S}/spl/u-boot-spl.bin ${DEPLOYDIR}/${PN}-spl.bin
cp ${S}/u-boot.bin ${DEPLOYDIR}/${PN}.bin
cp ${S}/u-boot.img ${DEPLOYDIR}/${PN}.img
cp ${S}/MLO ${DEPLOYDIR}/MLO-${PN}
}

View File

@ -7,10 +7,9 @@ DESCRIPTION = "Linux kernel for various NetModule hardware"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
SRC_URI = "git://github.com/netmodule/linux.git;protocol=https"
SRCREV ?= "6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c"
PV ?= "4.12.0-${SRCPV}"
SRC_URI = "git://git.netmodule.intranet/nmrouter/linux.git;protocol=ssh;user=gitea;branch=4.14/standard/vcu"
SRCREV ?= "${AUTOREV}"
PV ?= "4.14.14-${SRCPV}"
PR = "r0"