Re: [yocto] [PATCH V3] update-rc.d: support enable/disable options
On Thu, 2019-06-20 at 10:07 +0800, Changqing Li wrote: > Please also help to review this patch, Thanks. This patch needs to go to OE-Core for the bbclass part. The documentation piece needs to be separated out as its a different repository. Also doesn't it depend on the change I just made to the update-rc.d repo so there will be a SRCREV that needs to be updated that this depends on? Thanks, Richard -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] warrior with recipes AUTOREV, issues (and hangs bitbake on Centos )
Hi, during our development process, many of our recipes use AUTOREV to get latest bits Under warrior ( bitbake 1.42?) , we are seeing failures with the follow structure ( from recipes not even used by the image, which recipe changes from bitbake to bitbake) Traceback (most recent call last): File "/home/rcallen/tlo-warrior/sources/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 1179, in srcrev_internal_helper(ud=, d=, name='default'): if srcrev == "AUTOINC": >srcrev = ud.method.latest_revision(ud, d, name) File "/home/rcallen/tlo-warrior/sources/openembedded-core/bitbake/lib/bb/fetch2/__init__.py", line 1574, in Git.latest_revision(ud=, d=, name='default'): except KeyError: >revs[key] = rev = self._latest_revision(ud, d, name) return rev File "/home/rcallen/tlo-warrior/sources/openembedded-core/bitbake/lib/bb/persist_data.py", line 60, in SQLTable.wrap_func(*args=('XXXt', '1a969ebe1841690d0c5c36c174aa119175c90cd6'), **kwargs={}): try: >return f(self, *args, **kwargs) except sqlite3.OperationalError as exc: File "/home/rcallen/tlo-warrior/sources/openembedded-core/bitbake/lib/bb/persist_data.py", line 89, in SQLTable.wrap_func(*args=(XXX', '1a969ebe1841690d0c5c36c174aa119175c90cd6'), **kwargs={}): with contextlib.closing(self.connection.cursor()) as cursor: >return f(self, cursor, *args, **kwargs) return wrap_func File "/home/rcallen/tlo-warrior/sources/openembedded-core/bitbake/lib/bb/persist_data.py", line 197, in SQLTable.__setitem__(cursor=, key= XXX't', value='1a969ebe1841690d0c5c36c174aa119175c90cd6'): else: >cursor.execute("INSERT into %s(key, value) values (?, ?);" % self.table, [key, value]) bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception IntegrityError: UNIQUE constraint failed: BB_URI_HEADREVS.key Most times , no problems If I set BB_SRCREV_POLICY = "cache" , never a problem.. When bitbake on a ubuntu, the error is created and bitbake recovers On a Centos, the error is created AND bitbake HANGS ( A Ctrl C will break into the bitbake , but leaves a set of processes in memory, need to manually kill the bitbake process and all its' children processes, - this behavior makes centos for warrior bitbaking pretty useless . Wondering if others are seeing this? If so, any known 'fixes' (besides not using AUTOREV ?) If so, will this get fixed in 'warrior' or later? Thanks Richard C Allen -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH V3] update-rc.d: support enable/disable options
On 6/20/19 3:28 PM, richard.pur...@linuxfoundation.org wrote: On Thu, 2019-06-20 at 10:07 +0800, Changqing Li wrote: Please also help to review this patch, Thanks. This patch needs to go to OE-Core for the bbclass part. The documentation piece needs to be separated out as its a different repository. Also doesn't it depend on the change I just made to the update-rc.d repo so there will be a SRCREV that needs to be updated that this depends on? I will split the oe-core and document part. without change in update-rc.d.bbclass, new function add in update-rc.d repo will not work. since preinst in update-rc.d.bbclass will delete all the links under rcrunlevel.d, this behavior conflicts with enable/disable options. and you're right, I also need to update SRCREV of update-rc.d.bb in oe-core repo. Thanks. I will send it later. Thanks, Richard -- BRs Sandy(Li Changqing) -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-rockchip] [PATCH v2 0/3] fixup u-boot compiling error
From: Randy 'ayaka' Li Changelog v2: Fixed unset SRCREV stopped building in the previous time Fixed compiler warning in GCC 9 of new oe Randy 'ayaka' Li (2): recipes-bsp/u-boot: fixup build for gcc7 recipes-bsp/u-boot: update build rules Randy Li (1): recipes-bsp/u-boot: update to the latest version recipes-bsp/u-boot/u-boot-rockchip.inc| 12 ++ .../u-boot/u-boot-rockchip/gcc7_fixup.patch | 38 +++ .../u-boot-rockchip/gcc9-no-Werror.patch | 13 +++ .../u-boot/u-boot-rockchip_20171218.bb| 4 ++ recipes-bsp/u-boot/u-boot-rockchip_git.bb | 19 ++ 5 files changed, 86 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-rockchip/gcc7_fixup.patch create mode 100644 recipes-bsp/u-boot/u-boot-rockchip/gcc9-no-Werror.patch create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v2 1/3] recipes-bsp/u-boot: fixup build for gcc7
From: Randy 'ayaka' Li Signed-off-by: Randy Li Signed-off-by: Randy 'ayaka' Li --- .../u-boot/u-boot-rockchip/gcc7_fixup.patch | 38 +++ 1 file changed, 38 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-rockchip/gcc7_fixup.patch diff --git a/recipes-bsp/u-boot/u-boot-rockchip/gcc7_fixup.patch b/recipes-bsp/u-boot/u-boot-rockchip/gcc7_fixup.patch new file mode 100644 index 000..ccb709a --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-rockchip/gcc7_fixup.patch @@ -0,0 +1,38 @@ +diff --git a/include/linux/log2.h b/include/linux/log2.h +index aa1de63090..5526af036d 100644 +--- a/include/linux/log2.h b/include/linux/log2.h +@@ -12,12 +12,6 @@ + #include + #include + +-/* +- * deal with unrepresentable constant logarithms +- */ +-extern __attribute__((const, noreturn)) +-int ilog2_NaN(void); +- + /* + * non-constant log of base 2 calculators + * - the arch may override these in asm/bitops.h if they can be implemented +@@ -82,7 +76,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n) + #define ilog2(n) \ + ( \ + __builtin_constant_p(n) ? ( \ +- (n) < 1 ? ilog2_NaN() : \ ++ (n) < 2 ? 0 : \ + (n) & (1ULL << 63) ? 63 : \ + (n) & (1ULL << 62) ? 62 : \ + (n) & (1ULL << 61) ? 61 : \ +@@ -145,10 +139,7 @@ unsigned long __rounddown_pow_of_two(unsigned long n) + (n) & (1ULL << 4) ? 4 : \ + (n) & (1ULL << 3) ? 3 : \ + (n) & (1ULL << 2) ? 2 : \ +- (n) & (1ULL << 1) ? 1 : \ +- (n) & (1ULL << 0) ? 0 : \ +- ilog2_NaN() \ +- ) : \ ++ 1 ) : \ + (sizeof(n) <= 4) ? \ + __ilog2_u32(n) :\ + __ilog2_u64(n) \ -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v2 2/3] recipes-bsp/u-boot: update build rules
From: Randy 'ayaka' Li Adding the missing recipes header file. Fixing the compiler error after oe-core update. Disabled the -Werror flag which would break the build due to update of toolchain. Signed-off-by: Randy 'ayaka' Li --- recipes-bsp/u-boot/u-boot-rockchip.inc | 12 .../u-boot/u-boot-rockchip/gcc9-no-Werror.patch | 13 + recipes-bsp/u-boot/u-boot-rockchip_20171218.bb | 4 3 files changed, 29 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-rockchip/gcc9-no-Werror.patch diff --git a/recipes-bsp/u-boot/u-boot-rockchip.inc b/recipes-bsp/u-boot/u-boot-rockchip.inc index 5d89cd6..8815ac8 100644 --- a/recipes-bsp/u-boot/u-boot-rockchip.inc +++ b/recipes-bsp/u-boot/u-boot-rockchip.inc @@ -2,6 +2,7 @@ # Copyright (C) 2017 Trevor Woerner # Released under the MIT license (see COPYING.MIT for the terms) +require recipes-bsp/u-boot/u-boot-common.inc require recipes-bsp/u-boot/u-boot.inc DESCRIPTION = "Rockchip next-dev U-Boot" @@ -14,6 +15,17 @@ DEPENDS = "dtc-native bc-native swig-native" # u-boot will build native python module inherit pythonnative +do_configure () { + if [ -z "${UBOOT_CONFIG}" ]; then + if [ -n "${UBOOT_MACHINE}" ]; then + oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} + else + oe_runmake -C ${S} O=${B} oldconfig + fi + cml1_do_configure + fi +} + do_compile_prepend () { export STAGING_INCDIR=${STAGING_INCDIR_NATIVE}; export STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE}; diff --git a/recipes-bsp/u-boot/u-boot-rockchip/gcc9-no-Werror.patch b/recipes-bsp/u-boot/u-boot-rockchip/gcc9-no-Werror.patch new file mode 100644 index 000..198d846 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-rockchip/gcc9-no-Werror.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index a2e1a09674..3697ece6fc 100644 +--- a/Makefile b/Makefile +@@ -360,7 +360,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__ + KBUILD_CFLAGS := -Wall -Wstrict-prototypes \ + -Wno-format-security \ + -fno-builtin -ffreestanding +-KBUILD_CFLAGS += -fshort-wchar -Werror ++KBUILD_CFLAGS += -fshort-wchar + KBUILD_AFLAGS := -D__ASSEMBLY__ + + # Read UBOOTRELEASE from include/config/uboot.release (if it exists) diff --git a/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb b/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb index 4545f13..f4ecbae 100644 --- a/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb +++ b/recipes-bsp/u-boot/u-boot-rockchip_20171218.bb @@ -9,5 +9,9 @@ TAG = "release-${PV}" SRC_URI = " \ git://github.com/rockchip-linux/u-boot.git;tag=${TAG};nobranch=1; \ file://binutils-2.28-ld-fix.patch \ + file://gcc7_fixup.patch \ + file://gcc9-no-Werror.patch \ " S = "${WORKDIR}/git" + +SRCREV = "release-20171218" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v2 3/3] recipes-bsp/u-boot: update to the latest version
From: Randy Li Signed-off-by: Randy Li --- recipes-bsp/u-boot/u-boot-rockchip_git.bb | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-rockchip_git.bb diff --git a/recipes-bsp/u-boot/u-boot-rockchip_git.bb b/recipes-bsp/u-boot/u-boot-rockchip_git.bb new file mode 100644 index 000..5b04b62 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-rockchip_git.bb @@ -0,0 +1,19 @@ +# Copyright (C) 2019 SUMOMO Computer Assocation +# Released under the MIT license (see COPYING.MIT for the terms) +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +include u-boot-rockchip.inc + +DESCRIPTION = "Rockchip U-Boot" + +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" + +SRC_URI = " \ + git://github.com/rockchip-linux/u-boot.git;branch=release; \ + file://gcc7_fixup.patch \ + file://gcc9-no-Werror.patch \ +" +SRCREV = "${AUTOREV}" + +S = "${WORKDIR}/git" +PV = "v2019.01" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-rockchip] [PATCH v3 0/9] add new SoCs support
Changelog v2 Removing the settings applied for vendor kernel v2 Adding some SoCs which are supported by the upstream kernel v3 Adding new chip RK1808 Randy 'ayaka' Li (8): conf/machine: add support for rk3399 conf/machine: add support for rk3328 conf/machine: add support for rv1108 conf/machine: add support for rk3036 conf/machine: add support for rk312x conf/machine: add support for rk3326 conf/machine: add support for rk3368 conf/machine: add support for rk3308 Randy Li (1): conf/machine: add support for rk1808 conf/machine/evb-rk3328.conf | 11 +++ conf/machine/evb-rv1108.conf | 10 ++ conf/machine/excavator-rk3399.conf | 12 conf/machine/firefly-rk3399.conf | 14 ++ conf/machine/include/rk1808.inc| 17 + conf/machine/include/rk3036.inc| 16 conf/machine/include/rk312x.inc| 17 + conf/machine/include/rk3308.inc| 17 + conf/machine/include/rk3326.inc| 18 ++ conf/machine/include/rk3328.inc| 18 ++ conf/machine/include/rk3368.inc| 17 + conf/machine/include/rk3399.inc| 17 + conf/machine/include/rv1108.inc| 16 conf/machine/kylin-rk3036.conf | 12 14 files changed, 212 insertions(+) create mode 100644 conf/machine/evb-rk3328.conf create mode 100644 conf/machine/evb-rv1108.conf create mode 100644 conf/machine/excavator-rk3399.conf create mode 100644 conf/machine/firefly-rk3399.conf create mode 100644 conf/machine/include/rk1808.inc create mode 100644 conf/machine/include/rk3036.inc create mode 100644 conf/machine/include/rk312x.inc create mode 100644 conf/machine/include/rk3308.inc create mode 100644 conf/machine/include/rk3326.inc create mode 100644 conf/machine/include/rk3328.inc create mode 100644 conf/machine/include/rk3368.inc create mode 100644 conf/machine/include/rk3399.inc create mode 100644 conf/machine/include/rv1108.inc create mode 100644 conf/machine/kylin-rk3036.conf -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 1/9] conf/machine: add support for rk3399
From: Randy 'ayaka' Li RK3399 is a new generation powerful SoC from Rockchip, which has Dual Cortex-A72 + Quad Cortex-A53, 64-bit CPU. Signed-off-by: Randy 'ayaka' Li --- conf/machine/excavator-rk3399.conf | 12 conf/machine/firefly-rk3399.conf | 14 ++ conf/machine/include/rk3399.inc| 17 + 3 files changed, 43 insertions(+) create mode 100644 conf/machine/excavator-rk3399.conf create mode 100644 conf/machine/firefly-rk3399.conf create mode 100644 conf/machine/include/rk3399.inc diff --git a/conf/machine/excavator-rk3399.conf b/conf/machine/excavator-rk3399.conf new file mode 100644 index 000..8506a50 --- /dev/null +++ b/conf/machine/excavator-rk3399.conf @@ -0,0 +1,12 @@ +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd +# Released under the MIT license (see COPYING.MIT for the terms) + +#@TYPE: Machine +#@NAME: EXCAVATOR 3399 + +include conf/machine/include/rk3399.inc + +KERNEL_DEVICETREE = "rockchip/rk3399-sapphire-excavator.dtb" +UBOOT_MACHINE = "evb-rk3399_defconfig" + +GPTIMG_APPEND = "console=ttyS2,150n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init" diff --git a/conf/machine/firefly-rk3399.conf b/conf/machine/firefly-rk3399.conf new file mode 100644 index 000..4e35c3d --- /dev/null +++ b/conf/machine/firefly-rk3399.conf @@ -0,0 +1,14 @@ +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd +# Released under the MIT license (see COPYING.MIT for the terms) + +#@TYPE: Machine +#@NAME: Firefly RK3399 +#@DESCRIPTION: Firefly-RK3399 is a Six-Core 64-bit High-Performance Platform. +#http://www.t-firefly.com/en/ + +include conf/machine/include/rk3399.inc + +KERNEL_DEVICETREE = "rockchip/rk3399-firefly.dtb" +UBOOT_MACHINE = "evb-rk3399_defconfig" + +GPTIMG_APPEND = "console=ttyS2,150n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init" diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc new file mode 100644 index 000..9237616 --- /dev/null +++ b/conf/machine/include/rk3399.inc @@ -0,0 +1,17 @@ +# Copyright (C) 2019 SUMOMO Computer Association +# Released under the MIT license (see COPYING.MIT for the terms) + +SOC_FAMILY = "rk3399" + +require conf/machine/include/tune-cortexa72.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 2/9] conf/machine: add support for rk3328
From: Randy 'ayaka' Li The RK3328 is a SoC with Quad-core Cortex-A53 for Smart OTT/IPTV. Signed-off-by: Randy 'ayaka' Li --- conf/machine/evb-rk3328.conf| 11 +++ conf/machine/include/rk3328.inc | 18 ++ 2 files changed, 29 insertions(+) create mode 100644 conf/machine/evb-rk3328.conf create mode 100644 conf/machine/include/rk3328.inc diff --git a/conf/machine/evb-rk3328.conf b/conf/machine/evb-rk3328.conf new file mode 100644 index 000..ae2c0f8 --- /dev/null +++ b/conf/machine/evb-rk3328.conf @@ -0,0 +1,11 @@ +# Released under the MIT license (see COPYING.MIT for the terms) + +#@TYPE: Machine +#@NAME: EVB 3388 + +include conf/machine/include/rk3328.inc + +KERNEL_DEVICETREE = "rockchip/rk3328-evb.dtb" +UBOOT_MACHINE = "evb-rk3328_defconfig" + +GPTIMG_APPEND = "console=ttyS2,150n8 rw root=PARTUUID=B921B045-1DF0 rootfstype=ext4 init=/sbin/init" diff --git a/conf/machine/include/rk3328.inc b/conf/machine/include/rk3328.inc new file mode 100644 index 000..de5c9f4 --- /dev/null +++ b/conf/machine/include/rk3328.inc @@ -0,0 +1,18 @@ +# Copyright (C) 2017 Randy Li +# Released under the MIT license (see COPYING.MIT for the terms) + +# RK3228H is the same SoC as rk3328. +SOC_FAMILY = "rk3328" + +require conf/machine/include/tune-cortexa53.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 3/9] conf/machine: add support for rv1108
From: Randy 'ayaka' Li RV1108 is a SoC specific for video enhanced and recording. It is embedded with a DSP for digital process and an ARM Cortex-A7 single core processor for system and application. Signed-off-by: Randy 'ayaka' Li --- conf/machine/evb-rv1108.conf| 10 ++ conf/machine/include/rv1108.inc | 16 2 files changed, 26 insertions(+) create mode 100644 conf/machine/evb-rv1108.conf create mode 100644 conf/machine/include/rv1108.inc diff --git a/conf/machine/evb-rv1108.conf b/conf/machine/evb-rv1108.conf new file mode 100644 index 000..3e85d80 --- /dev/null +++ b/conf/machine/evb-rv1108.conf @@ -0,0 +1,10 @@ +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd +# Released under the MIT license (see COPYING.MIT for the terms) + +#@TYPE: Machine +#@NAME: EVB rv1108 + +include conf/machine/include/rv1108.inc + +KERNEL_DEVICETREE = "rv1108-evb.dtb" +UBOOT_MACHINE = "evb-rk3288_defconfig" diff --git a/conf/machine/include/rv1108.inc b/conf/machine/include/rv1108.inc new file mode 100644 index 000..c1bb584 --- /dev/null +++ b/conf/machine/include/rv1108.inc @@ -0,0 +1,16 @@ +# Copyright (C) 2019 Randy 'ayaka' Li +# Released under the MIT license (see COPYING.MIT for the terms) + +SOC_FAMILY = "rv1108" + +require conf/machine/include/tune-cortexa7.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" +SPL_BINARY ?= "u-boot-spl-nodtb.bin" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 4/9] conf/machine: add support for rk3036
From: Randy 'ayaka' Li RK3036 is a SoC from Rockchip which has Dual-Core ARM Cortex-A7 CPU, for low-end OTT TV Box. Supporting video acceleration for the HEVC and AVC up to 1080P video. With a HDMI sink. Signed-off-by: Randy 'ayaka' Li Signed-off-by: Randy Li --- conf/machine/include/rk3036.inc | 16 conf/machine/kylin-rk3036.conf | 12 2 files changed, 28 insertions(+) create mode 100644 conf/machine/include/rk3036.inc create mode 100644 conf/machine/kylin-rk3036.conf diff --git a/conf/machine/include/rk3036.inc b/conf/machine/include/rk3036.inc new file mode 100644 index 000..196f5a3 --- /dev/null +++ b/conf/machine/include/rk3036.inc @@ -0,0 +1,16 @@ +# Copyright (C) 2018 Randy 'ayaka' Li +# Released under the MIT license (see COPYING.MIT for the terms) + +SOC_FAMILY = "rk3036" + +require conf/machine/include/tune-cortexa7.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "115200;ttyS2" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" +SPL_BINARY ?= "u-boot-spl-nodtb.bin" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" diff --git a/conf/machine/kylin-rk3036.conf b/conf/machine/kylin-rk3036.conf new file mode 100644 index 000..e47a3be --- /dev/null +++ b/conf/machine/kylin-rk3036.conf @@ -0,0 +1,12 @@ +# Copyright (C) 2017 Fuzhou Rockchip Electronics Co., Ltd +# Released under the MIT license (see COPYING.MIT for the terms) + +#@TYPE: Machine +#@NAME: Kylin rk3036 + +include conf/machine/include/rk3036.inc + +KERNEL_DEVICETREE = "rk3036-kylin.dtb" +UBOOT_MACHINE = "kylin-rk3036_defconfig" + +GPTIMG_APPEND = "console=ttyS2,115200n8 rw root=PARTUUID=69DAD710-2CE4 rootfstype=ext4 init=/sbin/init" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 5/9] conf/machine: add support for rk312x
From: Randy 'ayaka' Li RK312X are a serial called RK audio. All of them sharing the simliar hardware configure. A quad-core ARM Cortex-A7 processor with separately Neon and FPU coprocessor, they also share a 256KB L2 Cache. All chips in this serial have a Mali 400 MP2 GPU. Signed-off-by: Randy 'ayaka' Li --- conf/machine/include/rk312x.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 conf/machine/include/rk312x.inc diff --git a/conf/machine/include/rk312x.inc b/conf/machine/include/rk312x.inc new file mode 100644 index 000..675c699 --- /dev/null +++ b/conf/machine/include/rk312x.inc @@ -0,0 +1,17 @@ +# Copyright (C) 2019 SUMOMO Computer Assocation +# Released under the MIT license (see COPYING.MIT for the terms) + +# a serial of chips +SOC_FAMILY = "rk312x" + +require conf/machine/include/tune-cortexa7.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "115200;ttyS2" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" +SPL_BINARY ?= "u-boot-spl-nodtb.bin" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 7/9] conf/machine: add support for rk3368
From: Randy 'ayaka' Li RK3368 is integrated with a qual-core Cortex-A53 processor and separately NEON coprocessor. RK3368 supports H.264 decoder up to 4Kx2K@30fps, H.265 decoder by 4Kx2K@60fps. Signed-off-by: Randy 'ayaka' Li --- conf/machine/include/rk3368.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 conf/machine/include/rk3368.inc diff --git a/conf/machine/include/rk3368.inc b/conf/machine/include/rk3368.inc new file mode 100644 index 000..1738f74 --- /dev/null +++ b/conf/machine/include/rk3368.inc @@ -0,0 +1,17 @@ +# Copyright (C) 2019 SUMOMO Computer Assocation +# Released under the MIT license (see COPYING.MIT for the terms) + +SOC_FAMILY = "rk3368" + +require conf/machine/include/tune-cortexa53.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 6/9] conf/machine: add support for rk3326
From: Randy 'ayaka' Li RK3326 is a high-performance quad-core application processor, it supports both H.264 and H.265 decoding up to 1920x1080@30fps. Signed-off-by: Randy 'ayaka' Li --- conf/machine/include/rk3326.inc | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 conf/machine/include/rk3326.inc diff --git a/conf/machine/include/rk3326.inc b/conf/machine/include/rk3326.inc new file mode 100644 index 000..1208b65 --- /dev/null +++ b/conf/machine/include/rk3326.inc @@ -0,0 +1,18 @@ +# Copyright (C) 2019 SUMOMO Computer Association +# Released under the MIT license (see COPYING.MIT for the terms) + +# PX30 is the same SoC as rk3326. +SOC_FAMILY = "rk3326" + +require conf/machine/include/tune-cortexa35.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 8/9] conf/machine: add support for rk3308
From: Randy 'ayaka' Li RK3308 is a high-performance quad-core application processor designed for intelligent voice interaction. Signed-off-by: Randy 'ayaka' Li --- conf/machine/include/rk3308.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 conf/machine/include/rk3308.inc diff --git a/conf/machine/include/rk3308.inc b/conf/machine/include/rk3308.inc new file mode 100644 index 000..81e4def --- /dev/null +++ b/conf/machine/include/rk3308.inc @@ -0,0 +1,17 @@ +# Copyright (C) SUMOMO Computer Assocation +# Released under the MIT license (see COPYING.MIT for the terms) + +SOC_FAMILY = "rk3308" + +require conf/machine/include/tune-cortexa35.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH v3 9/9] conf/machine: add support for rk1808
From: Randy Li RK1808 is an ARM processor with a neural network process unit, which can acceleration the inference of deep learning. Signed-off-by: Randy Li --- conf/machine/include/rk1808.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 conf/machine/include/rk1808.inc diff --git a/conf/machine/include/rk1808.inc b/conf/machine/include/rk1808.inc new file mode 100644 index 000..6edd67c --- /dev/null +++ b/conf/machine/include/rk1808.inc @@ -0,0 +1,17 @@ +# Copyright (C) SUMOMO Computer Assocation +# Released under the MIT license (see COPYING.MIT for the terms) + +SOC_FAMILY = "rk1808" + +require conf/machine/include/tune-cortexa35.inc +require conf/machine/include/soc-family.inc +require conf/machine/include/rockchip-defaults.inc + +SERIAL_CONSOLES = "150;ttyS2" +KERNEL_IMAGETYPE = "Image" +KBUILD_DEFCONFIG = "defconfig" + +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-rockchip" + +IMAGE_FSTYPES = "rockchip-gpt-img" +IMAGE_CLASSES = "rockchip-gpt-img" -- 2.21.0 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [poky][PATCH] update-rc.d: update refer link
From: Changqing Li old referred link is not aligned with yocto's update-rc.d. update it to align with current one [Yocto #12955] Signed-off-by: Changqing Li --- documentation/ref-manual/ref-variables.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 12876e3..e5d6136 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -7243,7 +7243,7 @@ to the update-rc.d command. For more information on valid parameters, please see the update-rc.d manual page at -. +. -- 2.7.4 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Looking for a recommendation for the right Yocto dev board that supports MIPI CSI-2...
Hi, I'm doing some work with MIPI cameras, and I need a development board with stable Yocto and MIPI CSI-2 support. At this point, I'm thinking i.MX, but I'm open to any suggestion. I'm not sure what type of access I'll have to the D-PHY data streams. Do they always terminate into a GPU? However, I would like a board that gives me the most capability to control / route the data with open source drivers. I suppose I want CSI-2 in and HDMI out. Thank you, Bob -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto